proto

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_block_proto protoreflect.FileDescriptor
View Source
var File_chain_proto protoreflect.FileDescriptor
View Source
var File_response_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Bip9 added in v0.1.2

type Bip9 struct {
	Since     int32  `protobuf:"varint,1,opt,name=since,proto3" json:"since,omitempty"`
	StartTime int32  `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Status    string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Timeout   int64  `protobuf:"varint,4,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Bip9) Descriptor deprecated added in v0.1.2

func (*Bip9) Descriptor() ([]byte, []int)

Deprecated: Use Bip9.ProtoReflect.Descriptor instead.

func (*Bip9) GetSince added in v0.1.2

func (x *Bip9) GetSince() int32

func (*Bip9) GetStartTime added in v0.1.2

func (x *Bip9) GetStartTime() int32

func (*Bip9) GetStatus added in v0.1.2

func (x *Bip9) GetStatus() string

func (*Bip9) GetTimeout added in v0.1.2

func (x *Bip9) GetTimeout() int64

func (*Bip9) ProtoMessage added in v0.1.2

func (*Bip9) ProtoMessage()

func (*Bip9) ProtoReflect added in v0.1.2

func (x *Bip9) ProtoReflect() protoreflect.Message

func (*Bip9) Reset added in v0.1.2

func (x *Bip9) Reset()

func (*Bip9) String added in v0.1.2

func (x *Bip9) String() string

type Bip9SoftForkDescription

type Bip9SoftForkDescription struct {
	Status     string `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	Bit        uint32 `protobuf:"varint,2,opt,name=Bit,proto3" json:"Bit,omitempty"`
	StartTime1 int64  `protobuf:"varint,3,opt,name=StartTime1,proto3" json:"StartTime1,omitempty"`
	StartTime2 int64  `protobuf:"varint,4,opt,name=StartTime2,proto3" json:"StartTime2,omitempty"`
	Timeout    int64  `protobuf:"varint,5,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
	Since      int32  `protobuf:"varint,6,opt,name=Since,proto3" json:"Since,omitempty"`
	// contains filtered or unexported fields
}

func (*Bip9SoftForkDescription) Descriptor deprecated

func (*Bip9SoftForkDescription) Descriptor() ([]byte, []int)

Deprecated: Use Bip9SoftForkDescription.ProtoReflect.Descriptor instead.

func (*Bip9SoftForkDescription) GetBit

func (x *Bip9SoftForkDescription) GetBit() uint32

func (*Bip9SoftForkDescription) GetSince

func (x *Bip9SoftForkDescription) GetSince() int32

func (*Bip9SoftForkDescription) GetStartTime1

func (x *Bip9SoftForkDescription) GetStartTime1() int64

func (*Bip9SoftForkDescription) GetStartTime2

func (x *Bip9SoftForkDescription) GetStartTime2() int64

func (*Bip9SoftForkDescription) GetStatus

func (x *Bip9SoftForkDescription) GetStatus() string

func (*Bip9SoftForkDescription) GetTimeout

func (x *Bip9SoftForkDescription) GetTimeout() int64

func (*Bip9SoftForkDescription) ProtoMessage

func (*Bip9SoftForkDescription) ProtoMessage()

func (*Bip9SoftForkDescription) ProtoReflect

func (x *Bip9SoftForkDescription) ProtoReflect() protoreflect.Message

func (*Bip9SoftForkDescription) Reset

func (x *Bip9SoftForkDescription) Reset()

func (*Bip9SoftForkDescription) String

func (x *Bip9SoftForkDescription) String() string

type EasyResponse added in v0.1.3

type EasyResponse struct {
	Id     int32           `json:"id,omitempty"`
	Result json.RawMessage `json:"result,omitempty"`
	Error  *RpcError       `json:"error,omitempty"`
}

func (EasyResponse) MarshalEasyJSON added in v0.1.3

func (v EasyResponse) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EasyResponse) MarshalJSON added in v0.1.3

func (v EasyResponse) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EasyResponse) ParserResult added in v0.1.3

