pb

package
v0.0.0-...-3a7d5fb Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoinType_name = map[int32]string{
	0: "BITCOIN",
	1: "BITCOIN_CASH",
	2: "ZCASH",
	3: "LITECOIN",
	4: "ETHEREUM",
}
View Source
var CoinType_value = map[string]int32{
	"BITCOIN":      0,
	"BITCOIN_CASH": 1,
	"ZCASH":        2,
	"LITECOIN":     3,
	"ETHEREUM":     4,
}
View Source
var FeeLevel_name = map[int32]string{
	0: "ECONOMIC",
	1: "NORMAL",
	2: "PRIORITY",
}
View Source
var FeeLevel_value = map[string]int32{
	"ECONOMIC": 0,
	"NORMAL":   1,
	"PRIORITY": 2,
}
View Source
var KeyPurpose_name = map[int32]string{
	0: "INTERNAL",
	1: "EXTERNAL",
}
View Source
var KeyPurpose_value = map[string]int32{
	"INTERNAL": 0,
	"EXTERNAL": 1,
}

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	Stop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	CurrentAddress(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error)
	NewAddress(ctx context.Context, in *KeySelection, opts ...grpc.CallOption) (*Address, error)
	ChainTip(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Height, error)
	Balance(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Balances, error)
	MasterPrivateKey(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Key, error)
	MasterPublicKey(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Key, error)
	HasKey(ctx context.Context, in *Address, opts ...grpc.CallOption) (*BoolResponse, error)
	Params(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NetParams, error)
	Transactions(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*TransactionList, error)
	GetTransaction(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Tx, error)
	GetFeePerByte(ctx context.Context, in *FeeLevelSelection, opts ...grpc.CallOption) (*FeePerByte, error)
	Spend(ctx context.Context, in *SpendInfo, opts ...grpc.CallOption) (*Txid, error)
	BumpFee(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Txid, error)
	AddWatchedScript(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Empty, error)
	GetConfirmations(ctx context.Context, in *Txid, opts ...grpc.CallOption) (*Confirmations, error)
	SweepAddress(ctx context.Context, in *SweepInfo, opts ...grpc.CallOption) (*Txid, error)
	CreateMultisigSignature(ctx context.Context, in *CreateMultisigInfo, opts ...grpc.CallOption) (*SignatureList, error)
	Multisign(ctx context.Context, in *MultisignInfo, opts ...grpc.CallOption) (*RawTx, error)
	EstimateFee(ctx context.Context, in *EstimateFeeData, opts ...grpc.CallOption) (*Fee, error)
	GetKey(ctx context.Context, in *Address, opts ...grpc.CallOption) (*Key, error)
	ListKeys(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Keys, error)
	ListAddresses(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (*Addresses, error)
	WalletNotify(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (API_WalletNotifyClient, error)
	DumpTables(ctx context.Context, in *CoinSelection, opts ...grpc.CallOption) (API_DumpTablesClient, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

type APIServer interface {
	Stop(context.Context, *Empty) (*Empty, error)
	CurrentAddress(context.Context, *KeySelection) (*Address, error)
	NewAddress(context.Context, *KeySelection) (*Address, error)
	ChainTip(context.Context, *CoinSelection) (*Height, error)
	Balance(context.Context, *CoinSelection) (*Balances, error)
	MasterPrivateKey(context.Context, *CoinSelection) (*Key, error)
	MasterPublicKey(context.Context, *CoinSelection) (*Key, error)
	HasKey(context.Context, *Address) (*BoolResponse, error)
	Params(context.Context, *Empty) (*NetParams, error)
	Transactions(context.Context, *CoinSelection) (*TransactionList, error)
	GetTransaction(context.Context, *Txid) (*Tx, error)
	GetFeePerByte(context.Context, *FeeLevelSelection) (*FeePerByte, error)
	Spend(context.Context, *SpendInfo) (*Txid, error)
	BumpFee(context.Context, *Txid) (*Txid, error)
	AddWatchedScript(context.Context, *Address) (*Empty, error)
	GetConfirmations(context.Context, *Txid) (*Confirmations, error)
	SweepAddress(context.Context, *SweepInfo) (*Txid, error)
	CreateMultisigSignature(context.Context, *CreateMultisigInfo) (*SignatureList, error)
	Multisign(context.Context, *MultisignInfo) (*RawTx, error)
	EstimateFee(context.Context, *EstimateFeeData) (*Fee, error)
	GetKey(context.Context, *Address) (*Key, error)
	ListKeys(context.Context, *CoinSelection) (*Keys, error)
	ListAddresses(context.Context, *CoinSelection) (*Addresses, error)
	WalletNotify(*CoinSelection, API_WalletNotifyServer) error
	DumpTables(*CoinSelection, API_DumpTablesServer) error
}

APIServer is the server API for API service.

type API_DumpTablesClient

type API_DumpTablesClient interface {
	Recv() (*Row, error)
	grpc.ClientStream
}

type API_DumpTablesServer

type API_DumpTablesServer interface {
	Send(*Row) error
	grpc.ServerStream
}

type API_WalletNotifyClient

type API_WalletNotifyClient interface {
	Recv() (*Tx, error)
	grpc.ClientStream
}

type API_WalletNotifyServer

type API_WalletNotifyServer interface {
	Send(*Tx) error
	grpc.ServerStream
}

type Address

type Address struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Address) Descriptor

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

func (*Address) GetAddr

func (m *Address) GetAddr() string

func (*Address) GetCoin

func (m *Address) GetCoin() CoinType

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Address) XXX_Merge

func (dst *Address) XXX_Merge(src proto.Message)

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

func (m *Address) XXX_Unmarshal(b []byte) error

type Addresses

type Addresses struct {
	Addresses            []*Address `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Addresses) Descriptor

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

func (*Addresses) GetAddresses

func (m *Addresses) GetAddresses() []*Address

func (*Addresses) ProtoMessage

func (*Addresses) ProtoMessage()

func (*Addresses) Reset

func (m *Addresses) Reset()

func (*Addresses) String

func (m *Addresses) String() string

func (*Addresses) XXX_DiscardUnknown

func (m *Addresses) XXX_DiscardUnknown()

func (*Addresses) XXX_Marshal

func (m *Addresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Addresses) XXX_Merge

func (dst *Addresses) XXX_Merge(src proto.Message)

func (*Addresses) XXX_Size

func (m *Addresses) XXX_Size() int

func (*Addresses) XXX_Unmarshal

func (m *Addresses) XXX_Unmarshal(b []byte) error

type Balances

type Balances struct {
	Confirmed            uint64   `protobuf:"varint,1,opt,name=confirmed,proto3" json:"confirmed,omitempty"`
	Unconfirmed          uint64   `protobuf:"varint,2,opt,name=unconfirmed,proto3" json:"unconfirmed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Balances) Descriptor

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

func (*Balances) GetConfirmed

func (m *Balances) GetConfirmed() uint64

func (*Balances) GetUnconfirmed

func (m *Balances) GetUnconfirmed() uint64

func (*Balances) ProtoMessage

func (*Balances) ProtoMessage()

func (*Balances) Reset

func (m *Balances) Reset()

func (*Balances) String

func (m *Balances) String() string

func (*Balances) XXX_DiscardUnknown

func (m *Balances) XXX_DiscardUnknown()

func (*Balances) XXX_Marshal

func (m *Balances) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Balances) XXX_Merge

func (dst *Balances) XXX_Merge(src proto.Message)

func (*Balances) XXX_Size

func (m *Balances) XXX_Size() int

func (*Balances) XXX_Unmarshal

func (m *Balances) XXX_Unmarshal(b []byte) error

type BoolResponse

type BoolResponse struct {
	Bool                 bool     `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BoolResponse) Descriptor

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

func (*BoolResponse) GetBool

func (m *BoolResponse) GetBool() bool

func (*BoolResponse) ProtoMessage

func (*BoolResponse) ProtoMessage()

func (*BoolResponse) Reset

func (m *BoolResponse) Reset()

func (*BoolResponse) String

func (m *BoolResponse) String() string

func (*BoolResponse) XXX_DiscardUnknown

func (m *BoolResponse) XXX_DiscardUnknown()

func (*BoolResponse) XXX_Marshal

func (m *BoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolResponse) XXX_Merge

func (dst *BoolResponse) XXX_Merge(src proto.Message)

func (*BoolResponse) XXX_Size

func (m *BoolResponse) XXX_Size() int

func (*BoolResponse) XXX_Unmarshal

func (m *BoolResponse) XXX_Unmarshal(b []byte) error

type CoinSelection

type CoinSelection struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CoinSelection) Descriptor

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

func (*CoinSelection) GetCoin

func (m *CoinSelection) GetCoin() CoinType

func (*CoinSelection) ProtoMessage

func (*CoinSelection) ProtoMessage()

func (*CoinSelection) Reset

func (m *CoinSelection) Reset()

func (*CoinSelection) String

func (m *CoinSelection) String() string

func (*CoinSelection) XXX_DiscardUnknown

func (m *CoinSelection) XXX_DiscardUnknown()

func (*CoinSelection) XXX_Marshal

func (m *CoinSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CoinSelection) XXX_Merge

func (dst *CoinSelection) XXX_Merge(src proto.Message)

func (*CoinSelection) XXX_Size

func (m *CoinSelection) XXX_Size() int

func (*CoinSelection) XXX_Unmarshal

func (m *CoinSelection) XXX_Unmarshal(b []byte) error

type CoinType

type CoinType int32
const (
	CoinType_BITCOIN      CoinType = 0
	CoinType_BITCOIN_CASH CoinType = 1
	CoinType_ZCASH        CoinType = 2
	CoinType_LITECOIN     CoinType = 3
	CoinType_ETHEREUM     CoinType = 4
)

func (CoinType) EnumDescriptor

func (CoinType) EnumDescriptor() ([]byte, []int)

func (CoinType) String

func (x CoinType) String() string

type Confirmations

type Confirmations struct {
	Confirmations        uint32   `protobuf:"varint,1,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Confirmations) Descriptor

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

func (*Confirmations) GetConfirmations

func (m *Confirmations) GetConfirmations() uint32

func (*Confirmations) ProtoMessage

func (*Confirmations) ProtoMessage()

func (*Confirmations) Reset

func (m *Confirmations) Reset()

func (*Confirmations) String

func (m *Confirmations) String() string

func (*Confirmations) XXX_DiscardUnknown

func (m *Confirmations) XXX_DiscardUnknown()

func (*Confirmations) XXX_Marshal

func (m *Confirmations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Confirmations) XXX_Merge

func (dst *Confirmations) XXX_Merge(src proto.Message)

func (*Confirmations) XXX_Size

func (m *Confirmations) XXX_Size() int

func (*Confirmations) XXX_Unmarshal

func (m *Confirmations) XXX_Unmarshal(b []byte) error

type CreateMultisigInfo

type CreateMultisigInfo struct {
	Coin                 CoinType  `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Inputs               []*Input  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs              []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Key                  string    `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	RedeemScript         []byte    `protobuf:"bytes,5,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"`
	FeePerByte           uint64    `protobuf:"varint,6,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateMultisigInfo) Descriptor

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

func (*CreateMultisigInfo) GetCoin

func (m *CreateMultisigInfo) GetCoin() CoinType

func (*CreateMultisigInfo) GetFeePerByte

func (m *CreateMultisigInfo) GetFeePerByte() uint64

func (*CreateMultisigInfo) GetInputs

func (m *CreateMultisigInfo) GetInputs() []*Input

func (*CreateMultisigInfo) GetKey

func (m *CreateMultisigInfo) GetKey() string

func (*CreateMultisigInfo) GetOutputs

func (m *CreateMultisigInfo) GetOutputs() []*Output

func (*CreateMultisigInfo) GetRedeemScript

func (m *CreateMultisigInfo) GetRedeemScript() []byte

func (*CreateMultisigInfo) ProtoMessage

func (*CreateMultisigInfo) ProtoMessage()

func (*CreateMultisigInfo) Reset

func (m *CreateMultisigInfo) Reset()

func (*CreateMultisigInfo) String

func (m *CreateMultisigInfo) String() string

func (*CreateMultisigInfo) XXX_DiscardUnknown

func (m *CreateMultisigInfo) XXX_DiscardUnknown()

func (*CreateMultisigInfo) XXX_Marshal

func (m *CreateMultisigInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateMultisigInfo) XXX_Merge

func (dst *CreateMultisigInfo) XXX_Merge(src proto.Message)

func (*CreateMultisigInfo) XXX_Size

func (m *CreateMultisigInfo) XXX_Size() int

func (*CreateMultisigInfo) XXX_Unmarshal

func (m *CreateMultisigInfo) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type EstimateFeeData

type EstimateFeeData struct {
	Coin                 CoinType  `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Inputs               []*Input  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs              []*Output `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	FeePerByte           uint64    `protobuf:"varint,4,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*EstimateFeeData) Descriptor

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

func (*EstimateFeeData) GetCoin

func (m *EstimateFeeData) GetCoin() CoinType

func (*EstimateFeeData) GetFeePerByte

func (m *EstimateFeeData) GetFeePerByte() uint64

func (*EstimateFeeData) GetInputs

func (m *EstimateFeeData) GetInputs() []*Input

func (*EstimateFeeData) GetOutputs

func (m *EstimateFeeData) GetOutputs() []*Output

func (*EstimateFeeData) ProtoMessage

func (*EstimateFeeData) ProtoMessage()

func (*EstimateFeeData) Reset

func (m *EstimateFeeData) Reset()

func (*EstimateFeeData) String

func (m *EstimateFeeData) String() string

func (*EstimateFeeData) XXX_DiscardUnknown

func (m *EstimateFeeData) XXX_DiscardUnknown()

func (*EstimateFeeData) XXX_Marshal

func (m *EstimateFeeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EstimateFeeData) XXX_Merge

func (dst *EstimateFeeData) XXX_Merge(src proto.Message)

func (*EstimateFeeData) XXX_Size

func (m *EstimateFeeData) XXX_Size() int

func (*EstimateFeeData) XXX_Unmarshal

func (m *EstimateFeeData) XXX_Unmarshal(b []byte) error

type Fee

type Fee struct {
	Fee                  uint64   `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Fee) Descriptor

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

func (*Fee) GetFee

func (m *Fee) GetFee() uint64

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) Reset

func (m *Fee) Reset()

func (*Fee) String

func (m *Fee) String() string

func (*Fee) XXX_DiscardUnknown

func (m *Fee) XXX_DiscardUnknown()

func (*Fee) XXX_Marshal

func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fee) XXX_Merge

func (dst *Fee) XXX_Merge(src proto.Message)

func (*Fee) XXX_Size

func (m *Fee) XXX_Size() int

func (*Fee) XXX_Unmarshal

func (m *Fee) XXX_Unmarshal(b []byte) error

type FeeLevel

type FeeLevel int32
const (
	FeeLevel_ECONOMIC FeeLevel = 0
	FeeLevel_NORMAL   FeeLevel = 1
	FeeLevel_PRIORITY FeeLevel = 2
)

func (FeeLevel) EnumDescriptor

func (FeeLevel) EnumDescriptor() ([]byte, []int)

func (FeeLevel) String

func (x FeeLevel) String() string

type FeeLevelSelection

type FeeLevelSelection struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	FeeLevel             FeeLevel `protobuf:"varint,2,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeeLevelSelection) Descriptor

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

func (*FeeLevelSelection) GetCoin

func (m *FeeLevelSelection) GetCoin() CoinType

func (*FeeLevelSelection) GetFeeLevel

func (m *FeeLevelSelection) GetFeeLevel() FeeLevel

func (*FeeLevelSelection) ProtoMessage

func (*FeeLevelSelection) ProtoMessage()

func (*FeeLevelSelection) Reset

func (m *FeeLevelSelection) Reset()

func (*FeeLevelSelection) String

func (m *FeeLevelSelection) String() string

func (*FeeLevelSelection) XXX_DiscardUnknown

func (m *FeeLevelSelection) XXX_DiscardUnknown()

func (*FeeLevelSelection) XXX_Marshal

func (m *FeeLevelSelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeLevelSelection) XXX_Merge

func (dst *FeeLevelSelection) XXX_Merge(src proto.Message)

func (*FeeLevelSelection) XXX_Size

func (m *FeeLevelSelection) XXX_Size() int

func (*FeeLevelSelection) XXX_Unmarshal

func (m *FeeLevelSelection) XXX_Unmarshal(b []byte) error

type FeePerByte

type FeePerByte struct {
	Fee                  uint64   `protobuf:"varint,1,opt,name=fee,proto3" json:"fee,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FeePerByte) Descriptor

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

func (*FeePerByte) GetFee

func (m *FeePerByte) GetFee() uint64

func (*FeePerByte) ProtoMessage

func (*FeePerByte) ProtoMessage()

func (*FeePerByte) Reset

func (m *FeePerByte) Reset()

func (*FeePerByte) String

func (m *FeePerByte) String() string

func (*FeePerByte) XXX_DiscardUnknown

func (m *FeePerByte) XXX_DiscardUnknown()

func (*FeePerByte) XXX_Marshal

func (m *FeePerByte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeePerByte) XXX_Merge

func (dst *FeePerByte) XXX_Merge(src proto.Message)

func (*FeePerByte) XXX_Size

func (m *FeePerByte) XXX_Size() int

func (*FeePerByte) XXX_Unmarshal

func (m *FeePerByte) XXX_Unmarshal(b []byte) error

type Height

type Height struct {
	Height               uint32   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Height) Descriptor

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

func (*Height) GetHeight

func (m *Height) GetHeight() uint32

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) Reset

func (m *Height) Reset()

func (*Height) String

func (m *Height) String() string

func (*Height) XXX_DiscardUnknown

func (m *Height) XXX_DiscardUnknown()

func (*Height) XXX_Marshal

func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Height) XXX_Merge

func (dst *Height) XXX_Merge(src proto.Message)

func (*Height) XXX_Size

func (m *Height) XXX_Size() int

func (*Height) XXX_Unmarshal

func (m *Height) XXX_Unmarshal(b []byte) error

type Input

type Input struct {
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Index                uint32   `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Input) Descriptor

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

func (*Input) GetIndex

func (m *Input) GetIndex() uint32

func (*Input) GetTxid

func (m *Input) GetTxid() string

func (*Input) ProtoMessage

func (*Input) ProtoMessage()

func (*Input) Reset

func (m *Input) Reset()

func (*Input) String

func (m *Input) String() string

func (*Input) XXX_DiscardUnknown

func (m *Input) XXX_DiscardUnknown()

func (*Input) XXX_Marshal

func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Input) XXX_Merge

func (dst *Input) XXX_Merge(src proto.Message)

func (*Input) XXX_Size

func (m *Input) XXX_Size() int

func (*Input) XXX_Unmarshal

func (m *Input) XXX_Unmarshal(b []byte) error

type Key

type Key struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Key) Descriptor

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

func (*Key) GetKey

func (m *Key) GetKey() string

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) Reset

func (m *Key) Reset()

func (*Key) String

func (m *Key) String() string

func (*Key) XXX_DiscardUnknown

func (m *Key) XXX_DiscardUnknown()

func (*Key) XXX_Marshal

func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Key) XXX_Merge

