molecule

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 5 Imported by: 10

Documentation

Index

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 BlockFromSlice

func BlockFromSlice(slice []byte, compatible bool) (*Block, error)

func BlockFromSliceUnchecked

func BlockFromSliceUnchecked(slice []byte) *Block

func (*Block) AsBuilder

func (s *Block) AsBuilder() BlockBuilder

func (*Block) AsSlice

func (s *Block) AsSlice() []byte

func (*Block) CountExtraFields

func (s *Block) CountExtraFields() uint

func (*Block) FieldCount

func (s *Block) FieldCount() uint

func (*Block) HasExtraFields

func (s *Block) HasExtraFields() bool

func (*Block) Header

func (s *Block) Header() *Header

func (*Block) IsEmpty

func (s *Block) IsEmpty() bool

func (*Block) Len

func (s *Block) Len() uint

func (*Block) Proposals

func (s *Block) Proposals() *ProposalShortIdVec

func (*Block) TotalSize

func (s *Block) TotalSize() uint

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 BlockV1FromSlice

func BlockV1FromSlice(slice []byte, compatible bool) (*BlockV1, error)

func BlockV1FromSliceUnchecked

func BlockV1FromSliceUnchecked(slice []byte) *BlockV1

func (*BlockV1) AsBuilder

func (s *BlockV1) AsBuilder() BlockV1Builder

func (*BlockV1) AsSlice

func (s *BlockV1) AsSlice() []byte

func (*BlockV1) CountExtraFields

func (s *BlockV1) CountExtraFields() uint

func (*BlockV1) Extension

func (s *BlockV1) Extension() *Bytes

func (*BlockV1) FieldCount

func (s *BlockV1) FieldCount() uint

func (*BlockV1) HasExtraFields

func (s *BlockV1) HasExtraFields() bool

func (*BlockV1) Header

func (s *BlockV1) Header() *Header

func (*BlockV1) IsEmpty

func (s *BlockV1) IsEmpty() bool

func (*BlockV1) Len

func (s *BlockV1) Len() uint

func (*BlockV1) Proposals

func (s *BlockV1) Proposals() *ProposalShortIdVec

func (*BlockV1) TotalSize

func (s *BlockV1) TotalSize() uint

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 (*BlockV1Builder) Transactions

func (s *BlockV1Builder) Transactions(v TransactionVec) *BlockV1Builder

func (*BlockV1Builder) Uncles

type Byte

type Byte [1]byte

Byte is the primitive type

func ByteDefault

func ByteDefault() Byte

func ByteFromSlice

func ByteFromSlice(slice []byte, _compatible bool) (*Byte, error)

func ByteFromSliceUnchecked

func ByteFromSliceUnchecked(slice []byte) *Byte

func NewByte

func NewByte(b byte) Byte

func (*Byte) AsSlice

func (b *Byte) AsSlice() []byte

type Byte32

type Byte32 struct {
	// contains filtered or unexported fields
}

func Byte32Default

func Byte32Default() Byte32

func Byte32FromSlice

func Byte32FromSlice(slice []byte, _compatible bool) (*Byte32, error)

func Byte32FromSliceUnchecked

func Byte32FromSliceUnchecked(slice []byte) *Byte32

func (*Byte32) AsBuilder

func (s *Byte32) AsBuilder() Byte32Builder

func (*Byte32) AsSlice

func (s *Byte32) AsSlice() []byte

func (*Byte32) Nth0

func (s *Byte32) Nth0() *Byte

func (*Byte32) Nth1

func (s *Byte32) Nth1() *Byte

func (*Byte32) Nth10

func (s *Byte32) Nth10() *Byte

func (*Byte32) Nth11

func (s *Byte32) Nth11() *Byte

func (*Byte32) Nth12

func (s *Byte32) Nth12() *Byte

func (*Byte32) Nth13

func (s *Byte32) Nth13() *Byte

func (*Byte32) Nth14

func (s *Byte32) Nth14() *Byte

func (*Byte32) Nth15

func (s *Byte32) Nth15() *Byte

func (*Byte32) Nth16

func (s *Byte32) Nth16() *Byte

func (*Byte32) Nth17

func (s *Byte32) Nth17() *Byte

func (*Byte32) Nth18

func (s *Byte32) Nth18() *Byte

func (*Byte32) Nth19

func (s *Byte32) Nth19() *Byte

