boltzrpc

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBoltzServer

func RegisterBoltzServer(s *grpc.Server, srv BoltzServer)

Types

type BoltzClient

BoltzClient is the client API for Boltz service.

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

func NewBoltzClient

func NewBoltzClient(cc *grpc.ClientConn) BoltzClient

type ChannelCreationInfo

type ChannelCreationInfo struct {
	SwapId                 string   `protobuf:"bytes,1,opt,name=swap_id,json=swapId,proto3" json:"swap_id,omitempty"`
	Status                 string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	InboundLiquidity       uint32   `protobuf:"varint,3,opt,name=inbound_liquidity,json=inboundLiquidity,proto3" json:"inbound_liquidity,omitempty"`
	Private                bool     `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"`
	FundingTransactionId   string   `protobuf:"bytes,5,opt,name=funding_transaction_id,json=fundingTransactionId,proto3" json:"funding_transaction_id,omitempty"`
	FundingTransactionVout uint32   `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*ChannelCreationInfo) Descriptor

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

func (*ChannelCreationInfo) GetFundingTransactionId

func (m *ChannelCreationInfo) GetFundingTransactionId() string

func (*ChannelCreationInfo) GetFundingTransactionVout

func (m *ChannelCreationInfo) GetFundingTransactionVout() uint32

func (*ChannelCreationInfo) GetInboundLiquidity

func (m *ChannelCreationInfo) GetInboundLiquidity() uint32

func (*ChannelCreationInfo) GetPrivate

func (m *ChannelCreationInfo) GetPrivate() bool

func (*ChannelCreationInfo) GetStatus

func (m *ChannelCreationInfo) GetStatus() string

func (*ChannelCreationInfo) GetSwapId

func (m *ChannelCreationInfo) GetSwapId() string

func (*ChannelCreationInfo) ProtoMessage

func (*ChannelCreationInfo) ProtoMessage()

func (*ChannelCreationInfo) Reset

func (m *ChannelCreationInfo) Reset()

func (*ChannelCreationInfo) String

func (m *ChannelCreationInfo) String() string

func (*ChannelCreationInfo) XXX_DiscardUnknown

func (m *ChannelCreationInfo) XXX_DiscardUnknown()

func (*ChannelCreationInfo) XXX_Marshal

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

func (*ChannelCreationInfo) XXX_Merge

func (m *ChannelCreationInfo) XXX_Merge(src proto.Message)

func (*ChannelCreationInfo) XXX_Size

func (m *ChannelCreationInfo) XXX_Size() int

func (*ChannelCreationInfo) XXX_Unmarshal

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

type CombinedChannelSwapInfo

type CombinedChannelSwapInfo struct {
	Swap                 *SwapInfo            `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"`
	ChannelCreation      *ChannelCreationInfo `protobuf:"bytes,2,opt,name=channel_creation,json=channelCreation,proto3" json:"channel_creation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CombinedChannelSwapInfo) Descriptor

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

func (*CombinedChannelSwapInfo) GetChannelCreation

func (m *CombinedChannelSwapInfo) GetChannelCreation() *ChannelCreationInfo

func (*CombinedChannelSwapInfo) GetSwap

func (m *CombinedChannelSwapInfo) GetSwap() *SwapInfo

func (*CombinedChannelSwapInfo) ProtoMessage

func (*CombinedChannelSwapInfo) ProtoMessage()

func (*CombinedChannelSwapInfo) Reset

func (m *CombinedChannelSwapInfo) Reset()

func (*CombinedChannelSwapInfo) String

func (m *CombinedChannelSwapInfo) String() string

func (*CombinedChannelSwapInfo) XXX_DiscardUnknown

func (m *CombinedChannelSwapInfo) XXX_DiscardUnknown()

func (*CombinedChannelSwapInfo) XXX_Marshal

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

func (*CombinedChannelSwapInfo) XXX_Merge

func (m *CombinedChannelSwapInfo) XXX_Merge(src proto.Message)

func (*CombinedChannelSwapInfo) XXX_Size

func (m *CombinedChannelSwapInfo) XXX_Size() int

func (*CombinedChannelSwapInfo) XXX_Unmarshal

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

type CreateChannelRequest

type CreateChannelRequest struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	InboundLiquidity     uint32   `protobuf:"varint,2,opt,name=inbound_liquidity,json=inboundLiquidity,proto3" json:"inbound_liquidity,omitempty"`
	Private              bool     `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateChannelRequest) Descriptor

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