func (dst *Key) XXX_Merge(src proto.Message)

func (*Key) XXX_Size

func (m *Key) XXX_Size() int

func (*Key) XXX_Unmarshal

func (m *Key) XXX_Unmarshal(b []byte) error

type KeyPurpose

type KeyPurpose int32
const (
	KeyPurpose_INTERNAL KeyPurpose = 0
	KeyPurpose_EXTERNAL KeyPurpose = 1
)

func (KeyPurpose) EnumDescriptor

func (KeyPurpose) EnumDescriptor() ([]byte, []int)

func (KeyPurpose) String

func (x KeyPurpose) String() string

type KeySelection

type KeySelection struct {
	Coin                 CoinType   `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Purpose              KeyPurpose `protobuf:"varint,2,opt,name=purpose,proto3,enum=pb.KeyPurpose" json:"purpose,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*KeySelection) Descriptor

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

func (*KeySelection) GetCoin

func (m *KeySelection) GetCoin() CoinType

func (*KeySelection) GetPurpose

func (m *KeySelection) GetPurpose() KeyPurpose

func (*KeySelection) ProtoMessage

func (*KeySelection) ProtoMessage()

func (*KeySelection) Reset

func (m *KeySelection) Reset()

func (*KeySelection) String

func (m *KeySelection) String() string

func (*KeySelection) XXX_DiscardUnknown

func (m *KeySelection) XXX_DiscardUnknown()

func (*KeySelection) XXX_Marshal

func (m *KeySelection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeySelection) XXX_Merge

func (dst *KeySelection) XXX_Merge(src proto.Message)

func (*KeySelection) XXX_Size

func (m *KeySelection) XXX_Size() int

func (*KeySelection) XXX_Unmarshal

func (m *KeySelection) XXX_Unmarshal(b []byte) error

type Keys

type Keys struct {
	Keys                 []*Key   `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Keys) Descriptor

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

func (*Keys) GetKeys

func (m *Keys) GetKeys() []*Key

func (*Keys) ProtoMessage

func (*Keys) ProtoMessage()

func (*Keys) Reset

func (m *Keys) Reset()

func (*Keys) String

func (m *Keys) String() string

func (*Keys) XXX_DiscardUnknown

func (m *Keys) XXX_DiscardUnknown()

func (*Keys) XXX_Marshal

func (m *Keys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Keys) XXX_Merge

func (dst *Keys) XXX_Merge(src proto.Message)

func (*Keys) XXX_Size

func (m *Keys) XXX_Size() int

func (*Keys) XXX_Unmarshal

func (m *Keys) XXX_Unmarshal(b []byte) error

type MultisignInfo

type MultisignInfo struct {
	Coin                 CoinType     `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Inputs               []*Input     `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Outputs              []*Output    `protobuf:"bytes,3,rep,name=outputs,proto3" json:"outputs,omitempty"`
	Sig1                 []*Signature `protobuf:"bytes,4,rep,name=sig1,proto3" json:"sig1,omitempty"`
	Sig2                 []*Signature `protobuf:"bytes,5,rep,name=sig2,proto3" json:"sig2,omitempty"`
	RedeemScript         []byte       `protobuf:"bytes,6,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"`
	FeePerByte           uint64       `protobuf:"varint,7,opt,name=feePerByte,proto3" json:"feePerByte,omitempty"`
	Broadcast            bool         `protobuf:"varint,8,opt,name=broadcast,proto3" json:"broadcast,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*MultisignInfo) Descriptor

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

func (*MultisignInfo) GetBroadcast

func (m *MultisignInfo) GetBroadcast() bool

func (*MultisignInfo) GetCoin

func (m *MultisignInfo) GetCoin() CoinType

func (*MultisignInfo) GetFeePerByte

func (m *MultisignInfo) GetFeePerByte() uint64

func (*MultisignInfo) GetInputs

func (m *MultisignInfo) GetInputs() []*Input

func (*MultisignInfo) GetOutputs

func (m *MultisignInfo) GetOutputs() []*Output

func (*MultisignInfo) GetRedeemScript

func (m *MultisignInfo) GetRedeemScript() []byte

func (*MultisignInfo) GetSig1

func (m *MultisignInfo) GetSig1() []*Signature

func (*MultisignInfo) GetSig2

func (m *MultisignInfo) GetSig2() []*Signature

func (*MultisignInfo) ProtoMessage

func (*MultisignInfo) ProtoMessage()

func (*MultisignInfo) Reset

func (m *MultisignInfo) Reset()

func (*MultisignInfo) String

func (m *MultisignInfo) String() string

func (*MultisignInfo) XXX_DiscardUnknown

func (m *MultisignInfo) XXX_DiscardUnknown()

func (*MultisignInfo) XXX_Marshal

func (m *MultisignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultisignInfo) XXX_Merge

func (dst *MultisignInfo) XXX_Merge(src proto.Message)

func (*MultisignInfo) XXX_Size

func (m *MultisignInfo) XXX_Size() int

func (*MultisignInfo) XXX_Unmarshal

func (m *MultisignInfo) XXX_Unmarshal(b []byte) error

type NetParams

type NetParams struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetParams) Descriptor

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

func (*NetParams) GetName

func (m *NetParams) GetName() string

func (*NetParams) ProtoMessage

func (*NetParams) ProtoMessage()

func (*NetParams) Reset

func (m *NetParams) Reset()

func (*NetParams) String

func (m *NetParams) String() string

func (*NetParams) XXX_DiscardUnknown

func (m *NetParams) XXX_DiscardUnknown()

func (*NetParams) XXX_Marshal

func (m *NetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetParams) XXX_Merge

func (dst *NetParams) XXX_Merge(src proto.Message)

func (*NetParams) XXX_Size

func (m *NetParams) XXX_Size() int

func (*NetParams) XXX_Unmarshal

func (m *NetParams) XXX_Unmarshal(b []byte) error

type Output

type Output struct {
	ScriptPubKey         []byte   `protobuf:"bytes,1,opt,name=scriptPubKey,proto3" json:"scriptPubKey,omitempty"`
	Value                uint64   `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Output) Descriptor

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

func (*Output) GetScriptPubKey

func (m *Output) GetScriptPubKey() []byte

func (*Output) GetValue

func (m *Output) GetValue() uint64

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) Reset

func (m *Output) Reset()

func (*Output) String

func (m *Output) String() string

func (*Output) XXX_DiscardUnknown

func (m *Output) XXX_DiscardUnknown()

func (*Output) XXX_Marshal

func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Output) XXX_Merge

func (dst *Output) XXX_Merge(src proto.Message)

func (*Output) XXX_Size

func (m *Output) XXX_Size() int

func (*Output) XXX_Unmarshal

func (m *Output) XXX_Unmarshal(b []byte) error

type RawTx

type RawTx struct {
	Tx                   []byte   `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RawTx) Descriptor

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

func (*RawTx) GetTx

func (m *RawTx) GetTx() []byte

func (*RawTx) ProtoMessage

func (*RawTx) ProtoMessage()

func (*RawTx) Reset

func (m *RawTx) Reset()

func (*RawTx) String

func (m *RawTx) String() string

func (*RawTx) XXX_DiscardUnknown

func (m *RawTx) XXX_DiscardUnknown()

func (*RawTx) XXX_Marshal

func (m *RawTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RawTx) XXX_Merge

func (dst *RawTx) XXX_Merge(src proto.Message)

func (*RawTx) XXX_Size

func (m *RawTx) XXX_Size() int

func (*RawTx) XXX_Unmarshal

func (m *RawTx) XXX_Unmarshal(b []byte) error

type Row

type Row struct {
	Data                 string   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Row) Descriptor

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

func (*Row) GetData

func (m *Row) GetData() string

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (m *Row) Reset()

func (*Row) String

func (m *Row) String() string

func (*Row) XXX_DiscardUnknown

func (m *Row) XXX_DiscardUnknown()

func (*Row) XXX_Marshal

func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Row) XXX_Merge

func (dst *Row) XXX_Merge(src proto.Message)

func (*Row) XXX_Size

func (m *Row) XXX_Size() int

func (*Row) XXX_Unmarshal

func (m *Row) XXX_Unmarshal(b []byte) error

type Signature

type Signature struct {
	Index                uint32   `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Signature) Descriptor

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

func (*Signature) GetIndex

func (m *Signature) GetIndex() uint32

func (*Signature) GetSignature

func (m *Signature) GetSignature() []byte

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) String

func (m *Signature) String() string

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature) XXX_Merge

func (dst *Signature) XXX_Merge(src proto.Message)

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

func (m *Signature) XXX_Unmarshal(b []byte) error

type SignatureList

type SignatureList struct {
	Sigs                 []*Signature `protobuf:"bytes,1,rep,name=sigs,proto3" json:"sigs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SignatureList) Descriptor

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

func (*SignatureList) GetSigs

func (m *SignatureList) GetSigs() []*Signature

func (*SignatureList) ProtoMessage

func (*SignatureList) ProtoMessage()

func (*SignatureList) Reset

func (m *SignatureList) Reset()

func (*SignatureList) String

func (m *SignatureList) String() string

func (*SignatureList) XXX_DiscardUnknown

func (m *SignatureList) XXX_DiscardUnknown()

func (*SignatureList) XXX_Marshal

func (m *SignatureList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureList) XXX_Merge

func (dst *SignatureList) XXX_Merge(src proto.Message)

func (*SignatureList) XXX_Size

func (m *SignatureList) XXX_Size() int

func (*SignatureList) XXX_Unmarshal

func (m *SignatureList) XXX_Unmarshal(b []byte) error

type SpendInfo

type SpendInfo struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Amount               uint64   `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	FeeLevel             FeeLevel `protobuf:"varint,4,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"`
	Memo                 string   `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SpendInfo) Descriptor

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

func (*SpendInfo) GetAddress

func (m *SpendInfo) GetAddress() string

func (*SpendInfo) GetAmount

func (m *SpendInfo) GetAmount() uint64

func (*SpendInfo) GetCoin

func (m *SpendInfo) GetCoin() CoinType

func (*SpendInfo) GetFeeLevel

func (m *SpendInfo) GetFeeLevel() FeeLevel

func (*SpendInfo) GetMemo

func (m *SpendInfo) GetMemo() string

func (*SpendInfo) ProtoMessage

func (*SpendInfo) ProtoMessage()

func (*SpendInfo) Reset

func (m *SpendInfo) Reset()

func (*SpendInfo) String

func (m *SpendInfo) String() string

func (*SpendInfo) XXX_DiscardUnknown

func (m *SpendInfo) XXX_DiscardUnknown()

func (*SpendInfo) XXX_Marshal

func (m *SpendInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpendInfo) XXX_Merge

func (dst *SpendInfo) XXX_Merge(src proto.Message)

func (*SpendInfo) XXX_Size

func (m *SpendInfo) XXX_Size() int

func (*SpendInfo) XXX_Unmarshal

func (m *SpendInfo) XXX_Unmarshal(b []byte) error

type SweepInfo

type SweepInfo struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Utxos                []*Utxo  `protobuf:"bytes,2,rep,name=utxos,proto3" json:"utxos,omitempty"`
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Key                  string   `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	RedeemScript         []byte   `protobuf:"bytes,5,opt,name=redeemScript,proto3" json:"redeemScript,omitempty"`
	FeeLevel             FeeLevel `protobuf:"varint,6,opt,name=feeLevel,proto3,enum=pb.FeeLevel" json:"feeLevel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SweepInfo) Descriptor

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

