Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy committed Aug 2, 2023
1 parent 8c8e123 commit 77c3b4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ledger/txtail.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ type txTail struct {
// lowestBlockHeaderRound is the lowest round in blockHeaderData, used as a starting point for old entries removal
lowestBlockHeaderRound basics.Round

// tailMu is the synchronization mutex for accessing roundTailHashes, roundTailSerializedDeltas and blockHeaderData.
// tailMu is the synchronization mutex for accessing internal data including
// lastValid, recent, lowWaterMark, roundTailHashes, roundTailSerializedDeltas and blockHeaderData.
tailMu deadlock.RWMutex

lastValid map[basics.Round]map[transactions.Txid]struct{} // map tx.LastValid -> tx confirmed set
Expand Down

0 comments on commit 77c3b4c

Please sign in to comment.