Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shard ¶
type Shard struct {
// Hash of the Shard, derived from the BlockHash and the sharding PRF.
Hash sig.Hash
// BlockHeader and BlockHeight on Ethereum when the Shard was formed.
BlockHeader sig.Hash
BlockHeight block.Height
// Signatories maintaining the Shard. A Signatory is allowed to appear multiple times in the same Shard.
Signatories sig.Signatories
}
func (Shard) ConsensusThreshold ¶
ConsensusThreshold returns the number of honest Signatories that are required to reach consensus.
func (Shard) Includes ¶
Includes returns whether or not a given Signatory is one of the Signatories maintaining the Shard.
Click to show internal directories.
Click to hide internal directories.