func (*SweepInfo) GetAddress

func (m *SweepInfo) GetAddress() string

func (*SweepInfo) GetCoin

func (m *SweepInfo) GetCoin() CoinType

func (*SweepInfo) GetFeeLevel

func (m *SweepInfo) GetFeeLevel() FeeLevel

func (*SweepInfo) GetKey

func (m *SweepInfo) GetKey() string

func (*SweepInfo) GetRedeemScript

func (m *SweepInfo) GetRedeemScript() []byte

func (*SweepInfo) GetUtxos

func (m *SweepInfo) GetUtxos() []*Utxo

func (*SweepInfo) ProtoMessage

func (*SweepInfo) ProtoMessage()

func (*SweepInfo) Reset

func (m *SweepInfo) Reset()

func (*SweepInfo) String

func (m *SweepInfo) String() string

func (*SweepInfo) XXX_DiscardUnknown

func (m *SweepInfo) XXX_DiscardUnknown()

func (*SweepInfo) XXX_Marshal

func (m *SweepInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SweepInfo) XXX_Merge

func (dst *SweepInfo) XXX_Merge(src proto.Message)

func (*SweepInfo) XXX_Size

func (m *SweepInfo) XXX_Size() int

func (*SweepInfo) XXX_Unmarshal

func (m *SweepInfo) XXX_Unmarshal(b []byte) error