func (*CreateChannelRequest) GetAmount

func (m *CreateChannelRequest) GetAmount() int64

func (*CreateChannelRequest) GetInboundLiquidity

func (m *CreateChannelRequest) GetInboundLiquidity() uint32

func (*CreateChannelRequest) GetPrivate

func (m *CreateChannelRequest) GetPrivate() bool

func (*CreateChannelRequest) ProtoMessage

func (*CreateChannelRequest) ProtoMessage()

func (*CreateChannelRequest) Reset

func (m *CreateChannelRequest) Reset()

func (*CreateChannelRequest) String

func (m *CreateChannelRequest) String() string

func (*CreateChannelRequest) XXX_DiscardUnknown

func (m *CreateChannelRequest) XXX_DiscardUnknown()

func (*CreateChannelRequest) XXX_Marshal

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

func (*CreateChannelRequest) XXX_Merge

func (m *CreateChannelRequest) XXX_Merge(src proto.Message)

func (*CreateChannelRequest) XXX_Size

func (m *CreateChannelRequest) XXX_Size() int

func (*CreateChannelRequest) XXX_Unmarshal

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

type CreateReverseSwapRequest

type CreateReverseSwapRequest struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	AcceptZeroConf       bool     `protobuf:"varint,3,opt,name=accept_zero_conf,json=acceptZeroConf,proto3" json:"accept_zero_conf,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateReverseSwapRequest) Descriptor

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

func (*CreateReverseSwapRequest) GetAcceptZeroConf

func (m *CreateReverseSwapRequest) GetAcceptZeroConf() bool

func (*CreateReverseSwapRequest) GetAddress

func (m *CreateReverseSwapRequest) GetAddress() string

func (*CreateReverseSwapRequest) GetAmount

func (m *CreateReverseSwapRequest) GetAmount() int64

func (*CreateReverseSwapRequest) ProtoMessage

func (*CreateReverseSwapRequest) ProtoMessage()

func (*CreateReverseSwapRequest) Reset

func (m *CreateReverseSwapRequest) Reset()

func (*CreateReverseSwapRequest) String

func (m *CreateReverseSwapRequest) String() string

func (*CreateReverseSwapRequest) XXX_DiscardUnknown

func (m *CreateReverseSwapRequest) XXX_DiscardUnknown()

func (*CreateReverseSwapRequest) XXX_Marshal

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

func (*CreateReverseSwapRequest) XXX_Merge

func (m *CreateReverseSwapRequest) XXX_Merge(src proto.Message)

func (*CreateReverseSwapRequest) XXX_Size

func (m *CreateReverseSwapRequest) XXX_Size() int

func (*CreateReverseSwapRequest) XXX_Unmarshal

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

type CreateReverseSwapResponse

type CreateReverseSwapResponse struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	LockupAddress      string `protobuf:"bytes,2,opt,name=lockup_address,json=lockupAddress,proto3" json:"lockup_address,omitempty"`
	RoutingFeeMilliSat uint32 `protobuf:"varint,3,opt,name=routing_fee_milli_sat,json=routingFeeMilliSat,proto3" json:"routing_fee_milli_sat,omitempty"`
	// Only populated when 0-conf is accepted
	ClaimTransactionId   string   `protobuf:"bytes,4,opt,name=claim_transaction_id,json=claimTransactionId,proto3" json:"claim_transaction_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateReverseSwapResponse) Descriptor

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

func (*CreateReverseSwapResponse) GetClaimTransactionId

func (m *CreateReverseSwapResponse) GetClaimTransactionId() string

func (*CreateReverseSwapResponse) GetId

func (m *CreateReverseSwapResponse) GetId() string

func (*CreateReverseSwapResponse) GetLockupAddress

func (m *CreateReverseSwapResponse) GetLockupAddress() string

func (*CreateReverseSwapResponse) GetRoutingFeeMilliSat

func (m *CreateReverseSwapResponse) GetRoutingFeeMilliSat() uint32

func (*CreateReverseSwapResponse) ProtoMessage

func (*CreateReverseSwapResponse) ProtoMessage()

func (*CreateReverseSwapResponse) Reset

func (m *CreateReverseSwapResponse) Reset()

func (*CreateReverseSwapResponse) String

