capn

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DSLinker_TypeID = 0x91989c51606be6c8

DSLinker_TypeID is the unique identifier for the type DSLinker.

View Source
const DSPreImage_TypeID = 0xd4eb3c212b8dbb26

DSPreImage_TypeID is the unique identifier for the type DSPreImage.

View Source
const DataStore_TypeID = 0x9843dfb8f1386b20

DataStore_TypeID is the unique identifier for the type DataStore.

View Source
const TXInLinker_TypeID = 0x958c34c871381d2c

TXInLinker_TypeID is the unique identifier for the type TXInLinker.

View Source
const TXInPreImage_TypeID = 0xbb0225ef96e5ba9f

TXInPreImage_TypeID is the unique identifier for the type TXInPreImage.

View Source
const TXIn_TypeID = 0xb105e7dd5c44b39c

TXIn_TypeID is the unique identifier for the type TXIn.

View Source
const TXOut_TypeID = 0xfb4425cca53d7224

TXOut_TypeID is the unique identifier for the type TXOut.

View Source
const Tx_TypeID = 0x97ffa3012c4f6a3e

Tx_TypeID is the unique identifier for the type Tx.

View Source
const VSPreImage_TypeID = 0xf8c203f305398e1b

VSPreImage_TypeID is the unique identifier for the type VSPreImage.

View Source
const ValueStore_TypeID = 0xa031328fb2fcc743

ValueStore_TypeID is the unique identifier for the type ValueStore.

Variables

View Source
var (
	DefaultDSPreImage   = DSPreImage{Struct: capnp.MustUnmarshalRootPtr(x_b99093b7d2518300[0:144]).Struct()}
	DefaultDSLinker     = DSLinker{Struct: capnp.MustUnmarshalRootPtr(x_b99093b7d2518300[144:312]).Struct()}
	DefaultVSPreImage   = VSPreImage{Struct: capnp.MustUnmarshalRootPtr(x_b99093b7d2518300[312:416]).Struct()}
	DefaultTXInPreImage = TXInPreImage{Struct: capnp.MustUnmarshalRootPtr(x_b99093b7d2518300[416:456]).Struct()}
	DefaultTXInLinker   = TXInLinker{Struct: capnp.MustUnmarshalRootPtr(x_b99093b7d2518300[456:520]).Struct()}
)

Constants defined in application.capnp.

Functions

This section is empty.

Types

type DSLinker

type DSLinker struct{ capnp.Struct }

func NewDSLinker

func NewDSLinker(s *capnp.Segment) (DSLinker, error)

func NewRootDSLinker

func NewRootDSLinker(s *capnp.Segment) (DSLinker, error)

func ReadRootDSLinker

func ReadRootDSLinker(msg *capnp.Message) (DSLinker, error)

func (DSLinker) DSPreImage

func (s DSLinker) DSPreImage() DSPreImage

func (DSLinker) HasDSPreImage

func (s DSLinker) HasDSPreImage() bool

func (DSLinker) HasTxHash

func (s DSLinker) HasTxHash() bool

func (DSLinker) NewDSPreImage

func (s DSLinker) NewDSPreImage() (DSPreImage, error)

NewDSPreImage sets the dSPreImage field to a newly allocated DSPreImage struct, preferring placement in s's segment.

func (DSLinker) SetDSPreImage

func (s DSLinker) SetDSPreImage(v DSPreImage) error

func (DSLinker) SetTxHash

func (s DSLinker) SetTxHash(v []byte) error

func (DSLinker) String

func (s DSLinker) String() string

func (DSLinker) TxHash

func (s DSLinker) TxHash() []byte

type DSLinker_List

type DSLinker_List struct{ capnp.List }

DSLinker_List is a list of DSLinker.

func NewDSLinker_List

func NewDSLinker_List(s *capnp.Segment, sz int32) (DSLinker_List, error)

NewDSLinker creates a new list of DSLinker.