func (r *EasyResponse) ParserResult() (result []byte, err error)

func (*EasyResponse) UnmarshalEasyJSON added in v0.1.3

func (v *EasyResponse) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EasyResponse) UnmarshalJSON added in v0.1.3

func (v *EasyResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EasyRpcError added in v0.1.3

type EasyRpcError struct {
	Code    int32  `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

func (EasyRpcError) MarshalEasyJSON added in v0.1.3

func (v EasyRpcError) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EasyRpcError) MarshalJSON added in v0.1.3

func (v EasyRpcError) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EasyRpcError) UnmarshalEasyJSON added in v0.1.3

func (v *EasyRpcError) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EasyRpcError) UnmarshalJSON added in v0.1.3

func (v *EasyRpcError) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetBlockChainInfoResult

type GetBlockChainInfoResult struct {
	Chain                string     `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Blocks               int32      `protobuf:"varint,2,opt,name=blocks,proto3" json:"blocks,omitempty"`
	Headers              int32      `protobuf:"varint,3,opt,name=headers,proto3" json:"headers,omitempty"`
	Bestblockhash        string     `protobuf:"bytes,4,opt,name=bestblockhash,proto3" json:"bestblockhash,omitempty"`
	Difficulty           float64    `protobuf:"fixed64,5,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Mediantime           int64      `protobuf:"varint,6,opt,name=mediantime,proto3" json:"mediantime,omitempty"`
	Verificationprogress float64    `protobuf:"fixed64,7,opt,name=verificationprogress,proto3" json:"verificationprogress,omitempty"`
	Initialblockdownload bool       `protobuf:"varint,8,opt,name=initialblockdownload,proto3" json:"initialblockdownload,omitempty"`
	SizeOnDisk           int64      `protobuf:"varint,9,opt,name=size_on_disk,json=sizeOnDisk,proto3" json:"size_on_disk,omitempty"`
	Pruned               bool       `protobuf:"varint,10,opt,name=pruned,proto3" json:"pruned,omitempty"`
	Pruneheight          int32      `protobuf:"varint,11,opt,name=pruneheight,proto3" json:"pruneheight,omitempty"`
	Chainwork            string     `protobuf:"bytes,12,opt,name=chainwork,proto3" json:"chainwork,omitempty"`
	Softforks            *SoftForks `protobuf:"bytes,13,opt,name=softforks,proto3" json:"softforks,omitempty"`
	Warnings             string     `protobuf:"bytes,14,opt,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockChainInfoResult) Descriptor deprecated

func (*GetBlockChainInfoResult) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockChainInfoResult.ProtoReflect.Descriptor instead.

func (*GetBlockChainInfoResult) GetBestblockhash

func (x *GetBlockChainInfoResult) GetBestblockhash() string

func (*GetBlockChainInfoResult) GetBlocks

func (x *GetBlockChainInfoResult) GetBlocks() int32

func (*GetBlockChainInfoResult) GetChain

func (x *GetBlockChainInfoResult) GetChain() string

func (*GetBlockChainInfoResult) GetChainwork

func (x *GetBlockChainInfoResult) GetChainwork() string

func (*GetBlockChainInfoResult) GetDifficulty

func (x *GetBlockChainInfoResult) GetDifficulty() float64

func (*GetBlockChainInfoResult) GetHeaders

func (x *GetBlockChainInfoResult) GetHeaders() int32

func (*GetBlockChainInfoResult) GetInitialblockdownload

func (x *GetBlockChainInfoResult) GetInitialblockdownload() bool

func (*GetBlockChainInfoResult) GetMediantime

func (x *GetBlockChainInfoResult) GetMediantime() int64

func (*GetBlockChainInfoResult) GetPruned

func (x *GetBlockChainInfoResult) GetPruned() bool

func (*GetBlockChainInfoResult) GetPruneheight

func (x *GetBlockChainInfoResult) GetPruneheight() int32

func (*GetBlockChainInfoResult) GetSizeOnDisk

func (x *GetBlockChainInfoResult) GetSizeOnDisk() int64

func (*GetBlockChainInfoResult) GetSoftforks

func (x *GetBlockChainInfoResult) GetSoftforks() *SoftForks

func (*GetBlockChainInfoResult) GetVerificationprogress

func (x *GetBlockChainInfoResult) GetVerificationprogress() float64

func (*GetBlockChainInfoResult) GetWarnings

func (x *GetBlockChainInfoResult) GetWarnings() string

func (*GetBlockChainInfoResult) ProtoMessage

func (*GetBlockChainInfoResult) ProtoMessage()

func (*GetBlockChainInfoResult) ProtoReflect

func (x *GetBlockChainInfoResult) ProtoReflect() protoreflect.Message

func (*GetBlockChainInfoResult) Reset

func (x *GetBlockChainInfoResult) Reset()

func (*GetBlockChainInfoResult) String

func (x *GetBlockChainInfoResult) String() string

type GetBlockVerboseTxResult

type GetBlockVerboseTxResult struct {
	Hash              string         `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Confirmations     int64          `protobuf:"varint,2,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	Strippedsize      int32          `protobuf:"varint,3,opt,name=strippedsize,proto3" json:"strippedsize,omitempty"`
	Size              int32          `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Weight            int32          `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
	Height            int32          `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
	Version           int32          `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	VersionHex        string         `protobuf:"bytes,8,opt,name=versionHex,proto3" json:"versionHex,omitempty"`
	Merkleroot        string         `protobuf:"bytes,9,opt,name=merkleroot,proto3" json:"merkleroot,omitempty"`
	Tx                []*Transaction `protobuf:"bytes,10,rep,name=tx,proto3" json:"tx,omitempty"`
	Time              int64          `protobuf:"varint,11,opt,name=time,proto3" json:"time,omitempty"`
	Mediantime        int64          `protobuf:"varint,12,opt,name=mediantime,proto3" json:"mediantime,omitempty"`
	Nonce             uint32         `protobuf:"varint,13,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Bits              string         `protobuf:"bytes,14,opt,name=bits,proto3" json:"bits,omitempty"`
	Difficulty        float64        `protobuf:"fixed64,15,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	Chainwork         string         `protobuf:"bytes,16,opt,name=chainwork,proto3" json:"chainwork,omitempty"`
	NTx               int32          `protobuf:"varint,17,opt,name=nTx,proto3" json:"nTx,omitempty"`
	Previousblockhash string         `protobuf:"bytes,18,opt,name=previousblockhash,proto3" json:"previousblockhash,omitempty"`
	Nextblockhash     string         `protobuf:"bytes,19,opt,name=nextblockhash,proto3" json:"nextblockhash,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockVerboseTxResult) Descriptor deprecated

func (*GetBlockVerboseTxResult) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockVerboseTxResult.ProtoReflect.Descriptor instead.

func (*GetBlockVerboseTxResult) GetBits

func (x *GetBlockVerboseTxResult) GetBits() string

func (*GetBlockVerboseTxResult) GetChainwork

func (x *GetBlockVerboseTxResult) GetChainwork() string

func (*GetBlockVerboseTxResult) GetConfirmations

func (x *GetBlockVerboseTxResult) GetConfirmations() int64

func (*GetBlockVerboseTxResult) GetDifficulty

func (x *GetBlockVerboseTxResult) GetDifficulty() float64

func (*GetBlockVerboseTxResult) GetHash

func (x *GetBlockVerboseTxResult) GetHash() string

func (*GetBlockVerboseTxResult) GetHeight

func (x *GetBlockVerboseTxResult) GetHeight() int32

func (*GetBlockVerboseTxResult) GetMediantime

func (x *GetBlockVerboseTxResult) GetMediantime() int64

func (*GetBlockVerboseTxResult) GetMerkleroot

func (x *GetBlockVerboseTxResult) GetMerkleroot() string

func (*GetBlockVerboseTxResult) GetNTx

func (x *GetBlockVerboseTxResult) GetNTx() int32

func (*GetBlockVerboseTxResult) GetNextblockhash

func (x *GetBlockVerboseTxResult) GetNextblockhash() string

func (*GetBlockVerboseTxResult) GetNonce

func (x *GetBlockVerboseTxResult) GetNonce() uint32

func (*GetBlockVerboseTxResult) GetPreviousblockhash

func (x *GetBlockVerboseTxResult) GetPreviousblockhash() string

func (*GetBlockVerboseTxResult) GetSize

func (x *GetBlockVerboseTxResult) GetSize() int32

func (*GetBlockVerboseTxResult) GetStrippedsize

func (x *GetBlockVerboseTxResult) GetStrippedsize() int32

func (*GetBlockVerboseTxResult) GetTime

func (x *GetBlockVerboseTxResult) GetTime() int64

func (*GetBlockVerboseTxResult) GetTx

func (x *GetBlockVerboseTxResult) GetTx() []*Transaction

func (*GetBlockVerboseTxResult) GetVersion

func (x *GetBlockVerboseTxResult) GetVersion() int32

func (*GetBlockVerboseTxResult) GetVersionHex

func (x *GetBlockVerboseTxResult) GetVersionHex() string

func (*GetBlockVerboseTxResult) GetWeight

func (x *GetBlockVerboseTxResult) GetWeight() int32

func (GetBlockVerboseTxResult) MarshalEasyJSON added in v0.1.3

func (v GetBlockVerboseTxResult) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetBlockVerboseTxResult) MarshalJSON added in v0.1.3

func (v GetBlockVerboseTxResult) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetBlockVerboseTxResult) ProtoMessage

func (*GetBlockVerboseTxResult) ProtoMessage()

func (*GetBlockVerboseTxResult) ProtoReflect

func (x *GetBlockVerboseTxResult) ProtoReflect() protoreflect.Message

func (*GetBlockVerboseTxResult) Reset

func (x *GetBlockVerboseTxResult) Reset()

func (*GetBlockVerboseTxResult) String

func (x *GetBlockVerboseTxResult) String() string

func (*GetBlockVerboseTxResult) UnmarshalEasyJSON added in v0.1.3

func (v *GetBlockVerboseTxResult) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetBlockVerboseTxResult) UnmarshalJSON added in v0.1.3

func (v *GetBlockVerboseTxResult) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type RPCError

type RPCError struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCError) Descriptor deprecated

func (*RPCError) Descriptor() ([]byte, []int)

Deprecated: Use RPCError.ProtoReflect.Descriptor instead.

func (RPCError) Error

func (e RPCError) Error() string

Error returns a string describing the RPC error. This satisfies the builtin error interface.

func (*RPCError) GetCode

func (x *RPCError) GetCode() int32

func (*RPCError) GetMessage

func (x *RPCError) GetMessage() string

func (*RPCError) ProtoMessage

func (*RPCError) ProtoMessage()

func (*RPCError) ProtoReflect

func (x *RPCError) ProtoReflect() protoreflect.Message

func (*RPCError) Reset

func (x *RPCError) Reset()

func (*RPCError) String

func (x *RPCError) String() string

type RawResponse added in v0.1.3

type RawResponse struct {
	Id     int32     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Result []byte    `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Error  *RpcError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RawResponse) Descriptor deprecated added in v0.1.3

func (*RawResponse) Descriptor() ([]byte, []int)

Deprecated: Use RawResponse.ProtoReflect.Descriptor instead.

func (*RawResponse) GetError added in v0.1.3

func (x *RawResponse) GetError() *RpcError

func (*RawResponse) GetId added in v0.1.3

func (x *RawResponse) GetId() int32

func (*RawResponse) GetResult added in v0.1.3

func (x *RawResponse) GetResult() []byte

func (*RawResponse) ProtoMessage added in v0.1.3

func (*RawResponse) ProtoMessage()

func (*RawResponse) ProtoReflect added in v0.1.3

func (x *RawResponse) ProtoReflect() protoreflect.Message

func (*RawResponse) Reset added in v0.1.3

func (x *RawResponse) Reset()

func (*RawResponse) String added in v0.1.3

func (x *RawResponse) String() string

type Regtest added in v0.1.2

type Regtest struct {
	Active bool   `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	Bip9   *Bip9  `protobuf:"bytes,2,opt,name=bip9,proto3" json:"bip9,omitempty"`
	Height int32  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Type   string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Regtest) Descriptor deprecated added in v0.1.2

func (*Regtest) Descriptor() ([]byte, []int)

Deprecated: Use Regtest.ProtoReflect.Descriptor instead.

func (*Regtest) GetActive added in v0.1.2

func (x *Regtest) GetActive() bool

func (*Regtest) GetBip9 added in v0.1.2

func (x *Regtest) GetBip9() *Bip9

func (*Regtest) GetHeight added in v0.1.2

func (x *Regtest) GetHeight() int32

func (*Regtest) GetType added in v0.1.2

func (x *Regtest) GetType() string

func (*Regtest) ProtoMessage added in v0.1.2

func (*Regtest) ProtoMessage()

func (*Regtest) ProtoReflect added in v0.1.2

func (x *Regtest) ProtoReflect() protoreflect.Message

func (*Regtest) Reset added in v0.1.2

func (x *Regtest) Reset()

func (*Regtest) String added in v0.1.2

func (x *Regtest) String() string

type Reject

type Reject struct {
	Status bool `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*Reject) Descriptor deprecated

func (*Reject) Descriptor() ([]byte, []int)

Deprecated: Use Reject.ProtoReflect.Descriptor instead.

func (*Reject) GetStatus

func (x *Reject) GetStatus() bool

func (*Reject) ProtoMessage

func (*Reject) ProtoMessage()

func (*Reject) ProtoReflect

func (x *Reject) ProtoReflect() protoreflect.Message

func (*Reject) Reset

func (x *Reject) Reset()

func (*Reject) String

func (x *Reject) String() string

type RpcError added in v0.1.3

type RpcError struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcError) Descriptor deprecated added in v0.1.3

func (*RpcError) Descriptor() ([]byte, []int)

Deprecated: Use RpcError.ProtoReflect.Descriptor instead.

func (*RpcError) Error added in v0.1.3

func (e *RpcError) Error() string

Error returns a string describing the RPC error. This satisfies the builtin error interface.

func (*RpcError) GetCode added in v0.1.3

func (x *RpcError) GetCode() int32

func (*RpcError) GetMessage added in v0.1.3

func (x *RpcError) GetMessage() string

func (*RpcError) ProtoMessage added in v0.1.3

func (*RpcError) ProtoMessage()

func (*RpcError) ProtoReflect added in v0.1.3

func (x *RpcError) ProtoReflect() protoreflect.Message

func (*RpcError) Reset added in v0.1.3

func (x *RpcError) Reset()

func (*RpcError) String added in v0.1.3

func (x *RpcError) String() string

type ScriptPubKey

type ScriptPubKey struct {
	Asm       string   `protobuf:"bytes,1,opt,name=asm,proto3" json:"asm,omitempty"`
	Hex       string   `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
	ReqSigs   int32    `protobuf:"varint,3,opt,name=reqSigs,proto3" json:"reqSigs,omitempty"`
	Type      string   `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Addresses []string `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptPubKey) Descriptor deprecated

func (*ScriptPubKey) Descriptor() ([]byte, []int)

Deprecated: Use ScriptPubKey.ProtoReflect.Descriptor instead.

func (*ScriptPubKey) GetAddresses

func (x *ScriptPubKey) GetAddresses() []string

func (*ScriptPubKey) GetAsm

func (x *ScriptPubKey) GetAsm() string

func (*ScriptPubKey) GetHex

func (x *ScriptPubKey) GetHex() string

func (*ScriptPubKey) GetReqSigs

func (x *ScriptPubKey) GetReqSigs() int32

func (*ScriptPubKey) GetType

func (x *ScriptPubKey) GetType() string

func (ScriptPubKey) MarshalEasyJSON added in v0.1.3

func (v ScriptPubKey) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ScriptPubKey) MarshalJSON added in v0.1.3

func (v ScriptPubKey) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ScriptPubKey) ProtoMessage

func (*ScriptPubKey) ProtoMessage()

func (*ScriptPubKey) ProtoReflect

func (x *ScriptPubKey) ProtoReflect() protoreflect.Message

func (*ScriptPubKey) Reset

func (x *ScriptPubKey) Reset()

func (*ScriptPubKey) String

func (x *ScriptPubKey) String() string

func (*ScriptPubKey) UnmarshalEasyJSON added in v0.1.3

func (v *ScriptPubKey) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ScriptPubKey) UnmarshalJSON added in v0.1.3

func (v *ScriptPubKey) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ScriptSig

type ScriptSig struct {
	Asm string `protobuf:"bytes,1,opt,name=asm,proto3" json:"asm,omitempty"`
	Hex string `protobuf:"bytes,2,opt,name=hex,proto3" json:"hex,omitempty"`
	// contains filtered or unexported fields
}

func (*ScriptSig) Descriptor deprecated

func (*ScriptSig) Descriptor() ([]byte, []int)

Deprecated: Use ScriptSig.ProtoReflect.Descriptor instead.

func (*ScriptSig) GetAsm

func (x *ScriptSig) GetAsm() string

func (*ScriptSig) GetHex

func (x *ScriptSig) GetHex() string

func (ScriptSig) MarshalEasyJSON added in v0.1.3

func (v ScriptSig) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ScriptSig) MarshalJSON added in v0.1.3

func (v ScriptSig) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ScriptSig) ProtoMessage

func (*ScriptSig) ProtoMessage()

func (*ScriptSig) ProtoReflect

func (x *ScriptSig) ProtoReflect() protoreflect.Message

func (*ScriptSig) Reset

func (x *ScriptSig) Reset()

func (*ScriptSig) String

func (x *ScriptSig) String() string

func (*ScriptSig) UnmarshalEasyJSON added in v0.1.3

func (v *ScriptSig) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ScriptSig) UnmarshalJSON added in v0.1.3

func (v *ScriptSig) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SoftForkDescription

type SoftForkDescription struct {
	ID      string  `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Version uint32  `protobuf:"varint,2,opt,name=Version,proto3" json:"Version,omitempty"`
	Reject  *Reject `protobuf:"bytes,3,opt,name=Reject,proto3" json:"Reject,omitempty"`
	// contains filtered or unexported fields
}

func (*SoftForkDescription) Descriptor deprecated

func (*SoftForkDescription) Descriptor() ([]byte, []int)

Deprecated: Use SoftForkDescription.ProtoReflect.Descriptor instead.

func (*SoftForkDescription) GetID

func (x *SoftForkDescription) GetID() string

func (*SoftForkDescription) GetReject

func (x *SoftForkDescription) GetReject() *Reject

func (*SoftForkDescription) GetVersion

func (x *SoftForkDescription) GetVersion() uint32

func (*SoftForkDescription) ProtoMessage

func (*SoftForkDescription) ProtoMessage()

func (*SoftForkDescription) ProtoReflect

func (x *SoftForkDescription) ProtoReflect() protoreflect.Message

func (*SoftForkDescription) Reset

func (x *SoftForkDescription) Reset()

func (*SoftForkDescription) String

func (x *SoftForkDescription) String() string

type SoftForks

type SoftForks struct {
	Bip34     *UnifiedSoftForks `protobuf:"bytes,1,opt,name=bip34,proto3" json:"bip34,omitempty"`
	Bip66     *UnifiedSoftForks `protobuf:"bytes,2,opt,name=bip66,proto3" json:"bip66,omitempty"`
	Bip65     *UnifiedSoftForks `protobuf:"bytes,3,opt,name=bip65,proto3" json:"bip65,omitempty"`
	Csv       *UnifiedSoftForks `protobuf:"bytes,4,opt,name=csv,proto3" json:"csv,omitempty"`
	Segwit    *UnifiedSoftForks `protobuf:"bytes,5,opt,name=segwit,proto3" json:"segwit,omitempty"`
	Taproot   *Regtest          `protobuf:"bytes,6,opt,name=taproot,proto3" json:"taproot,omitempty"`
	Testdummy *Regtest          `protobuf:"bytes,7,opt,name=testdummy,proto3" json:"testdummy,omitempty"`
	// contains filtered or unexported fields
}

func (*SoftForks) Descriptor deprecated

func (*SoftForks) Descriptor() ([]byte, []int)

Deprecated: Use SoftForks.ProtoReflect.Descriptor instead.

func (*SoftForks) GetBip34

func (x *SoftForks) GetBip34() *UnifiedSoftForks

func (*SoftForks) GetBip65

func (x *SoftForks) GetBip65() *UnifiedSoftForks

func (*SoftForks) GetBip66

func (x *SoftForks) GetBip66() *UnifiedSoftForks

func (*SoftForks) GetCsv

func (x *SoftForks) GetCsv() *UnifiedSoftForks

func (*SoftForks) GetSegwit

func (x *SoftForks) GetSegwit() *UnifiedSoftForks

func (*SoftForks) GetTaproot added in v0.1.2

func (x *SoftForks) GetTaproot() *Regtest

func (*SoftForks) GetTestdummy added in v0.1.2

func (x *SoftForks) GetTestdummy() *Regtest

func (*SoftForks) ProtoMessage

func (*SoftForks) ProtoMessage()

func (*SoftForks) ProtoReflect

func (x *SoftForks) ProtoReflect() protoreflect.Message

func (*SoftForks) Reset

func (x *SoftForks) Reset()

func (*SoftForks) String

func (x *SoftForks) String() string

type Transaction

type Transaction struct {
	Txid     string  `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Hash     string  `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Version  int32   `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Size     int32   `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
	Vsize    int32   `protobuf:"varint,5,opt,name=vsize,proto3" json:"vsize,omitempty"`
	Weight   int32   `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"`
	Locktime uint32  `protobuf:"varint,7,opt,name=locktime,proto3" json:"locktime,omitempty"`
	Vin      []*Vin  `protobuf:"bytes,8,rep,name=vin,proto3" json:"vin,omitempty"`
	Vout     []*Vout `protobuf:"bytes,9,rep,name=vout,proto3" json:"vout,omitempty"`
	Hex      string  `protobuf:"bytes,10,opt,name=hex,proto3" json:"hex,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetHash

func (x *Transaction) GetHash() string

func (*Transaction) GetHex

func (x *Transaction) GetHex() string

func (*Transaction) GetLocktime

func (x *Transaction) GetLocktime() uint32

func (*Transaction) GetSize

func (x *Transaction) GetSize() int32

func (*Transaction) GetTxid

func (x *Transaction) GetTxid() string

func (*Transaction) GetVersion

func (x *Transaction) GetVersion() int32

func (*Transaction) GetVin

func (x *Transaction) GetVin() []*Vin

func (*Transaction) GetVout

func (x *Transaction) GetVout() []*Vout

func (*Transaction) GetVsize

func (x *Transaction) GetVsize() int32

func (*Transaction) GetWeight

func (x *Transaction) GetWeight() int32

func (Transaction) MarshalEasyJSON added in v0.1.3

func (v Transaction) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Transaction) MarshalJSON added in v0.1.3

func (v Transaction) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

func (*Transaction) UnmarshalEasyJSON added in v0.1.3

func (v *Transaction) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Transaction) UnmarshalJSON added in v0.1.3

func (v *Transaction) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UnifiedSoftForks

type UnifiedSoftForks struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Active bool   `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
	Height int32  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*UnifiedSoftForks) Descriptor deprecated

func (*UnifiedSoftForks) Descriptor() ([]byte, []int)

Deprecated: Use UnifiedSoftForks.ProtoReflect.Descriptor instead.

func (*UnifiedSoftForks) GetActive

func (x *UnifiedSoftForks) GetActive() bool

func (*UnifiedSoftForks) GetHeight

func (x *UnifiedSoftForks) GetHeight() int32

func (*UnifiedSoftForks) GetType

func (x *UnifiedSoftForks) GetType() string

func (*UnifiedSoftForks) ProtoMessage

func (*UnifiedSoftForks) ProtoMessage()

func (*UnifiedSoftForks) ProtoReflect

func (x *UnifiedSoftForks) ProtoReflect() protoreflect.Message

func (*UnifiedSoftForks) Reset

func (x *UnifiedSoftForks) Reset()

func (*UnifiedSoftForks) String

func (x *UnifiedSoftForks) String() string

type Vin

type Vin struct {
	Txid        string     `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Vout        uint32     `protobuf:"varint,2,opt,name=vout,proto3" json:"vout,omitempty"`
	Coinbase    string     `protobuf:"bytes,3,opt,name=coinbase,proto3" json:"coinbase,omitempty"`
	ScriptSig   *ScriptSig `protobuf:"bytes,4,opt,name=scriptSig,proto3" json:"scriptSig,omitempty"`
	Txinwitness []string   `protobuf:"bytes,5,rep,name=txinwitness,proto3" json:"txinwitness,omitempty"`
	Sequence    uint32     `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

func (*Vin) Descriptor deprecated

func (*Vin) Descriptor() ([]byte, []int)

Deprecated: Use Vin.ProtoReflect.Descriptor instead.

func (*Vin) GetCoinbase

func (x *Vin) GetCoinbase() string

func (*Vin) GetScriptSig

func (x *Vin) GetScriptSig() *ScriptSig

func (*Vin) GetSequence

func (x *Vin) GetSequence() uint32

func (*Vin) GetTxid

func (x *Vin) GetTxid() string

func (*Vin) GetTxinwitness

func (x *Vin) GetTxinwitness() []string

func (*Vin) GetVout

func (x *Vin) GetVout() uint32

func (Vin) MarshalEasyJSON added in v0.1.3

func (v Vin) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Vin) MarshalJSON added in v0.1.3

func (v Vin) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Vin) ProtoMessage

