capnp

package
v1.0.79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EpochStartCapn added in v1.0.67

type EpochStartCapn C.Struct

func AutoNewEpochStartCapn added in v1.0.67

func AutoNewEpochStartCapn(s *C.Segment) EpochStartCapn

func NewEpochStartCapn added in v1.0.67

func NewEpochStartCapn(s *C.Segment) EpochStartCapn

func NewRootEpochStartCapn added in v1.0.67

func NewRootEpochStartCapn(s *C.Segment) EpochStartCapn

func ReadRootEpochStartCapn added in v1.0.67

func ReadRootEpochStartCapn(s *C.Segment) EpochStartCapn

func (EpochStartCapn) LastFinalizedHeaders added in v1.0.67

func (s EpochStartCapn) LastFinalizedHeaders() FinalizedHeadersCapn_List

func (EpochStartCapn) MarshalCapLit added in v1.0.67

func (s EpochStartCapn) MarshalCapLit() ([]byte, error)

func (EpochStartCapn) MarshalJSON added in v1.0.67

func (s EpochStartCapn) MarshalJSON() ([]byte, error)

func (EpochStartCapn) SetLastFinalizedHeaders added in v1.0.67

func (s EpochStartCapn) SetLastFinalizedHeaders(v FinalizedHeadersCapn_List)

func (EpochStartCapn) WriteCapLit added in v1.0.67

func (s EpochStartCapn) WriteCapLit(w io.Writer) error

func (EpochStartCapn) WriteJSON added in v1.0.67

func (s EpochStartCapn) WriteJSON(w io.Writer) error

type EpochStartCapn_List added in v1.0.67

type EpochStartCapn_List C.PointerList

func NewEpochStartCapnList added in v1.0.67

func NewEpochStartCapnList(s *C.Segment, sz int) EpochStartCapn_List

func (EpochStartCapn_List) At added in v1.0.67

func (EpochStartCapn_List) Len added in v1.0.67

func (s EpochStartCapn_List) Len() int

func (EpochStartCapn_List) Set added in v1.0.67

func (s EpochStartCapn_List) Set(i int, item EpochStartCapn)

func (EpochStartCapn_List) ToArray added in v1.0.67

func (s EpochStartCapn_List) ToArray() []EpochStartCapn

type FinalizedHeadersCapn added in v1.0.67

type FinalizedHeadersCapn C.Struct

func AutoNewFinalizedHeadersCapn added in v1.0.67

func AutoNewFinalizedHeadersCapn(s *C.Segment) FinalizedHeadersCapn

func NewFinalizedHeadersCapn added in v1.0.67

func NewFinalizedHeadersCapn(s *C.Segment) FinalizedHeadersCapn

func NewRootFinalizedHeadersCapn added in v1.0.67

func NewRootFinalizedHeadersCapn(s *C.Segment) FinalizedHeadersCapn

func ReadRootFinalizedHeadersCapn added in v1.0.67

func ReadRootFinalizedHeadersCapn(s *C.Segment) FinalizedHeadersCapn

func (FinalizedHeadersCapn) FirstPendingMetaBlock added in v1.0.67

func (s FinalizedHeadersCapn) FirstPendingMetaBlock() []byte

func (FinalizedHeadersCapn) HeaderHash added in v1.0.67

func (s FinalizedHeadersCapn) HeaderHash() []byte

func (FinalizedHeadersCapn) LastFinishedMetaBlock added in v1.0.67

func (s FinalizedHeadersCapn) LastFinishedMetaBlock() []byte

func (FinalizedHeadersCapn) MarshalCapLit added in v1.0.67

func (s FinalizedHeadersCapn) MarshalCapLit() ([]byte, error)

func (FinalizedHeadersCapn) MarshalJSON added in v1.0.67

func (s FinalizedHeadersCapn) MarshalJSON() ([]byte, error)

func (FinalizedHeadersCapn) PendingMiniBlockHeaders added in v1.0.67

func (s FinalizedHeadersCapn) PendingMiniBlockHeaders() ShardMiniBlockHeaderCapn_List

func (FinalizedHeadersCapn) RootHash added in v1.0.67

func (s FinalizedHeadersCapn) RootHash() []byte

func (FinalizedHeadersCapn) SetFirstPendingMetaBlock added in v1.0.67

func (s FinalizedHeadersCapn) SetFirstPendingMetaBlock(v []byte)

func (FinalizedHeadersCapn) SetHeaderHash added in v1.0.67

func (s FinalizedHeadersCapn) SetHeaderHash(v []byte)

func (FinalizedHeadersCapn) SetLastFinishedMetaBlock added in v1.0.67

func (s FinalizedHeadersCapn) SetLastFinishedMetaBlock(v []byte)