func (DSLinker_List) At

func (s DSLinker_List) At(i int) DSLinker

func (DSLinker_List) Set

func (s DSLinker_List) Set(i int, v DSLinker) error

func (DSLinker_List) String

func (s DSLinker_List) String() string

type DSLinker_Promise

type DSLinker_Promise struct{ *capnp.Pipeline }

DSLinker_Promise is a wrapper for a DSLinker promised by a client call.

func (DSLinker_Promise) DSPreImage

func (p DSLinker_Promise) DSPreImage() DSPreImage_Promise

func (DSLinker_Promise) Struct

func (p DSLinker_Promise) Struct() (DSLinker, error)

type DSPreImage

type DSPreImage struct{ capnp.Struct }

func NewDSPreImage

func NewDSPreImage(s *capnp.Segment) (DSPreImage, error)

func NewRootDSPreImage

func NewRootDSPreImage(s *capnp.Segment) (DSPreImage, error)

func ReadRootDSPreImage

func ReadRootDSPreImage(msg *capnp.Message) (DSPreImage, error)

func (DSPreImage) ChainID

func (s DSPreImage) ChainID() uint32

func (DSPreImage) Deposit

func (s DSPreImage) Deposit() uint32

func (DSPreImage) Deposit1

func (s DSPreImage) Deposit1() uint32

func (DSPreImage) Deposit2

func (s DSPreImage) Deposit2() uint32

func (DSPreImage) Deposit3

func (s DSPreImage) Deposit3() uint32

func (DSPreImage) Deposit4

func (s DSPreImage) Deposit4() uint32

func (DSPreImage) Deposit5

func (s DSPreImage) Deposit5() uint32

func (DSPreImage) Deposit6

func (s DSPreImage) Deposit6() uint32

func (DSPreImage) Deposit7

func (s DSPreImage) Deposit7() uint32

func (DSPreImage) Fee0

func (s DSPreImage) Fee0() uint32

func (DSPreImage) Fee1

func (s DSPreImage) Fee1() uint32

func (DSPreImage) Fee2

func (s DSPreImage) Fee2() uint32

func (DSPreImage) Fee3

func (s DSPreImage) Fee3() uint32

func (DSPreImage) Fee4

func (s DSPreImage) Fee4() uint32

func (DSPreImage) Fee5

func (s DSPreImage) Fee5() uint32

func (DSPreImage) Fee6

func (s DSPreImage) Fee6() uint32

func (DSPreImage) Fee7

func (s DSPreImage) Fee7() uint32

func (DSPreImage) HasIndex

func (s DSPreImage) HasIndex() bool

func (DSPreImage) HasOwner

func (s DSPreImage) HasOwner() bool

func (DSPreImage) HasRawData

func (s DSPreImage) HasRawData() bool

func (DSPreImage) Index

func (s DSPreImage) Index() []byte

func (DSPreImage) IssuedAt

func (s DSPreImage) IssuedAt() uint32

func (DSPreImage) Owner

func (s DSPreImage) Owner() []byte

func (DSPreImage) RawData

func (s DSPreImage) RawData() []byte

func (DSPreImage) SetChainID

func (s DSPreImage) SetChainID(v uint32)

func (DSPreImage) SetDeposit

func (s DSPreImage) SetDeposit(v uint32)

func (DSPreImage) SetDeposit1

func (s DSPreImage) SetDeposit1(v uint32)

func (DSPreImage) SetDeposit2

func (s DSPreImage) SetDeposit2(v uint32)

func (DSPreImage) SetDeposit3

func (s DSPreImage) SetDeposit3(v uint32)

func (DSPreImage) SetDeposit4

func (s DSPreImage) SetDeposit4(v uint32)

func (DSPreImage) SetDeposit5

func (s DSPreImage) SetDeposit5(v uint32)

func (DSPreImage) SetDeposit6

func (s DSPreImage) SetDeposit6(v uint32)

func (DSPreImage) SetDeposit7

func (s DSPreImage) SetDeposit7(v uint32)

func (DSPreImage) SetFee0

func (s DSPreImage) SetFee0(v uint32)

func (DSPreImage) SetFee1

func (s DSPreImage) SetFee1(v uint32)

func (DSPreImage) SetFee2

func (s DSPreImage) SetFee2(v uint32)

func (DSPreImage) SetFee3

func (s DSPreImage) SetFee3(v uint32)

func (DSPreImage) SetFee4

func (s DSPreImage) SetFee4(v uint32)

func (DSPreImage) SetFee5

func (s DSPreImage) SetFee5(v uint32)

func (DSPreImage) SetFee6

func (s DSPreImage) SetFee6(v uint32)

func (DSPreImage) SetFee7

func (s DSPreImage) SetFee7(v uint32)

func (DSPreImage) SetIndex

func (s DSPreImage) SetIndex(v []byte) error

func (DSPreImage) SetIssuedAt

func (s DSPreImage) SetIssuedAt(v uint32)

func (DSPreImage) SetOwner

func (s DSPreImage) SetOwner(v []byte) error

func (DSPreImage) SetRawData

func (s DSPreImage) SetRawData(v []byte) error

func (DSPreImage) SetTXOutIdx

func (s DSPreImage) SetTXOutIdx(v uint32)

func (DSPreImage) String

func (s DSPreImage) String() string

func (DSPreImage) TXOutIdx

func (s DSPreImage) TXOutIdx() uint32

type DSPreImage_List

type DSPreImage_List struct{ capnp.List }

DSPreImage_List is a list of DSPreImage.

func NewDSPreImage_List

func NewDSPreImage_List(s *capnp.Segment, sz int32) (DSPreImage_List, error)

NewDSPreImage creates a new list of DSPreImage.

func (DSPreImage_List) At

func (s DSPreImage_List) At(i int) DSPreImage

func (DSPreImage_List) Set

func (s DSPreImage_List) Set(i int, v DSPreImage) error

func (DSPreImage_List) String

func (s DSPreImage_List) String() string

type DSPreImage_Promise

type DSPreImage_Promise struct{ *capnp.Pipeline }

DSPreImage_Promise is a wrapper for a DSPreImage promised by a client call.

func (DSPreImage_Promise) Struct

func (p DSPreImage_Promise) Struct() (DSPreImage, error)

type DataStore

type DataStore struct{ capnp.Struct }

func NewDataStore

func NewDataStore(s *capnp.Segment) (DataStore, error)

func NewRootDataStore

func NewRootDataStore(s *capnp.Segment) (DataStore, error)

func ReadRootDataStore

func ReadRootDataStore(msg *capnp.Message) (DataStore, error)

func (DataStore) DSLinker

func (s DataStore) DSLinker() DSLinker

func (DataStore) HasDSLinker

func (s DataStore) HasDSLinker() bool

func (DataStore) HasSignature

func (s DataStore) HasSignature() bool

func (DataStore) NewDSLinker

func (s DataStore) NewDSLinker() (DSLinker, error)

NewDSLinker sets the dSLinker field to a newly allocated DSLinker struct, preferring placement in s's segment.

func (DataStore) SetDSLinker

func (s DataStore) SetDSLinker(v DSLinker) error

func (DataStore) SetSignature

func (s DataStore) SetSignature(v []byte) error

func (DataStore) Signature

func (s DataStore) Signature() []byte

func (DataStore) String

func (s DataStore) String() string

type DataStore_List

type DataStore_List struct{ capnp.List }

DataStore_List is a list of DataStore.

func NewDataStore_List

func NewDataStore_List(s *capnp.Segment, sz int32) (DataStore_List, error)

NewDataStore creates a new list of DataStore.

func (DataStore_List) At

func (s DataStore_List) At(i int) DataStore

func (DataStore_List) Set

func (s DataStore_List) Set(i int, v DataStore) error

func (DataStore_List) String

func (s DataStore_List) String() string

type DataStore_Promise

type DataStore_Promise struct{ *capnp.Pipeline }

DataStore_Promise is a wrapper for a DataStore promised by a client call.

func (DataStore_Promise) DSLinker

func (p DataStore_Promise) DSLinker() DSLinker_Promise

func (DataStore_Promise) Struct

func (p DataStore_Promise) Struct() (DataStore, error)

type TXIn

type TXIn struct{ capnp.Struct }

func NewRootTXIn

func NewRootTXIn(s *capnp.Segment) (TXIn, error)

func NewTXIn

func NewTXIn(s *capnp.Segment) (TXIn, error)

func ReadRootTXIn

func ReadRootTXIn(msg *capnp.Message) (TXIn, error)

func (TXIn) HasSignature

func (s TXIn) HasSignature() bool

func (TXIn) HasTXInLinker

func (s TXIn) HasTXInLinker() bool

func (TXIn) NewTXInLinker

func (s TXIn) NewTXInLinker() (TXInLinker, error)

NewTXInLinker sets the tXInLinker field to a newly allocated TXInLinker struct, preferring placement in s's segment.

func (TXIn) SetSignature

func (s TXIn) SetSignature(v []byte) error

func (TXIn) SetTXInLinker

func (s TXIn) SetTXInLinker(v TXInLinker) error

func (TXIn) Signature

func (s TXIn) Signature() []byte

func (TXIn) String

func (s TXIn) String() string

func (TXIn) TXInLinker

func (s TXIn) TXInLinker() TXInLinker

type TXInLinker

type TXInLinker struct{ capnp.Struct }

func NewRootTXInLinker

func NewRootTXInLinker(s *capnp.Segment) (TXInLinker, error)

func NewTXInLinker

func NewTXInLinker(s *capnp.Segment) (TXInLinker, error)

func ReadRootTXInLinker

func ReadRootTXInLinker(msg *capnp.Message) (TXInLinker, error)

func (TXInLinker) HasTXInPreImage

func (s TXInLinker) HasTXInPreImage() bool

func (TXInLinker) HasTxHash

func (s TXInLinker) HasTxHash() bool

func (TXInLinker) NewTXInPreImage

func (s TXInLinker) NewTXInPreImage() (TXInPreImage, error)

NewTXInPreImage sets the tXInPreImage field to a newly allocated TXInPreImage struct, preferring placement in s's segment.

func (TXInLinker) SetTXInPreImage

func (s TXInLinker) SetTXInPreImage(v TXInPreImage) error

func (TXInLinker) SetTxHash

func (s TXInLinker) SetTxHash(v []byte) error

func (TXInLinker) String

func (s TXInLinker) String() string

func (TXInLinker) TXInPreImage

func (s TXInLinker) TXInPreImage() TXInPreImage

func (TXInLinker) TxHash

func (s TXInLinker) TxHash() []byte

type TXInLinker_List

type TXInLinker_List struct{ capnp.List }

TXInLinker_List is a list of TXInLinker.

func NewTXInLinker_List

func NewTXInLinker_List(s *capnp.Segment, sz int32) (TXInLinker_List, error)

NewTXInLinker creates a new list of TXInLinker.

func (TXInLinker_List) At

func (s TXInLinker_List) At(i int) TXInLinker

func (TXInLinker_List) Set

func (s TXInLinker_List) Set(i int, v TXInLinker) error

func (TXInLinker_List) String

func (s TXInLinker_List) String() string

type TXInLinker_Promise

type TXInLinker_Promise struct{ *capnp.Pipeline }

TXInLinker_Promise is a wrapper for a TXInLinker promised by a client call.

func (TXInLinker_Promise) Struct

func (p TXInLinker_Promise) Struct() (TXInLinker, error)

func (TXInLinker_Promise) TXInPreImage

func (p TXInLinker_Promise) TXInPreImage() TXInPreImage_Promise