func (*Vin) ProtoMessage()

func (*Vin) ProtoReflect

func (x *Vin) ProtoReflect() protoreflect.Message

func (*Vin) Reset

func (x *Vin) Reset()

func (*Vin) String

func (x *Vin) String() string

func (*Vin) UnmarshalEasyJSON added in v0.1.3

func (v *Vin) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Vin) UnmarshalJSON added in v0.1.3

func (v *Vin) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Vout

type Vout struct {
	Value        float64       `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	N            uint32        `protobuf:"varint,2,opt,name=n,proto3" json:"n,omitempty"`
	ScriptPubKey *ScriptPubKey `protobuf:"bytes,3,opt,name=scriptPubKey,proto3" json:"scriptPubKey,omitempty"`
	// contains filtered or unexported fields
}

func (*Vout) Descriptor deprecated

func (*Vout) Descriptor() ([]byte, []int)

Deprecated: Use Vout.ProtoReflect.Descriptor instead.

func (*Vout) GetN

func (x *Vout) GetN() uint32

func (*Vout) GetScriptPubKey

func (x *Vout) GetScriptPubKey() *ScriptPubKey

func (*Vout) GetValue

func (x *Vout) GetValue() float64

func (Vout) MarshalEasyJSON added in v0.1.3

func (v Vout) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Vout) MarshalJSON added in v0.1.3

func (v Vout) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Vout) ProtoMessage

func (*Vout) ProtoMessage()

func (*Vout) ProtoReflect

func (x *Vout) ProtoReflect() protoreflect.Message

func (*Vout) Reset

func (x *Vout) Reset()

func (*Vout) String

func (x *Vout) String() string

func (*Vout) UnmarshalEasyJSON added in v0.1.3

func (v *Vout) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Vout) UnmarshalJSON added in v0.1.3

func (v *Vout) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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