func (m *CreateReverseSwapResponse) String() string

func (*CreateReverseSwapResponse) XXX_DiscardUnknown

func (m *CreateReverseSwapResponse) XXX_DiscardUnknown()

func (*CreateReverseSwapResponse) XXX_Marshal

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

func (*CreateReverseSwapResponse) XXX_Merge

func (m *CreateReverseSwapResponse) XXX_Merge(src proto.Message)

func (*CreateReverseSwapResponse) XXX_Size

func (m *CreateReverseSwapResponse) XXX_Size() int

func (*CreateReverseSwapResponse) XXX_Unmarshal

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

type CreateSwapRequest

type CreateSwapRequest struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateSwapRequest) Descriptor

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

func (*CreateSwapRequest) GetAmount

func (m *CreateSwapRequest) GetAmount() int64

func (*CreateSwapRequest) ProtoMessage

func (*CreateSwapRequest) ProtoMessage()

func (*CreateSwapRequest) Reset

func (m *CreateSwapRequest) Reset()

func (*CreateSwapRequest) String

func (m *CreateSwapRequest) String() string

func (*CreateSwapRequest) XXX_DiscardUnknown

func (m *CreateSwapRequest) XXX_DiscardUnknown()

func (*CreateSwapRequest) XXX_Marshal

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

func (*CreateSwapRequest) XXX_Merge

func (m *CreateSwapRequest) XXX_Merge(src proto.Message)

func (*CreateSwapRequest) XXX_Size

func (m *CreateSwapRequest) XXX_Size() int

func (*CreateSwapRequest) XXX_Unmarshal

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

type CreateSwapResponse

type CreateSwapResponse struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	ExpectedAmount       int64    `protobuf:"varint,3,opt,name=expected_amount,json=expectedAmount,proto3" json:"expected_amount,omitempty"`
	Bip21                string   `protobuf:"bytes,4,opt,name=bip21,proto3" json:"bip21,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateSwapResponse) Descriptor

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

func (*CreateSwapResponse) GetAddress

func (m *CreateSwapResponse) GetAddress() string

func (*CreateSwapResponse) GetBip21

func (m *CreateSwapResponse) GetBip21() string

func (*CreateSwapResponse) GetExpectedAmount

func (m *CreateSwapResponse) GetExpectedAmount() int64

func (*CreateSwapResponse) GetId

func (m *CreateSwapResponse) GetId() string

func (*CreateSwapResponse) ProtoMessage

func (*CreateSwapResponse) ProtoMessage()

func (*CreateSwapResponse) Reset

func (m *CreateSwapResponse) Reset()

func (*CreateSwapResponse) String

func (m *CreateSwapResponse) String() string

func (*CreateSwapResponse) XXX_DiscardUnknown

func (m *CreateSwapResponse) XXX_DiscardUnknown()

func (*CreateSwapResponse) XXX_Marshal

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

func (*CreateSwapResponse) XXX_Merge

func (m *CreateSwapResponse) XXX_Merge(src proto.Message)

func (*CreateSwapResponse) XXX_Size

func (m *CreateSwapResponse) XXX_Size() int

func (*CreateSwapResponse) XXX_Unmarshal

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

type DepositRequest

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

func (*DepositRequest) Descriptor

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

func (*DepositRequest) GetInboundLiquidity

func (m *DepositRequest) GetInboundLiquidity() uint32

func (*DepositRequest) ProtoMessage

func (*DepositRequest) ProtoMessage()

func (*DepositRequest) Reset

func (m *DepositRequest) Reset()

func (*DepositRequest) String

func (m *DepositRequest) String() string

func (*DepositRequest) XXX_DiscardUnknown

func (m *DepositRequest) XXX_DiscardUnknown()

func (*DepositRequest) XXX_Marshal

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

func (*DepositRequest) XXX_Merge

func (m *DepositRequest) XXX_Merge(src proto.Message)

func (*DepositRequest) XXX_Size

func (m *DepositRequest) XXX_Size() int

func (*DepositRequest) XXX_Unmarshal

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

type DepositResponse

type DepositResponse struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	TimeoutBlockHeight   uint32   `protobuf:"varint,3,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"`
	Fees                 *Fees    `protobuf:"bytes,4,opt,name=fees,proto3" json:"fees,omitempty"`
	Limits               *Limits  `protobuf:"bytes,5,opt,name=limits,proto3" json:"limits,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DepositResponse) Descriptor

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

