# Functions
DiffPowermaps computes the diff to be applied by tendermint to change the old validators into the new validators.
LoadShutterAppFromFile loads a shutter app from a file.
MakePowermap creates a new Powermap with voting powers as specified in validators.
NewCheckTxState returns a new check tx state.
NewConfigVoting creates a ConfigVoting struct.
NewDKGInstance creates a new DKGInstance.
NewEonStartVoting creates a new EonStartVoting struct.
No description provided by the author
NewNonceTracker creates a new NonceTracker.
NewShutterApp creates a new ShutterApp.
NewValidatorPubkey creates a new ValidatorPubkey from a 32 byte ed25519 raw pubkey.
NewVoting creates a new Voting struct.
ParseAccusationMsg converts a shmsg.AccusationMsg to an app.AccusationMsg.
ParseApologyMsg converts a shmsg.ApologyMsg to an app.ApologyMsg.
ParseEpochSecretKeyShareMsg converts a shmsg.EpochSecretKeyShareMsg to an app.EpochSecretShareMsg.
ParsePolyCommitmentMsg converts a shmsg.PolyCommitmentMsg to an app.PolyCommitmentMsg.
ParsePolyEvalMsg converts a shmsg.PolyEvalMsg to an app.PolyEvalMsg.
SortValidators sorts a slice of ValidatorUpdates in a determistic way suitable for updating the validators in tendermint.
# Constants
MaxTxsPerBlock is the maximum number of txs by a single sender per block.
# Variables
NonExistentValidator is an artificial key used to replace the voting power of validators that haven't sent their CheckIn message yet.
PersistMinDuration is the minimum duration between two calls to persistToDisk TODO we should probably increase the default here and we should have a way to collect garbage to keep the persisted state small enough.
# Structs
BatchState is used to manage the key generation process for a certain batch.
CheckTxState is a part of the state used by CheckTx calls that is reset at every commit.
ConfigVoting is used to let the keypers vote on new BatchConfigs to be added Each keyper can vote exactly once.
DecryptionSignature stores the decryption key signature created by one of the keypers.
DKGInstance manages the state of one eon key generation instance.
EonStartVoting is used to vote on the batch index at which the next eon should be started.
GenesisAppState is used to hold the initial list of keypers, who will bootstrap the system by providing the first real BatchConfig to be used.
NonceTracker tracks which nonces have been used and which have not.
No description provided by the author
ShutterApp holds our data structures used for the tendermint app.
ValidatorPubkey holds the raw 32 byte ed25519 public key to be used as tendermint validator key We use this is a map key, so don't use a byte slice.
Voting is a struct storing votes for arbitrary indices.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Powermap maps a ValidatorPubkey to the validators voting power.