Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BootCommitteeKey = []byte("apos_bootCommittee")
)
Functions ¶
func MakeAposGenesisConsensusData ¶
func MakeAposGenesisConsensusData() (bcd *block.ConsensusData, key, val []byte)
Types ¶
type WeightInfo ¶
func (*WeightInfo) DecodeMsg ¶
func (z *WeightInfo) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*WeightInfo) EncodeMsg ¶
func (z *WeightInfo) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*WeightInfo) MarshalMsg ¶
func (z *WeightInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*WeightInfo) Msgsize ¶
func (z *WeightInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*WeightInfo) UnmarshalMsg ¶
func (z *WeightInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type WeightInfos ¶
type WeightInfos []WeightInfo
func (*WeightInfos) DecodeMsg ¶
func (z *WeightInfos) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (WeightInfos) EncodeMsg ¶
func (z WeightInfos) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (WeightInfos) MarshalMsg ¶
func (z WeightInfos) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (WeightInfos) Msgsize ¶
func (z WeightInfos) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*WeightInfos) UnmarshalMsg ¶
func (z *WeightInfos) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
Click to show internal directories.
Click to hide internal directories.