func (*DepositResponse) GetAddress

func (m *DepositResponse) GetAddress() string

func (*DepositResponse) GetFees

func (m *DepositResponse) GetFees() *Fees

func (*DepositResponse) GetId

func (m *DepositResponse) GetId() string

func (*DepositResponse) GetLimits

func (m *DepositResponse) GetLimits() *Limits

func (*DepositResponse) GetTimeoutBlockHeight

func (m *DepositResponse) GetTimeoutBlockHeight() uint32

func (*DepositResponse) ProtoMessage

func (*DepositResponse) ProtoMessage()

func (*DepositResponse) Reset

func (m *DepositResponse) Reset()

func (*DepositResponse) String

func (m *DepositResponse) String() string

func (*DepositResponse) XXX_DiscardUnknown

func (m *DepositResponse) XXX_DiscardUnknown()

func (*DepositResponse) XXX_Marshal

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

func (*DepositResponse) XXX_Merge

func (m *DepositResponse) XXX_Merge(src proto.Message)

func (*DepositResponse) XXX_Size

func (m *DepositResponse) XXX_Size() int

func (*DepositResponse) XXX_Unmarshal

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

type Fees

type Fees struct {
	Percentage           float32    `protobuf:"fixed32,1,opt,name=percentage,proto3" json:"percentage,omitempty"`
	Miner                *MinerFees `protobuf:"bytes,2,opt,name=miner,proto3" json:"miner,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Fees) Descriptor

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

func (*Fees) GetMiner

func (m *Fees) GetMiner() *MinerFees

func (*Fees) GetPercentage

func (m *Fees) GetPercentage() float32

func (*Fees) ProtoMessage

func (*Fees) ProtoMessage()

func (*Fees) Reset

func (m *Fees) Reset()

func (*Fees) String

func (m *Fees) String() string

func (*Fees) XXX_DiscardUnknown

func (m *Fees) XXX_DiscardUnknown()

func (*Fees) XXX_Marshal

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

func (*Fees) XXX_Merge

func (m *Fees) XXX_Merge(src proto.Message)

func (*Fees) XXX_Size

func (m *Fees) XXX_Size() int

func (*Fees) XXX_Unmarshal

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

type GetInfoRequest

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

func (*GetInfoRequest) Descriptor

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

func (*GetInfoRequest) ProtoMessage

func (*GetInfoRequest) ProtoMessage()

func (*GetInfoRequest) Reset

func (m *GetInfoRequest) Reset()

func (*GetInfoRequest) String

func (m *GetInfoRequest) String() string

func (*GetInfoRequest) XXX_DiscardUnknown

func (m *GetInfoRequest) XXX_DiscardUnknown()

func (*GetInfoRequest) XXX_Marshal

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

func (*GetInfoRequest) XXX_Merge

func (m *GetInfoRequest) XXX_Merge(src proto.Message)

func (*GetInfoRequest) XXX_Size

func (m *GetInfoRequest) XXX_Size() int

func (*GetInfoRequest) XXX_Unmarshal

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

type GetInfoResponse

type GetInfoResponse struct {
	Symbol               string   `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	LndPubkey            string   `protobuf:"bytes,2,opt,name=lnd_pubkey,json=lndPubkey,proto3" json:"lnd_pubkey,omitempty"`
	BlockHeight          uint32   `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	PendingSwaps         []string `protobuf:"bytes,4,rep,name=pending_swaps,json=pendingSwaps,proto3" json:"pending_swaps,omitempty"`
	PendingReverseSwaps  []string `protobuf:"bytes,5,rep,name=pending_reverse_swaps,json=pendingReverseSwaps,proto3" json:"pending_reverse_swaps,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetInfoResponse) Descriptor

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

func (*GetInfoResponse) GetBlockHeight

func (m *GetInfoResponse) GetBlockHeight() uint32

func (*GetInfoResponse) GetLndPubkey

func (m *GetInfoResponse) GetLndPubkey() string

func (*GetInfoResponse) GetPendingReverseSwaps

func (m *GetInfoResponse) GetPendingReverseSwaps() []string

func (*GetInfoResponse) GetPendingSwaps

func (m *GetInfoResponse) GetPendingSwaps() []string

func (*GetInfoResponse) GetSymbol

func (m *GetInfoResponse) GetSymbol() string

func (*GetInfoResponse) ProtoMessage

func (*GetInfoResponse) ProtoMessage()

func (*GetInfoResponse) Reset

func (m *GetInfoResponse) Reset()

func (*GetInfoResponse) String

func (m *GetInfoResponse) String() string

func (*GetInfoResponse) XXX_DiscardUnknown

func (m *GetInfoResponse) XXX_DiscardUnknown()

func (*GetInfoResponse) XXX_Marshal

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

func (*GetInfoResponse) XXX_Merge

func (m *GetInfoResponse) XXX_Merge(src proto.Message)

func (*GetInfoResponse) XXX_Size

func (m *GetInfoResponse) XXX_Size() int

func (*GetInfoResponse) XXX_Unmarshal

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

type GetServiceInfoRequest

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

func (*GetServiceInfoRequest) Descriptor

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

func (*GetServiceInfoRequest) ProtoMessage

func (*GetServiceInfoRequest) ProtoMessage()

func (*GetServiceInfoRequest) Reset

func (m *GetServiceInfoRequest) Reset()

func (*GetServiceInfoRequest) String

func (m *GetServiceInfoRequest) String() string

func (*GetServiceInfoRequest) XXX_DiscardUnknown

func (m *GetServiceInfoRequest) XXX_DiscardUnknown()

func (*GetServiceInfoRequest) XXX_Marshal

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

func (*GetServiceInfoRequest) XXX_Merge

func (m *GetServiceInfoRequest) XXX_Merge(src proto.Message)

func (*GetServiceInfoRequest) XXX_Size

func (m *GetServiceInfoRequest) XXX_Size() int

func (*GetServiceInfoRequest) XXX_Unmarshal

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

type GetServiceInfoResponse

type GetServiceInfoResponse struct {
	Fees                 *Fees    `protobuf:"bytes,1,opt,name=fees,proto3" json:"fees,omitempty"`
	Limits               *Limits  `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetServiceInfoResponse) Descriptor

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

func (*GetServiceInfoResponse) GetFees

func (m *GetServiceInfoResponse) GetFees() *Fees

func (*GetServiceInfoResponse) GetLimits

func (m *GetServiceInfoResponse) GetLimits() *Limits

func (*GetServiceInfoResponse) ProtoMessage

func (*GetServiceInfoResponse) ProtoMessage()

func (*GetServiceInfoResponse) Reset

func (m *GetServiceInfoResponse) Reset()

func (*GetServiceInfoResponse) String

func (m *GetServiceInfoResponse) String() string

func (*GetServiceInfoResponse) XXX_DiscardUnknown

func (m *GetServiceInfoResponse) XXX_DiscardUnknown()

func (*GetServiceInfoResponse) XXX_Marshal

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

func (*GetServiceInfoResponse) XXX_Merge

func (m *GetServiceInfoResponse) XXX_Merge(src proto.Message)

func (*GetServiceInfoResponse) XXX_Size

func (m *GetServiceInfoResponse) XXX_Size() int

func (*GetServiceInfoResponse) XXX_Unmarshal

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

type GetSwapInfoRequest

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

func (*GetSwapInfoRequest) Descriptor

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

func (*GetSwapInfoRequest) GetId

func (m *GetSwapInfoRequest) GetId() string

func (*GetSwapInfoRequest) ProtoMessage

func (*GetSwapInfoRequest) ProtoMessage()

func (*GetSwapInfoRequest) Reset

func (m *GetSwapInfoRequest) Reset()

func (*GetSwapInfoRequest) String

func (m *GetSwapInfoRequest) String() string

func (*GetSwapInfoRequest) XXX_DiscardUnknown

func (m *GetSwapInfoRequest) XXX_DiscardUnknown()

func (*GetSwapInfoRequest) XXX_Marshal

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

func (*GetSwapInfoRequest) XXX_Merge

func (m *GetSwapInfoRequest) XXX_Merge(src proto.Message)

func (*GetSwapInfoRequest) XXX_Size

func (m *GetSwapInfoRequest) XXX_Size() int

func (*GetSwapInfoRequest) XXX_Unmarshal

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

type GetSwapInfoResponse

type GetSwapInfoResponse struct {
	Swap                 *SwapInfo            `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"`
	ChannelCreation      *ChannelCreationInfo `protobuf:"bytes,2,opt,name=channel_creation,json=channelCreation,proto3" json:"channel_creation,omitempty"`
	ReverseSwap          *ReverseSwapInfo     `protobuf:"bytes,3,opt,name=reverse_swap,json=reverseSwap,proto3" json:"reverse_swap,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GetSwapInfoResponse) Descriptor

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

func (*GetSwapInfoResponse) GetChannelCreation

func (m *GetSwapInfoResponse) GetChannelCreation() *ChannelCreationInfo

func (*GetSwapInfoResponse) GetReverseSwap

func (m *GetSwapInfoResponse) GetReverseSwap() *ReverseSwapInfo

func (*GetSwapInfoResponse) GetSwap

func (m *GetSwapInfoResponse) GetSwap() *SwapInfo

func (*GetSwapInfoResponse) ProtoMessage

func (*GetSwapInfoResponse) ProtoMessage()

func (*GetSwapInfoResponse) Reset

func (m *GetSwapInfoResponse) Reset()

func (*GetSwapInfoResponse) String

func (m *GetSwapInfoResponse) String() string

func (*GetSwapInfoResponse) XXX_DiscardUnknown

func (m *GetSwapInfoResponse) XXX_DiscardUnknown()

func (*GetSwapInfoResponse) XXX_Marshal

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

func (*GetSwapInfoResponse) XXX_Merge

func (m *GetSwapInfoResponse) XXX_Merge(src proto.Message)

func (*GetSwapInfoResponse) XXX_Size

func (m *GetSwapInfoResponse) XXX_Size() int

func (*GetSwapInfoResponse) XXX_Unmarshal

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

type Limits

type Limits struct {
	Minimal              int64    `protobuf:"varint,1,opt,name=minimal,proto3" json:"minimal,omitempty"`
	Maximal              int64    `protobuf:"varint,2,opt,name=maximal,proto3" json:"maximal,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Limits) Descriptor

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

func (*Limits) GetMaximal

func (m *Limits) GetMaximal() int64

func (*Limits) GetMinimal

func (m *Limits) GetMinimal() int64

func (*Limits) ProtoMessage

func (*Limits) ProtoMessage()

func (*Limits) Reset

func (m *Limits) Reset()

func (*Limits) String

func (m *Limits) String() string

func (*Limits) XXX_DiscardUnknown

func (m *Limits) XXX_DiscardUnknown()

func (*Limits) XXX_Marshal

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

func (*Limits) XXX_Merge

func (m *Limits) XXX_Merge(src proto.Message)

func (*Limits) XXX_Size

func (m *Limits) XXX_Size() int

func (*Limits) XXX_Unmarshal

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

type ListSwapsRequest

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

func (*ListSwapsRequest) Descriptor

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

func (*ListSwapsRequest) ProtoMessage

func (*ListSwapsRequest) ProtoMessage()

func (*ListSwapsRequest) Reset

func (m *ListSwapsRequest) Reset()

func (*ListSwapsRequest) String

func (m *ListSwapsRequest) String() string

func (*ListSwapsRequest) XXX_DiscardUnknown

func (m *ListSwapsRequest) XXX_DiscardUnknown()

func (*ListSwapsRequest) XXX_Marshal

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

func (*ListSwapsRequest) XXX_Merge

func (m *ListSwapsRequest) XXX_Merge(src proto.Message)

func (*ListSwapsRequest) XXX_Size

func (m *ListSwapsRequest) XXX_Size() int

func (*ListSwapsRequest) XXX_Unmarshal

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

type ListSwapsResponse

type ListSwapsResponse struct {
	Swaps                []*SwapInfo                `protobuf:"bytes,1,rep,name=swaps,proto3" json:"swaps,omitempty"`
	ChannelCreations     []*CombinedChannelSwapInfo `protobuf:"bytes,2,rep,name=channel_creations,json=channelCreations,proto3" json:"channel_creations,omitempty"`
	ReverseSwaps         []*ReverseSwapInfo         `protobuf:"bytes,3,rep,name=reverse_swaps,json=reverseSwaps,proto3" json:"reverse_swaps,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ListSwapsResponse) Descriptor

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

func (*ListSwapsResponse) GetChannelCreations

func (m *ListSwapsResponse) GetChannelCreations() []*CombinedChannelSwapInfo

func (*ListSwapsResponse) GetReverseSwaps

func (m *ListSwapsResponse) GetReverseSwaps() []*ReverseSwapInfo

func (*ListSwapsResponse) GetSwaps

func (m *ListSwapsResponse) GetSwaps() []*SwapInfo

func (*ListSwapsResponse) ProtoMessage

func (*ListSwapsResponse) ProtoMessage()

func (*ListSwapsResponse) Reset

func (m *ListSwapsResponse) Reset()

func (*ListSwapsResponse) String

func (m *ListSwapsResponse) String() string

func (*ListSwapsResponse) XXX_DiscardUnknown

func (m *ListSwapsResponse) XXX_DiscardUnknown()

func (*ListSwapsResponse) XXX_Marshal

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

func (*ListSwapsResponse) XXX_Merge

func (m *ListSwapsResponse) XXX_Merge(src proto.Message)

func (*ListSwapsResponse) XXX_Size

func (m *ListSwapsResponse) XXX_Size() int

func (*ListSwapsResponse) XXX_Unmarshal

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

type MinerFees

type MinerFees struct {
	Normal               uint32   `protobuf:"varint,1,opt,name=normal,proto3" json:"normal,omitempty"`
	Reverse              uint32   `protobuf:"varint,2,opt,name=reverse,proto3" json:"reverse,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MinerFees) Descriptor

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

func (*MinerFees) GetNormal

func (m *MinerFees) GetNormal() uint32

func (*MinerFees) GetReverse

func (m *MinerFees) GetReverse() uint32

func (*MinerFees) ProtoMessage

func (*MinerFees) ProtoMessage()

func (*MinerFees) Reset

func (m *MinerFees) Reset()

func (*MinerFees) String

func (m *MinerFees) String() string

func (*MinerFees) XXX_DiscardUnknown

func (m *MinerFees) XXX_DiscardUnknown()

func (*MinerFees) XXX_Marshal

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

func (*MinerFees) XXX_Merge

func (m *MinerFees) XXX_Merge(src proto.Message)

func (*MinerFees) XXX_Size

func (m *MinerFees) XXX_Size() int

func (*MinerFees) XXX_Unmarshal

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

type ReverseSwapInfo

type ReverseSwapInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	PrivateKey           string   `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	Preimage             string   `protobuf:"bytes,4,opt,name=preimage,proto3" json:"preimage,omitempty"`
	RedeemScript         string   `protobuf:"bytes,5,opt,name=redeem_script,json=redeemScript,proto3" json:"redeem_script,omitempty"`
	Invoice              string   `protobuf:"bytes,6,opt,name=invoice,proto3" json:"invoice,omitempty"`
	ClaimAddress         string   `protobuf:"bytes,7,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"`
	OnchainAmount        int64    `protobuf:"varint,8,opt,name=onchain_amount,json=onchainAmount,proto3" json:"onchain_amount,omitempty"`
	TimeoutBlockHeight   uint32   `protobuf:"varint,9,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"`
	LockupTransactionId  string   `protobuf:"bytes,10,opt,name=lockup_transaction_id,json=lockupTransactionId,proto3" json:"lockup_transaction_id,omitempty"`
	ClaimTransactionId   string   `protobuf:"bytes,11,opt,name=claim_transaction_id,json=claimTransactionId,proto3" json:"claim_transaction_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReverseSwapInfo) Descriptor

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

func (*ReverseSwapInfo) GetClaimAddress

func (m *ReverseSwapInfo) GetClaimAddress() string

func (*ReverseSwapInfo) GetClaimTransactionId

func (m *ReverseSwapInfo) GetClaimTransactionId() string

func (*ReverseSwapInfo) GetId

func (m *ReverseSwapInfo) GetId() string

func (*ReverseSwapInfo) GetInvoice

func (m *ReverseSwapInfo) GetInvoice() string

func (*ReverseSwapInfo) GetLockupTransactionId

func (m *ReverseSwapInfo) GetLockupTransactionId() string

func (*ReverseSwapInfo) GetOnchainAmount

func (m *ReverseSwapInfo) GetOnchainAmount() int64

func (*ReverseSwapInfo) GetPreimage

func (m *ReverseSwapInfo) GetPreimage() string

func (*ReverseSwapInfo) GetPrivateKey

func (m *ReverseSwapInfo) GetPrivateKey() string

func (*ReverseSwapInfo) GetRedeemScript

func (m *ReverseSwapInfo) GetRedeemScript() string

func (*ReverseSwapInfo) GetStatus

func (m *ReverseSwapInfo) GetStatus() string

func (*ReverseSwapInfo) GetTimeoutBlockHeight

func (m *ReverseSwapInfo) GetTimeoutBlockHeight() uint32

func (*ReverseSwapInfo) ProtoMessage

func (*ReverseSwapInfo) ProtoMessage()

func (*ReverseSwapInfo) Reset

func (m *ReverseSwapInfo) Reset()

func (*ReverseSwapInfo) String

func (m *ReverseSwapInfo) String() string

func (*ReverseSwapInfo) XXX_DiscardUnknown

func (m *ReverseSwapInfo) XXX_DiscardUnknown()

func (*ReverseSwapInfo) XXX_Marshal

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

func (*ReverseSwapInfo) XXX_Merge

func (m *ReverseSwapInfo) XXX_Merge(src proto.Message)

func (*ReverseSwapInfo) XXX_Size

func (m *ReverseSwapInfo) XXX_Size() int

func (*ReverseSwapInfo) XXX_Unmarshal

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

type SwapInfo

type SwapInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status               string   `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	PrivateKey           string   `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	Preimage             string   `protobuf:"bytes,4,opt,name=preimage,proto3" json:"preimage,omitempty"`
	RedeemScript         string   `protobuf:"bytes,5,opt,name=redeem_script,json=redeemScript,proto3" json:"redeem_script,omitempty"`
	Invoice              string   `protobuf:"bytes,6,opt,name=invoice,proto3" json:"invoice,omitempty"`
	LockupAddress        string   `protobuf:"bytes,7,opt,name=lockup_address,json=lockupAddress,proto3" json:"lockup_address,omitempty"`
	ExpectedAmount       int64    `protobuf:"varint,8,opt,name=expected_amount,json=expectedAmount,proto3" json:"expected_amount,omitempty"`
	TimeoutBlockHeight   uint32   `protobuf:"varint,9,opt,name=timeout_block_height,json=timeoutBlockHeight,proto3" json:"timeout_block_height,omitempty"`
	LockupTransactionId  string   `protobuf:"bytes,10,opt,name=lockup_transaction_id,json=lockupTransactionId,proto3" json:"lockup_transaction_id,omitempty"`
	RefundTransactionId  string   `protobuf:"bytes,11,opt,name=refund_transaction_id,json=refundTransactionId,proto3" json:"refund_transaction_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SwapInfo) Descriptor

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

func (*SwapInfo) GetExpectedAmount

func (m *SwapInfo) GetExpectedAmount() int64

func (*SwapInfo) GetId

func (m *SwapInfo) GetId() string

func (*SwapInfo) GetInvoice

func (m *SwapInfo) GetInvoice() string

func (*SwapInfo) GetLockupAddress

func (m *SwapInfo) GetLockupAddress() string

func (*SwapInfo) GetLockupTransactionId

func (m *SwapInfo) GetLockupTransactionId() string

func (*SwapInfo) GetPreimage

func (m *SwapInfo) GetPreimage() string

func (*SwapInfo) GetPrivateKey

func (m *SwapInfo) GetPrivateKey() string

func (*SwapInfo) GetRedeemScript

func (m *SwapInfo) GetRedeemScript() string

func (*SwapInfo) GetRefundTransactionId

func (m *SwapInfo) GetRefundTransactionId() string

func (*SwapInfo) GetStatus

func (m *SwapInfo) GetStatus() string

func (*SwapInfo) GetTimeoutBlockHeight

func (m *SwapInfo) GetTimeoutBlockHeight() uint32

func (*SwapInfo) ProtoMessage

func (*SwapInfo) ProtoMessage()

func (*SwapInfo) Reset

func (m *SwapInfo) Reset()

func (*SwapInfo) String

func (m *SwapInfo) String() string

func (*SwapInfo) XXX_DiscardUnknown

func (m *SwapInfo) XXX_DiscardUnknown()

func (*SwapInfo) XXX_Marshal

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

func (*SwapInfo) XXX_Merge

func (m *SwapInfo) XXX_Merge(src proto.Message)

func (*SwapInfo) XXX_Size

func (m *SwapInfo) XXX_Size() int

func (*SwapInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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