Documentation ¶
Index ¶
- type CCEpoch
- type CCInfo
- type CCTransferInfo
- func (z *CCTransferInfo) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *CCTransferInfo) EncodeMsg(en *msgp.Writer) (err error)
- func (z *CCTransferInfo) MarshalMsg(b []byte) (o []byte, err error)
- func (z *CCTransferInfo) Msgsize() (s int)
- func (z *CCTransferInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCEpoch ¶
type CCEpoch struct { Number int64 StartHeight int64 EndTime int64 TransferInfos []*CCTransferInfo }
func (*CCEpoch) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type CCInfo ¶
type CCInfo struct { GenesisMainnetBlockHeight int64 `msgp:"genesis_mainnet_block_height"` CurrEpochNum int64 `msgp:"curr_epoch_num"` }
func (CCInfo) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type CCTransferInfo ¶
func (*CCTransferInfo) DecodeMsg ¶
func (z *CCTransferInfo) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*CCTransferInfo) EncodeMsg ¶
func (z *CCTransferInfo) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*CCTransferInfo) MarshalMsg ¶
func (z *CCTransferInfo) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*CCTransferInfo) Msgsize ¶
func (z *CCTransferInfo) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*CCTransferInfo) UnmarshalMsg ¶
func (z *CCTransferInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
Click to show internal directories.
Click to hide internal directories.