Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2020 Changes in this version + func RegisterBtcServiceServer(s *grpc.Server, srv BtcServiceServer) + type AddressReply struct + Address string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddressReply) Descriptor() ([]byte, []int) + func (*AddressReply) ProtoMessage() + func (m *AddressReply) GetAddress() string + func (m *AddressReply) Reset() + func (m *AddressReply) String() string + func (m *AddressReply) XXX_DiscardUnknown() + func (m *AddressReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddressReply) XXX_Merge(src proto.Message) + func (m *AddressReply) XXX_Size() int + func (m *AddressReply) XXX_Unmarshal(b []byte) error + type AddressRequest struct + Label string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddressRequest) Descriptor() ([]byte, []int) + func (*AddressRequest) ProtoMessage() + func (m *AddressRequest) GetLabel() string + func (m *AddressRequest) Reset() + func (m *AddressRequest) String() string + func (m *AddressRequest) XXX_DiscardUnknown() + func (m *AddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddressRequest) XXX_Merge(src proto.Message) + func (m *AddressRequest) XXX_Size() int + func (m *AddressRequest) XXX_Unmarshal(b []byte) error + type BlockCountReply struct + Count int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BlockCountReply) Descriptor() ([]byte, []int) + func (*BlockCountReply) ProtoMessage() + func (m *BlockCountReply) GetCount() int32 + func (m *BlockCountReply) Reset() + func (m *BlockCountReply) String() string + func (m *BlockCountReply) XXX_DiscardUnknown() + func (m *BlockCountReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockCountReply) XXX_Merge(src proto.Message) + func (m *BlockCountReply) XXX_Size() int + func (m *BlockCountReply) XXX_Unmarshal(b []byte) error + type BtcServiceClient interface + CreateMultiSig func(ctx context.Context, in *CreateMultiSigRequest, opts ...grpc.CallOption) (*AddressReply, error) + GetBlockCount func(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*BlockCountReply, error) + GetMiningInfo func(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*MiningInfoReply, error) + GetNewAddress func(ctx context.Context, in *AddressRequest, opts ...grpc.CallOption) (*AddressReply, error) + func NewBtcServiceClient(cc *grpc.ClientConn) BtcServiceClient + type BtcServiceServer interface + CreateMultiSig func(context.Context, *CreateMultiSigRequest) (*AddressReply, error) + GetBlockCount func(context.Context, *EmptyRequest) (*BlockCountReply, error) + GetMiningInfo func(context.Context, *EmptyRequest) (*MiningInfoReply, error) + GetNewAddress func(context.Context, *AddressRequest) (*AddressReply, error) + type CreateMultiSigRequest struct + Keys []string + MinSignNum int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateMultiSigRequest) Descriptor() ([]byte, []int) + func (*CreateMultiSigRequest) ProtoMessage() + func (m *CreateMultiSigRequest) GetKeys() []string + func (m *CreateMultiSigRequest) GetMinSignNum() int32 + func (m *CreateMultiSigRequest) Reset() + func (m *CreateMultiSigRequest) String() string + func (m *CreateMultiSigRequest) XXX_DiscardUnknown() + func (m *CreateMultiSigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateMultiSigRequest) XXX_Merge(src proto.Message) + func (m *CreateMultiSigRequest) XXX_Size() int + func (m *CreateMultiSigRequest) XXX_Unmarshal(b []byte) error + type EmptyRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmptyRequest) Descriptor() ([]byte, []int) + func (*EmptyRequest) ProtoMessage() + func (m *EmptyRequest) Reset() + func (m *EmptyRequest) String() string + func (m *EmptyRequest) XXX_DiscardUnknown() + func (m *EmptyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmptyRequest) XXX_Merge(src proto.Message) + func (m *EmptyRequest) XXX_Size() int + func (m *EmptyRequest) XXX_Unmarshal(b []byte) error + type MiningInfoReply struct + Blocks int64 + Chain string + Currentblocksize int64 + Currentblocktx int64 + Currentblockweight int64 + Difficulty float32 + Networkhashps float32 + Pooledtx int32 + Testnet bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MiningInfoReply) Descriptor() ([]byte, []int) + func (*MiningInfoReply) ProtoMessage() + func (m *MiningInfoReply) GetBlocks() int64 + func (m *MiningInfoReply) GetChain() string + func (m *MiningInfoReply) GetCurrentblocksize() int64 + func (m *MiningInfoReply) GetCurrentblocktx() int64 + func (m *MiningInfoReply) GetCurrentblockweight() int64 + func (m *MiningInfoReply) GetDifficulty() float32 + func (m *MiningInfoReply) GetNetworkhashps() float32 + func (m *MiningInfoReply) GetPooledtx() int32 + func (m *MiningInfoReply) GetTestnet() bool + func (m *MiningInfoReply) Reset() + func (m *MiningInfoReply) String() string + func (m *MiningInfoReply) XXX_DiscardUnknown() + func (m *MiningInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MiningInfoReply) XXX_Merge(src proto.Message) + func (m *MiningInfoReply) XXX_Size() int + func (m *MiningInfoReply) XXX_Unmarshal(b []byte) error + type UnimplementedBtcServiceServer struct + func (*UnimplementedBtcServiceServer) CreateMultiSig(ctx context.Context, req *CreateMultiSigRequest) (*AddressReply, error) + func (*UnimplementedBtcServiceServer) GetBlockCount(ctx context.Context, req *EmptyRequest) (*BlockCountReply, error) + func (*UnimplementedBtcServiceServer) GetMiningInfo(ctx context.Context, req *EmptyRequest) (*MiningInfoReply, error) + func (*UnimplementedBtcServiceServer) GetNewAddress(ctx context.Context, req *AddressRequest) (*AddressReply, error)