capnp

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 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 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) Epoch

func (s HeaderCapn) Epoch() uint32

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() uint32

func (HeaderCapn) SetBlockBodyType

func (s HeaderCapn) SetBlockBodyType(v uint8)

func (HeaderCapn) SetEpoch

func (s HeaderCapn) SetEpoch(v uint32)

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 uint32)

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) 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) 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) Epoch

func (s MetaBlockCapn) Epoch() uint32

func (MetaBlockCapn) MarshalCapLit

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

func (MetaBlockCapn) MarshalJSON

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

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() uint32

func (MetaBlockCapn) SetEpoch

func (s MetaBlockCapn) SetEpoch(v uint32)

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 uint32)

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) 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) 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) 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) 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) SetHeaderHash

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

func (ShardDataCapn) SetShardId

func (s ShardDataCapn) SetShardId(v uint32)

func (ShardDataCapn) SetShardMiniBlockHeaders

func (s ShardDataCapn) SetShardMiniBlockHeaders(v ShardMiniBlockHeaderCapn_List)

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) 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