Documentation ¶
Index ¶
- type HeaderCapn
- func (s HeaderCapn) BlockBodyType() uint8
- func (s HeaderCapn) Epoch() uint32
- func (s HeaderCapn) LeaderSignature() []byte
- func (s HeaderCapn) MarshalCapLit() ([]byte, error)
- func (s HeaderCapn) MarshalJSON() ([]byte, error)
- func (s HeaderCapn) MetaHdrHashes() C.DataList
- func (s HeaderCapn) MiniBlockHeaders() MiniBlockHeaderCapn_List
- func (s HeaderCapn) Nonce() uint64
- func (s HeaderCapn) PeerChanges() PeerChangeCapn_List
- func (s HeaderCapn) PrevHash() []byte
- func (s HeaderCapn) PrevRandSeed() []byte
- func (s HeaderCapn) PubKeysBitmap() []byte
- func (s HeaderCapn) RandSeed() []byte
- func (s HeaderCapn) RootHash() []byte
- func (s HeaderCapn) Round() uint64
- func (s HeaderCapn) SetBlockBodyType(v uint8)
- func (s HeaderCapn) SetEpoch(v uint32)
- func (s HeaderCapn) SetLeaderSignature(v []byte)
- func (s HeaderCapn) SetMetaHdrHashes(v C.DataList)
- func (s HeaderCapn) SetMiniBlockHeaders(v MiniBlockHeaderCapn_List)
- func (s HeaderCapn) SetNonce(v uint64)
- func (s HeaderCapn) SetPeerChanges(v PeerChangeCapn_List)
- func (s HeaderCapn) SetPrevHash(v []byte)
- func (s HeaderCapn) SetPrevRandSeed(v []byte)
- func (s HeaderCapn) SetPubKeysBitmap(v []byte)
- func (s HeaderCapn) SetRandSeed(v []byte)
- func (s HeaderCapn) SetRootHash(v []byte)
- func (s HeaderCapn) SetRound(v uint64)
- func (s HeaderCapn) SetShardId(v uint32)
- func (s HeaderCapn) SetSignature(v []byte)
- func (s HeaderCapn) SetTimeStamp(v uint64)
- func (s HeaderCapn) SetTxCount(v uint32)
- func (s HeaderCapn) SetValidatorStatsRootHash(v []byte)
- func (s HeaderCapn) ShardId() uint32
- func (s HeaderCapn) Signature() []byte
- func (s HeaderCapn) TimeStamp() uint64
- func (s HeaderCapn) TxCount() uint32
- func (s HeaderCapn) ValidatorStatsRootHash() []byte
- func (s HeaderCapn) WriteCapLit(w io.Writer) error
- func (s HeaderCapn) WriteJSON(w io.Writer) error
- type HeaderCapn_List
- type MetaBlockCapn
- func (s MetaBlockCapn) Epoch() uint32
- func (s MetaBlockCapn) LeaderSignature() []byte
- func (s MetaBlockCapn) MarshalCapLit() ([]byte, error)
- func (s MetaBlockCapn) MarshalJSON() ([]byte, error)
- func (s MetaBlockCapn) MiniBlockHeaders() MiniBlockHeaderCapn_List
- func (s MetaBlockCapn) Nonce() uint64
- func (s MetaBlockCapn) PeerInfo() PeerDataCapn_List
- func (s MetaBlockCapn) PrevHash() []byte
- func (s MetaBlockCapn) PrevRandSeed() []byte
- func (s MetaBlockCapn) PubKeysBitmap() []byte
- func (s MetaBlockCapn) RandSeed() []byte
- func (s MetaBlockCapn) RootHash() []byte
- func (s MetaBlockCapn) Round() uint64
- func (s MetaBlockCapn) SetEpoch(v uint32)
- func (s MetaBlockCapn) SetLeaderSignature(v []byte)
- func (s MetaBlockCapn) SetMiniBlockHeaders(v MiniBlockHeaderCapn_List)
- func (s MetaBlockCapn) SetNonce(v uint64)
- func (s MetaBlockCapn) SetPeerInfo(v PeerDataCapn_List)
- func (s MetaBlockCapn) SetPrevHash(v []byte)
- func (s MetaBlockCapn) SetPrevRandSeed(v []byte)
- func (s MetaBlockCapn) SetPubKeysBitmap(v []byte)
- func (s MetaBlockCapn) SetRandSeed(v []byte)
- func (s MetaBlockCapn) SetRootHash(v []byte)
- func (s MetaBlockCapn) SetRound(v uint64)
- func (s MetaBlockCapn) SetShardInfo(v ShardDataCapn_List)
- func (s MetaBlockCapn) SetSignature(v []byte)
- func (s MetaBlockCapn) SetTimeStamp(v uint64)
- func (s MetaBlockCapn) SetTxCount(v uint32)
- func (s MetaBlockCapn) SetValidatorStatsRootHash(v []byte)
- func (s MetaBlockCapn) ShardInfo() ShardDataCapn_List
- func (s MetaBlockCapn) Signature() []byte
- func (s MetaBlockCapn) TimeStamp() uint64
- func (s MetaBlockCapn) TxCount() uint32
- func (s MetaBlockCapn) ValidatorStatsRootHash() []byte
- func (s MetaBlockCapn) WriteCapLit(w io.Writer) error
- func (s MetaBlockCapn) WriteJSON(w io.Writer) error
- type MetaBlockCapn_List
- type MiniBlockCapn
- func (s MiniBlockCapn) MarshalCapLit() ([]byte, error)
- func (s MiniBlockCapn) MarshalJSON() ([]byte, error)
- func (s MiniBlockCapn) ReceiverShardID() uint32
- func (s MiniBlockCapn) SenderShardID() uint32
- func (s MiniBlockCapn) SetReceiverShardID(v uint32)
- func (s MiniBlockCapn) SetSenderShardID(v uint32)
- func (s MiniBlockCapn) SetTxHashes(v C.DataList)
- func (s MiniBlockCapn) SetType(v uint8)
- func (s MiniBlockCapn) TxHashes() C.DataList
- func (s MiniBlockCapn) Type() uint8
- func (s MiniBlockCapn) WriteCapLit(w io.Writer) error
- func (s MiniBlockCapn) WriteJSON(w io.Writer) error
- type MiniBlockCapn_List
- type MiniBlockHeaderCapn
- func (s MiniBlockHeaderCapn) Hash() []byte
- func (s MiniBlockHeaderCapn) MarshalCapLit() ([]byte, error)
- func (s MiniBlockHeaderCapn) MarshalJSON() ([]byte, error)
- func (s MiniBlockHeaderCapn) ReceiverShardID() uint32
- func (s MiniBlockHeaderCapn) SenderShardID() uint32
- func (s MiniBlockHeaderCapn) SetHash(v []byte)
- func (s MiniBlockHeaderCapn) SetReceiverShardID(v uint32)
- func (s MiniBlockHeaderCapn) SetSenderShardID(v uint32)
- func (s MiniBlockHeaderCapn) SetTxCount(v uint32)
- func (s MiniBlockHeaderCapn) SetType(v uint8)
- func (s MiniBlockHeaderCapn) TxCount() uint32
- func (s MiniBlockHeaderCapn) Type() uint8
- func (s MiniBlockHeaderCapn) WriteCapLit(w io.Writer) error
- func (s MiniBlockHeaderCapn) WriteJSON(w io.Writer) error
- type MiniBlockHeaderCapn_List
- type PeerChangeCapn
- func (s PeerChangeCapn) MarshalCapLit() ([]byte, error)
- func (s PeerChangeCapn) MarshalJSON() ([]byte, error)
- func (s PeerChangeCapn) PubKey() []byte
- func (s PeerChangeCapn) SetPubKey(v []byte)
- func (s PeerChangeCapn) SetShardIdDest(v uint32)
- func (s PeerChangeCapn) ShardIdDest() uint32
- func (s PeerChangeCapn) WriteCapLit(w io.Writer) error
- func (s PeerChangeCapn) WriteJSON(w io.Writer) error
- type PeerChangeCapn_List
- type PeerDataCapn
- func (s PeerDataCapn) Action() uint8
- func (s PeerDataCapn) Address() []byte
- func (s PeerDataCapn) MarshalCapLit() ([]byte, error)
- func (s PeerDataCapn) MarshalJSON() ([]byte, error)
- func (s PeerDataCapn) PublicKey() []byte
- func (s PeerDataCapn) SetAction(v uint8)
- func (s PeerDataCapn) SetAddress(v []byte)
- func (s PeerDataCapn) SetPublicKey(v []byte)
- func (s PeerDataCapn) SetTimestamp(v uint64)
- func (s PeerDataCapn) SetValue(v []byte)
- func (s PeerDataCapn) Timestamp() uint64
- func (s PeerDataCapn) Value() []byte
- func (s PeerDataCapn) WriteCapLit(w io.Writer) error
- func (s PeerDataCapn) WriteJSON(w io.Writer) error
- type PeerDataCapn_List
- type ShardDataCapn
- func (s ShardDataCapn) HeaderHash() []byte
- func (s ShardDataCapn) MarshalCapLit() ([]byte, error)
- func (s ShardDataCapn) MarshalJSON() ([]byte, error)
- func (s ShardDataCapn) Nonce() uint64
- func (s ShardDataCapn) PrevHash() []byte
- func (s ShardDataCapn) PrevRandSeed() []byte
- func (s ShardDataCapn) PubKeysBitmap() []byte
- func (s ShardDataCapn) Round() uint64
- func (s ShardDataCapn) SetHeaderHash(v []byte)
- func (s ShardDataCapn) SetNonce(v uint64)
- func (s ShardDataCapn) SetPrevHash(v []byte)
- func (s ShardDataCapn) SetPrevRandSeed(v []byte)
- func (s ShardDataCapn) SetPubKeysBitmap(v []byte)
- func (s ShardDataCapn) SetRound(v uint64)
- func (s ShardDataCapn) SetShardId(v uint32)
- func (s ShardDataCapn) SetShardMiniBlockHeaders(v ShardMiniBlockHeaderCapn_List)
- func (s ShardDataCapn) SetSignature(v []byte)
- func (s ShardDataCapn) SetTxCount(v uint32)
- func (s ShardDataCapn) ShardId() uint32
- func (s ShardDataCapn) ShardMiniBlockHeaders() ShardMiniBlockHeaderCapn_List
- func (s ShardDataCapn) Signature() []byte
- func (s ShardDataCapn) TxCount() uint32
- func (s ShardDataCapn) WriteCapLit(w io.Writer) error
- func (s ShardDataCapn) WriteJSON(w io.Writer) error
- type ShardDataCapn_List
- type ShardMiniBlockHeaderCapn
- func AutoNewShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
- func NewRootShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
- func NewShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
- func ReadRootShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
- func (s ShardMiniBlockHeaderCapn) Hash() []byte
- func (s ShardMiniBlockHeaderCapn) MarshalCapLit() ([]byte, error)
- func (s ShardMiniBlockHeaderCapn) MarshalJSON() ([]byte, error)
- func (s ShardMiniBlockHeaderCapn) ReceiverShardId() uint32
- func (s ShardMiniBlockHeaderCapn) SenderShardId() uint32
- func (s ShardMiniBlockHeaderCapn) SetHash(v []byte)
- func (s ShardMiniBlockHeaderCapn) SetReceiverShardId(v uint32)
- func (s ShardMiniBlockHeaderCapn) SetSenderShardId(v uint32)
- func (s ShardMiniBlockHeaderCapn) SetTxCount(v uint32)
- func (s ShardMiniBlockHeaderCapn) TxCount() uint32
- func (s ShardMiniBlockHeaderCapn) WriteCapLit(w io.Writer) error
- func (s ShardMiniBlockHeaderCapn) WriteJSON(w io.Writer) error
- type ShardMiniBlockHeaderCapn_List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderCapn ¶
func AutoNewHeaderCapn ¶
func AutoNewHeaderCapn(s *C.Segment) HeaderCapn
func NewHeaderCapn ¶
func NewHeaderCapn(s *C.Segment) HeaderCapn
func NewRootHeaderCapn ¶
func NewRootHeaderCapn(s *C.Segment) HeaderCapn
func ReadRootHeaderCapn ¶
func ReadRootHeaderCapn(s *C.Segment) HeaderCapn
func (HeaderCapn) BlockBodyType ¶
func (s HeaderCapn) BlockBodyType() uint8
func (HeaderCapn) Epoch ¶
func (s HeaderCapn) Epoch() uint32
func (HeaderCapn) LeaderSignature ¶ added in v1.0.41
func (s HeaderCapn) LeaderSignature() []byte
func (HeaderCapn) MarshalCapLit ¶
func (s HeaderCapn) MarshalCapLit() ([]byte, error)
func (HeaderCapn) MarshalJSON ¶
func (s HeaderCapn) MarshalJSON() ([]byte, error)
func (HeaderCapn) MetaHdrHashes ¶
func (s HeaderCapn) MetaHdrHashes() C.DataList
func (HeaderCapn) MiniBlockHeaders ¶
func (s HeaderCapn) MiniBlockHeaders() MiniBlockHeaderCapn_List
func (HeaderCapn) Nonce ¶
func (s HeaderCapn) Nonce() uint64
func (HeaderCapn) PeerChanges ¶
func (s HeaderCapn) PeerChanges() PeerChangeCapn_List
func (HeaderCapn) PrevHash ¶
func (s HeaderCapn) PrevHash() []byte
func (HeaderCapn) PrevRandSeed ¶
func (s HeaderCapn) PrevRandSeed() []byte
func (HeaderCapn) PubKeysBitmap ¶
func (s HeaderCapn) PubKeysBitmap() []byte
func (HeaderCapn) RandSeed ¶
func (s HeaderCapn) RandSeed() []byte
func (HeaderCapn) RootHash ¶
func (s HeaderCapn) RootHash() []byte
func (HeaderCapn) Round ¶
func (s HeaderCapn) Round() uint64
func (HeaderCapn) SetBlockBodyType ¶
func (s HeaderCapn) SetBlockBodyType(v uint8)
func (HeaderCapn) SetEpoch ¶
func (s HeaderCapn) SetEpoch(v uint32)
func (HeaderCapn) SetLeaderSignature ¶ added in v1.0.41
func (s HeaderCapn) SetLeaderSignature(v []byte)
func (HeaderCapn) SetMetaHdrHashes ¶
func (s HeaderCapn) SetMetaHdrHashes(v C.DataList)
func (HeaderCapn) SetMiniBlockHeaders ¶
func (s HeaderCapn) SetMiniBlockHeaders(v MiniBlockHeaderCapn_List)
func (HeaderCapn) SetNonce ¶
func (s HeaderCapn) SetNonce(v uint64)
func (HeaderCapn) SetPeerChanges ¶
func (s HeaderCapn) SetPeerChanges(v PeerChangeCapn_List)
func (HeaderCapn) SetPrevHash ¶
func (s HeaderCapn) SetPrevHash(v []byte)
func (HeaderCapn) SetPrevRandSeed ¶
func (s HeaderCapn) SetPrevRandSeed(v []byte)
func (HeaderCapn) SetPubKeysBitmap ¶
func (s HeaderCapn) SetPubKeysBitmap(v []byte)
func (HeaderCapn) SetRandSeed ¶
func (s HeaderCapn) SetRandSeed(v []byte)
func (HeaderCapn) SetRootHash ¶
func (s HeaderCapn) SetRootHash(v []byte)
func (HeaderCapn) SetRound ¶
func (s HeaderCapn) SetRound(v uint64)
func (HeaderCapn) SetShardId ¶
func (s HeaderCapn) SetShardId(v uint32)
func (HeaderCapn) SetSignature ¶
func (s HeaderCapn) SetSignature(v []byte)
func (HeaderCapn) SetTimeStamp ¶
func (s HeaderCapn) SetTimeStamp(v uint64)
func (HeaderCapn) SetTxCount ¶
func (s HeaderCapn) SetTxCount(v uint32)
func (HeaderCapn) SetValidatorStatsRootHash ¶ added in v1.0.39
func (s HeaderCapn) SetValidatorStatsRootHash(v []byte)
func (HeaderCapn) ShardId ¶
func (s HeaderCapn) ShardId() uint32
func (HeaderCapn) Signature ¶
func (s HeaderCapn) Signature() []byte
func (HeaderCapn) TimeStamp ¶
func (s HeaderCapn) TimeStamp() uint64
func (HeaderCapn) TxCount ¶
func (s HeaderCapn) TxCount() uint32
func (HeaderCapn) ValidatorStatsRootHash ¶ added in v1.0.39
func (s HeaderCapn) ValidatorStatsRootHash() []byte
func (HeaderCapn) WriteCapLit ¶
func (s HeaderCapn) WriteCapLit(w io.Writer) error
type HeaderCapn_List ¶
type HeaderCapn_List C.PointerList
func NewHeaderCapnList ¶
func NewHeaderCapnList(s *C.Segment, sz int) HeaderCapn_List
func (HeaderCapn_List) At ¶
func (s HeaderCapn_List) At(i int) HeaderCapn
func (HeaderCapn_List) Len ¶
func (s HeaderCapn_List) Len() int
func (HeaderCapn_List) Set ¶
func (s HeaderCapn_List) Set(i int, item HeaderCapn)
func (HeaderCapn_List) ToArray ¶
func (s HeaderCapn_List) ToArray() []HeaderCapn
type MetaBlockCapn ¶
func AutoNewMetaBlockCapn ¶
func AutoNewMetaBlockCapn(s *C.Segment) MetaBlockCapn
func NewMetaBlockCapn ¶
func NewMetaBlockCapn(s *C.Segment) MetaBlockCapn
func NewRootMetaBlockCapn ¶
func NewRootMetaBlockCapn(s *C.Segment) MetaBlockCapn
func ReadRootMetaBlockCapn ¶
func ReadRootMetaBlockCapn(s *C.Segment) MetaBlockCapn
func (MetaBlockCapn) Epoch ¶
func (s MetaBlockCapn) Epoch() uint32
func (MetaBlockCapn) LeaderSignature ¶ added in v1.0.41
func (s MetaBlockCapn) LeaderSignature() []byte
func (MetaBlockCapn) MarshalCapLit ¶
func (s MetaBlockCapn) MarshalCapLit() ([]byte, error)
func (MetaBlockCapn) MarshalJSON ¶
func (s MetaBlockCapn) MarshalJSON() ([]byte, error)
func (MetaBlockCapn) MiniBlockHeaders ¶ added in v1.0.39
func (s MetaBlockCapn) MiniBlockHeaders() MiniBlockHeaderCapn_List
func (MetaBlockCapn) Nonce ¶
func (s MetaBlockCapn) Nonce() uint64
func (MetaBlockCapn) PeerInfo ¶
func (s MetaBlockCapn) PeerInfo() PeerDataCapn_List
func (MetaBlockCapn) PrevHash ¶
func (s MetaBlockCapn) PrevHash() []byte
func (MetaBlockCapn) PrevRandSeed ¶
func (s MetaBlockCapn) PrevRandSeed() []byte
func (MetaBlockCapn) PubKeysBitmap ¶
func (s MetaBlockCapn) PubKeysBitmap() []byte
func (MetaBlockCapn) RandSeed ¶
func (s MetaBlockCapn) RandSeed() []byte
func (MetaBlockCapn) RootHash ¶
func (s MetaBlockCapn) RootHash() []byte
func (MetaBlockCapn) Round ¶
func (s MetaBlockCapn) Round() uint64
func (MetaBlockCapn) SetEpoch ¶
func (s MetaBlockCapn) SetEpoch(v uint32)
func (MetaBlockCapn) SetLeaderSignature ¶ added in v1.0.41
func (s MetaBlockCapn) SetLeaderSignature(v []byte)
func (MetaBlockCapn) SetMiniBlockHeaders ¶ added in v1.0.39
func (s MetaBlockCapn) SetMiniBlockHeaders(v MiniBlockHeaderCapn_List)
func (MetaBlockCapn) SetNonce ¶
func (s MetaBlockCapn) SetNonce(v uint64)
func (MetaBlockCapn) SetPeerInfo ¶
func (s MetaBlockCapn) SetPeerInfo(v PeerDataCapn_List)
func (MetaBlockCapn) SetPrevHash ¶
func (s MetaBlockCapn) SetPrevHash(v []byte)
func (MetaBlockCapn) SetPrevRandSeed ¶
func (s MetaBlockCapn) SetPrevRandSeed(v []byte)
func (MetaBlockCapn) SetPubKeysBitmap ¶
func (s MetaBlockCapn) SetPubKeysBitmap(v []byte)
func (MetaBlockCapn) SetRandSeed ¶
func (s MetaBlockCapn) SetRandSeed(v []byte)
func (MetaBlockCapn) SetRootHash ¶
func (s MetaBlockCapn) SetRootHash(v []byte)
func (MetaBlockCapn) SetRound ¶
func (s MetaBlockCapn) SetRound(v uint64)
func (MetaBlockCapn) SetShardInfo ¶
func (s MetaBlockCapn) SetShardInfo(v ShardDataCapn_List)
func (MetaBlockCapn) SetSignature ¶
func (s MetaBlockCapn) SetSignature(v []byte)
func (MetaBlockCapn) SetTimeStamp ¶
func (s MetaBlockCapn) SetTimeStamp(v uint64)
func (MetaBlockCapn) SetTxCount ¶
func (s MetaBlockCapn) SetTxCount(v uint32)
func (MetaBlockCapn) SetValidatorStatsRootHash ¶ added in v1.0.39
func (s MetaBlockCapn) SetValidatorStatsRootHash(v []byte)
func (MetaBlockCapn) ShardInfo ¶
func (s MetaBlockCapn) ShardInfo() ShardDataCapn_List
func (MetaBlockCapn) Signature ¶
func (s MetaBlockCapn) Signature() []byte
func (MetaBlockCapn) TimeStamp ¶
func (s MetaBlockCapn) TimeStamp() uint64
func (MetaBlockCapn) TxCount ¶
func (s MetaBlockCapn) TxCount() uint32
func (MetaBlockCapn) ValidatorStatsRootHash ¶ added in v1.0.39
func (s MetaBlockCapn) ValidatorStatsRootHash() []byte
func (MetaBlockCapn) WriteCapLit ¶
func (s MetaBlockCapn) WriteCapLit(w io.Writer) error
type MetaBlockCapn_List ¶
type MetaBlockCapn_List C.PointerList
func NewMetaBlockCapnList ¶
func NewMetaBlockCapnList(s *C.Segment, sz int) MetaBlockCapn_List
func (MetaBlockCapn_List) At ¶
func (s MetaBlockCapn_List) At(i int) MetaBlockCapn
func (MetaBlockCapn_List) Len ¶
func (s MetaBlockCapn_List) Len() int
func (MetaBlockCapn_List) Set ¶
func (s MetaBlockCapn_List) Set(i int, item MetaBlockCapn)
func (MetaBlockCapn_List) ToArray ¶
func (s MetaBlockCapn_List) ToArray() []MetaBlockCapn
type MiniBlockCapn ¶
func AutoNewMiniBlockCapn ¶
func AutoNewMiniBlockCapn(s *C.Segment) MiniBlockCapn
func NewMiniBlockCapn ¶
func NewMiniBlockCapn(s *C.Segment) MiniBlockCapn
func NewRootMiniBlockCapn ¶
func NewRootMiniBlockCapn(s *C.Segment) MiniBlockCapn
func ReadRootMiniBlockCapn ¶
func ReadRootMiniBlockCapn(s *C.Segment) MiniBlockCapn
func (MiniBlockCapn) MarshalCapLit ¶
func (s MiniBlockCapn) MarshalCapLit() ([]byte, error)
func (MiniBlockCapn) MarshalJSON ¶
func (s MiniBlockCapn) MarshalJSON() ([]byte, error)
func (MiniBlockCapn) ReceiverShardID ¶
func (s MiniBlockCapn) ReceiverShardID() uint32
func (MiniBlockCapn) SenderShardID ¶
func (s MiniBlockCapn) SenderShardID() uint32
func (MiniBlockCapn) SetReceiverShardID ¶
func (s MiniBlockCapn) SetReceiverShardID(v uint32)
func (MiniBlockCapn) SetSenderShardID ¶
func (s MiniBlockCapn) SetSenderShardID(v uint32)
func (MiniBlockCapn) SetTxHashes ¶
func (s MiniBlockCapn) SetTxHashes(v C.DataList)
func (MiniBlockCapn) SetType ¶
func (s MiniBlockCapn) SetType(v uint8)
func (MiniBlockCapn) TxHashes ¶
func (s MiniBlockCapn) TxHashes() C.DataList
func (MiniBlockCapn) Type ¶
func (s MiniBlockCapn) Type() uint8
func (MiniBlockCapn) WriteCapLit ¶
func (s MiniBlockCapn) WriteCapLit(w io.Writer) error
type MiniBlockCapn_List ¶
type MiniBlockCapn_List C.PointerList
func NewMiniBlockCapnList ¶
func NewMiniBlockCapnList(s *C.Segment, sz int) MiniBlockCapn_List
func (MiniBlockCapn_List) At ¶
func (s MiniBlockCapn_List) At(i int) MiniBlockCapn
func (MiniBlockCapn_List) Len ¶
func (s MiniBlockCapn_List) Len() int
func (MiniBlockCapn_List) Set ¶
func (s MiniBlockCapn_List) Set(i int, item MiniBlockCapn)
func (MiniBlockCapn_List) ToArray ¶
func (s MiniBlockCapn_List) ToArray() []MiniBlockCapn
type MiniBlockHeaderCapn ¶
func AutoNewMiniBlockHeaderCapn ¶
func AutoNewMiniBlockHeaderCapn(s *C.Segment) MiniBlockHeaderCapn
func NewMiniBlockHeaderCapn ¶
func NewMiniBlockHeaderCapn(s *C.Segment) MiniBlockHeaderCapn
func NewRootMiniBlockHeaderCapn ¶
func NewRootMiniBlockHeaderCapn(s *C.Segment) MiniBlockHeaderCapn
func ReadRootMiniBlockHeaderCapn ¶
func ReadRootMiniBlockHeaderCapn(s *C.Segment) MiniBlockHeaderCapn
func (MiniBlockHeaderCapn) Hash ¶
func (s MiniBlockHeaderCapn) Hash() []byte
func (MiniBlockHeaderCapn) MarshalCapLit ¶
func (s MiniBlockHeaderCapn) MarshalCapLit() ([]byte, error)
func (MiniBlockHeaderCapn) MarshalJSON ¶
func (s MiniBlockHeaderCapn) MarshalJSON() ([]byte, error)
func (MiniBlockHeaderCapn) ReceiverShardID ¶
func (s MiniBlockHeaderCapn) ReceiverShardID() uint32
func (MiniBlockHeaderCapn) SenderShardID ¶
func (s MiniBlockHeaderCapn) SenderShardID() uint32
func (MiniBlockHeaderCapn) SetHash ¶
func (s MiniBlockHeaderCapn) SetHash(v []byte)
func (MiniBlockHeaderCapn) SetReceiverShardID ¶
func (s MiniBlockHeaderCapn) SetReceiverShardID(v uint32)
func (MiniBlockHeaderCapn) SetSenderShardID ¶
func (s MiniBlockHeaderCapn) SetSenderShardID(v uint32)
func (MiniBlockHeaderCapn) SetTxCount ¶
func (s MiniBlockHeaderCapn) SetTxCount(v uint32)
func (MiniBlockHeaderCapn) SetType ¶
func (s MiniBlockHeaderCapn) SetType(v uint8)
func (MiniBlockHeaderCapn) TxCount ¶
func (s MiniBlockHeaderCapn) TxCount() uint32
func (MiniBlockHeaderCapn) Type ¶
func (s MiniBlockHeaderCapn) Type() uint8
func (MiniBlockHeaderCapn) WriteCapLit ¶
func (s MiniBlockHeaderCapn) WriteCapLit(w io.Writer) error
type MiniBlockHeaderCapn_List ¶
type MiniBlockHeaderCapn_List C.PointerList
func NewMiniBlockHeaderCapnList ¶
func NewMiniBlockHeaderCapnList(s *C.Segment, sz int) MiniBlockHeaderCapn_List
func (MiniBlockHeaderCapn_List) At ¶
func (s MiniBlockHeaderCapn_List) At(i int) MiniBlockHeaderCapn
func (MiniBlockHeaderCapn_List) Len ¶
func (s MiniBlockHeaderCapn_List) Len() int
func (MiniBlockHeaderCapn_List) Set ¶
func (s MiniBlockHeaderCapn_List) Set(i int, item MiniBlockHeaderCapn)
func (MiniBlockHeaderCapn_List) ToArray ¶
func (s MiniBlockHeaderCapn_List) ToArray() []MiniBlockHeaderCapn
type PeerChangeCapn ¶
func AutoNewPeerChangeCapn ¶
func AutoNewPeerChangeCapn(s *C.Segment) PeerChangeCapn
func NewPeerChangeCapn ¶
func NewPeerChangeCapn(s *C.Segment) PeerChangeCapn
func NewRootPeerChangeCapn ¶
func NewRootPeerChangeCapn(s *C.Segment) PeerChangeCapn
func ReadRootPeerChangeCapn ¶
func ReadRootPeerChangeCapn(s *C.Segment) PeerChangeCapn
func (PeerChangeCapn) MarshalCapLit ¶
func (s PeerChangeCapn) MarshalCapLit() ([]byte, error)
func (PeerChangeCapn) MarshalJSON ¶
func (s PeerChangeCapn) MarshalJSON() ([]byte, error)
func (PeerChangeCapn) PubKey ¶
func (s PeerChangeCapn) PubKey() []byte
func (PeerChangeCapn) SetPubKey ¶
func (s PeerChangeCapn) SetPubKey(v []byte)
func (PeerChangeCapn) SetShardIdDest ¶
func (s PeerChangeCapn) SetShardIdDest(v uint32)
func (PeerChangeCapn) ShardIdDest ¶
func (s PeerChangeCapn) ShardIdDest() uint32
func (PeerChangeCapn) WriteCapLit ¶
func (s PeerChangeCapn) WriteCapLit(w io.Writer) error
type PeerChangeCapn_List ¶
type PeerChangeCapn_List C.PointerList
func NewPeerChangeCapnList ¶
func NewPeerChangeCapnList(s *C.Segment, sz int) PeerChangeCapn_List
func (PeerChangeCapn_List) At ¶
func (s PeerChangeCapn_List) At(i int) PeerChangeCapn
func (PeerChangeCapn_List) Len ¶
func (s PeerChangeCapn_List) Len() int
func (PeerChangeCapn_List) Set ¶
func (s PeerChangeCapn_List) Set(i int, item PeerChangeCapn)
func (PeerChangeCapn_List) ToArray ¶
func (s PeerChangeCapn_List) ToArray() []PeerChangeCapn
type PeerDataCapn ¶
func AutoNewPeerDataCapn ¶
func AutoNewPeerDataCapn(s *C.Segment) PeerDataCapn
func NewPeerDataCapn ¶
func NewPeerDataCapn(s *C.Segment) PeerDataCapn
func NewRootPeerDataCapn ¶
func NewRootPeerDataCapn(s *C.Segment) PeerDataCapn
func ReadRootPeerDataCapn ¶
func ReadRootPeerDataCapn(s *C.Segment) PeerDataCapn
func (PeerDataCapn) Action ¶
func (s PeerDataCapn) Action() uint8
func (PeerDataCapn) Address ¶ added in v1.0.39
func (s PeerDataCapn) Address() []byte
func (PeerDataCapn) MarshalCapLit ¶
func (s PeerDataCapn) MarshalCapLit() ([]byte, error)
func (PeerDataCapn) MarshalJSON ¶
func (s PeerDataCapn) MarshalJSON() ([]byte, error)
func (PeerDataCapn) PublicKey ¶
func (s PeerDataCapn) PublicKey() []byte
func (PeerDataCapn) SetAction ¶
func (s PeerDataCapn) SetAction(v uint8)
func (PeerDataCapn) SetAddress ¶ added in v1.0.39
func (s PeerDataCapn) SetAddress(v []byte)
func (PeerDataCapn) SetPublicKey ¶
func (s PeerDataCapn) SetPublicKey(v []byte)
func (PeerDataCapn) SetTimestamp ¶
func (s PeerDataCapn) SetTimestamp(v uint64)
func (PeerDataCapn) SetValue ¶
func (s PeerDataCapn) SetValue(v []byte)
func (PeerDataCapn) Timestamp ¶
func (s PeerDataCapn) Timestamp() uint64
func (PeerDataCapn) Value ¶
func (s PeerDataCapn) Value() []byte
func (PeerDataCapn) WriteCapLit ¶
func (s PeerDataCapn) WriteCapLit(w io.Writer) error
type PeerDataCapn_List ¶
type PeerDataCapn_List C.PointerList
func NewPeerDataCapnList ¶
func NewPeerDataCapnList(s *C.Segment, sz int) PeerDataCapn_List
func (PeerDataCapn_List) At ¶
func (s PeerDataCapn_List) At(i int) PeerDataCapn
func (PeerDataCapn_List) Len ¶
func (s PeerDataCapn_List) Len() int
func (PeerDataCapn_List) Set ¶
func (s PeerDataCapn_List) Set(i int, item PeerDataCapn)
func (PeerDataCapn_List) ToArray ¶
func (s PeerDataCapn_List) ToArray() []PeerDataCapn
type ShardDataCapn ¶
func AutoNewShardDataCapn ¶
func AutoNewShardDataCapn(s *C.Segment) ShardDataCapn
func NewRootShardDataCapn ¶
func NewRootShardDataCapn(s *C.Segment) ShardDataCapn
func NewShardDataCapn ¶
func NewShardDataCapn(s *C.Segment) ShardDataCapn
func ReadRootShardDataCapn ¶
func ReadRootShardDataCapn(s *C.Segment) ShardDataCapn
func (ShardDataCapn) HeaderHash ¶
func (s ShardDataCapn) HeaderHash() []byte
func (ShardDataCapn) MarshalCapLit ¶
func (s ShardDataCapn) MarshalCapLit() ([]byte, error)
func (ShardDataCapn) MarshalJSON ¶
func (s ShardDataCapn) MarshalJSON() ([]byte, error)
func (ShardDataCapn) Nonce ¶ added in v1.0.41
func (s ShardDataCapn) Nonce() uint64
func (ShardDataCapn) PrevHash ¶ added in v1.0.41
func (s ShardDataCapn) PrevHash() []byte
func (ShardDataCapn) PrevRandSeed ¶ added in v1.0.39
func (s ShardDataCapn) PrevRandSeed() []byte
func (ShardDataCapn) PubKeysBitmap ¶ added in v1.0.39
func (s ShardDataCapn) PubKeysBitmap() []byte
func (ShardDataCapn) Round ¶ added in v1.0.41
func (s ShardDataCapn) Round() uint64
func (ShardDataCapn) SetHeaderHash ¶
func (s ShardDataCapn) SetHeaderHash(v []byte)
func (ShardDataCapn) SetNonce ¶ added in v1.0.41
func (s ShardDataCapn) SetNonce(v uint64)
func (ShardDataCapn) SetPrevHash ¶ added in v1.0.41
func (s ShardDataCapn) SetPrevHash(v []byte)
func (ShardDataCapn) SetPrevRandSeed ¶ added in v1.0.39
func (s ShardDataCapn) SetPrevRandSeed(v []byte)
func (ShardDataCapn) SetPubKeysBitmap ¶ added in v1.0.39
func (s ShardDataCapn) SetPubKeysBitmap(v []byte)
func (ShardDataCapn) SetRound ¶ added in v1.0.41
func (s ShardDataCapn) SetRound(v uint64)
func (ShardDataCapn) SetShardId ¶
func (s ShardDataCapn) SetShardId(v uint32)
func (ShardDataCapn) SetShardMiniBlockHeaders ¶
func (s ShardDataCapn) SetShardMiniBlockHeaders(v ShardMiniBlockHeaderCapn_List)
func (ShardDataCapn) SetSignature ¶ added in v1.0.39
func (s ShardDataCapn) SetSignature(v []byte)
func (ShardDataCapn) SetTxCount ¶
func (s ShardDataCapn) SetTxCount(v uint32)
func (ShardDataCapn) ShardId ¶
func (s ShardDataCapn) ShardId() uint32
func (ShardDataCapn) ShardMiniBlockHeaders ¶
func (s ShardDataCapn) ShardMiniBlockHeaders() ShardMiniBlockHeaderCapn_List
func (ShardDataCapn) Signature ¶ added in v1.0.39
func (s ShardDataCapn) Signature() []byte
func (ShardDataCapn) TxCount ¶
func (s ShardDataCapn) TxCount() uint32
func (ShardDataCapn) WriteCapLit ¶
func (s ShardDataCapn) WriteCapLit(w io.Writer) error
type ShardDataCapn_List ¶
type ShardDataCapn_List C.PointerList
func NewShardDataCapnList ¶
func NewShardDataCapnList(s *C.Segment, sz int) ShardDataCapn_List
func (ShardDataCapn_List) At ¶
func (s ShardDataCapn_List) At(i int) ShardDataCapn
func (ShardDataCapn_List) Len ¶
func (s ShardDataCapn_List) Len() int
func (ShardDataCapn_List) Set ¶
func (s ShardDataCapn_List) Set(i int, item ShardDataCapn)
func (ShardDataCapn_List) ToArray ¶
func (s ShardDataCapn_List) ToArray() []ShardDataCapn
type ShardMiniBlockHeaderCapn ¶
func AutoNewShardMiniBlockHeaderCapn ¶
func AutoNewShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
func NewRootShardMiniBlockHeaderCapn ¶
func NewRootShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
func NewShardMiniBlockHeaderCapn ¶
func NewShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
func ReadRootShardMiniBlockHeaderCapn ¶
func ReadRootShardMiniBlockHeaderCapn(s *C.Segment) ShardMiniBlockHeaderCapn
func (ShardMiniBlockHeaderCapn) Hash ¶
func (s ShardMiniBlockHeaderCapn) Hash() []byte
func (ShardMiniBlockHeaderCapn) MarshalCapLit ¶
func (s ShardMiniBlockHeaderCapn) MarshalCapLit() ([]byte, error)
func (ShardMiniBlockHeaderCapn) MarshalJSON ¶
func (s ShardMiniBlockHeaderCapn) MarshalJSON() ([]byte, error)
func (ShardMiniBlockHeaderCapn) ReceiverShardId ¶
func (s ShardMiniBlockHeaderCapn) ReceiverShardId() uint32
func (ShardMiniBlockHeaderCapn) SenderShardId ¶
func (s ShardMiniBlockHeaderCapn) SenderShardId() uint32
func (ShardMiniBlockHeaderCapn) SetHash ¶
func (s ShardMiniBlockHeaderCapn) SetHash(v []byte)
func (ShardMiniBlockHeaderCapn) SetReceiverShardId ¶
func (s ShardMiniBlockHeaderCapn) SetReceiverShardId(v uint32)
func (ShardMiniBlockHeaderCapn) SetSenderShardId ¶
func (s ShardMiniBlockHeaderCapn) SetSenderShardId(v uint32)
func (ShardMiniBlockHeaderCapn) SetTxCount ¶
func (s ShardMiniBlockHeaderCapn) SetTxCount(v uint32)
func (ShardMiniBlockHeaderCapn) TxCount ¶
func (s ShardMiniBlockHeaderCapn) TxCount() uint32
func (ShardMiniBlockHeaderCapn) WriteCapLit ¶
func (s ShardMiniBlockHeaderCapn) WriteCapLit(w io.Writer) error
type ShardMiniBlockHeaderCapn_List ¶
type ShardMiniBlockHeaderCapn_List C.PointerList
func NewShardMiniBlockHeaderCapnList ¶
func NewShardMiniBlockHeaderCapnList(s *C.Segment, sz int) ShardMiniBlockHeaderCapn_List
func (ShardMiniBlockHeaderCapn_List) At ¶
func (s ShardMiniBlockHeaderCapn_List) At(i int) ShardMiniBlockHeaderCapn
func (ShardMiniBlockHeaderCapn_List) Len ¶
func (s ShardMiniBlockHeaderCapn_List) Len() int
func (ShardMiniBlockHeaderCapn_List) Set ¶
func (s ShardMiniBlockHeaderCapn_List) Set(i int, item ShardMiniBlockHeaderCapn)
func (ShardMiniBlockHeaderCapn_List) ToArray ¶
func (s ShardMiniBlockHeaderCapn_List) ToArray() []ShardMiniBlockHeaderCapn
Click to show internal directories.
Click to hide internal directories.