bitcoindv1

package
v0.0.0-...-8da70b3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bitcoind_v1_bitcoind_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Block

type Block struct {
	BlockTime   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	BlockHeight uint32                 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	Hash        string                 `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBlockHeight

func (x *Block) GetBlockHeight() uint32

func (*Block) GetBlockTime

func (x *Block) GetBlockTime() *timestamppb.Timestamp

func (*Block) GetHash

func (x *Block) GetHash() string

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type EstimateSmartFeeRequest

type EstimateSmartFeeRequest struct {
	ConfTarget int64 `protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
	// contains filtered or unexported fields
}

func (*EstimateSmartFeeRequest) Descriptor deprecated

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

Deprecated: Use EstimateSmartFeeRequest.ProtoReflect.Descriptor instead.

func (*EstimateSmartFeeRequest) GetConfTarget

func (x *EstimateSmartFeeRequest) GetConfTarget() int64

func (*EstimateSmartFeeRequest) ProtoMessage

func (*EstimateSmartFeeRequest) ProtoMessage()

func (*EstimateSmartFeeRequest) ProtoReflect

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

func (*EstimateSmartFeeRequest) Reset

func (x *EstimateSmartFeeRequest) Reset()

func (*EstimateSmartFeeRequest) String

func (x *EstimateSmartFeeRequest) String() string

type EstimateSmartFeeResponse

type EstimateSmartFeeResponse struct {
	FeeRate float64  `protobuf:"fixed64,1,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
	Errors  []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*EstimateSmartFeeResponse) Descriptor deprecated

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

Deprecated: Use EstimateSmartFeeResponse.ProtoReflect.Descriptor instead.

func (*EstimateSmartFeeResponse) GetErrors

func (x *EstimateSmartFeeResponse) GetErrors() []string

func (*EstimateSmartFeeResponse) GetFeeRate

func (x *EstimateSmartFeeResponse) GetFeeRate() float64

func (*EstimateSmartFeeResponse) ProtoMessage

func (*EstimateSmartFeeResponse) ProtoMessage()

func (*EstimateSmartFeeResponse) ProtoReflect

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

func (*EstimateSmartFeeResponse) Reset

func (x *EstimateSmartFeeResponse) Reset()

func (*EstimateSmartFeeResponse) String

func (x *EstimateSmartFeeResponse) String() string

type GetBlockchainInfoResponse

type GetBlockchainInfoResponse struct {
	Chain                string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Blocks               uint32 `protobuf:"varint,2,opt,name=blocks,proto3" json:"blocks,omitempty"`
	Headers              uint32 `protobuf:"varint,3,opt,name=headers,proto3" json:"headers,omitempty"`
	BestBlockHash        string `protobuf:"bytes,4,opt,name=best_block_hash,json=bestBlockHash,proto3" json:"best_block_hash,omitempty"`
	InitialBlockDownload bool   `protobuf:"varint,8,opt,name=initial_block_download,json=initialBlockDownload,proto3" json:"initial_block_download,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBlockchainInfoResponse) Descriptor deprecated

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

Deprecated: Use GetBlockchainInfoResponse.ProtoReflect.Descriptor instead.

func (*GetBlockchainInfoResponse) GetBestBlockHash

func (x *GetBlockchainInfoResponse) GetBestBlockHash() string

func (*GetBlockchainInfoResponse) GetBlocks

func (x *GetBlockchainInfoResponse) GetBlocks() uint32

func (*GetBlockchainInfoResponse) GetChain

func (x *GetBlockchainInfoResponse) GetChain() string

func (*GetBlockchainInfoResponse) GetHeaders

func (x *GetBlockchainInfoResponse) GetHeaders() uint32

func (*GetBlockchainInfoResponse) GetInitialBlockDownload

func (x *GetBlockchainInfoResponse) GetInitialBlockDownload() bool

func (*GetBlockchainInfoResponse) ProtoMessage

func (*GetBlockchainInfoResponse) ProtoMessage()

func (*GetBlockchainInfoResponse) ProtoReflect

func (*GetBlockchainInfoResponse) Reset

func (x *GetBlockchainInfoResponse) Reset()

func (*GetBlockchainInfoResponse) String

func (x *GetBlockchainInfoResponse) String() string

type ListPeersResponse

type ListPeersResponse struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPeersResponse) Descriptor deprecated

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

Deprecated: Use ListPeersResponse.ProtoReflect.Descriptor instead.

func (*ListPeersResponse) GetPeers

func (x *ListPeersResponse) GetPeers() []*Peer

func (*ListPeersResponse) ProtoMessage

func (*ListPeersResponse) ProtoMessage()

func (*ListPeersResponse) ProtoReflect

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

func (*ListPeersResponse) Reset

func (x *ListPeersResponse) Reset()

func (*ListPeersResponse) String

func (x *ListPeersResponse) String() string

type ListRecentBlocksRequest

type ListRecentBlocksRequest struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecentBlocksRequest) Descriptor deprecated

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

Deprecated: Use ListRecentBlocksRequest.ProtoReflect.Descriptor instead.

func (*ListRecentBlocksRequest) GetCount

func (x *ListRecentBlocksRequest) GetCount() int64