type TXInPreImage

type TXInPreImage struct{ capnp.Struct }

func NewRootTXInPreImage

func NewRootTXInPreImage(s *capnp.Segment) (TXInPreImage, error)

func NewTXInPreImage

func NewTXInPreImage(s *capnp.Segment) (TXInPreImage, error)

func ReadRootTXInPreImage

func ReadRootTXInPreImage(msg *capnp.Message) (TXInPreImage, error)

func (TXInPreImage) ChainID

func (s TXInPreImage) ChainID() uint32

func (TXInPreImage) ConsumedTxHash

func (s TXInPreImage) ConsumedTxHash() []byte

func (TXInPreImage) ConsumedTxIdx

func (s TXInPreImage) ConsumedTxIdx() uint32

func (TXInPreImage) HasConsumedTxHash

func (s TXInPreImage) HasConsumedTxHash() bool

func (TXInPreImage) SetChainID

func (s TXInPreImage) SetChainID(v uint32)

func (TXInPreImage) SetConsumedTxHash

func (s TXInPreImage) SetConsumedTxHash(v []byte) error

func (TXInPreImage) SetConsumedTxIdx

func (s TXInPreImage) SetConsumedTxIdx(v uint32)

func (TXInPreImage) String

func (s TXInPreImage) String() string

type TXInPreImage_List

type TXInPreImage_List struct{ capnp.List }

TXInPreImage_List is a list of TXInPreImage.

func NewTXInPreImage_List

func NewTXInPreImage_List(s *capnp.Segment, sz int32) (TXInPreImage_List, error)

NewTXInPreImage creates a new list of TXInPreImage.

func (TXInPreImage_List) At

func (TXInPreImage_List) Set

func (TXInPreImage_List) String

func (s TXInPreImage_List) String() string

type TXInPreImage_Promise

type TXInPreImage_Promise struct{ *capnp.Pipeline }

TXInPreImage_Promise is a wrapper for a TXInPreImage promised by a client call.

func (TXInPreImage_Promise) Struct

func (p TXInPreImage_Promise) Struct() (TXInPreImage, error)

type TXIn_List

type TXIn_List struct{ capnp.List }

TXIn_List is a list of TXIn.

func NewTXIn_List

func NewTXIn_List(s *capnp.Segment, sz int32) (TXIn_List, error)

NewTXIn creates a new list of TXIn.

func (TXIn_List) At

func (s TXIn_List) At(i int) TXIn

func (TXIn_List) Set

func (s TXIn_List) Set(i int, v TXIn) error

func (TXIn_List) String

func (s TXIn_List) String() string

type TXIn_Promise

type TXIn_Promise struct{ *capnp.Pipeline }

TXIn_Promise is a wrapper for a TXIn promised by a client call.

func (TXIn_Promise) Struct

func (p TXIn_Promise) Struct() (TXIn, error)

func (TXIn_Promise) TXInLinker

func (p TXIn_Promise) TXInLinker() TXInLinker_Promise

type TXOut

type TXOut struct{ capnp.Struct }

func NewRootTXOut

func NewRootTXOut(s *capnp.Segment) (TXOut, error)

func NewTXOut

func NewTXOut(s *capnp.Segment) (TXOut, error)

func ReadRootTXOut

func ReadRootTXOut(msg *capnp.Message) (TXOut, error)

func (TXOut) DataStore

func (s TXOut) DataStore() (DataStore, error)

func (TXOut) HasDataStore

func (s TXOut) HasDataStore() bool

func (TXOut) HasValueStore

func (s TXOut) HasValueStore() bool

func (TXOut) NewDataStore

func (s TXOut) NewDataStore() (DataStore, error)

NewDataStore sets the dataStore field to a newly allocated DataStore struct, preferring placement in s's segment.

func (TXOut) NewValueStore

func (s TXOut) NewValueStore() (ValueStore, error)

NewValueStore sets the valueStore field to a newly allocated ValueStore struct, preferring placement in s's segment.

func (TXOut) SetDataStore

func (s TXOut) SetDataStore(v DataStore) error

func (TXOut) SetValueStore

func (s TXOut) SetValueStore(v ValueStore) error

func (TXOut) String

func (s TXOut) String() string

func (TXOut) ValueStore

func (s TXOut) ValueStore() (ValueStore, error)

func (TXOut) Which

func (s TXOut) Which() TXOut_Which

type TXOut_List

type TXOut_List struct{ capnp.List }

TXOut_List is a list of TXOut.

func NewTXOut_List

func NewTXOut_List(s *capnp.Segment, sz int32) (TXOut_List, error)

NewTXOut creates a new list of TXOut.

func (TXOut_List) At

func (s TXOut_List) At(i int) TXOut

func (TXOut_List) Set

func (s TXOut_List) Set(i int, v TXOut) error

func (TXOut_List) String

func (s TXOut_List) String() string

type TXOut_Promise

type TXOut_Promise struct{ *capnp.Pipeline }

TXOut_Promise is a wrapper for a TXOut promised by a client call.

func (TXOut_Promise) DataStore

func (p TXOut_Promise) DataStore() DataStore_Promise

func (TXOut_Promise) Struct

func (p TXOut_Promise) Struct() (TXOut, error)

func (TXOut_Promise) ValueStore

func (p TXOut_Promise) ValueStore() ValueStore_Promise

type TXOut_Which

type TXOut_Which uint16
const (
	TXOut_Which_dataStore  TXOut_Which = 0
	TXOut_Which_valueStore TXOut_Which = 1
)

func (TXOut_Which) String

func (w TXOut_Which) String() string

type Tx

type Tx struct{ capnp.Struct }

func NewRootTx

func NewRootTx(s *capnp.Segment) (Tx, error)

func NewTx

func NewTx(s *capnp.Segment) (Tx, error)

func ReadRootTx

func ReadRootTx(msg *capnp.Message) (Tx, error)

func (Tx) Fee0

func (s Tx) Fee0() uint32

func (Tx) Fee1

func (s Tx) Fee1() uint32

func (Tx) Fee2

func (s Tx) Fee2() uint32

func (Tx) Fee3

func (s Tx) Fee3() uint32

func (Tx) Fee4

func (s Tx) Fee4() uint32

func (Tx) Fee5

func (s Tx) Fee5() uint32

func (Tx) Fee6

func (s Tx) Fee6() uint32

func (Tx) Fee7

func (s Tx) Fee7() uint32

func (Tx) HasVin

func (s Tx) HasVin() bool

func (Tx) HasVout

func (s Tx) HasVout() bool

func (Tx) NewVin

func (s Tx) NewVin(n int32) (TXIn_List, error)

NewVin sets the vin field to a newly allocated TXIn_List, preferring placement in s's segment.

func (Tx) NewVout

func (s Tx) NewVout(n int32) (TXOut_List, error)

NewVout sets the vout field to a newly allocated TXOut_List, preferring placement in s's segment.

func (Tx) SetFee0

func (s Tx) SetFee0(v uint32)

func (Tx) SetFee1

func (s Tx) SetFee1(v uint32)

func (Tx) SetFee2

func (s Tx) SetFee2(v uint32)

func (Tx) SetFee3

func (s Tx) SetFee3(v uint32)

func (Tx) SetFee4

func (s Tx) SetFee4(v uint32)

func (Tx) SetFee5

func (s Tx) SetFee5(v uint32)

func (Tx) SetFee6

func (s Tx) SetFee6(v uint32)

func (Tx) SetFee7

func (s Tx) SetFee7(v uint32)

func (Tx) SetVin

func (s Tx) SetVin(v TXIn_List) error

func (Tx) SetVout

func (s Tx) SetVout(v TXOut_List) error

func (Tx) String

func (s Tx) String() string

