algorand / algorand/go-algorand

320 rounds: add basics catchpoint support for onlineaccounts table

オープン
#3,845 コメント 1 件 リアクション 0 件 担当者 1 名 @algorandskiy が担当を希望しています GitHub で見る
blocked Team Carbon-11
主要言語
Go
スター
1.4k
フォーク
537
平均マージ
1日 6時間
マージ済み PR(30日)
17

説明

Different approaches for catchpoint generation. We need the last 320 rounds of account state in order to make progress on the blockchain. Question is how much data to include about the last 320 rounds.
1. Limited (keep current state)
- Pro: less data
- Con: more complicated (code), takes longer to catchup. Need to download additional data from a relay
2. Everything
- Pro: simpler to catchup
- Con: larger catchpoint file, harder to recover if there's a bug with online accounting or txtail. Rather than recalucalte the state fresh, you'd directly apply it from potentially corrupted state.

Need to decide on approach.

Similarly to the `txtail` table (see https://github.com/algorand/go-algorand/pull/3748/files#diff-df6d09aa068295acacdbc3f92d0b28fbed5fda7f5689ed7dbb45a4049cc82898R879) add `catchpointonlineaccounts` table and operations after merging txtail in (to prevent merge conflicts).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。