func (*Byte32) Nth2

func (s *Byte32) Nth2() *Byte

func (*Byte32) Nth20

func (s *Byte32) Nth20() *Byte

func (*Byte32) Nth21

func (s *Byte32) Nth21() *Byte

func (*Byte32) Nth22

func (s *Byte32) Nth22() *Byte

func (*Byte32) Nth23

func (s *Byte32) Nth23() *Byte

func (*Byte32) Nth24

func (s *Byte32) Nth24() *Byte

func (*Byte32) Nth25

func (s *Byte32) Nth25() *Byte

func (*Byte32) Nth26

func (s *Byte32) Nth26() *Byte

func (*Byte32) Nth27

func (s *Byte32) Nth27() *Byte

func (*Byte32) Nth28

func (s *Byte32) Nth28() *Byte

func (*Byte32) Nth29

func (s *Byte32) Nth29() *Byte

func (*Byte32) Nth3

func (s *Byte32) Nth3() *Byte

func (*Byte32) Nth30

func (s *Byte32) Nth30() *Byte

func (*Byte32) Nth31

func (s *Byte32) Nth31() *Byte

func (*Byte32) Nth4

func (s *Byte32) Nth4() *Byte

func (*Byte32) Nth5

func (s *Byte32) Nth5() *Byte

func (*Byte32) Nth6

func (s *Byte32) Nth6() *Byte

func (*Byte32) Nth7

func (s *Byte32) Nth7() *Byte

func (*Byte32) Nth8

func (s *Byte32) Nth8() *Byte

func (*Byte32) Nth9

func (s *Byte32) Nth9() *Byte

func (*Byte32) RawData

func (s *Byte32) RawData() []byte

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 Byte32VecFromSlice(slice []byte, _compatible bool) (*Byte32Vec, error)

func Byte32VecFromSliceUnchecked

func Byte32VecFromSliceUnchecked(slice []byte) *Byte32Vec

func (*Byte32Vec) AsBuilder

func (s *Byte32Vec) AsBuilder() Byte32VecBuilder

func (*Byte32Vec) AsSlice

func (s *Byte32Vec) AsSlice() []byte

func (*Byte32Vec) Get

func (s *Byte32Vec) Get(index uint) *Byte32

if *Byte32 is nil, index is out of bounds

func (*Byte32Vec) IsEmpty

func (s *Byte32Vec) IsEmpty() bool

func (*Byte32Vec) ItemCount

func (s *Byte32Vec) ItemCount() uint

func (*Byte32Vec) Len

func (s *Byte32Vec) Len() uint

func (*Byte32Vec) TotalSize

func (s *Byte32Vec) TotalSize() uint

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 (*Byte32VecBuilder) Replace

func (s *Byte32VecBuilder) Replace(index uint, v Byte32) *Byte32

func (*Byte32VecBuilder) Set

type Bytes

type Bytes struct {
	// contains filtered or unexported fields
}

func BytesDefault

func BytesDefault() Bytes

func BytesFromSlice

func BytesFromSlice(slice []byte, _compatible bool) (*Bytes, error)

func BytesFromSliceUnchecked

func BytesFromSliceUnchecked(slice []byte) *Bytes

func (*Bytes) AsBuilder

func (s *Bytes) AsBuilder() BytesBuilder

func (*Bytes) AsSlice

func (s *Bytes) AsSlice() []byte

func (*Bytes) Get

func (s *Bytes) Get(index uint) *Byte

if *Byte is nil, index is out of bounds

func (*Bytes) IsEmpty

func (s *Bytes) IsEmpty() bool

func (*Bytes) ItemCount

func (s *Bytes) ItemCount() uint

func (*Bytes) Len

func (s *Bytes) Len() uint

func (*Bytes) RawData

func (s *Bytes) RawData() []byte

func (*Bytes) TotalSize

func (s *Bytes) TotalSize() uint

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

func (s *BytesBuilder) Replace(index uint, v Byte) *Byte

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 BytesOptFromSlice

func BytesOptFromSlice(slice []byte, compatible bool) (*BytesOpt, error)

func BytesOptFromSliceUnchecked

func BytesOptFromSliceUnchecked(slice []byte) *BytesOpt

func (*BytesOpt) AsBuilder

func (s *BytesOpt) AsBuilder() BytesOptBuilder

func (*BytesOpt) AsSlice

func (s *BytesOpt) AsSlice() []byte