func (Tx) Vin

func (s Tx) Vin() (TXIn_List, error)

func (Tx) Vout

func (s Tx) Vout() (TXOut_List, error)

type Tx_List

type Tx_List struct{ capnp.List }

Tx_List is a list of Tx.

func NewTx_List

func NewTx_List(s *capnp.Segment, sz int32) (Tx_List, error)

NewTx creates a new list of Tx.

func (Tx_List) At

func (s Tx_List) At(i int) Tx

func (Tx_List) Set

func (s Tx_List) Set(i int, v Tx) error

func (Tx_List) String

func (s Tx_List) String() string

type Tx_Promise

type Tx_Promise struct{ *capnp.Pipeline }

Tx_Promise is a wrapper for a Tx promised by a client call.

func (Tx_Promise) Struct

func (p Tx_Promise) Struct() (Tx, error)

type VSPreImage

type VSPreImage struct{ capnp.Struct }

func NewRootVSPreImage

func NewRootVSPreImage(s *capnp.Segment) (VSPreImage, error)

func NewVSPreImage

func NewVSPreImage(s *capnp.Segment) (VSPreImage, error)

func ReadRootVSPreImage

func ReadRootVSPreImage(msg *capnp.Message) (VSPreImage, error)

func (VSPreImage) ChainID

func (s VSPreImage) ChainID() uint32

func (VSPreImage) Fee0

func (s VSPreImage) Fee0() uint32

func (VSPreImage) Fee1

func (s VSPreImage) Fee1() uint32

func (VSPreImage) Fee2

func (s VSPreImage) Fee2() uint32

func (VSPreImage) Fee3

func (s VSPreImage) Fee3() uint32

func (VSPreImage) Fee4

func (s VSPreImage) Fee4() uint32

func (VSPreImage) Fee5

func (s VSPreImage) Fee5() uint32

func (VSPreImage) Fee6

func (s VSPreImage) Fee6() uint32

func (VSPreImage) Fee7

func (s VSPreImage) Fee7() uint32

func (VSPreImage) HasOwner

func (s VSPreImage) HasOwner() bool

func (VSPreImage) Owner

func (s VSPreImage) Owner() []byte

func (VSPreImage) SetChainID

func (s VSPreImage) SetChainID(v uint32)

func (VSPreImage) SetFee0

func (s VSPreImage) SetFee0(v uint32)

func (VSPreImage) SetFee1

func (s VSPreImage) SetFee1(v uint32)

func (VSPreImage) SetFee2

func (s VSPreImage) SetFee2(v uint32)

func (VSPreImage) SetFee3

func (s VSPreImage) SetFee3(v uint32)

func (VSPreImage) SetFee4

func (s VSPreImage) SetFee4(v uint32)

func (VSPreImage) SetFee5

func (s VSPreImage) SetFee5(v uint32)

func (VSPreImage) SetFee6

func (s VSPreImage) SetFee6(v uint32)

func (VSPreImage) SetFee7

func (s VSPreImage) SetFee7(v uint32)

func (VSPreImage) SetOwner

func (s VSPreImage) SetOwner(v []byte) error

func (VSPreImage) SetTXOutIdx

func (s VSPreImage) SetTXOutIdx(v uint32)

func (VSPreImage) SetValue

func (s VSPreImage) SetValue(v uint32)

func (VSPreImage) SetValue1

func (s VSPreImage) SetValue1(v uint32)

func (VSPreImage) SetValue2

func (s VSPreImage) SetValue2(v uint32)

func (VSPreImage) SetValue3

func (s VSPreImage) SetValue3(v uint32)

func (VSPreImage) SetValue4

func (s VSPreImage) SetValue4(v uint32)

func (VSPreImage) SetValue5

func (s VSPreImage) SetValue5(v uint32)

func (VSPreImage) SetValue6

func (s VSPreImage) SetValue6(v uint32)

func (VSPreImage) SetValue7