func (FinalizedHeadersCapn) SetPendingMiniBlockHeaders added in v1.0.67

func (s FinalizedHeadersCapn) SetPendingMiniBlockHeaders(v ShardMiniBlockHeaderCapn_List)

func (FinalizedHeadersCapn) SetRootHash added in v1.0.67

func (s FinalizedHeadersCapn) SetRootHash(v []byte)

func (FinalizedHeadersCapn) SetShardId added in v1.0.67

func (s FinalizedHeadersCapn) SetShardId(v uint32)

func (FinalizedHeadersCapn) ShardId added in v1.0.67

func (s FinalizedHeadersCapn) ShardId() uint32

func (FinalizedHeadersCapn) WriteCapLit added in v1.0.67

func (s FinalizedHeadersCapn) WriteCapLit(w io.Writer) error

func (FinalizedHeadersCapn) WriteJSON added in v1.0.67

func (s FinalizedHeadersCapn) WriteJSON(w io.Writer) error

type FinalizedHeadersCapn_List added in v1.0.67

type FinalizedHeadersCapn_List C.PointerList

func NewFinalizedHeadersCapnList added in v1.0.67

func NewFinalizedHeadersCapnList(s *C.Segment, sz int) FinalizedHeadersCapn_List

func (FinalizedHeadersCapn_List) At added in v1.0.67

func (FinalizedHeadersCapn_List) Len added in v1.0.67

func (FinalizedHeadersCapn_List) Set added in v1.0.67

func (FinalizedHeadersCapn_List) ToArray added in v1.0.67

type HeaderCapn

type HeaderCapn C.Struct

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) Chainid added in v1.0.64

func (s HeaderCapn) Chainid() []byte

func (HeaderCapn) Epoch

func (s HeaderCapn) Epoch() uint32

func (HeaderCapn) EpochStartMetaHash added in v1.0.67

func (s HeaderCapn) EpochStartMetaHash() []byte

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) SetChainid added in v1.0.64

func (s HeaderCapn) SetChainid(v []byte)

func (HeaderCapn) SetEpoch

func (s HeaderCapn) SetEpoch(v uint32)

func (HeaderCapn) SetEpochStartMetaHash added in v1.0.67

func (s HeaderCapn) SetEpochStartMetaHash(v []byte)

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

func (HeaderCapn) WriteJSON

func (s HeaderCapn) WriteJSON(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

type MetaBlockCapn C.Struct

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) Chainid added in v1.0.64

func (s MetaBlockCapn) Chainid() []byte

func (MetaBlockCapn) Epoch

func (s MetaBlockCapn) Epoch() uint32

func (MetaBlockCapn) EpochStart added in v1.0.67

func (s MetaBlockCapn) EpochStart() EpochStartCapn

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) SetChainid added in v1.0.64

func (s MetaBlockCapn) SetChainid(v []byte)

func (MetaBlockCapn) SetEpoch

func (s MetaBlockCapn) SetEpoch(v uint32)

func (MetaBlockCapn) SetEpochStart added in v1.0.67

func (s MetaBlockCapn) SetEpochStart(v EpochStartCapn)

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

func (MetaBlockCapn) WriteJSON

func (s MetaBlockCapn) WriteJSON(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 (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

type MiniBlockCapn C.Struct

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

func (MiniBlockCapn) WriteJSON

func (s MiniBlockCapn) WriteJSON(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 (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

type MiniBlockHeaderCapn C.Struct

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

func (MiniBlockHeaderCapn) WriteJSON

func (s MiniBlockHeaderCapn) WriteJSON(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 (MiniBlockHeaderCapn_List) Len

func (s MiniBlockHeaderCapn_List) Len() int

func (MiniBlockHeaderCapn_List) Set

func (MiniBlockHeaderCapn_List) ToArray

type PeerChangeCapn

type PeerChangeCapn C.Struct

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

func (PeerChangeCapn) WriteJSON

func (s PeerChangeCapn) WriteJSON(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 (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

type PeerDataCapn C.Struct

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

func (PeerDataCapn) WriteJSON

func (s PeerDataCapn) WriteJSON(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 (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

type ShardDataCapn C.Struct

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

func (ShardDataCapn) WriteJSON

func (s ShardDataCapn) WriteJSON(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 (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

type ShardMiniBlockHeaderCapn C.Struct

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

func (ShardMiniBlockHeaderCapn) WriteJSON

func (s ShardMiniBlockHeaderCapn) WriteJSON(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 (ShardMiniBlockHeaderCapn_List) Len

func (ShardMiniBlockHeaderCapn_List) Set

func (ShardMiniBlockHeaderCapn_List) ToArray

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL