Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 Changes in this version + func DisableLog() + func RegisterChainNotifierHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterChainNotifierHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ChainNotifierClient) error + func RegisterChainNotifierHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterChainNotifierHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ChainNotifierServer) error + func RegisterChainNotifierServer(s *grpc.Server, srv ChainNotifierServer) + func UseLogger(logger btclog.Logger) + type BlockEpoch struct + Hash []byte + Height uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BlockEpoch) Descriptor() ([]byte, []int) + func (*BlockEpoch) ProtoMessage() + func (m *BlockEpoch) GetHash() []byte + func (m *BlockEpoch) GetHeight() uint32 + func (m *BlockEpoch) Reset() + func (m *BlockEpoch) String() string + func (m *BlockEpoch) XXX_DiscardUnknown() + func (m *BlockEpoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockEpoch) XXX_Merge(src proto.Message) + func (m *BlockEpoch) XXX_Size() int + func (m *BlockEpoch) XXX_Unmarshal(b []byte) error + type ChainNotifierClient interface + RegisterBlockEpochNtfn func(ctx context.Context, in *BlockEpoch, opts ...grpc.CallOption) (ChainNotifier_RegisterBlockEpochNtfnClient, error) + RegisterConfirmationsNtfn func(ctx context.Context, in *ConfRequest, opts ...grpc.CallOption) (ChainNotifier_RegisterConfirmationsNtfnClient, error) + RegisterSpendNtfn func(ctx context.Context, in *SpendRequest, opts ...grpc.CallOption) (ChainNotifier_RegisterSpendNtfnClient, error) + func NewChainNotifierClient(cc *grpc.ClientConn) ChainNotifierClient + type ChainNotifierServer interface + RegisterBlockEpochNtfn func(*BlockEpoch, ChainNotifier_RegisterBlockEpochNtfnServer) error + RegisterConfirmationsNtfn func(*ConfRequest, ChainNotifier_RegisterConfirmationsNtfnServer) error + RegisterSpendNtfn func(*SpendRequest, ChainNotifier_RegisterSpendNtfnServer) error + type ChainNotifier_RegisterBlockEpochNtfnClient interface + Recv func() (*BlockEpoch, error) + type ChainNotifier_RegisterBlockEpochNtfnServer interface + Send func(*BlockEpoch) error + type ChainNotifier_RegisterConfirmationsNtfnClient interface + Recv func() (*ConfEvent, error) + type ChainNotifier_RegisterConfirmationsNtfnServer interface + Send func(*ConfEvent) error + type ChainNotifier_RegisterSpendNtfnClient interface + Recv func() (*SpendEvent, error) + type ChainNotifier_RegisterSpendNtfnServer interface + Send func(*SpendEvent) error + type ConfDetails struct + BlockHash []byte + BlockHeight uint32 + RawTx []byte + TxIndex uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfDetails) Descriptor() ([]byte, []int) + func (*ConfDetails) ProtoMessage() + func (m *ConfDetails) GetBlockHash() []byte + func (m *ConfDetails) GetBlockHeight() uint32 + func (m *ConfDetails) GetRawTx() []byte + func (m *ConfDetails) GetTxIndex() uint32 + func (m *ConfDetails) Reset() + func (m *ConfDetails) String() string + func (m *ConfDetails) XXX_DiscardUnknown() + func (m *ConfDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConfDetails) XXX_Merge(src proto.Message) + func (m *ConfDetails) XXX_Size() int + func (m *ConfDetails) XXX_Unmarshal(b []byte) error + type ConfEvent struct + Event isConfEvent_Event + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfEvent) Descriptor() ([]byte, []int) + func (*ConfEvent) ProtoMessage() + func (*ConfEvent) XXX_OneofWrappers() []interface{} + func (m *ConfEvent) GetConf() *ConfDetails + func (m *ConfEvent) GetEvent() isConfEvent_Event + func (m *ConfEvent) GetReorg() *Reorg + func (m *ConfEvent) Reset() + func (m *ConfEvent) String() string + func (m *ConfEvent) XXX_DiscardUnknown() + func (m *ConfEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConfEvent) XXX_Merge(src proto.Message) + func (m *ConfEvent) XXX_Size() int + func (m *ConfEvent) XXX_Unmarshal(b []byte) error + type ConfEvent_Conf struct + Conf *ConfDetails + type ConfEvent_Reorg struct + Reorg *Reorg + type ConfRequest struct + HeightHint uint32 + NumConfs uint32 + Script []byte + Txid []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfRequest) Descriptor() ([]byte, []int) + func (*ConfRequest) ProtoMessage() + func (m *ConfRequest) GetHeightHint() uint32 + func (m *ConfRequest) GetNumConfs() uint32 + func (m *ConfRequest) GetScript() []byte + func (m *ConfRequest) GetTxid() []byte + func (m *ConfRequest) Reset() + func (m *ConfRequest) String() string + func (m *ConfRequest) XXX_DiscardUnknown() + func (m *ConfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConfRequest) XXX_Merge(src proto.Message) + func (m *ConfRequest) XXX_Size() int + func (m *ConfRequest) XXX_Unmarshal(b []byte) error + type Config struct + type Outpoint struct + Hash []byte + Index uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Outpoint) Descriptor() ([]byte, []int) + func (*Outpoint) ProtoMessage() + func (m *Outpoint) GetHash() []byte + func (m *Outpoint) GetIndex() uint32 + func (m *Outpoint) Reset() + func (m *Outpoint) String() string + func (m *Outpoint) XXX_DiscardUnknown() + func (m *Outpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Outpoint) XXX_Merge(src proto.Message) + func (m *Outpoint) XXX_Size() int + func (m *Outpoint) XXX_Unmarshal(b []byte) error + type Reorg struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Reorg) Descriptor() ([]byte, []int) + func (*Reorg) ProtoMessage() + func (m *Reorg) Reset() + func (m *Reorg) String() string + func (m *Reorg) XXX_DiscardUnknown() + func (m *Reorg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Reorg) XXX_Merge(src proto.Message) + func (m *Reorg) XXX_Size() int + func (m *Reorg) XXX_Unmarshal(b []byte) error + type SpendDetails struct + RawSpendingTx []byte + SpendingHeight uint32 + SpendingInputIndex uint32 + SpendingOutpoint *Outpoint + SpendingTxHash []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SpendDetails) Descriptor() ([]byte, []int) + func (*SpendDetails) ProtoMessage() + func (m *SpendDetails) GetRawSpendingTx() []byte + func (m *SpendDetails) GetSpendingHeight() uint32 + func (m *SpendDetails) GetSpendingInputIndex() uint32 + func (m *SpendDetails) GetSpendingOutpoint() *Outpoint + func (m *SpendDetails) GetSpendingTxHash() []byte + func (m *SpendDetails) Reset() + func (m *SpendDetails) String() string + func (m *SpendDetails) XXX_DiscardUnknown() + func (m *SpendDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpendDetails) XXX_Merge(src proto.Message) + func (m *SpendDetails) XXX_Size() int + func (m *SpendDetails) XXX_Unmarshal(b []byte) error + type SpendEvent struct + Event isSpendEvent_Event + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SpendEvent) Descriptor() ([]byte, []int) + func (*SpendEvent) ProtoMessage() + func (*SpendEvent) XXX_OneofWrappers() []interface{} + func (m *SpendEvent) GetEvent() isSpendEvent_Event + func (m *SpendEvent) GetReorg() *Reorg + func (m *SpendEvent) GetSpend() *SpendDetails + func (m *SpendEvent) Reset() + func (m *SpendEvent) String() string + func (m *SpendEvent) XXX_DiscardUnknown() + func (m *SpendEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpendEvent) XXX_Merge(src proto.Message) + func (m *SpendEvent) XXX_Size() int + func (m *SpendEvent) XXX_Unmarshal(b []byte) error + type SpendEvent_Reorg struct + Reorg *Reorg + type SpendEvent_Spend struct + Spend *SpendDetails + type SpendRequest struct + HeightHint uint32 + Outpoint *Outpoint + Script []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SpendRequest) Descriptor() ([]byte, []int) + func (*SpendRequest) ProtoMessage() + func (m *SpendRequest) GetHeightHint() uint32 + func (m *SpendRequest) GetOutpoint() *Outpoint + func (m *SpendRequest) GetScript() []byte + func (m *SpendRequest) Reset() + func (m *SpendRequest) String() string + func (m *SpendRequest) XXX_DiscardUnknown() + func (m *SpendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SpendRequest) XXX_Merge(src proto.Message) + func (m *SpendRequest) XXX_Size() int + func (m *SpendRequest) XXX_Unmarshal(b []byte) error + type UnimplementedChainNotifierServer struct + func (*UnimplementedChainNotifierServer) RegisterBlockEpochNtfn(req *BlockEpoch, srv ChainNotifier_RegisterBlockEpochNtfnServer) error + func (*UnimplementedChainNotifierServer) RegisterConfirmationsNtfn(req *ConfRequest, srv ChainNotifier_RegisterConfirmationsNtfnServer) error + func (*UnimplementedChainNotifierServer) RegisterSpendNtfn(req *SpendRequest, srv ChainNotifier_RegisterSpendNtfnServer) error