func (s VSPreImage) SetValue7(v uint32)

func (VSPreImage) String

func (s VSPreImage) String() string

func (VSPreImage) TXOutIdx

func (s VSPreImage) TXOutIdx() uint32

func (VSPreImage) Value

func (s VSPreImage) Value() uint32

func (VSPreImage) Value1

func (s VSPreImage) Value1() uint32

func (VSPreImage) Value2

func (s VSPreImage) Value2() uint32

func (VSPreImage) Value3

func (s VSPreImage) Value3() uint32

func (VSPreImage) Value4

func (s VSPreImage) Value4() uint32

func (VSPreImage) Value5

func (s VSPreImage) Value5() uint32

func (VSPreImage) Value6

func (s VSPreImage) Value6() uint32

func (VSPreImage) Value7

func (s VSPreImage) Value7() uint32

type VSPreImage_List

type VSPreImage_List struct{ capnp.List }

VSPreImage_List is a list of VSPreImage.

func NewVSPreImage_List

func NewVSPreImage_List(s *capnp.Segment, sz int32) (VSPreImage_List, error)

NewVSPreImage creates a new list of VSPreImage.

func (VSPreImage_List) At

func (s VSPreImage_List) At(i int) VSPreImage

func (VSPreImage_List) Set

func (s VSPreImage_List) Set(i int, v VSPreImage) error

func (VSPreImage_List) String

func (s VSPreImage_List) String() string

type VSPreImage_Promise

type VSPreImage_Promise struct{ *capnp.Pipeline }

VSPreImage_Promise is a wrapper for a VSPreImage promised by a client call.

func (VSPreImage_Promise) Struct

func (p VSPreImage_Promise) Struct() (VSPreImage, error)

type ValueStore

type ValueStore struct{ capnp.Struct }

func NewRootValueStore

func NewRootValueStore(s *capnp.Segment) (ValueStore, error)

func NewValueStore

func NewValueStore(s *capnp.Segment) (ValueStore, error)

func ReadRootValueStore

func ReadRootValueStore(msg *capnp.Message) (ValueStore, error)

func (ValueStore) HasTxHash

func (s ValueStore) HasTxHash() bool

func (ValueStore) HasVSPreImage

func (s ValueStore) HasVSPreImage() bool

func (ValueStore) NewVSPreImage

func (s ValueStore) NewVSPreImage() (VSPreImage, error)

NewVSPreImage sets the vSPreImage field to a newly allocated VSPreImage struct, preferring placement in s's segment.

func (ValueStore) SetTxHash

func (s ValueStore) SetTxHash(v []byte) error

func (ValueStore) SetVSPreImage

func (s ValueStore) SetVSPreImage(v VSPreImage) error

func (ValueStore) String

func (s ValueStore) String() string

func (ValueStore) TxHash

func (s ValueStore) TxHash() []byte

func (ValueStore) VSPreImage

func (s ValueStore) VSPreImage() VSPreImage

type ValueStore_List

type ValueStore_List struct{ capnp.List }

ValueStore_List is a list of ValueStore.

func NewValueStore_List

func NewValueStore_List(s *capnp.Segment, sz int32) (ValueStore_List, error)

NewValueStore creates a new list of ValueStore.

func (ValueStore_List) At

func (s ValueStore_List) At(i int) ValueStore

func (ValueStore_List) Set

func (s ValueStore_List) Set(i int, v ValueStore) error

func (ValueStore_List) String

func (s ValueStore_List) String() string

type ValueStore_Promise

type ValueStore_Promise struct{ *capnp.Pipeline }

ValueStore_Promise is a wrapper for a ValueStore promised by a client call.

func (ValueStore_Promise) Struct

func (p ValueStore_Promise) Struct() (ValueStore, error)

func (ValueStore_Promise) VSPreImage

func (p ValueStore_Promise) VSPreImage() VSPreImage_Promise

Jump to

Keyboard shortcuts

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