func (*ListRecentBlocksRequest) ProtoMessage

func (*ListRecentBlocksRequest) ProtoMessage()

func (*ListRecentBlocksRequest) ProtoReflect

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

func (*ListRecentBlocksRequest) Reset

func (x *ListRecentBlocksRequest) Reset()

func (*ListRecentBlocksRequest) String

func (x *ListRecentBlocksRequest) String() string

type ListRecentBlocksResponse

type ListRecentBlocksResponse struct {
	RecentBlocks []*Block `protobuf:"bytes,4,rep,name=recent_blocks,json=recentBlocks,proto3" json:"recent_blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecentBlocksResponse) Descriptor deprecated

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

Deprecated: Use ListRecentBlocksResponse.ProtoReflect.Descriptor instead.

func (*ListRecentBlocksResponse) GetRecentBlocks

func (x *ListRecentBlocksResponse) GetRecentBlocks() []*Block

func (*ListRecentBlocksResponse) ProtoMessage

func (*ListRecentBlocksResponse) ProtoMessage()

func (*ListRecentBlocksResponse) ProtoReflect

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

func (*ListRecentBlocksResponse) Reset

func (x *ListRecentBlocksResponse) Reset()

func (*ListRecentBlocksResponse) String

func (x *ListRecentBlocksResponse) String() string

type ListRecentTransactionsRequest

type ListRecentTransactionsRequest struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecentTransactionsRequest) Descriptor deprecated

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

Deprecated: Use ListRecentTransactionsRequest.ProtoReflect.Descriptor instead.

func (*ListRecentTransactionsRequest) GetCount

func (x *ListRecentTransactionsRequest) GetCount() int64

func (*ListRecentTransactionsRequest) ProtoMessage

func (*ListRecentTransactionsRequest) ProtoMessage()

func (*ListRecentTransactionsRequest) ProtoReflect

func (*ListRecentTransactionsRequest) Reset

func (x *ListRecentTransactionsRequest) Reset()

func (*ListRecentTransactionsRequest) String

type ListRecentTransactionsResponse

type ListRecentTransactionsResponse struct {
	Transactions []*RecentTransaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRecentTransactionsResponse) Descriptor deprecated

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

Deprecated: Use ListRecentTransactionsResponse.ProtoReflect.Descriptor instead.

func (*ListRecentTransactionsResponse) GetTransactions

func (x *ListRecentTransactionsResponse) GetTransactions() []*RecentTransaction

func (*ListRecentTransactionsResponse) ProtoMessage

func (*ListRecentTransactionsResponse) ProtoMessage()

func (*ListRecentTransactionsResponse) ProtoReflect

func (*ListRecentTransactionsResponse) Reset

func (x *ListRecentTransactionsResponse) Reset()

func (*ListRecentTransactionsResponse) String

type Peer

type Peer struct {
	Id           int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Addr         string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	SyncedBlocks int32  `protobuf:"varint,3,opt,name=synced_blocks,json=syncedBlocks,proto3" json:"synced_blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*Peer) Descriptor deprecated

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

Deprecated: Use Peer.ProtoReflect.Descriptor instead.

func (*Peer) GetAddr

func (x *Peer) GetAddr() string

func (*Peer) GetId

func (x *Peer) GetId() int32

func (*Peer) GetSyncedBlocks

func (x *Peer) GetSyncedBlocks() int32

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) ProtoReflect

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

func (*Peer) Reset

func (x *Peer) Reset()

func (*Peer) String

func (x *Peer) String() string

type RecentTransaction

type RecentTransaction struct {
	VirtualSize      uint32                 `protobuf:"varint,1,opt,name=virtual_size,json=virtualSize,proto3" json:"virtual_size,omitempty"`
	Time             *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	Txid             string                 `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"`
	FeeSats          uint64                 `protobuf:"varint,4,opt,name=fee_sats,json=feeSatoshi,proto3" json:"fee_sats,omitempty"`
	ConfirmedInBlock *Block                 `protobuf:"bytes,5,opt,name=confirmed_in_block,json=confirmedInBlock,proto3,oneof" json:"confirmed_in_block,omitempty"`
	// contains filtered or unexported fields
}

func (*RecentTransaction) Descriptor deprecated

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

Deprecated: Use RecentTransaction.ProtoReflect.Descriptor instead.

func (*RecentTransaction) GetConfirmedInBlock

func (x *RecentTransaction) GetConfirmedInBlock() *Block

func (*RecentTransaction) GetFeeSats

func (x *RecentTransaction) GetFeeSats() uint64

func (*RecentTransaction) GetTime

func (x *RecentTransaction) GetTime() *timestamppb.Timestamp

func (*RecentTransaction) GetTxid

func (x *RecentTransaction) GetTxid() string

func (*RecentTransaction) GetVirtualSize

func (x *RecentTransaction) GetVirtualSize() uint32

func (*RecentTransaction) ProtoMessage

func (*RecentTransaction) ProtoMessage()

func (*RecentTransaction) ProtoReflect

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

func (*RecentTransaction) Reset

func (x *RecentTransaction) Reset()

func (*RecentTransaction) String

func (x *RecentTransaction) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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