Documentation ¶
Index ¶
- Constants
- type Block
- func (s *Block) AsBuilder() BlockBuilder
- func (s *Block) AsSlice() []byte
- func (s *Block) CountExtraFields() uint
- func (s *Block) FieldCount() uint
- func (s *Block) HasExtraFields() bool
- func (s *Block) Header() *Header
- func (s *Block) IsEmpty() bool
- func (s *Block) Len() uint
- func (s *Block) Proposals() *ProposalShortIdVec
- func (s *Block) TotalSize() uint
- func (s *Block) Transactions() *TransactionVec
- func (s *Block) Uncles() *UncleBlockVec
- type BlockBuilder
- type BlockV1
- func (s *BlockV1) AsBuilder() BlockV1Builder
- func (s *BlockV1) AsSlice() []byte
- func (s *BlockV1) CountExtraFields() uint
- func (s *BlockV1) Extension() *Bytes
- func (s *BlockV1) FieldCount() uint
- func (s *BlockV1) HasExtraFields() bool
- func (s *BlockV1) Header() *Header
- func (s *BlockV1) IsEmpty() bool
- func (s *BlockV1) Len() uint
- func (s *BlockV1) Proposals() *ProposalShortIdVec
- func (s *BlockV1) TotalSize() uint
- func (s *BlockV1) Transactions() *TransactionVec
- func (s *BlockV1) Uncles() *UncleBlockVec
- type BlockV1Builder
- func (s *BlockV1Builder) Build() BlockV1
- func (s *BlockV1Builder) Extension(v Bytes) *BlockV1Builder
- func (s *BlockV1Builder) Header(v Header) *BlockV1Builder
- func (s *BlockV1Builder) Proposals(v ProposalShortIdVec) *BlockV1Builder
- func (s *BlockV1Builder) Transactions(v TransactionVec) *BlockV1Builder
- func (s *BlockV1Builder) Uncles(v UncleBlockVec) *BlockV1Builder
- type Byte
- type Byte32
- func (s *Byte32) AsBuilder() Byte32Builder
- func (s *Byte32) AsSlice() []byte
- func (s *Byte32) Nth0() *Byte
- func (s *Byte32) Nth1() *Byte
- func (s *Byte32) Nth10() *Byte
- func (s *Byte32) Nth11() *Byte
- func (s *Byte32) Nth12() *Byte
- func (s *Byte32) Nth13() *Byte
- func (s *Byte32) Nth14() *Byte
- func (s *Byte32) Nth15() *Byte
- func (s *Byte32) Nth16() *Byte
- func (s *Byte32) Nth17() *Byte
- func (s *Byte32) Nth18() *Byte
- func (s *Byte32) Nth19() *Byte
- func (s *Byte32) Nth2() *Byte
- func (s *Byte32) Nth20() *Byte
- func (s *Byte32) Nth21() *Byte
- func (s *Byte32) Nth22() *Byte
- func (s *Byte32) Nth23() *Byte
- func (s *Byte32) Nth24() *Byte
- func (s *Byte32) Nth25() *Byte
- func (s *Byte32) Nth26() *Byte
- func (s *Byte32) Nth27() *Byte
- func (s *Byte32) Nth28() *Byte
- func (s *Byte32) Nth29() *Byte
- func (s *Byte32) Nth3() *Byte
- func (s *Byte32) Nth30() *Byte
- func (s *Byte32) Nth31() *Byte
- func (s *Byte32) Nth4() *Byte
- func (s *Byte32) Nth5() *Byte
- func (s *Byte32) Nth6() *Byte
- func (s *Byte32) Nth7() *Byte
- func (s *Byte32) Nth8() *Byte
- func (s *Byte32) Nth9() *Byte
- func (s *Byte32) RawData() []byte
- type Byte32Builder
- func (s *Byte32Builder) Build() Byte32
- func (s *Byte32Builder) Nth0(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth1(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth10(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth11(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth12(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth13(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth14(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth15(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth16(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth17(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth18(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth19(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth2(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth20(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth21(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth22(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth23(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth24(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth25(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth26(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth27(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth28(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth29(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth3(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth30(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth31(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth4(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth5(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth6(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth7(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth8(v Byte) *Byte32Builder
- func (s *Byte32Builder) Nth9(v Byte) *Byte32Builder
- func (s *Byte32Builder) Set(v [32]Byte) *Byte32Builder
- type Byte32Vec
- type Byte32VecBuilder
- type Bytes
- type BytesBuilder
- type BytesOpt
- type BytesOptBuilder
- type BytesVec
- type BytesVecBuilder
- type CellDep
- type CellDepBuilder
- type CellDepVec
- type CellDepVecBuilder
- func (s *CellDepVecBuilder) Build() CellDepVec
- func (s *CellDepVecBuilder) Extend(iter []CellDep) *CellDepVecBuilder
- func (s *CellDepVecBuilder) Push(v CellDep) *CellDepVecBuilder
- func (s *CellDepVecBuilder) Replace(index uint, v CellDep) *CellDep
- func (s *CellDepVecBuilder) Set(v []CellDep) *CellDepVecBuilder
- type CellInput
- type CellInputBuilder
- type CellInputVec
- type CellInputVecBuilder
- func (s *CellInputVecBuilder) Build() CellInputVec
- func (s *CellInputVecBuilder) Extend(iter []CellInput) *CellInputVecBuilder
- func (s *CellInputVecBuilder) Push(v CellInput) *CellInputVecBuilder
- func (s *CellInputVecBuilder) Replace(index uint, v CellInput) *CellInput
- func (s *CellInputVecBuilder) Set(v []CellInput) *CellInputVecBuilder
- type CellOutput
- func (s *CellOutput) AsBuilder() CellOutputBuilder
- func (s *CellOutput) AsSlice() []byte
- func (s *CellOutput) Capacity() *Uint64
- func (s *CellOutput) CountExtraFields() uint
- func (s *CellOutput) FieldCount() uint
- func (s *CellOutput) HasExtraFields() bool
- func (s *CellOutput) IsEmpty() bool
- func (s *CellOutput) Len() uint
- func (s *CellOutput) Lock() *Script
- func (s *CellOutput) TotalSize() uint
- func (s *CellOutput) Type() *ScriptOpt
- type CellOutputBuilder
- type CellOutputVec
- func (s *CellOutputVec) AsBuilder() CellOutputVecBuilder
- func (s *CellOutputVec) AsSlice() []byte
- func (s *CellOutputVec) Get(index uint) *CellOutput
- func (s *CellOutputVec) IsEmpty() bool
- func (s *CellOutputVec) ItemCount() uint
- func (s *CellOutputVec) Len() uint
- func (s *CellOutputVec) TotalSize() uint
- type CellOutputVecBuilder
- func (s *CellOutputVecBuilder) Build() CellOutputVec
- func (s *CellOutputVecBuilder) Extend(iter []CellOutput) *CellOutputVecBuilder
- func (s *CellOutputVecBuilder) Push(v CellOutput) *CellOutputVecBuilder
- func (s *CellOutputVecBuilder) Replace(index uint, v CellOutput) *CellOutput
- func (s *CellOutputVecBuilder) Set(v []CellOutput) *CellOutputVecBuilder
- type CellbaseWitness
- func (s *CellbaseWitness) AsBuilder() CellbaseWitnessBuilder
- func (s *CellbaseWitness) AsSlice() []byte
- func (s *CellbaseWitness) CountExtraFields() uint
- func (s *CellbaseWitness) FieldCount() uint
- func (s *CellbaseWitness) HasExtraFields() bool
- func (s *CellbaseWitness) IsEmpty() bool
- func (s *CellbaseWitness) Len() uint
- func (s *CellbaseWitness) Lock() *Script
- func (s *CellbaseWitness) Message() *Bytes
- func (s *CellbaseWitness) TotalSize() uint
- type CellbaseWitnessBuilder
- type Header
- type HeaderBuilder
- type Number
- type OutPoint
- type OutPointBuilder
- type ProposalShortId
- func (s *ProposalShortId) AsBuilder() ProposalShortIdBuilder
- func (s *ProposalShortId) AsSlice() []byte
- func (s *ProposalShortId) Nth0() *Byte
- func (s *ProposalShortId) Nth1() *Byte
- func (s *ProposalShortId) Nth2() *Byte
- func (s *ProposalShortId) Nth3() *Byte
- func (s *ProposalShortId) Nth4() *Byte
- func (s *ProposalShortId) Nth5() *Byte
- func (s *ProposalShortId) Nth6() *Byte
- func (s *ProposalShortId) Nth7() *Byte
- func (s *ProposalShortId) Nth8() *Byte
- func (s *ProposalShortId) Nth9() *Byte
- func (s *ProposalShortId) RawData() []byte
- type ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Build() ProposalShortId
- func (s *ProposalShortIdBuilder) Nth0(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth1(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth2(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth3(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth4(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth5(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth6(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth7(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth8(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Nth9(v Byte) *ProposalShortIdBuilder
- func (s *ProposalShortIdBuilder) Set(v [10]Byte) *ProposalShortIdBuilder
- type ProposalShortIdVec
- func (s *ProposalShortIdVec) AsBuilder() ProposalShortIdVecBuilder
- func (s *ProposalShortIdVec) AsSlice() []byte
- func (s *ProposalShortIdVec) Get(index uint) *ProposalShortId
- func (s *ProposalShortIdVec) IsEmpty() bool
- func (s *ProposalShortIdVec) ItemCount() uint
- func (s *ProposalShortIdVec) Len() uint
- func (s *ProposalShortIdVec) TotalSize() uint
- type ProposalShortIdVecBuilder
- func (s *ProposalShortIdVecBuilder) Build() ProposalShortIdVec
- func (s *ProposalShortIdVecBuilder) Extend(iter []ProposalShortId) *ProposalShortIdVecBuilder
- func (s *ProposalShortIdVecBuilder) Push(v ProposalShortId) *ProposalShortIdVecBuilder
- func (s *ProposalShortIdVecBuilder) Replace(index uint, v ProposalShortId) *ProposalShortId
- func (s *ProposalShortIdVecBuilder) Set(v []ProposalShortId) *ProposalShortIdVecBuilder
- type RawHeader
- func (s *RawHeader) AsBuilder() RawHeaderBuilder
- func (s *RawHeader) AsSlice() []byte
- func (s *RawHeader) CompactTarget() *Uint32
- func (s *RawHeader) Dao() *Byte32
- func (s *RawHeader) Epoch() *Uint64
- func (s *RawHeader) ExtraHash() *Byte32
- func (s *RawHeader) Number() *Uint64
- func (s *RawHeader) ParentHash() *Byte32
- func (s *RawHeader) ProposalsHash() *Byte32
- func (s *RawHeader) Timestamp() *Uint64
- func (s *RawHeader) TransactionsRoot() *Byte32
- func (s *RawHeader) Version() *Uint32
- type RawHeaderBuilder
- func (s *RawHeaderBuilder) Build() RawHeader
- func (s *RawHeaderBuilder) CompactTarget(v Uint32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) Dao(v Byte32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) Epoch(v Uint64) *RawHeaderBuilder
- func (s *RawHeaderBuilder) ExtraHash(v Byte32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) Number(v Uint64) *RawHeaderBuilder
- func (s *RawHeaderBuilder) ParentHash(v Byte32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) ProposalsHash(v Byte32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) Timestamp(v Uint64) *RawHeaderBuilder
- func (s *RawHeaderBuilder) TransactionsRoot(v Byte32) *RawHeaderBuilder
- func (s *RawHeaderBuilder) Version(v Uint32) *RawHeaderBuilder
- type RawTransaction
- func (s *RawTransaction) AsBuilder() RawTransactionBuilder
- func (s *RawTransaction) AsSlice() []byte
- func (s *RawTransaction) CellDeps() *CellDepVec
- func (s *RawTransaction) CountExtraFields() uint
- func (s *RawTransaction) FieldCount() uint
- func (s *RawTransaction) HasExtraFields() bool
- func (s *RawTransaction) HeaderDeps() *Byte32Vec
- func (s *RawTransaction) Inputs() *CellInputVec
- func (s *RawTransaction) IsEmpty() bool
- func (s *RawTransaction) Len() uint
- func (s *RawTransaction) Outputs() *CellOutputVec
- func (s *RawTransaction) OutputsData() *BytesVec
- func (s *RawTransaction) TotalSize() uint
- func (s *RawTransaction) Version() *Uint32
- type RawTransactionBuilder
- func (s *RawTransactionBuilder) Build() RawTransaction
- func (s *RawTransactionBuilder) CellDeps(v CellDepVec) *RawTransactionBuilder
- func (s *RawTransactionBuilder) HeaderDeps(v Byte32Vec) *RawTransactionBuilder
- func (s *RawTransactionBuilder) Inputs(v CellInputVec) *RawTransactionBuilder
- func (s *RawTransactionBuilder) Outputs(v CellOutputVec) *RawTransactionBuilder
- func (s *RawTransactionBuilder) OutputsData(v BytesVec) *RawTransactionBuilder
- func (s *RawTransactionBuilder) Version(v Uint32) *RawTransactionBuilder
- type Script
- func (s *Script) Args() *Bytes
- func (s *Script) AsBuilder() ScriptBuilder
- func (s *Script) AsSlice() []byte
- func (s *Script) CodeHash() *Byte32
- func (s *Script) CountExtraFields() uint
- func (s *Script) FieldCount() uint
- func (s *Script) HasExtraFields() bool
- func (s *Script) HashType() *Byte
- func (s *Script) IsEmpty() bool
- func (s *Script) Len() uint
- func (s *Script) TotalSize() uint
- type ScriptBuilder
- type ScriptOpt
- type ScriptOptBuilder
- type Transaction
- func (s *Transaction) AsBuilder() TransactionBuilder
- func (s *Transaction) AsSlice() []byte
- func (s *Transaction) CountExtraFields() uint
- func (s *Transaction) FieldCount() uint
- func (s *Transaction) HasExtraFields() bool
- func (s *Transaction) IsEmpty() bool
- func (s *Transaction) Len() uint
- func (s *Transaction) Raw() *RawTransaction
- func (s *Transaction) TotalSize() uint
- func (s *Transaction) Witnesses() *BytesVec
- type TransactionBuilder
- type TransactionVec
- func (s *TransactionVec) AsBuilder() TransactionVecBuilder
- func (s *TransactionVec) AsSlice() []byte
- func (s *TransactionVec) Get(index uint) *Transaction
- func (s *TransactionVec) IsEmpty() bool
- func (s *TransactionVec) ItemCount() uint
- func (s *TransactionVec) Len() uint
- func (s *TransactionVec) TotalSize() uint
- type TransactionVecBuilder
- func (s *TransactionVecBuilder) Build() TransactionVec
- func (s *TransactionVecBuilder) Extend(iter []Transaction) *TransactionVecBuilder
- func (s *TransactionVecBuilder) Push(v Transaction) *TransactionVecBuilder
- func (s *TransactionVecBuilder) Replace(index uint, v Transaction) *Transaction
- func (s *TransactionVecBuilder) Set(v []Transaction) *TransactionVecBuilder
- type Uint128
- func (s *Uint128) AsBuilder() Uint128Builder
- func (s *Uint128) AsSlice() []byte
- func (s *Uint128) Nth0() *Byte
- func (s *Uint128) Nth1() *Byte
- func (s *Uint128) Nth10() *Byte
- func (s *Uint128) Nth11() *Byte
- func (s *Uint128) Nth12() *Byte
- func (s *Uint128) Nth13() *Byte
- func (s *Uint128) Nth14() *Byte
- func (s *Uint128) Nth15() *Byte
- func (s *Uint128) Nth2() *Byte
- func (s *Uint128) Nth3() *Byte
- func (s *Uint128) Nth4() *Byte
- func (s *Uint128) Nth5() *Byte
- func (s *Uint128) Nth6() *Byte
- func (s *Uint128) Nth7() *Byte
- func (s *Uint128) Nth8() *Byte
- func (s *Uint128) Nth9() *Byte
- func (s *Uint128) RawData() []byte
- type Uint128Builder
- func (s *Uint128Builder) Build() Uint128
- func (s *Uint128Builder) Nth0(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth1(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth10(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth11(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth12(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth13(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth14(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth15(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth2(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth3(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth4(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth5(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth6(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth7(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth8(v Byte) *Uint128Builder
- func (s *Uint128Builder) Nth9(v Byte) *Uint128Builder
- func (s *Uint128Builder) Set(v [16]Byte) *Uint128Builder
- type Uint256
- func (s *Uint256) AsBuilder() Uint256Builder
- func (s *Uint256) AsSlice() []byte
- func (s *Uint256) Nth0() *Byte
- func (s *Uint256) Nth1() *Byte
- func (s *Uint256) Nth10() *Byte
- func (s *Uint256) Nth11() *Byte
- func (s *Uint256) Nth12() *Byte
- func (s *Uint256) Nth13() *Byte
- func (s *Uint256) Nth14() *Byte
- func (s *Uint256) Nth15() *Byte
- func (s *Uint256) Nth16() *Byte
- func (s *Uint256) Nth17() *Byte
- func (s *Uint256) Nth18() *Byte
- func (s *Uint256) Nth19() *Byte
- func (s *Uint256) Nth2() *Byte
- func (s *Uint256) Nth20() *Byte
- func (s *Uint256) Nth21() *Byte
- func (s *Uint256) Nth22() *Byte
- func (s *Uint256) Nth23() *Byte
- func (s *Uint256) Nth24() *Byte
- func (s *Uint256) Nth25() *Byte
- func (s *Uint256) Nth26() *Byte
- func (s *Uint256) Nth27() *Byte
- func (s *Uint256) Nth28() *Byte
- func (s *Uint256) Nth29() *Byte
- func (s *Uint256) Nth3() *Byte
- func (s *Uint256) Nth30() *Byte
- func (s *Uint256) Nth31() *Byte
- func (s *Uint256) Nth4() *Byte
- func (s *Uint256) Nth5() *Byte
- func (s *Uint256) Nth6() *Byte
- func (s *Uint256) Nth7() *Byte
- func (s *Uint256) Nth8() *Byte
- func (s *Uint256) Nth9() *Byte
- func (s *Uint256) RawData() []byte
- type Uint256Builder
- func (s *Uint256Builder) Build() Uint256
- func (s *Uint256Builder) Nth0(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth1(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth10(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth11(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth12(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth13(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth14(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth15(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth16(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth17(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth18(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth19(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth2(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth20(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth21(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth22(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth23(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth24(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth25(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth26(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth27(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth28(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth29(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth3(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth30(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth31(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth4(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth5(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth6(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth7(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth8(v Byte) *Uint256Builder
- func (s *Uint256Builder) Nth9(v Byte) *Uint256Builder
- func (s *Uint256Builder) Set(v [32]Byte) *Uint256Builder
- type Uint32
- type Uint32Builder
- func (s *Uint32Builder) Build() Uint32
- func (s *Uint32Builder) Nth0(v Byte) *Uint32Builder
- func (s *Uint32Builder) Nth1(v Byte) *Uint32Builder
- func (s *Uint32Builder) Nth2(v Byte) *Uint32Builder
- func (s *Uint32Builder) Nth3(v Byte) *Uint32Builder
- func (s *Uint32Builder) Set(v [4]Byte) *Uint32Builder
- type Uint64
- func (s *Uint64) AsBuilder() Uint64Builder
- func (s *Uint64) AsSlice() []byte
- func (s *Uint64) Nth0() *Byte
- func (s *Uint64) Nth1() *Byte
- func (s *Uint64) Nth2() *Byte
- func (s *Uint64) Nth3() *Byte
- func (s *Uint64) Nth4() *Byte
- func (s *Uint64) Nth5() *Byte
- func (s *Uint64) Nth6() *Byte
- func (s *Uint64) Nth7() *Byte
- func (s *Uint64) RawData() []byte
- type Uint64Builder
- func (s *Uint64Builder) Build() Uint64
- func (s *Uint64Builder) Nth0(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth1(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth2(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth3(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth4(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth5(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth6(v Byte) *Uint64Builder
- func (s *Uint64Builder) Nth7(v Byte) *Uint64Builder
- func (s *Uint64Builder) Set(v [8]Byte) *Uint64Builder
- type UncleBlock
- func (s *UncleBlock) AsBuilder() UncleBlockBuilder
- func (s *UncleBlock) AsSlice() []byte
- func (s *UncleBlock) CountExtraFields() uint
- func (s *UncleBlock) FieldCount() uint
- func (s *UncleBlock) HasExtraFields() bool
- func (s *UncleBlock) Header() *Header
- func (s *UncleBlock) IsEmpty() bool
- func (s *UncleBlock) Len() uint
- func (s *UncleBlock) Proposals() *ProposalShortIdVec
- func (s *UncleBlock) TotalSize() uint
- type UncleBlockBuilder
- type UncleBlockVec
- func (s *UncleBlockVec) AsBuilder() UncleBlockVecBuilder
- func (s *UncleBlockVec) AsSlice() []byte
- func (s *UncleBlockVec) Get(index uint) *UncleBlock
- func (s *UncleBlockVec) IsEmpty() bool
- func (s *UncleBlockVec) ItemCount() uint
- func (s *UncleBlockVec) Len() uint
- func (s *UncleBlockVec) TotalSize() uint
- type UncleBlockVecBuilder
- func (s *UncleBlockVecBuilder) Build() UncleBlockVec
- func (s *UncleBlockVecBuilder) Extend(iter []UncleBlock) *UncleBlockVecBuilder
- func (s *UncleBlockVecBuilder) Push(v UncleBlock) *UncleBlockVecBuilder
- func (s *UncleBlockVecBuilder) Replace(index uint, v UncleBlock) *UncleBlock
- func (s *UncleBlockVecBuilder) Set(v []UncleBlock) *UncleBlockVecBuilder
- type WitnessArgs
- func (s *WitnessArgs) AsBuilder() WitnessArgsBuilder
- func (s *WitnessArgs) AsSlice() []byte
- func (s *WitnessArgs) CountExtraFields() uint
- func (s *WitnessArgs) FieldCount() uint
- func (s *WitnessArgs) HasExtraFields() bool
- func (s *WitnessArgs) InputType() *BytesOpt
- func (s *WitnessArgs) IsEmpty() bool
- func (s *WitnessArgs) Len() uint
- func (s *WitnessArgs) Lock() *BytesOpt
- func (s *WitnessArgs) OutputType() *BytesOpt
- func (s *WitnessArgs) TotalSize() uint
- type WitnessArgsBuilder
Constants ¶
View Source
const HeaderSizeUint uint32 = 4
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
func BlockDefault ¶
func BlockDefault() Block
func BlockFromSliceUnchecked ¶
func (*Block) AsBuilder ¶
func (s *Block) AsBuilder() BlockBuilder
func (*Block) CountExtraFields ¶
func (*Block) FieldCount ¶
func (*Block) HasExtraFields ¶
func (*Block) Proposals ¶
func (s *Block) Proposals() *ProposalShortIdVec
func (*Block) Transactions ¶
func (s *Block) Transactions() *TransactionVec
func (*Block) Uncles ¶
func (s *Block) Uncles() *UncleBlockVec
type BlockBuilder ¶
type BlockBuilder struct {
// contains filtered or unexported fields
}
func NewBlockBuilder ¶
func NewBlockBuilder() *BlockBuilder
func (*BlockBuilder) Build ¶
func (s *BlockBuilder) Build() Block
func (*BlockBuilder) Header ¶
func (s *BlockBuilder) Header(v Header) *BlockBuilder
func (*BlockBuilder) Proposals ¶
func (s *BlockBuilder) Proposals(v ProposalShortIdVec) *BlockBuilder
func (*BlockBuilder) Transactions ¶
func (s *BlockBuilder) Transactions(v TransactionVec) *BlockBuilder
func (*BlockBuilder) Uncles ¶
func (s *BlockBuilder) Uncles(v UncleBlockVec) *BlockBuilder
type BlockV1 ¶
type BlockV1 struct {
// contains filtered or unexported fields
}
func BlockV1Default ¶
func BlockV1Default() BlockV1
func (*BlockV1) AsBuilder ¶
func (s *BlockV1) AsBuilder() BlockV1Builder
func (*BlockV1) CountExtraFields ¶
func (*BlockV1) FieldCount ¶
func (*BlockV1) HasExtraFields ¶
func (*BlockV1) Proposals ¶
func (s *BlockV1) Proposals() *ProposalShortIdVec
func (*BlockV1) Transactions ¶
func (s *BlockV1) Transactions() *TransactionVec
func (*BlockV1) Uncles ¶
func (s *BlockV1) Uncles() *UncleBlockVec
type BlockV1Builder ¶
type BlockV1Builder struct {
// contains filtered or unexported fields
}
func NewBlockV1Builder ¶
func NewBlockV1Builder() *BlockV1Builder
func (*BlockV1Builder) Build ¶
func (s *BlockV1Builder) Build() BlockV1
func (*BlockV1Builder) Extension ¶
func (s *BlockV1Builder) Extension(v Bytes) *BlockV1Builder
func (*BlockV1Builder) Header ¶
func (s *BlockV1Builder) Header(v Header) *BlockV1Builder
func (*BlockV1Builder) Proposals ¶
func (s *BlockV1Builder) Proposals(v ProposalShortIdVec) *BlockV1Builder
func (*BlockV1Builder) Transactions ¶
func (s *BlockV1Builder) Transactions(v TransactionVec) *BlockV1Builder
func (*BlockV1Builder) Uncles ¶
func (s *BlockV1Builder) Uncles(v UncleBlockVec) *BlockV1Builder
type Byte ¶
type Byte [1]byte
Byte is the primitive type
func ByteDefault ¶
func ByteDefault() Byte
func ByteFromSliceUnchecked ¶
type Byte32 ¶
type Byte32 struct {
// contains filtered or unexported fields
}
func Byte32Default ¶
func Byte32Default() Byte32
func (*Byte32) AsBuilder ¶
func (s *Byte32) AsBuilder() Byte32Builder
type Byte32Builder ¶
type Byte32Builder struct {
// contains filtered or unexported fields
}
func NewByte32Builder ¶
func NewByte32Builder() *Byte32Builder
func (*Byte32Builder) Build ¶
func (s *Byte32Builder) Build() Byte32
func (*Byte32Builder) Nth0 ¶
func (s *Byte32Builder) Nth0(v Byte) *Byte32Builder
func (*Byte32Builder) Nth1 ¶
func (s *Byte32Builder) Nth1(v Byte) *Byte32Builder
func (*Byte32Builder) Nth10 ¶
func (s *Byte32Builder) Nth10(v Byte) *Byte32Builder
func (*Byte32Builder) Nth11 ¶
func (s *Byte32Builder) Nth11(v Byte) *Byte32Builder
func (*Byte32Builder) Nth12 ¶
func (s *Byte32Builder) Nth12(v Byte) *Byte32Builder
func (*Byte32Builder) Nth13 ¶
func (s *Byte32Builder) Nth13(v Byte) *Byte32Builder
func (*Byte32Builder) Nth14 ¶
func (s *Byte32Builder) Nth14(v Byte) *Byte32Builder
func (*Byte32Builder) Nth15 ¶
func (s *Byte32Builder) Nth15(v Byte) *Byte32Builder
func (*Byte32Builder) Nth16 ¶
func (s *Byte32Builder) Nth16(v Byte) *Byte32Builder
func (*Byte32Builder) Nth17 ¶
func (s *Byte32Builder) Nth17(v Byte) *Byte32Builder
func (*Byte32Builder) Nth18 ¶
func (s *Byte32Builder) Nth18(v Byte) *Byte32Builder
func (*Byte32Builder) Nth19 ¶
func (s *Byte32Builder) Nth19(v Byte) *Byte32Builder
func (*Byte32Builder) Nth2 ¶
func (s *Byte32Builder) Nth2(v Byte) *Byte32Builder
func (*Byte32Builder) Nth20 ¶
func (s *Byte32Builder) Nth20(v Byte) *Byte32Builder
func (*Byte32Builder) Nth21 ¶
func (s *Byte32Builder) Nth21(v Byte) *Byte32Builder
func (*Byte32Builder) Nth22 ¶
func (s *Byte32Builder) Nth22(v Byte) *Byte32Builder
func (*Byte32Builder) Nth23 ¶
func (s *Byte32Builder) Nth23(v Byte) *Byte32Builder
func (*Byte32Builder) Nth24 ¶
func (s *Byte32Builder) Nth24(v Byte) *Byte32Builder
func (*Byte32Builder) Nth25 ¶
func (s *Byte32Builder) Nth25(v Byte) *Byte32Builder
func (*Byte32Builder) Nth26 ¶
func (s *Byte32Builder) Nth26(v Byte) *Byte32Builder
func (*Byte32Builder) Nth27 ¶
func (s *Byte32Builder) Nth27(v Byte) *Byte32Builder
func (*Byte32Builder) Nth28 ¶
func (s *Byte32Builder) Nth28(v Byte) *Byte32Builder
func (*Byte32Builder) Nth29 ¶
func (s *Byte32Builder) Nth29(v Byte) *Byte32Builder
func (*Byte32Builder) Nth3 ¶
func (s *Byte32Builder) Nth3(v Byte) *Byte32Builder
func (*Byte32Builder) Nth30 ¶
func (s *Byte32Builder) Nth30(v Byte) *Byte32Builder
func (*Byte32Builder) Nth31 ¶
func (s *Byte32Builder) Nth31(v Byte) *Byte32Builder
func (*Byte32Builder) Nth4 ¶
func (s *Byte32Builder) Nth4(v Byte) *Byte32Builder
func (*Byte32Builder) Nth5 ¶
func (s *Byte32Builder) Nth5(v Byte) *Byte32Builder
func (*Byte32Builder) Nth6 ¶
func (s *Byte32Builder) Nth6(v Byte) *Byte32Builder
func (*Byte32Builder) Nth7 ¶
func (s *Byte32Builder) Nth7(v Byte) *Byte32Builder
func (*Byte32Builder) Nth8 ¶
func (s *Byte32Builder) Nth8(v Byte) *Byte32Builder
func (*Byte32Builder) Nth9 ¶
func (s *Byte32Builder) Nth9(v Byte) *Byte32Builder
func (*Byte32Builder) Set ¶
func (s *Byte32Builder) Set(v [32]Byte) *Byte32Builder
type Byte32Vec ¶
type Byte32Vec struct {
// contains filtered or unexported fields
}
func Byte32VecDefault ¶
func Byte32VecDefault() Byte32Vec
func Byte32VecFromSlice ¶
func (*Byte32Vec) AsBuilder ¶
func (s *Byte32Vec) AsBuilder() Byte32VecBuilder
type Byte32VecBuilder ¶
type Byte32VecBuilder struct {
// contains filtered or unexported fields
}
func NewByte32VecBuilder ¶
func NewByte32VecBuilder() *Byte32VecBuilder
func (*Byte32VecBuilder) Build ¶
func (s *Byte32VecBuilder) Build() Byte32Vec
func (*Byte32VecBuilder) Extend ¶
func (s *Byte32VecBuilder) Extend(iter []Byte32) *Byte32VecBuilder
func (*Byte32VecBuilder) Push ¶
func (s *Byte32VecBuilder) Push(v Byte32) *Byte32VecBuilder
func (*Byte32VecBuilder) Set ¶
func (s *Byte32VecBuilder) Set(v []Byte32) *Byte32VecBuilder
type Bytes ¶
type Bytes struct {
// contains filtered or unexported fields
}
func BytesDefault ¶
func BytesDefault() Bytes
func BytesFromSliceUnchecked ¶
func (*Bytes) AsBuilder ¶
func (s *Bytes) AsBuilder() BytesBuilder
type BytesBuilder ¶
type BytesBuilder struct {
// contains filtered or unexported fields
}
func NewBytesBuilder ¶
func NewBytesBuilder() *BytesBuilder
func (*BytesBuilder) Build ¶
func (s *BytesBuilder) Build() Bytes
func (*BytesBuilder) Extend ¶
func (s *BytesBuilder) Extend(iter []Byte) *BytesBuilder
func (*BytesBuilder) Push ¶
func (s *BytesBuilder) Push(v Byte) *BytesBuilder
func (*BytesBuilder) Set ¶
func (s *BytesBuilder) Set(v []Byte) *BytesBuilder
type BytesOpt ¶
type BytesOpt struct {
// contains filtered or unexported fields
}
func BytesOptDefault ¶
func BytesOptDefault() BytesOpt
func (*BytesOpt) AsBuilder ¶
func (s *BytesOpt) AsBuilder() BytesOptBuilder
type BytesOptBuilder ¶
type BytesOptBuilder struct {
// contains filtered or unexported fields
}
func NewBytesOptBuilder ¶
func NewBytesOptBuilder() *BytesOptBuilder
func (*BytesOptBuilder) Build ¶
func (s *BytesOptBuilder) Build() BytesOpt
func (*BytesOptBuilder) Set ¶
func (s *BytesOptBuilder) Set(v Bytes) *BytesOptBuilder
type BytesVec ¶
type BytesVec struct {
// contains filtered or unexported fields
}
func BytesVecDefault ¶
func BytesVecDefault() BytesVec
func (*BytesVec) AsBuilder ¶
func (s *BytesVec) AsBuilder() BytesVecBuilder
type BytesVecBuilder ¶
type BytesVecBuilder struct {
// contains filtered or unexported fields
}
func NewBytesVecBuilder ¶
func NewBytesVecBuilder() *BytesVecBuilder
func (*BytesVecBuilder) Build ¶
func (s *BytesVecBuilder) Build() BytesVec
func (*BytesVecBuilder) Extend ¶
func (s *BytesVecBuilder) Extend(iter []Bytes) *BytesVecBuilder
func (*BytesVecBuilder) Push ¶
func (s *BytesVecBuilder) Push(v Bytes) *BytesVecBuilder
func (*BytesVecBuilder) Set ¶
func (s *BytesVecBuilder) Set(v []Bytes) *BytesVecBuilder
type CellDep ¶
type CellDep struct {
// contains filtered or unexported fields
}
func CellDepDefault ¶
func CellDepDefault() CellDep
func (*CellDep) AsBuilder ¶
func (s *CellDep) AsBuilder() CellDepBuilder
type CellDepBuilder ¶
type CellDepBuilder struct {
// contains filtered or unexported fields
}
func NewCellDepBuilder ¶
func NewCellDepBuilder() *CellDepBuilder
func (*CellDepBuilder) Build ¶
func (s *CellDepBuilder) Build() CellDep
func (*CellDepBuilder) DepType ¶
func (s *CellDepBuilder) DepType(v Byte) *CellDepBuilder
func (*CellDepBuilder) OutPoint ¶
func (s *CellDepBuilder) OutPoint(v OutPoint) *CellDepBuilder
type CellDepVec ¶
type CellDepVec struct {
// contains filtered or unexported fields
}
func CellDepVecDefault ¶
func CellDepVecDefault() CellDepVec
func CellDepVecFromSlice ¶
func CellDepVecFromSlice(slice []byte, _compatible bool) (*CellDepVec, error)
func CellDepVecFromSliceUnchecked ¶
func CellDepVecFromSliceUnchecked(slice []byte) *CellDepVec
func (*CellDepVec) AsBuilder ¶
func (s *CellDepVec) AsBuilder() CellDepVecBuilder
func (*CellDepVec) AsSlice ¶
func (s *CellDepVec) AsSlice() []byte
func (*CellDepVec) Get ¶
func (s *CellDepVec) Get(index uint) *CellDep
if *CellDep is nil, index is out of bounds
func (*CellDepVec) IsEmpty ¶
func (s *CellDepVec) IsEmpty() bool
func (*CellDepVec) ItemCount ¶
func (s *CellDepVec) ItemCount() uint
func (*CellDepVec) Len ¶
func (s *CellDepVec) Len() uint
func (*CellDepVec) TotalSize ¶
func (s *CellDepVec) TotalSize() uint
type CellDepVecBuilder ¶
type CellDepVecBuilder struct {
// contains filtered or unexported fields
}
func NewCellDepVecBuilder ¶
func NewCellDepVecBuilder() *CellDepVecBuilder
func (*CellDepVecBuilder) Build ¶
func (s *CellDepVecBuilder) Build() CellDepVec
func (*CellDepVecBuilder) Extend ¶
func (s *CellDepVecBuilder) Extend(iter []CellDep) *CellDepVecBuilder
func (*CellDepVecBuilder) Push ¶
func (s *CellDepVecBuilder) Push(v CellDep) *CellDepVecBuilder
func (*CellDepVecBuilder) Replace ¶
func (s *CellDepVecBuilder) Replace(index uint, v CellDep) *CellDep
func (*CellDepVecBuilder) Set ¶
func (s *CellDepVecBuilder) Set(v []CellDep) *CellDepVecBuilder
type CellInput ¶
type CellInput struct {
// contains filtered or unexported fields
}
func CellInputDefault ¶
func CellInputDefault() CellInput
func CellInputFromSlice ¶
func (*CellInput) AsBuilder ¶
func (s *CellInput) AsBuilder() CellInputBuilder
func (*CellInput) PreviousOutput ¶
type CellInputBuilder ¶
type CellInputBuilder struct {
// contains filtered or unexported fields
}
func NewCellInputBuilder ¶
func NewCellInputBuilder() *CellInputBuilder
func (*CellInputBuilder) Build ¶
func (s *CellInputBuilder) Build() CellInput
func (*CellInputBuilder) PreviousOutput ¶
func (s *CellInputBuilder) PreviousOutput(v OutPoint) *CellInputBuilder
func (*CellInputBuilder) Since ¶
func (s *CellInputBuilder) Since(v Uint64) *CellInputBuilder
type CellInputVec ¶
type CellInputVec struct {
// contains filtered or unexported fields
}
func CellInputVecDefault ¶
func CellInputVecDefault() CellInputVec
func CellInputVecFromSlice ¶
func CellInputVecFromSlice(slice []byte, _compatible bool) (*CellInputVec, error)
func CellInputVecFromSliceUnchecked ¶
func CellInputVecFromSliceUnchecked(slice []byte) *CellInputVec
func (*CellInputVec) AsBuilder ¶
func (s *CellInputVec) AsBuilder() CellInputVecBuilder
func (*CellInputVec) AsSlice ¶
func (s *CellInputVec) AsSlice() []byte
func (*CellInputVec) Get ¶
func (s *CellInputVec) Get(index uint) *CellInput
if *CellInput is nil, index is out of bounds
func (*CellInputVec) IsEmpty ¶
func (s *CellInputVec) IsEmpty() bool
func (*CellInputVec) ItemCount ¶
func (s *CellInputVec) ItemCount() uint
func (*CellInputVec) Len ¶
func (s *CellInputVec) Len() uint
func (*CellInputVec) TotalSize ¶
func (s *CellInputVec) TotalSize() uint
type CellInputVecBuilder ¶
type CellInputVecBuilder struct {
// contains filtered or unexported fields
}
func NewCellInputVecBuilder ¶
func NewCellInputVecBuilder() *CellInputVecBuilder
func (*CellInputVecBuilder) Build ¶
func (s *CellInputVecBuilder) Build() CellInputVec
func (*CellInputVecBuilder) Extend ¶
func (s *CellInputVecBuilder) Extend(iter []CellInput) *CellInputVecBuilder
func (*CellInputVecBuilder) Push ¶
func (s *CellInputVecBuilder) Push(v CellInput) *CellInputVecBuilder
func (*CellInputVecBuilder) Replace ¶
func (s *CellInputVecBuilder) Replace(index uint, v CellInput) *CellInput
func (*CellInputVecBuilder) Set ¶
func (s *CellInputVecBuilder) Set(v []CellInput) *CellInputVecBuilder
type CellOutput ¶
type CellOutput struct {
// contains filtered or unexported fields
}
func CellOutputDefault ¶
func CellOutputDefault() CellOutput
func CellOutputFromSlice ¶
func CellOutputFromSlice(slice []byte, compatible bool) (*CellOutput, error)
func CellOutputFromSliceUnchecked ¶
func CellOutputFromSliceUnchecked(slice []byte) *CellOutput
func (*CellOutput) AsBuilder ¶
func (s *CellOutput) AsBuilder() CellOutputBuilder
func (*CellOutput) AsSlice ¶
func (s *CellOutput) AsSlice() []byte
func (*CellOutput) Capacity ¶
func (s *CellOutput) Capacity() *Uint64
func (*CellOutput) CountExtraFields ¶
func (s *CellOutput) CountExtraFields() uint
func (*CellOutput) FieldCount ¶
func (s *CellOutput) FieldCount() uint
func (*CellOutput) HasExtraFields ¶
func (s *CellOutput) HasExtraFields() bool
func (*CellOutput) IsEmpty ¶
func (s *CellOutput) IsEmpty() bool
func (*CellOutput) Len ¶
func (s *CellOutput) Len() uint
func (*CellOutput) Lock ¶
func (s *CellOutput) Lock() *Script
func (*CellOutput) TotalSize ¶
func (s *CellOutput) TotalSize() uint
func (*CellOutput) Type ¶
func (s *CellOutput) Type() *ScriptOpt
type CellOutputBuilder ¶
type CellOutputBuilder struct {
// contains filtered or unexported fields
}
func NewCellOutputBuilder ¶
func NewCellOutputBuilder() *CellOutputBuilder
func (*CellOutputBuilder) Build ¶
func (s *CellOutputBuilder) Build() CellOutput
func (*CellOutputBuilder) Capacity ¶
func (s *CellOutputBuilder) Capacity(v Uint64) *CellOutputBuilder
func (*CellOutputBuilder) Lock ¶
func (s *CellOutputBuilder) Lock(v Script) *CellOutputBuilder
func (*CellOutputBuilder) Type ¶
func (s *CellOutputBuilder) Type(v ScriptOpt) *CellOutputBuilder
type CellOutputVec ¶
type CellOutputVec struct {
// contains filtered or unexported fields
}
func CellOutputVecDefault ¶
func CellOutputVecDefault() CellOutputVec
func CellOutputVecFromSlice ¶
func CellOutputVecFromSlice(slice []byte, compatible bool) (*CellOutputVec, error)
func CellOutputVecFromSliceUnchecked ¶
func CellOutputVecFromSliceUnchecked(slice []byte) *CellOutputVec
func (*CellOutputVec) AsBuilder ¶
func (s *CellOutputVec) AsBuilder() CellOutputVecBuilder
func (*CellOutputVec) AsSlice ¶
func (s *CellOutputVec) AsSlice() []byte
func (*CellOutputVec) Get ¶
func (s *CellOutputVec) Get(index uint) *CellOutput
if *CellOutput is nil, index is out of bounds
func (*CellOutputVec) IsEmpty ¶
func (s *CellOutputVec) IsEmpty() bool
func (*CellOutputVec) ItemCount ¶
func (s *CellOutputVec) ItemCount() uint
func (*CellOutputVec) Len ¶
func (s *CellOutputVec) Len() uint
func (*CellOutputVec) TotalSize ¶
func (s *CellOutputVec) TotalSize() uint
type CellOutputVecBuilder ¶
type CellOutputVecBuilder struct {
// contains filtered or unexported fields
}
func NewCellOutputVecBuilder ¶
func NewCellOutputVecBuilder() *CellOutputVecBuilder
func (*CellOutputVecBuilder) Build ¶
func (s *CellOutputVecBuilder) Build() CellOutputVec
func (*CellOutputVecBuilder) Extend ¶
func (s *CellOutputVecBuilder) Extend(iter []CellOutput) *CellOutputVecBuilder
func (*CellOutputVecBuilder) Push ¶
func (s *CellOutputVecBuilder) Push(v CellOutput) *CellOutputVecBuilder
func (*CellOutputVecBuilder) Replace ¶
func (s *CellOutputVecBuilder) Replace(index uint, v CellOutput) *CellOutput
func (*CellOutputVecBuilder) Set ¶
func (s *CellOutputVecBuilder) Set(v []CellOutput) *CellOutputVecBuilder
type CellbaseWitness ¶
type CellbaseWitness struct {
// contains filtered or unexported fields
}
func CellbaseWitnessDefault ¶
func CellbaseWitnessDefault() CellbaseWitness
func CellbaseWitnessFromSlice ¶
func CellbaseWitnessFromSlice(slice []byte, compatible bool) (*CellbaseWitness, error)
func CellbaseWitnessFromSliceUnchecked ¶
func CellbaseWitnessFromSliceUnchecked(slice []byte) *CellbaseWitness
func (*CellbaseWitness) AsBuilder ¶
func (s *CellbaseWitness) AsBuilder() CellbaseWitnessBuilder
func (*CellbaseWitness) AsSlice ¶
func (s *CellbaseWitness) AsSlice() []byte
func (*CellbaseWitness) CountExtraFields ¶
func (s *CellbaseWitness) CountExtraFields() uint
func (*CellbaseWitness) FieldCount ¶
func (s *CellbaseWitness) FieldCount() uint
func (*CellbaseWitness) HasExtraFields ¶
func (s *CellbaseWitness) HasExtraFields() bool
func (*CellbaseWitness) IsEmpty ¶
func (s *CellbaseWitness) IsEmpty() bool
func (*CellbaseWitness) Len ¶
func (s *CellbaseWitness) Len() uint
func (*CellbaseWitness) Lock ¶
func (s *CellbaseWitness) Lock() *Script
func (*CellbaseWitness) Message ¶
func (s *CellbaseWitness) Message() *Bytes
func (*CellbaseWitness) TotalSize ¶
func (s *CellbaseWitness) TotalSize() uint
type CellbaseWitnessBuilder ¶
type CellbaseWitnessBuilder struct {
// contains filtered or unexported fields
}
func NewCellbaseWitnessBuilder ¶
func NewCellbaseWitnessBuilder() *CellbaseWitnessBuilder
func (*CellbaseWitnessBuilder) Build ¶
func (s *CellbaseWitnessBuilder) Build() CellbaseWitness
func (*CellbaseWitnessBuilder) Lock ¶
func (s *CellbaseWitnessBuilder) Lock(v Script) *CellbaseWitnessBuilder
func (*CellbaseWitnessBuilder) Message ¶
func (s *CellbaseWitnessBuilder) Message(v Bytes) *CellbaseWitnessBuilder
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
func HeaderDefault ¶
func HeaderDefault() Header
func (*Header) AsBuilder ¶
func (s *Header) AsBuilder() HeaderBuilder
type HeaderBuilder ¶
type HeaderBuilder struct {
// contains filtered or unexported fields
}
func NewHeaderBuilder ¶
func NewHeaderBuilder() *HeaderBuilder
func (*HeaderBuilder) Build ¶
func (s *HeaderBuilder) Build() Header
func (*HeaderBuilder) Nonce ¶
func (s *HeaderBuilder) Nonce(v Uint128) *HeaderBuilder
func (*HeaderBuilder) Raw ¶
func (s *HeaderBuilder) Raw(v RawHeader) *HeaderBuilder
type OutPoint ¶
type OutPoint struct {
// contains filtered or unexported fields
}
func OutPointDefault ¶
func OutPointDefault() OutPoint
func (*OutPoint) AsBuilder ¶
func (s *OutPoint) AsBuilder() OutPointBuilder
type OutPointBuilder ¶
type OutPointBuilder struct {
// contains filtered or unexported fields
}
func NewOutPointBuilder ¶
func NewOutPointBuilder() *OutPointBuilder
func (*OutPointBuilder) Build ¶
func (s *OutPointBuilder) Build() OutPoint
func (*OutPointBuilder) Index ¶
func (s *OutPointBuilder) Index(v Uint32) *OutPointBuilder
func (*OutPointBuilder) TxHash ¶
func (s *OutPointBuilder) TxHash(v Byte32) *OutPointBuilder
type ProposalShortId ¶
type ProposalShortId struct {
// contains filtered or unexported fields
}
func ProposalShortIdDefault ¶
func ProposalShortIdDefault() ProposalShortId
func ProposalShortIdFromSlice ¶
func ProposalShortIdFromSlice(slice []byte, _compatible bool) (*ProposalShortId, error)
func ProposalShortIdFromSliceUnchecked ¶
func ProposalShortIdFromSliceUnchecked(slice []byte) *ProposalShortId
func (*ProposalShortId) AsBuilder ¶
func (s *ProposalShortId) AsBuilder() ProposalShortIdBuilder
func (*ProposalShortId) AsSlice ¶
func (s *ProposalShortId) AsSlice() []byte
func (*ProposalShortId) Nth0 ¶
func (s *ProposalShortId) Nth0() *Byte
func (*ProposalShortId) Nth1 ¶
func (s *ProposalShortId) Nth1() *Byte
func (*ProposalShortId) Nth2 ¶
func (s *ProposalShortId) Nth2() *Byte
func (*ProposalShortId) Nth3 ¶
func (s *ProposalShortId) Nth3() *Byte
func (*ProposalShortId) Nth4 ¶
func (s *ProposalShortId) Nth4() *Byte
func (*ProposalShortId) Nth5 ¶
func (s *ProposalShortId) Nth5() *Byte
func (*ProposalShortId) Nth6 ¶
func (s *ProposalShortId) Nth6() *Byte
func (*ProposalShortId) Nth7 ¶
func (s *ProposalShortId) Nth7() *Byte
func (*ProposalShortId) Nth8 ¶
func (s *ProposalShortId) Nth8() *Byte
func (*ProposalShortId) Nth9 ¶
func (s *ProposalShortId) Nth9() *Byte
func (*ProposalShortId) RawData ¶
func (s *ProposalShortId) RawData() []byte
type ProposalShortIdBuilder ¶
type ProposalShortIdBuilder struct {
// contains filtered or unexported fields
}
func NewProposalShortIdBuilder ¶
func NewProposalShortIdBuilder() *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Build ¶
func (s *ProposalShortIdBuilder) Build() ProposalShortId
func (*ProposalShortIdBuilder) Nth0 ¶
func (s *ProposalShortIdBuilder) Nth0(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth1 ¶
func (s *ProposalShortIdBuilder) Nth1(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth2 ¶
func (s *ProposalShortIdBuilder) Nth2(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth3 ¶
func (s *ProposalShortIdBuilder) Nth3(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth4 ¶
func (s *ProposalShortIdBuilder) Nth4(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth5 ¶
func (s *ProposalShortIdBuilder) Nth5(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth6 ¶
func (s *ProposalShortIdBuilder) Nth6(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth7 ¶
func (s *ProposalShortIdBuilder) Nth7(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth8 ¶
func (s *ProposalShortIdBuilder) Nth8(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Nth9 ¶
func (s *ProposalShortIdBuilder) Nth9(v Byte) *ProposalShortIdBuilder
func (*ProposalShortIdBuilder) Set ¶
func (s *ProposalShortIdBuilder) Set(v [10]Byte) *ProposalShortIdBuilder
type ProposalShortIdVec ¶
type ProposalShortIdVec struct {
// contains filtered or unexported fields
}
func ProposalShortIdVecDefault ¶
func ProposalShortIdVecDefault() ProposalShortIdVec
func ProposalShortIdVecFromSlice ¶
func ProposalShortIdVecFromSlice(slice []byte, _compatible bool) (*ProposalShortIdVec, error)
func ProposalShortIdVecFromSliceUnchecked ¶
func ProposalShortIdVecFromSliceUnchecked(slice []byte) *ProposalShortIdVec
func (*ProposalShortIdVec) AsBuilder ¶
func (s *ProposalShortIdVec) AsBuilder() ProposalShortIdVecBuilder
func (*ProposalShortIdVec) AsSlice ¶
func (s *ProposalShortIdVec) AsSlice() []byte
func (*ProposalShortIdVec) Get ¶
func (s *ProposalShortIdVec) Get(index uint) *ProposalShortId
if *ProposalShortId is nil, index is out of bounds
func (*ProposalShortIdVec) IsEmpty ¶
func (s *ProposalShortIdVec) IsEmpty() bool
func (*ProposalShortIdVec) ItemCount ¶
func (s *ProposalShortIdVec) ItemCount() uint
func (*ProposalShortIdVec) Len ¶
func (s *ProposalShortIdVec) Len() uint
func (*ProposalShortIdVec) TotalSize ¶
func (s *ProposalShortIdVec) TotalSize() uint
type ProposalShortIdVecBuilder ¶
type ProposalShortIdVecBuilder struct {
// contains filtered or unexported fields
}
func NewProposalShortIdVecBuilder ¶
func NewProposalShortIdVecBuilder() *ProposalShortIdVecBuilder
func (*ProposalShortIdVecBuilder) Build ¶
func (s *ProposalShortIdVecBuilder) Build() ProposalShortIdVec
func (*ProposalShortIdVecBuilder) Extend ¶
func (s *ProposalShortIdVecBuilder) Extend(iter []ProposalShortId) *ProposalShortIdVecBuilder
func (*ProposalShortIdVecBuilder) Push ¶
func (s *ProposalShortIdVecBuilder) Push(v ProposalShortId) *ProposalShortIdVecBuilder
func (*ProposalShortIdVecBuilder) Replace ¶
func (s *ProposalShortIdVecBuilder) Replace(index uint, v ProposalShortId) *ProposalShortId
func (*ProposalShortIdVecBuilder) Set ¶
func (s *ProposalShortIdVecBuilder) Set(v []ProposalShortId) *ProposalShortIdVecBuilder
type RawHeader ¶
type RawHeader struct {
// contains filtered or unexported fields
}
func RawHeaderDefault ¶
func RawHeaderDefault() RawHeader
func RawHeaderFromSlice ¶
func (*RawHeader) AsBuilder ¶
func (s *RawHeader) AsBuilder() RawHeaderBuilder
func (*RawHeader) CompactTarget ¶
func (*RawHeader) ParentHash ¶
func (*RawHeader) ProposalsHash ¶
func (*RawHeader) TransactionsRoot ¶
type RawHeaderBuilder ¶
type RawHeaderBuilder struct {
// contains filtered or unexported fields
}
func NewRawHeaderBuilder ¶
func NewRawHeaderBuilder() *RawHeaderBuilder
func (*RawHeaderBuilder) Build ¶
func (s *RawHeaderBuilder) Build() RawHeader
func (*RawHeaderBuilder) CompactTarget ¶
func (s *RawHeaderBuilder) CompactTarget(v Uint32) *RawHeaderBuilder
func (*RawHeaderBuilder) Dao ¶
func (s *RawHeaderBuilder) Dao(v Byte32) *RawHeaderBuilder
func (*RawHeaderBuilder) Epoch ¶
func (s *RawHeaderBuilder) Epoch(v Uint64) *RawHeaderBuilder
func (*RawHeaderBuilder) ExtraHash ¶
func (s *RawHeaderBuilder) ExtraHash(v Byte32) *RawHeaderBuilder
func (*RawHeaderBuilder) Number ¶
func (s *RawHeaderBuilder) Number(v Uint64) *RawHeaderBuilder
func (*RawHeaderBuilder) ParentHash ¶
func (s *RawHeaderBuilder) ParentHash(v Byte32) *RawHeaderBuilder
func (*RawHeaderBuilder) ProposalsHash ¶
func (s *RawHeaderBuilder) ProposalsHash(v Byte32) *RawHeaderBuilder
func (*RawHeaderBuilder) Timestamp ¶
func (s *RawHeaderBuilder) Timestamp(v Uint64) *RawHeaderBuilder
func (*RawHeaderBuilder) TransactionsRoot ¶
func (s *RawHeaderBuilder) TransactionsRoot(v Byte32) *RawHeaderBuilder
func (*RawHeaderBuilder) Version ¶
func (s *RawHeaderBuilder) Version(v Uint32) *RawHeaderBuilder
type RawTransaction ¶
type RawTransaction struct {
// contains filtered or unexported fields
}
func RawTransactionDefault ¶
func RawTransactionDefault() RawTransaction
func RawTransactionFromSlice ¶
func RawTransactionFromSlice(slice []byte, compatible bool) (*RawTransaction, error)
func RawTransactionFromSliceUnchecked ¶
func RawTransactionFromSliceUnchecked(slice []byte) *RawTransaction
func (*RawTransaction) AsBuilder ¶
func (s *RawTransaction) AsBuilder() RawTransactionBuilder
func (*RawTransaction) AsSlice ¶
func (s *RawTransaction) AsSlice() []byte
func (*RawTransaction) CellDeps ¶
func (s *RawTransaction) CellDeps() *CellDepVec
func (*RawTransaction) CountExtraFields ¶
func (s *RawTransaction) CountExtraFields() uint
func (*RawTransaction) FieldCount ¶
func (s *RawTransaction) FieldCount() uint
func (*RawTransaction) HasExtraFields ¶
func (s *RawTransaction) HasExtraFields() bool
func (*RawTransaction) HeaderDeps ¶
func (s *RawTransaction) HeaderDeps() *Byte32Vec
func (*RawTransaction) Inputs ¶
func (s *RawTransaction) Inputs() *CellInputVec
func (*RawTransaction) IsEmpty ¶
func (s *RawTransaction) IsEmpty() bool
func (*RawTransaction) Len ¶
func (s *RawTransaction) Len() uint
func (*RawTransaction) Outputs ¶
func (s *RawTransaction) Outputs() *CellOutputVec
func (*RawTransaction) OutputsData ¶
func (s *RawTransaction) OutputsData() *BytesVec
func (*RawTransaction) TotalSize ¶
func (s *RawTransaction) TotalSize() uint
func (*RawTransaction) Version ¶
func (s *RawTransaction) Version() *Uint32
type RawTransactionBuilder ¶
type RawTransactionBuilder struct {
// contains filtered or unexported fields
}
func NewRawTransactionBuilder ¶
func NewRawTransactionBuilder() *RawTransactionBuilder
func (*RawTransactionBuilder) Build ¶
func (s *RawTransactionBuilder) Build() RawTransaction
func (*RawTransactionBuilder) CellDeps ¶
func (s *RawTransactionBuilder) CellDeps(v CellDepVec) *RawTransactionBuilder
func (*RawTransactionBuilder) HeaderDeps ¶
func (s *RawTransactionBuilder) HeaderDeps(v Byte32Vec) *RawTransactionBuilder
func (*RawTransactionBuilder) Inputs ¶
func (s *RawTransactionBuilder) Inputs(v CellInputVec) *RawTransactionBuilder
func (*RawTransactionBuilder) Outputs ¶
func (s *RawTransactionBuilder) Outputs(v CellOutputVec) *RawTransactionBuilder
func (*RawTransactionBuilder) OutputsData ¶
func (s *RawTransactionBuilder) OutputsData(v BytesVec) *RawTransactionBuilder
func (*RawTransactionBuilder) Version ¶
func (s *RawTransactionBuilder) Version(v Uint32) *RawTransactionBuilder
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
func ScriptDefault ¶
func ScriptDefault() Script
func (*Script) AsBuilder ¶
func (s *Script) AsBuilder() ScriptBuilder
func (*Script) CountExtraFields ¶
func (*Script) FieldCount ¶
func (*Script) HasExtraFields ¶
type ScriptBuilder ¶
type ScriptBuilder struct {
// contains filtered or unexported fields
}
func NewScriptBuilder ¶
func NewScriptBuilder() *ScriptBuilder
func (*ScriptBuilder) Args ¶
func (s *ScriptBuilder) Args(v Bytes) *ScriptBuilder
func (*ScriptBuilder) Build ¶
func (s *ScriptBuilder) Build() Script
func (*ScriptBuilder) CodeHash ¶
func (s *ScriptBuilder) CodeHash(v Byte32) *ScriptBuilder
func (*ScriptBuilder) HashType ¶
func (s *ScriptBuilder) HashType(v Byte) *ScriptBuilder
type ScriptOpt ¶
type ScriptOpt struct {
// contains filtered or unexported fields
}
func ScriptOptDefault ¶
func ScriptOptDefault() ScriptOpt
func ScriptOptFromSlice ¶
func (*ScriptOpt) AsBuilder ¶
func (s *ScriptOpt) AsBuilder() ScriptOptBuilder
func (*ScriptOpt) IntoScript ¶
type ScriptOptBuilder ¶
type ScriptOptBuilder struct {
// contains filtered or unexported fields
}
func NewScriptOptBuilder ¶
func NewScriptOptBuilder() *ScriptOptBuilder
func (*ScriptOptBuilder) Build ¶
func (s *ScriptOptBuilder) Build() ScriptOpt
func (*ScriptOptBuilder) Set ¶
func (s *ScriptOptBuilder) Set(v Script) *ScriptOptBuilder
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func TransactionDefault ¶
func TransactionDefault() Transaction
func TransactionFromSlice ¶
func TransactionFromSlice(slice []byte, compatible bool) (*Transaction, error)
func TransactionFromSliceUnchecked ¶
func TransactionFromSliceUnchecked(slice []byte) *Transaction
func (*Transaction) AsBuilder ¶
func (s *Transaction) AsBuilder() TransactionBuilder
func (*Transaction) AsSlice ¶
func (s *Transaction) AsSlice() []byte
func (*Transaction) CountExtraFields ¶
func (s *Transaction) CountExtraFields() uint
func (*Transaction) FieldCount ¶
func (s *Transaction) FieldCount() uint
func (*Transaction) HasExtraFields ¶
func (s *Transaction) HasExtraFields() bool
func (*Transaction) IsEmpty ¶
func (s *Transaction) IsEmpty() bool
func (*Transaction) Len ¶
func (s *Transaction) Len() uint
func (*Transaction) Raw ¶
func (s *Transaction) Raw() *RawTransaction
func (*Transaction) TotalSize ¶
func (s *Transaction) TotalSize() uint
func (*Transaction) Witnesses ¶
func (s *Transaction) Witnesses() *BytesVec
type TransactionBuilder ¶
type TransactionBuilder struct {
// contains filtered or unexported fields
}
func NewTransactionBuilder ¶
func NewTransactionBuilder() *TransactionBuilder
func (*TransactionBuilder) Build ¶
func (s *TransactionBuilder) Build() Transaction
func (*TransactionBuilder) Raw ¶
func (s *TransactionBuilder) Raw(v RawTransaction) *TransactionBuilder
func (*TransactionBuilder) Witnesses ¶
func (s *TransactionBuilder) Witnesses(v BytesVec) *TransactionBuilder
type TransactionVec ¶
type TransactionVec struct {
// contains filtered or unexported fields
}
func TransactionVecDefault ¶
func TransactionVecDefault() TransactionVec
func TransactionVecFromSlice ¶
func TransactionVecFromSlice(slice []byte, compatible bool) (*TransactionVec, error)
func TransactionVecFromSliceUnchecked ¶
func TransactionVecFromSliceUnchecked(slice []byte) *TransactionVec
func (*TransactionVec) AsBuilder ¶
func (s *TransactionVec) AsBuilder() TransactionVecBuilder
func (*TransactionVec) AsSlice ¶
func (s *TransactionVec) AsSlice() []byte
func (*TransactionVec) Get ¶
func (s *TransactionVec) Get(index uint) *Transaction
if *Transaction is nil, index is out of bounds
func (*TransactionVec) IsEmpty ¶
func (s *TransactionVec) IsEmpty() bool
func (*TransactionVec) ItemCount ¶
func (s *TransactionVec) ItemCount() uint
func (*TransactionVec) Len ¶
func (s *TransactionVec) Len() uint
func (*TransactionVec) TotalSize ¶
func (s *TransactionVec) TotalSize() uint
type TransactionVecBuilder ¶
type TransactionVecBuilder struct {
// contains filtered or unexported fields
}
func NewTransactionVecBuilder ¶
func NewTransactionVecBuilder() *TransactionVecBuilder
func (*TransactionVecBuilder) Build ¶
func (s *TransactionVecBuilder) Build() TransactionVec
func (*TransactionVecBuilder) Extend ¶
func (s *TransactionVecBuilder) Extend(iter []Transaction) *TransactionVecBuilder
func (*TransactionVecBuilder) Push ¶
func (s *TransactionVecBuilder) Push(v Transaction) *TransactionVecBuilder
func (*TransactionVecBuilder) Replace ¶
func (s *TransactionVecBuilder) Replace(index uint, v Transaction) *Transaction
func (*TransactionVecBuilder) Set ¶
func (s *TransactionVecBuilder) Set(v []Transaction) *TransactionVecBuilder
type Uint128 ¶
type Uint128 struct {
// contains filtered or unexported fields
}
func Uint128Default ¶
func Uint128Default() Uint128
func (*Uint128) AsBuilder ¶
func (s *Uint128) AsBuilder() Uint128Builder
type Uint128Builder ¶
type Uint128Builder struct {
// contains filtered or unexported fields
}
func NewUint128Builder ¶
func NewUint128Builder() *Uint128Builder
func (*Uint128Builder) Build ¶
func (s *Uint128Builder) Build() Uint128
func (*Uint128Builder) Nth0 ¶
func (s *Uint128Builder) Nth0(v Byte) *Uint128Builder
func (*Uint128Builder) Nth1 ¶
func (s *Uint128Builder) Nth1(v Byte) *Uint128Builder
func (*Uint128Builder) Nth10 ¶
func (s *Uint128Builder) Nth10(v Byte) *Uint128Builder
func (*Uint128Builder) Nth11 ¶
func (s *Uint128Builder) Nth11(v Byte) *Uint128Builder
func (*Uint128Builder) Nth12 ¶
func (s *Uint128Builder) Nth12(v Byte) *Uint128Builder
func (*Uint128Builder) Nth13 ¶
func (s *Uint128Builder) Nth13(v Byte) *Uint128Builder
func (*Uint128Builder) Nth14 ¶
func (s *Uint128Builder) Nth14(v Byte) *Uint128Builder
func (*Uint128Builder) Nth15 ¶
func (s *Uint128Builder) Nth15(v Byte) *Uint128Builder
func (*Uint128Builder) Nth2 ¶
func (s *Uint128Builder) Nth2(v Byte) *Uint128Builder
func (*Uint128Builder) Nth3 ¶
func (s *Uint128Builder) Nth3(v Byte) *Uint128Builder
func (*Uint128Builder) Nth4 ¶
func (s *Uint128Builder) Nth4(v Byte) *Uint128Builder
func (*Uint128Builder) Nth5 ¶
func (s *Uint128Builder) Nth5(v Byte) *Uint128Builder
func (*Uint128Builder) Nth6 ¶
func (s *Uint128Builder) Nth6(v Byte) *Uint128Builder
func (*Uint128Builder) Nth7 ¶
func (s *Uint128Builder) Nth7(v Byte) *Uint128Builder
func (*Uint128Builder) Nth8 ¶
func (s *Uint128Builder) Nth8(v Byte) *Uint128Builder
func (*Uint128Builder) Nth9 ¶
func (s *Uint128Builder) Nth9(v Byte) *Uint128Builder
func (*Uint128Builder) Set ¶
func (s *Uint128Builder) Set(v [16]Byte) *Uint128Builder
type Uint256 ¶
type Uint256 struct {
// contains filtered or unexported fields
}
func Uint256Default ¶
func Uint256Default() Uint256
func (*Uint256) AsBuilder ¶
func (s *Uint256) AsBuilder() Uint256Builder
type Uint256Builder ¶
type Uint256Builder struct {
// contains filtered or unexported fields
}
func NewUint256Builder ¶
func NewUint256Builder() *Uint256Builder
func (*Uint256Builder) Build ¶
func (s *Uint256Builder) Build() Uint256
func (*Uint256Builder) Nth0 ¶
func (s *Uint256Builder) Nth0(v Byte) *Uint256Builder
func (*Uint256Builder) Nth1 ¶
func (s *Uint256Builder) Nth1(v Byte) *Uint256Builder
func (*Uint256Builder) Nth10 ¶
func (s *Uint256Builder) Nth10(v Byte) *Uint256Builder
func (*Uint256Builder) Nth11 ¶
func (s *Uint256Builder) Nth11(v Byte) *Uint256Builder
func (*Uint256Builder) Nth12 ¶
func (s *Uint256Builder) Nth12(v Byte) *Uint256Builder
func (*Uint256Builder) Nth13 ¶
func (s *Uint256Builder) Nth13(v Byte) *Uint256Builder
func (*Uint256Builder) Nth14 ¶
func (s *Uint256Builder) Nth14(v Byte) *Uint256Builder
func (*Uint256Builder) Nth15 ¶
func (s *Uint256Builder) Nth15(v Byte) *Uint256Builder
func (*Uint256Builder) Nth16 ¶
func (s *Uint256Builder) Nth16(v Byte) *Uint256Builder
func (*Uint256Builder) Nth17 ¶
func (s *Uint256Builder) Nth17(v Byte) *Uint256Builder
func (*Uint256Builder) Nth18 ¶
func (s *Uint256Builder) Nth18(v Byte) *Uint256Builder
func (*Uint256Builder) Nth19 ¶
func (s *Uint256Builder) Nth19(v Byte) *Uint256Builder
func (*Uint256Builder) Nth2 ¶
func (s *Uint256Builder) Nth2(v Byte) *Uint256Builder
func (*Uint256Builder) Nth20 ¶
func (s *Uint256Builder) Nth20(v Byte) *Uint256Builder
func (*Uint256Builder) Nth21 ¶
func (s *Uint256Builder) Nth21(v Byte) *Uint256Builder
func (*Uint256Builder) Nth22 ¶
func (s *Uint256Builder) Nth22(v Byte) *Uint256Builder
func (*Uint256Builder) Nth23 ¶
func (s *Uint256Builder) Nth23(v Byte) *Uint256Builder
func (*Uint256Builder) Nth24 ¶
func (s *Uint256Builder) Nth24(v Byte) *Uint256Builder
func (*Uint256Builder) Nth25 ¶
func (s *Uint256Builder) Nth25(v Byte) *Uint256Builder
func (*Uint256Builder) Nth26 ¶
func (s *Uint256Builder) Nth26(v Byte) *Uint256Builder
func (*Uint256Builder) Nth27 ¶
func (s *Uint256Builder) Nth27(v Byte) *Uint256Builder
func (*Uint256Builder) Nth28 ¶
func (s *Uint256Builder) Nth28(v Byte) *Uint256Builder
func (*Uint256Builder) Nth29 ¶
func (s *Uint256Builder) Nth29(v Byte) *Uint256Builder
func (*Uint256Builder) Nth3 ¶
func (s *Uint256Builder) Nth3(v Byte) *Uint256Builder
func (*Uint256Builder) Nth30 ¶
func (s *Uint256Builder) Nth30(v Byte) *Uint256Builder
func (*Uint256Builder) Nth31 ¶
func (s *Uint256Builder) Nth31(v Byte) *Uint256Builder
func (*Uint256Builder) Nth4 ¶
func (s *Uint256Builder) Nth4(v Byte) *Uint256Builder
func (*Uint256Builder) Nth5 ¶
func (s *Uint256Builder) Nth5(v Byte) *Uint256Builder
func (*Uint256Builder) Nth6 ¶
func (s *Uint256Builder) Nth6(v Byte) *Uint256Builder
func (*Uint256Builder) Nth7 ¶
func (s *Uint256Builder) Nth7(v Byte) *Uint256Builder
func (*Uint256Builder) Nth8 ¶
func (s *Uint256Builder) Nth8(v Byte) *Uint256Builder
func (*Uint256Builder) Nth9 ¶
func (s *Uint256Builder) Nth9(v Byte) *Uint256Builder
func (*Uint256Builder) Set ¶
func (s *Uint256Builder) Set(v [32]Byte) *Uint256Builder
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
func Uint32Default ¶
func Uint32Default() Uint32
func (*Uint32) AsBuilder ¶
func (s *Uint32) AsBuilder() Uint32Builder
type Uint32Builder ¶
type Uint32Builder struct {
// contains filtered or unexported fields
}
func NewUint32Builder ¶
func NewUint32Builder() *Uint32Builder
func (*Uint32Builder) Build ¶
func (s *Uint32Builder) Build() Uint32
func (*Uint32Builder) Nth0 ¶
func (s *Uint32Builder) Nth0(v Byte) *Uint32Builder
func (*Uint32Builder) Nth1 ¶
func (s *Uint32Builder) Nth1(v Byte) *Uint32Builder
func (*Uint32Builder) Nth2 ¶
func (s *Uint32Builder) Nth2(v Byte) *Uint32Builder
func (*Uint32Builder) Nth3 ¶
func (s *Uint32Builder) Nth3(v Byte) *Uint32Builder
func (*Uint32Builder) Set ¶
func (s *Uint32Builder) Set(v [4]Byte) *Uint32Builder
type Uint64 ¶
type Uint64 struct {
// contains filtered or unexported fields
}
func Uint64Default ¶
func Uint64Default() Uint64
func (*Uint64) AsBuilder ¶
func (s *Uint64) AsBuilder() Uint64Builder
type Uint64Builder ¶
type Uint64Builder struct {
// contains filtered or unexported fields
}
func NewUint64Builder ¶
func NewUint64Builder() *Uint64Builder
func (*Uint64Builder) Build ¶
func (s *Uint64Builder) Build() Uint64
func (*Uint64Builder) Nth0 ¶
func (s *Uint64Builder) Nth0(v Byte) *Uint64Builder
func (*Uint64Builder) Nth1 ¶
func (s *Uint64Builder) Nth1(v Byte) *Uint64Builder
func (*Uint64Builder) Nth2 ¶
func (s *Uint64Builder) Nth2(v Byte) *Uint64Builder
func (*Uint64Builder) Nth3 ¶
func (s *Uint64Builder) Nth3(v Byte) *Uint64Builder
func (*Uint64Builder) Nth4 ¶
func (s *Uint64Builder) Nth4(v Byte) *Uint64Builder
func (*Uint64Builder) Nth5 ¶
func (s *Uint64Builder) Nth5(v Byte) *Uint64Builder
func (*Uint64Builder) Nth6 ¶
func (s *Uint64Builder) Nth6(v Byte) *Uint64Builder
func (*Uint64Builder) Nth7 ¶
func (s *Uint64Builder) Nth7(v Byte) *Uint64Builder
func (*Uint64Builder) Set ¶
func (s *Uint64Builder) Set(v [8]Byte) *Uint64Builder
type UncleBlock ¶
type UncleBlock struct {
// contains filtered or unexported fields
}
func UncleBlockDefault ¶
func UncleBlockDefault() UncleBlock
func UncleBlockFromSlice ¶
func UncleBlockFromSlice(slice []byte, compatible bool) (*UncleBlock, error)
func UncleBlockFromSliceUnchecked ¶
func UncleBlockFromSliceUnchecked(slice []byte) *UncleBlock
func (*UncleBlock) AsBuilder ¶
func (s *UncleBlock) AsBuilder() UncleBlockBuilder
func (*UncleBlock) AsSlice ¶
func (s *UncleBlock) AsSlice() []byte
func (*UncleBlock) CountExtraFields ¶
func (s *UncleBlock) CountExtraFields() uint
func (*UncleBlock) FieldCount ¶
func (s *UncleBlock) FieldCount() uint
func (*UncleBlock) HasExtraFields ¶
func (s *UncleBlock) HasExtraFields() bool
func (*UncleBlock) Header ¶
func (s *UncleBlock) Header() *Header
func (*UncleBlock) IsEmpty ¶
func (s *UncleBlock) IsEmpty() bool
func (*UncleBlock) Len ¶
func (s *UncleBlock) Len() uint
func (*UncleBlock) Proposals ¶
func (s *UncleBlock) Proposals() *ProposalShortIdVec
func (*UncleBlock) TotalSize ¶
func (s *UncleBlock) TotalSize() uint
type UncleBlockBuilder ¶
type UncleBlockBuilder struct {
// contains filtered or unexported fields
}
func NewUncleBlockBuilder ¶
func NewUncleBlockBuilder() *UncleBlockBuilder
func (*UncleBlockBuilder) Build ¶
func (s *UncleBlockBuilder) Build() UncleBlock
func (*UncleBlockBuilder) Header ¶
func (s *UncleBlockBuilder) Header(v Header) *UncleBlockBuilder
func (*UncleBlockBuilder) Proposals ¶
func (s *UncleBlockBuilder) Proposals(v ProposalShortIdVec) *UncleBlockBuilder
type UncleBlockVec ¶
type UncleBlockVec struct {
// contains filtered or unexported fields
}
func UncleBlockVecDefault ¶
func UncleBlockVecDefault() UncleBlockVec
func UncleBlockVecFromSlice ¶
func UncleBlockVecFromSlice(slice []byte, compatible bool) (*UncleBlockVec, error)
func UncleBlockVecFromSliceUnchecked ¶
func UncleBlockVecFromSliceUnchecked(slice []byte) *UncleBlockVec
func (*UncleBlockVec) AsBuilder ¶
func (s *UncleBlockVec) AsBuilder() UncleBlockVecBuilder
func (*UncleBlockVec) AsSlice ¶
func (s *UncleBlockVec) AsSlice() []byte
func (*UncleBlockVec) Get ¶
func (s *UncleBlockVec) Get(index uint) *UncleBlock
if *UncleBlock is nil, index is out of bounds
func (*UncleBlockVec) IsEmpty ¶
func (s *UncleBlockVec) IsEmpty() bool
func (*UncleBlockVec) ItemCount ¶
func (s *UncleBlockVec) ItemCount() uint
func (*UncleBlockVec) Len ¶
func (s *UncleBlockVec) Len() uint
func (*UncleBlockVec) TotalSize ¶
func (s *UncleBlockVec) TotalSize() uint
type UncleBlockVecBuilder ¶
type UncleBlockVecBuilder struct {
// contains filtered or unexported fields
}
func NewUncleBlockVecBuilder ¶
func NewUncleBlockVecBuilder() *UncleBlockVecBuilder
func (*UncleBlockVecBuilder) Build ¶
func (s *UncleBlockVecBuilder) Build() UncleBlockVec
func (*UncleBlockVecBuilder) Extend ¶
func (s *UncleBlockVecBuilder) Extend(iter []UncleBlock) *UncleBlockVecBuilder
func (*UncleBlockVecBuilder) Push ¶
func (s *UncleBlockVecBuilder) Push(v UncleBlock) *UncleBlockVecBuilder
func (*UncleBlockVecBuilder) Replace ¶
func (s *UncleBlockVecBuilder) Replace(index uint, v UncleBlock) *UncleBlock
func (*UncleBlockVecBuilder) Set ¶
func (s *UncleBlockVecBuilder) Set(v []UncleBlock) *UncleBlockVecBuilder
type WitnessArgs ¶
type WitnessArgs struct {
// contains filtered or unexported fields
}
func WitnessArgsDefault ¶
func WitnessArgsDefault() WitnessArgs
func WitnessArgsFromSlice ¶
func WitnessArgsFromSlice(slice []byte, compatible bool) (*WitnessArgs, error)
func WitnessArgsFromSliceUnchecked ¶
func WitnessArgsFromSliceUnchecked(slice []byte) *WitnessArgs
func (*WitnessArgs) AsBuilder ¶
func (s *WitnessArgs) AsBuilder() WitnessArgsBuilder
func (*WitnessArgs) AsSlice ¶
func (s *WitnessArgs) AsSlice() []byte
func (*WitnessArgs) CountExtraFields ¶
func (s *WitnessArgs) CountExtraFields() uint
func (*WitnessArgs) FieldCount ¶
func (s *WitnessArgs) FieldCount() uint
func (*WitnessArgs) HasExtraFields ¶
func (s *WitnessArgs) HasExtraFields() bool
func (*WitnessArgs) InputType ¶
func (s *WitnessArgs) InputType() *BytesOpt
func (*WitnessArgs) IsEmpty ¶
func (s *WitnessArgs) IsEmpty() bool
func (*WitnessArgs) Len ¶
func (s *WitnessArgs) Len() uint
func (*WitnessArgs) Lock ¶
func (s *WitnessArgs) Lock() *BytesOpt
func (*WitnessArgs) OutputType ¶
func (s *WitnessArgs) OutputType() *BytesOpt
func (*WitnessArgs) TotalSize ¶
func (s *WitnessArgs) TotalSize() uint
type WitnessArgsBuilder ¶
type WitnessArgsBuilder struct {
// contains filtered or unexported fields
}
func NewWitnessArgsBuilder ¶
func NewWitnessArgsBuilder() *WitnessArgsBuilder
func (*WitnessArgsBuilder) Build ¶
func (s *WitnessArgsBuilder) Build() WitnessArgs
func (*WitnessArgsBuilder) InputType ¶
func (s *WitnessArgsBuilder) InputType(v BytesOpt) *WitnessArgsBuilder
func (*WitnessArgsBuilder) Lock ¶
func (s *WitnessArgsBuilder) Lock(v BytesOpt) *WitnessArgsBuilder
func (*WitnessArgsBuilder) OutputType ¶
func (s *WitnessArgsBuilder) OutputType(v BytesOpt) *WitnessArgsBuilder
Click to show internal directories.
Click to hide internal directories.