Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface {
Start()
Close()
AddVote(d *primitives.MultiValidatorVote, s state.State) error
AddDeposit(d *primitives.Deposit) error
AddExit(d *primitives.Exit) error
AddPartialExit(d *primitives.PartialExit) error
AddTx(d *primitives.Tx) error
AddVoteSlashing(d *primitives.VoteSlashing) error
AddProposerSlashing(d *primitives.ProposerSlashing) error
AddRANDAOSlashing(d *primitives.RANDAOSlashing) error
AddGovernanceVote(d *primitives.GovernanceVote) error
AddCoinProof(d *burnproof.CoinsProofSerializable) error
GetVotes(slotToPropose uint64, s state.State, index uint64) []*primitives.MultiValidatorVote
GetDeposits(s state.State) ([]*primitives.Deposit, state.State)
GetExits(s state.State) ([]*primitives.Exit, state.State)
GetPartialExits(s state.State) ([]*primitives.PartialExit, state.State)
GetCoinProofs(s state.State) ([]*burnproof.CoinsProofSerializable, state.State)
GetTxs(s state.State, feeReceiver [20]byte) ([]*primitives.Tx, state.State)
GetVoteSlashings(s state.State) ([]*primitives.VoteSlashing, state.State)
GetProposerSlashings(s state.State) ([]*primitives.ProposerSlashing, state.State)
GetRANDAOSlashings(s state.State) ([]*primitives.RANDAOSlashing, state.State)
GetGovernanceVotes(s state.State) ([]*primitives.GovernanceVote, state.State)
RemoveByBlock(b *primitives.Block, s state.State)
}
Click to show internal directories.
Click to hide internal directories.