summaryrefslogtreecommitdiff
path: root/data/bookkeeping/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'data/bookkeeping/block.go')
-rw-r--r--data/bookkeeping/block.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/bookkeeping/block.go b/data/bookkeeping/block.go
index a60a9362c..bb9ae321b 100644
--- a/data/bookkeeping/block.go
+++ b/data/bookkeeping/block.go
@@ -125,6 +125,21 @@ type (
// for multiple types of certs.
//msgp:sort protocol.CompactCertType protocol.SortCompactCertType
CompactCert map[protocol.CompactCertType]CompactCertState `codec:"cc,allocbound=protocol.NumCompactCertTypes"`
+
+ // ParticipationUpdates contains the information needed to mark
+ // certain accounts offline because their participation keys expired
+ ParticipationUpdates
+ }
+
+ // ParticipationUpdates represents participation account data that
+ // needs to be checked/acted on by the network
+ ParticipationUpdates struct {
+ _struct struct{} `codec:",omitempty,omitemptyarray"`
+
+ // ExpiredParticipationAccounts contains a list of online accounts
+ // that needs to be converted to offline since their
+ // participation key expired.
+ ExpiredParticipationAccounts []basics.Address `codec:"partupdrmv,allocbound=config.MaxProposedExpiredOnlineAccounts"`
}
// RewardsState represents the global parameters controlling the rate