type TransactionList

type TransactionList struct {
	Transactions         []*Tx    `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TransactionList) Descriptor

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

func (*TransactionList) GetTransactions

func (m *TransactionList) GetTransactions() []*Tx

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) Reset

func (m *TransactionList) Reset()

func (*TransactionList) String

func (m *TransactionList) String() string

func (*TransactionList) XXX_DiscardUnknown

func (m *TransactionList) XXX_DiscardUnknown()

func (*TransactionList) XXX_Marshal

func (m *TransactionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransactionList) XXX_Merge

func (dst *TransactionList) XXX_Merge(src proto.Message)

func (*TransactionList) XXX_Size

func (m *TransactionList) XXX_Size() int

func (*TransactionList) XXX_Unmarshal

func (m *TransactionList) XXX_Unmarshal(b []byte) error

type Tx

type Tx struct {
	Txid                 string               `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Value                int64                `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Height               int32                `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp            *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	WatchOnly            bool                 `protobuf:"varint,5,opt,name=watchOnly,proto3" json:"watchOnly,omitempty"`
	Raw                  []byte               `protobuf:"bytes,6,opt,name=raw,proto3" json:"raw,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Tx) Descriptor

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

func (*Tx) GetHeight

func (m *Tx) GetHeight() int32

func (*Tx) GetRaw

func (m *Tx) GetRaw() []byte

func (*Tx) GetTimestamp

func (m *Tx) GetTimestamp() *timestamp.Timestamp

func (*Tx) GetTxid

func (m *Tx) GetTxid() string

func (*Tx) GetValue

func (m *Tx) GetValue() int64

func (*Tx) GetWatchOnly

func (m *Tx) GetWatchOnly() bool

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) Reset

func (m *Tx) Reset()

func (*Tx) String

func (m *Tx) String() string

func (*Tx) XXX_DiscardUnknown

func (m *Tx) XXX_DiscardUnknown()

func (*Tx) XXX_Marshal

func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tx) XXX_Merge

func (dst *Tx) XXX_Merge(src proto.Message)

func (*Tx) XXX_Size

func (m *Tx) XXX_Size() int

func (*Tx) XXX_Unmarshal

func (m *Tx) XXX_Unmarshal(b []byte) error

type Txid

type Txid struct {
	Coin                 CoinType `protobuf:"varint,1,opt,name=coin,proto3,enum=pb.CoinType" json:"coin,omitempty"`
	Hash                 string   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Txid) Descriptor

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

func (*Txid) GetCoin

func (m *Txid) GetCoin() CoinType

func (*Txid) GetHash

func (m *Txid) GetHash() string

func (*Txid) ProtoMessage

func (*Txid) ProtoMessage()

func (*Txid) Reset

func (m *Txid) Reset()

func (*Txid) String

func (m *Txid) String() string

func (*Txid) XXX_DiscardUnknown

func (m *Txid) XXX_DiscardUnknown()

func (*Txid) XXX_Marshal

func (m *Txid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Txid) XXX_Merge

func (dst *Txid) XXX_Merge(src proto.Message)

func (*Txid) XXX_Size

func (m *Txid) XXX_Size() int

func (*Txid) XXX_Unmarshal

func (m *Txid) XXX_Unmarshal(b []byte) error

type Utxo

type Utxo struct {
	Txid                 string   `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
	Index                uint32   `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Value                uint64   `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Utxo) Descriptor

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

func (*Utxo) GetIndex

func (m *Utxo) GetIndex() uint32

func (*Utxo) GetTxid

func (m *Utxo) GetTxid() string

func (*Utxo) GetValue

func (m *Utxo) GetValue() uint64

func (*Utxo) ProtoMessage

func (*Utxo) ProtoMessage()

func (*Utxo) Reset

func (m *Utxo) Reset()

func (*Utxo) String

func (m *Utxo) String() string

func (*Utxo) XXX_DiscardUnknown

func (m *Utxo) XXX_DiscardUnknown()

func (*Utxo) XXX_Marshal

func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Utxo) XXX_Merge

func (dst *Utxo) XXX_Merge(src proto.Message)

func (*Utxo) XXX_Size

func (m *Utxo) XXX_Size() int

func (*Utxo) XXX_Unmarshal

func (m *Utxo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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