func (*BytesOpt) IntoBytes

func (s *BytesOpt) IntoBytes() (*Bytes, error)

func (*BytesOpt) IsNone

func (s *BytesOpt) IsNone() bool

func (*BytesOpt) IsSome

func (s *BytesOpt) IsSome() bool

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

type BytesVec

type BytesVec struct {
	// contains filtered or unexported fields
}

func BytesVecDefault

func BytesVecDefault() BytesVec

func BytesVecFromSlice

func BytesVecFromSlice(slice []byte, compatible bool) (*BytesVec, error)

func BytesVecFromSliceUnchecked

func BytesVecFromSliceUnchecked(slice []byte) *BytesVec

func (*BytesVec) AsBuilder

func (s *BytesVec) AsBuilder() BytesVecBuilder

func (*BytesVec) AsSlice

func (s *BytesVec) AsSlice() []byte

func (*BytesVec) Get

func (s *BytesVec) Get(index uint) *Bytes

if *Bytes is nil, index is out of bounds

func (*BytesVec) IsEmpty

func (s *BytesVec) IsEmpty() bool

func (*BytesVec) ItemCount

func (s *BytesVec) ItemCount() uint

func (*BytesVec) Len

func (s *BytesVec) Len() uint

func (*BytesVec) TotalSize

func (s *BytesVec) TotalSize() uint

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 (*BytesVecBuilder) Replace

func (s *BytesVecBuilder) Replace(index uint, v Bytes) *Bytes

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 CellDepFromSlice

func CellDepFromSlice(slice []byte, _compatible bool) (*CellDep, error)

func CellDepFromSliceUnchecked

func CellDepFromSliceUnchecked(slice []byte) *CellDep

func (*CellDep) AsBuilder

func (s *CellDep) AsBuilder() CellDepBuilder

func (*CellDep) AsSlice

func (s *CellDep) AsSlice() []byte

func (*CellDep) DepType

func (s *CellDep) DepType() *Byte

func (*CellDep) OutPoint

func (s *CellDep) OutPoint() *OutPoint

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 (*CellDepVecBuilder) Replace

func (s *CellDepVecBuilder) Replace(index uint, v CellDep) *CellDep

func (*CellDepVecBuilder) Set

type CellInput

type CellInput struct {
	// contains filtered or unexported fields
}

func CellInputDefault

func CellInputDefault() CellInput

func CellInputFromSlice

func CellInputFromSlice(slice []byte, _compatible bool) (*CellInput, error)

func CellInputFromSliceUnchecked

func CellInputFromSliceUnchecked(slice []byte) *CellInput

func (*CellInput) AsBuilder

func (s *CellInput) AsBuilder() CellInputBuilder

func (*CellInput) AsSlice

func (s *CellInput) AsSlice() []byte

func (*CellInput) PreviousOutput

func (s *CellInput) PreviousOutput() *OutPoint

func (*CellInput) Since

func (s *CellInput) Since() *Uint64

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

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 (*CellInputVecBuilder) Push

func (*CellInputVecBuilder) Replace

func (s *CellInputVecBuilder) Replace(index uint, v CellInput) *CellInput

func (*CellInputVecBuilder) Set

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 (*CellOutputBuilder) Type

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 (*CellOutputVecBuilder) Extend

func (*CellOutputVecBuilder) Push

func (*CellOutputVecBuilder) Replace

func (s *CellOutputVecBuilder) Replace(index uint, v CellOutput) *CellOutput

func (*CellOutputVecBuilder) Set

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 (*CellbaseWitnessBuilder) Lock

func (*CellbaseWitnessBuilder) Message

type Header struct {
	// contains filtered or unexported fields
}

func HeaderDefault

func HeaderDefault() Header

func HeaderFromSlice

func HeaderFromSlice(slice []byte, _compatible bool) (*Header, error)

func HeaderFromSliceUnchecked

func HeaderFromSliceUnchecked(slice []byte) *Header

func (*Header) AsBuilder

func (s *Header) AsBuilder() HeaderBuilder

func (*Header) AsSlice

func (s *Header) AsSlice() []byte

func (*Header) Nonce

func (s *Header) Nonce() *Uint128

func (*Header) Raw

func (s *Header) Raw() *RawHeader

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

type Number

type Number uint32

type OutPoint

type OutPoint struct {
	// contains filtered or unexported fields
}

