Documentation ¶
Index ¶
- type Verifier
- func (v *Verifier) AggregatedPubKeyFromDsComm(dsComm *list.List, dsBlock *core.DsBlock) ([]byte, error)
- func (v *Verifier) AggregatedPubKeyFromTxComm(dsComm *list.List, txBlock *core.TxBlock) ([]byte, error)
- func (v *Verifier) UpdateDSCommitteeComposition(selfKeyPub string, dsComm *list.List, dsBlock *core.DsBlock) (*list.List, error)
- func (v *Verifier) VerifyDsBlock(dsBlock *core.DsBlock, dsComm *list.List) (*list.List, error)
- func (v *Verifier) VerifyTxBlock(txBlock *core.TxBlock, dsComm *list.List) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
NumOfDsGuard int
}
func (*Verifier) AggregatedPubKeyFromDsComm ¶
func (*Verifier) AggregatedPubKeyFromTxComm ¶
func (*Verifier) UpdateDSCommitteeComposition ¶
func (*Verifier) VerifyDsBlock ¶
0. verify current ds block 2. generate next ds committee return new ds comm
Click to show internal directories.
Click to hide internal directories.