summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Broderick <118225939+bbroder-algo@users.noreply.github.com>2023-05-12 12:34:11 -0400
committerBob Broderick <118225939+bbroder-algo@users.noreply.github.com>2023-05-12 12:34:11 -0400
commit5525af6eabfc6d49ecd77385b842a7f2bed719dd (patch)
tree714bb9bffd1742ddaa186eed55396d495a5efb30
parentd7c5e54b5e179fc828389eb3acc72b8fcac7d9bf (diff)
-rw-r--r--data/bookkeeping/block.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/data/bookkeeping/block.go b/data/bookkeeping/block.go
index 344148afa..0a5bea342 100644
--- a/data/bookkeeping/block.go
+++ b/data/bookkeeping/block.go
@@ -109,14 +109,9 @@ type (
UpgradeState
UpgradeVote
- // TxnCounter counts the number of transactions committed in the
- // ledger, from the time at which support for this feature was
- // introduced.
- //
- // Specifically, TxnCounter is the number of the next transaction
- // that will be committed after this block. It is 0 when no
- // transactions have ever been committed (since TxnCounter
- // started being supported).
+ // TxnCounter is the number of the next transaction that will be
+ // committed after this block. Genesis blocks can start at either
+ // 0 or 1000, depending on a consensus parameter (AppForbidLowResources).
TxnCounter uint64 `codec:"tc"`
// StateProofTracking tracks the status of the state proofs, potentially