func OutPointDefault

func OutPointDefault() OutPoint

func OutPointFromSlice

func OutPointFromSlice(slice []byte, _compatible bool) (*OutPoint, error)

func OutPointFromSliceUnchecked

func OutPointFromSliceUnchecked(slice []byte) *OutPoint

func (*OutPoint) AsBuilder

func (s *OutPoint) AsBuilder() OutPointBuilder

func (*OutPoint) AsSlice

func (s *OutPoint) AsSlice() []byte

func (*OutPoint) Index

func (s *OutPoint) Index() *Uint32

func (*OutPoint) TxHash

func (s *OutPoint) TxHash() *Byte32

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 (*ProposalShortIdBuilder) Nth0

func (*ProposalShortIdBuilder) Nth1

func (*ProposalShortIdBuilder) Nth2

func (*ProposalShortIdBuilder) Nth3

func (*ProposalShortIdBuilder) Nth4

func (*ProposalShortIdBuilder) Nth5

func (*ProposalShortIdBuilder) Nth6

func (*ProposalShortIdBuilder) Nth7

func (*ProposalShortIdBuilder) Nth8

func (*ProposalShortIdBuilder) Nth9

func (*ProposalShortIdBuilder) Set

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 (*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 (*ProposalShortIdVecBuilder) Extend

func (*ProposalShortIdVecBuilder) Push

func (*ProposalShortIdVecBuilder) Replace

func (*ProposalShortIdVecBuilder) Set

type RawHeader

type RawHeader struct {
	// contains filtered or unexported fields
}

func RawHeaderDefault

func RawHeaderDefault() RawHeader

func RawHeaderFromSlice

func RawHeaderFromSlice(slice []byte, _compatible bool) (*RawHeader, error)

func RawHeaderFromSliceUnchecked

func RawHeaderFromSliceUnchecked(slice []byte) *RawHeader

func (*RawHeader) AsBuilder

func (s *RawHeader) AsBuilder() RawHeaderBuilder

func (*RawHeader) AsSlice

func (s *RawHeader) AsSlice() []byte

func (*RawHeader) CompactTarget

func (s *RawHeader) CompactTarget() *Uint32

func (*RawHeader) Dao

func (s *RawHeader) Dao() *Byte32

func (*RawHeader) Epoch

func (s *RawHeader) Epoch() *Uint64

func (*RawHeader) ExtraHash

func (s *RawHeader) ExtraHash() *Byte32

func (*RawHeader) Number

func (s *RawHeader) Number() *Uint64

func (*RawHeader) ParentHash

func (s *RawHeader) ParentHash() *Byte32

func (*RawHeader) ProposalsHash

func (s *RawHeader) ProposalsHash() *Byte32

func (*RawHeader) Timestamp

func (s *RawHeader) Timestamp() *Uint64

func (*RawHeader) TransactionsRoot

func (s *RawHeader) TransactionsRoot() *Byte32

func (*RawHeader) Version

func (s *RawHeader) Version() *Uint32

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 (*RawHeaderBuilder) Epoch

func (*RawHeaderBuilder) ExtraHash

func (s *RawHeaderBuilder) ExtraHash(v Byte32) *RawHeaderBuilder

func (*RawHeaderBuilder) Number

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 (*RawTransactionBuilder) CellDeps

func (*RawTransactionBuilder) HeaderDeps

func (*RawTransactionBuilder) Inputs

func (*RawTransactionBuilder) Outputs

func (*RawTransactionBuilder) OutputsData

func (*RawTransactionBuilder) Version

type Script

type Script struct {
	// contains filtered or unexported fields
}

func ScriptDefault

func ScriptDefault() Script

func ScriptFromSlice

func ScriptFromSlice(slice []byte, compatible bool) (*Script, error)

func ScriptFromSliceUnchecked

func ScriptFromSliceUnchecked(slice []byte) *Script

func (*Script) Args

func (s *Script) Args() *Bytes

func (*Script) AsBuilder

func (s *Script) AsBuilder() ScriptBuilder

func (*Script) AsSlice

func (s *Script) AsSlice() []byte

func (*Script) CodeHash

func (s *Script) CodeHash() *Byte32

func (*Script) CountExtraFields

func (s *Script) CountExtraFields() uint

func (*Script) FieldCount

func (s *Script) FieldCount() uint

func (*Script) HasExtraFields

func (s *Script) HasExtraFields() bool

func (*Script) HashType

func (s *Script) HashType() *Byte

func (*Script) IsEmpty

func (s *Script) IsEmpty() bool

func (*Script) Len

func (s *Script) Len() uint

func (*Script) TotalSize

func (s *Script) TotalSize() uint

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 ScriptOptFromSlice(slice []byte, compatible bool) (*ScriptOpt, error)

func ScriptOptFromSliceUnchecked

func ScriptOptFromSliceUnchecked(slice []byte) *ScriptOpt

func (*ScriptOpt) AsBuilder

func (s *ScriptOpt) AsBuilder() ScriptOptBuilder

func (*ScriptOpt) AsSlice

func (s *ScriptOpt) AsSlice() []byte

func (*ScriptOpt) IntoScript

func (s *ScriptOpt) IntoScript() (*Script, error)

func (*ScriptOpt) IsNone

func (s *ScriptOpt) IsNone() bool

func (*ScriptOpt) IsSome

func (s *ScriptOpt) IsSome() bool

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

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 (*TransactionBuilder) Witnesses

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 (*TransactionVecBuilder) Extend

func (*TransactionVecBuilder) Push

func (*TransactionVecBuilder) Replace

func (s *TransactionVecBuilder) Replace(index uint, v Transaction) *Transaction

func (*TransactionVecBuilder) Set

type Uint128

type Uint128 struct {
	// contains filtered or unexported fields
}

func Uint128Default

func Uint128Default() Uint128

func Uint128FromSlice

func Uint128FromSlice(slice []byte, _compatible bool) (*Uint128, error)

func Uint128FromSliceUnchecked

func Uint128FromSliceUnchecked(slice []byte) *Uint128

func (*Uint128) AsBuilder

func (s *Uint128) AsBuilder() Uint128Builder

func (*Uint128) AsSlice

func (s *Uint128) AsSlice() []byte

func (*Uint128) Nth0

func (s *Uint128) Nth0() *Byte

func (*Uint128) Nth1

func (s *Uint128) Nth1() *Byte

func (*Uint128) Nth10

func (s *Uint128) Nth10() *Byte

func (*Uint128) Nth11

func (s *Uint128) Nth11() *Byte

func (*Uint128) Nth12

func (s *Uint128) Nth12() *Byte

func (*Uint128) Nth13

func (s *Uint128) Nth13() *Byte

func (*Uint128) Nth14

func (s *Uint128) Nth14() *Byte

func (*Uint128) Nth15

func (s *Uint128) Nth15() *Byte

func (*Uint128) Nth2

func (s *Uint128) Nth2() *Byte

func (*Uint128) Nth3

func (s *Uint128) Nth3() *Byte

func (*Uint128) Nth4

func (s *Uint128) Nth4() *Byte

func (*Uint128) Nth5

func (s *Uint128) Nth5() *Byte

func (*Uint128) Nth6

func (s *Uint128) Nth6() *Byte

func (*Uint128) Nth7

func (s *Uint128) Nth7() *Byte

func (*Uint128) Nth8

func (s *Uint128) Nth8() *Byte

func (*Uint128) Nth9

func (s *Uint128) Nth9() *Byte

func (*Uint128) RawData

func (s *Uint128) RawData() []byte

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 Uint256FromSlice

func Uint256FromSlice(slice []byte, _compatible bool) (*Uint256, error)

func Uint256FromSliceUnchecked

func Uint256FromSliceUnchecked(slice []byte) *Uint256

func (*Uint256) AsBuilder

func (s *Uint256) AsBuilder() Uint256Builder

func (*Uint256) AsSlice

func (s *Uint256) AsSlice() []byte

func (*Uint256) Nth0

func (s *Uint256) Nth0() *Byte

func (*Uint256) Nth1

func (s *Uint256) Nth1() *Byte

func (*Uint256) Nth10

func (s *Uint256) Nth10() *Byte

func (*Uint256) Nth11

func (s *Uint256) Nth11() *Byte

func (*Uint256) Nth12

func (s *Uint256) Nth12() *Byte

func (*Uint256) Nth13

func (s *Uint256) Nth13() *Byte

func (*Uint256) Nth14

func (s *Uint256) Nth14() *Byte

func (*Uint256) Nth15

func (s *Uint256) Nth15() *Byte

func (*Uint256) Nth16

func (s *Uint256) Nth16() *Byte

func (*Uint256) Nth17

func (s *Uint256) Nth17() *Byte

func (*Uint256) Nth18

func (s *Uint256) Nth18() *Byte

func (*Uint256) Nth19

func (s *Uint256) Nth19() *Byte

func (*Uint256) Nth2

func (s *Uint256) Nth2() *Byte

func (*Uint256) Nth20

func (s *Uint256) Nth20() *Byte

func (*Uint256) Nth21

func (s *Uint256) Nth21() *Byte

func (*Uint256) Nth22

func (s *Uint256) Nth22() *Byte

func (*Uint256) Nth23

func (s *Uint256) Nth23() *Byte

func (*Uint256) Nth24

func (s *Uint256) Nth24() *Byte

func (*Uint256) Nth25

func (s *Uint256) Nth25() *Byte

func (*Uint256) Nth26

func (s *Uint256) Nth26() *Byte

func (*Uint256) Nth27

func (s *Uint256) Nth27() *Byte

func (*Uint256) Nth28

func (s *Uint256) Nth28() *Byte

func (*Uint256) Nth29

func (s *Uint256) Nth29() *Byte

func (*Uint256) Nth3

func (s *Uint256) Nth3() *Byte

func (*Uint256) Nth30

func (s *Uint256) Nth30() *Byte

func (*Uint256) Nth31

func (s *Uint256) Nth31() *Byte

func (*Uint256) Nth4

func (s *Uint256) Nth4() *Byte

func (*Uint256) Nth5

func (s *Uint256) Nth5() *Byte

func (*Uint256) Nth6

func (s *Uint256) Nth6() *Byte

func (*Uint256) Nth7

func (s *Uint256) Nth7() *Byte

func (*Uint256) Nth8

func (s *Uint256) Nth8() *Byte

func (*Uint256) Nth9

func (s *Uint256) Nth9() *Byte

func (*Uint256) RawData

func (s *Uint256) RawData() []byte

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 Uint32FromSlice

func Uint32FromSlice(slice []byte, _compatible bool) (*Uint32, error)

func Uint32FromSliceUnchecked

func Uint32FromSliceUnchecked(slice []byte) *Uint32

func (*Uint32) AsBuilder

func (s *Uint32) AsBuilder() Uint32Builder

func (*Uint32) AsSlice

func (s *Uint32) AsSlice() []byte

func (*Uint32) Nth0

func (s *Uint32) Nth0() *Byte

func (*Uint32) Nth1

func (s *Uint32) Nth1() *Byte

func (*Uint32) Nth2

func (s *Uint32) Nth2() *Byte

func (*Uint32) Nth3

func (s *Uint32) Nth3() *Byte

func (*Uint32) RawData

func (s *Uint32) RawData() []byte

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 Uint64FromSlice

func Uint64FromSlice(slice []byte, _compatible bool) (*Uint64, error)

func Uint64FromSliceUnchecked

func Uint64FromSliceUnchecked(slice []byte) *Uint64

func (*Uint64) AsBuilder

func (s *Uint64) AsBuilder() Uint64Builder

func (*Uint64) AsSlice

func (s *Uint64) AsSlice() []byte

func (*Uint64) Nth0

func (s *Uint64) Nth0() *Byte

func (*Uint64) Nth1

func (s *Uint64) Nth1() *Byte

func (*Uint64) Nth2

func (s *Uint64) Nth2() *Byte

func (*Uint64) Nth3

func (s *Uint64) Nth3() *Byte

func (*Uint64) Nth4

func (s *Uint64) Nth4() *Byte

func (*Uint64) Nth5

func (s *Uint64) Nth5() *Byte

func (*Uint64) Nth6

func (s *Uint64) Nth6() *Byte

func (*Uint64) Nth7

func (s *Uint64) Nth7() *Byte

func (*Uint64) RawData

func (s *Uint64) RawData() []byte

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 (*UncleBlockBuilder) Proposals

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 (*UncleBlockVecBuilder) Extend

func (*UncleBlockVecBuilder) Push

func (*UncleBlockVecBuilder) Replace

func (s *UncleBlockVecBuilder) Replace(index uint, v UncleBlock) *UncleBlock

func (*UncleBlockVecBuilder) Set

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 (*WitnessArgsBuilder) Lock

func (*WitnessArgsBuilder) OutputType

Jump to

Keyboard shortcuts

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