poolrpc

package
v0.4.4-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 14 Imported by: 4

README

poolrpc

This poolrpc package implements both a client (trader) and server (auctioneer) RPC system which is based off of the high-performance cross-platform gRPC RPC framework. By default, only the Go client+server libraries are compiled within the package. In order to compile the client side libraries for other supported languages, the protoc tool will need to be used to generate the compiled protos for a specific language.

For a list of supported languages for poolrpc, see grpc.io/docs/languages.

Generate protobuf definitions

Make sure you have the exact versions of all libraries installed as described in the lnrpc/README.md of lnd then run the make rpc command.

Documentation

Overview

Package poolrpc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var AccountState_name = map[int32]string{
	0: "PENDING_OPEN",
	1: "PENDING_UPDATE",
	2: "OPEN",
	3: "EXPIRED",
	4: "PENDING_CLOSED",
	5: "CLOSED",
	6: "RECOVERY_FAILED",
	7: "PENDING_BATCH",
}
View Source
var AccountState_value = map[string]int32{
	"PENDING_OPEN":    0,
	"PENDING_UPDATE":  1,
	"OPEN":            2,
	"EXPIRED":         3,
	"PENDING_CLOSED":  4,
	"CLOSED":          5,
	"RECOVERY_FAILED": 6,
	"PENDING_BATCH":   7,
}
View Source
var MatchRejectReason_name = map[int32]string{
	0: "NONE",
	1: "SERVER_MISBEHAVIOR",
	2: "BATCH_VERSION_MISMATCH",
	3: "PARTIAL_REJECT_COLLATERAL",
	4: "PARTIAL_REJECT_DUPLICATE_PEER",
	5: "PARTIAL_REJECT_CHANNEL_FUNDING_FAILED",
}
View Source
var MatchRejectReason_value = map[string]int32{
	"NONE":                                  0,
	"SERVER_MISBEHAVIOR":                    1,
	"BATCH_VERSION_MISMATCH":                2,
	"PARTIAL_REJECT_COLLATERAL":             3,
	"PARTIAL_REJECT_DUPLICATE_PEER":         4,
	"PARTIAL_REJECT_CHANNEL_FUNDING_FAILED": 5,
}
View Source
var MatchState_name = map[int32]string{
	0: "PREPARE",
	1: "ACCEPTED",
	2: "REJECTED",
	3: "SIGNED",
	4: "FINALIZED",
}
View Source
var MatchState_value = map[string]int32{
	"PREPARE":   0,
	"ACCEPTED":  1,
	"REJECTED":  2,
	"SIGNED":    3,
	"FINALIZED": 4,
}

Functions

func RegisterTraderHandler

func RegisterTraderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTraderHandler registers the http handlers for service Trader to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTraderHandlerClient

func RegisterTraderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TraderClient) error

RegisterTraderHandlerClient registers the http handlers for service Trader to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TraderClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TraderClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TraderClient" to call the correct interceptors.

func RegisterTraderHandlerFromEndpoint

func RegisterTraderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTraderHandlerFromEndpoint is same as RegisterTraderHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTraderHandlerServer

func RegisterTraderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TraderServer) error

RegisterTraderHandlerServer registers the http handlers for service Trader to "mux". UnaryRPC :call TraderServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

func RegisterTraderServer

func RegisterTraderServer(s *grpc.Server, srv TraderServer)

Types

type Account

type Account struct {
	//
	//The identifying component of an account. This is the key used for the trader
	//in the 2-of-2 multi-sig construction of an account with an auctioneer.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	//
	//The current outpoint associated with the account. This will change every
	//time the account has been updated.
	Outpoint *auctioneerrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
	// The current total amount of satoshis in the account.
	Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	//
	//The amount of satoshis in the account that is available, meaning not
	//allocated to any oustanding orders.
	AvailableBalance uint64 `protobuf:"varint,4,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"`
	// The height at which the account will expire.
	ExpirationHeight uint32 `protobuf:"varint,5,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
	// The current state of the account.
	State AccountState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.AccountState" json:"state,omitempty"`
	// The hash of the account's latest transaction.
	LatestTxid           []byte   `protobuf:"bytes,7,opt,name=latest_txid,json=latestTxid,proto3" json:"latest_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Account) Descriptor

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

func (*Account) GetAvailableBalance

func (m *Account) GetAvailableBalance() uint64

func (*Account) GetExpirationHeight

func (m *Account) GetExpirationHeight() uint32

func (*Account) GetLatestTxid

func (m *Account) GetLatestTxid() []byte

func (*Account) GetOutpoint

func (m *Account) GetOutpoint() *auctioneerrpc.OutPoint

func (*Account) GetState

func (m *Account) GetState() AccountState

func (*Account) GetTraderKey

func (m *Account) GetTraderKey() []byte

func (*Account) GetValue

func (m *Account) GetValue() uint64

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) String

func (m *Account) String() string

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountState

type AccountState int32
const (
	// The state of an account when it is pending its confirmation on-chain.
	AccountState_PENDING_OPEN AccountState = 0
	//
	//The state of an account when it has undergone an update on-chain either as
	//part of a matched order or a trader modification and it is pending its
	//confirmation on-chain.
	AccountState_PENDING_UPDATE AccountState = 1
	// The state of an account once it has confirmed on-chain.
	AccountState_OPEN AccountState = 2
	//
	//The state of an account once its expiration has been reached and its closing
	//transaction has confirmed.
	AccountState_EXPIRED AccountState = 3
	//
	//The state of an account when we're waiting for the closing transaction of
	//an account to confirm that required cooperation with the auctioneer.
	AccountState_PENDING_CLOSED AccountState = 4
	// The state of an account once its closing transaction has confirmed.
	AccountState_CLOSED AccountState = 5
	//
	//The state of an account that indicates that the account was attempted to be
	//recovered but failed because the opening transaction wasn't found by lnd.
	//This could be because it was never published or it never confirmed. Then the
	//funds are SAFU and the account can be considered to never have been opened
	//in the first place.
	AccountState_RECOVERY_FAILED AccountState = 6
	//
	//The account has recently participated in a batch and is not yet confirmed.
	AccountState_PENDING_BATCH AccountState = 7
)

func (AccountState) EnumDescriptor

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

func (AccountState) String

func (x AccountState) String() string

type Ask

type Ask struct {
	//
	//The common fields shared between both ask and bid order types.
	Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	//
	//The number of blocks the liquidity provider is willing to provide the
	//channel funds for.
	LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
	//
	//The version of the order format that is used. Will be increased once new
	//features are added.
	Version              uint32   `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ask) Descriptor

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

func (*Ask) GetDetails

func (m *Ask) GetDetails() *Order

func (*Ask) GetLeaseDurationBlocks

func (m *Ask) GetLeaseDurationBlocks() uint32

func (*Ask) GetVersion

func (m *Ask) GetVersion() uint32

func (*Ask) ProtoMessage

func (*Ask) ProtoMessage()

func (*Ask) Reset

func (m *Ask) Reset()

func (*Ask) String

func (m *Ask) String() string

func (*Ask) XXX_DiscardUnknown

func (m *Ask) XXX_DiscardUnknown()

func (*Ask) XXX_Marshal

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

func (*Ask) XXX_Merge

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

func (*Ask) XXX_Size

func (m *Ask) XXX_Size() int

func (*Ask) XXX_Unmarshal

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

type AuctionFeeRequest

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

func (*AuctionFeeRequest) Descriptor

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

func (*AuctionFeeRequest) ProtoMessage

func (*AuctionFeeRequest) ProtoMessage()

func (*AuctionFeeRequest) Reset

func (m *AuctionFeeRequest) Reset()

func (*AuctionFeeRequest) String

func (m *AuctionFeeRequest) String() string

func (*AuctionFeeRequest) XXX_DiscardUnknown

func (m *AuctionFeeRequest) XXX_DiscardUnknown()

func (*AuctionFeeRequest) XXX_Marshal

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

func (*AuctionFeeRequest) XXX_Merge

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

func (*AuctionFeeRequest) XXX_Size

func (m *AuctionFeeRequest) XXX_Size() int

func (*AuctionFeeRequest) XXX_Unmarshal

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

type AuctionFeeResponse

type AuctionFeeResponse struct {
	//
	//The execution fee charged per matched order.
	ExecutionFee         *auctioneerrpc.ExecutionFee `protobuf:"bytes,1,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*AuctionFeeResponse) Descriptor

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

func (*AuctionFeeResponse) GetExecutionFee

func (m *AuctionFeeResponse) GetExecutionFee() *auctioneerrpc.ExecutionFee

func (*AuctionFeeResponse) ProtoMessage

func (*AuctionFeeResponse) ProtoMessage()

func (*AuctionFeeResponse) Reset

func (m *AuctionFeeResponse) Reset()

func (*AuctionFeeResponse) String

func (m *AuctionFeeResponse) String() string

func (*AuctionFeeResponse) XXX_DiscardUnknown

func (m *AuctionFeeResponse) XXX_DiscardUnknown()

func (*AuctionFeeResponse) XXX_Marshal

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

func (*AuctionFeeResponse) XXX_Merge

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

func (*AuctionFeeResponse) XXX_Size

func (m *AuctionFeeResponse) XXX_Size() int

func (*AuctionFeeResponse) XXX_Unmarshal

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

type Bid

type Bid struct {
	//
	//The common fields shared between both ask and bid order types.
	Details *Order `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	//
	//Required number of blocks that a channel opened as a result of this bid
	//should be kept open.
	LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
	//
	//The version of the order format that is used. Will be increased once new
	//features are added.
	Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	//
	//The minium node tier this order should be matched with. Only asks backed by
	//a node this tier or higher will be eligible for matching with this bid.
	MinNodeTier          auctioneerrpc.NodeTier `protobuf:"varint,4,opt,name=min_node_tier,json=minNodeTier,proto3,enum=poolrpc.NodeTier" json:"min_node_tier,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Bid) Descriptor

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

func (*Bid) GetDetails

func (m *Bid) GetDetails() *Order

func (*Bid) GetLeaseDurationBlocks

func (m *Bid) GetLeaseDurationBlocks() uint32

func (*Bid) GetMinNodeTier

func (m *Bid) GetMinNodeTier() auctioneerrpc.NodeTier

func (*Bid) GetVersion

func (m *Bid) GetVersion() uint32

func (*Bid) ProtoMessage

func (*Bid) ProtoMessage()

func (*Bid) Reset

func (m *Bid) Reset()

func (*Bid) String

func (m *Bid) String() string

func (*Bid) XXX_DiscardUnknown

func (m *Bid) XXX_DiscardUnknown()

func (*Bid) XXX_Marshal

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

func (*Bid) XXX_Merge

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

func (*Bid) XXX_Size

func (m *Bid) XXX_Size() int

func (*Bid) XXX_Unmarshal

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

type BumpAccountFeeRequest

type BumpAccountFeeRequest struct {
	//
	//The trader key associated with the account that will have its fee bumped.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	//
	//The new fee rate, in satoshis per kw, to use for the child of the account
	//transaction.
	FeeRateSatPerKw      uint64   `protobuf:"varint,2,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BumpAccountFeeRequest) Descriptor

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

func (*BumpAccountFeeRequest) GetFeeRateSatPerKw

func (m *BumpAccountFeeRequest) GetFeeRateSatPerKw() uint64

func (*BumpAccountFeeRequest) GetTraderKey

func (m *BumpAccountFeeRequest) GetTraderKey() []byte

func (*BumpAccountFeeRequest) ProtoMessage

func (*BumpAccountFeeRequest) ProtoMessage()

func (*BumpAccountFeeRequest) Reset

func (m *BumpAccountFeeRequest) Reset()

func (*BumpAccountFeeRequest) String

func (m *BumpAccountFeeRequest) String() string

func (*BumpAccountFeeRequest) XXX_DiscardUnknown

func (m *BumpAccountFeeRequest) XXX_DiscardUnknown()

func (*BumpAccountFeeRequest) XXX_Marshal

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

func (*BumpAccountFeeRequest) XXX_Merge

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

func (*BumpAccountFeeRequest) XXX_Size

func (m *BumpAccountFeeRequest) XXX_Size() int

func (*BumpAccountFeeRequest) XXX_Unmarshal

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

type BumpAccountFeeResponse

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

func (*BumpAccountFeeResponse) Descriptor

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

func (*BumpAccountFeeResponse) ProtoMessage

func (*BumpAccountFeeResponse) ProtoMessage()

func (*BumpAccountFeeResponse) Reset

func (m *BumpAccountFeeResponse) Reset()

func (*BumpAccountFeeResponse) String

func (m *BumpAccountFeeResponse) String() string

func (*BumpAccountFeeResponse) XXX_DiscardUnknown

func (m *BumpAccountFeeResponse) XXX_DiscardUnknown()

func (*BumpAccountFeeResponse) XXX_Marshal

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

func (*BumpAccountFeeResponse) XXX_Merge

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

func (*BumpAccountFeeResponse) XXX_Size

func (m *BumpAccountFeeResponse) XXX_Size() int

func (*BumpAccountFeeResponse) XXX_Unmarshal

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

type CancelOrderRequest

type CancelOrderRequest struct {
	OrderNonce           []byte   `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CancelOrderRequest) Descriptor

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

func (*CancelOrderRequest) GetOrderNonce

func (m *CancelOrderRequest) GetOrderNonce() []byte

func (*CancelOrderRequest) ProtoMessage

func (*CancelOrderRequest) ProtoMessage()

func (*CancelOrderRequest) Reset

func (m *CancelOrderRequest) Reset()

func (*CancelOrderRequest) String

func (m *CancelOrderRequest) String() string

func (*CancelOrderRequest) XXX_DiscardUnknown

func (m *CancelOrderRequest) XXX_DiscardUnknown()

func (*CancelOrderRequest) XXX_Marshal

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

func (*CancelOrderRequest) XXX_Merge

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

func (*CancelOrderRequest) XXX_Size

func (m *CancelOrderRequest) XXX_Size() int

func (*CancelOrderRequest) XXX_Unmarshal

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

type CancelOrderResponse

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

func (*CancelOrderResponse) Descriptor

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

func (*CancelOrderResponse) ProtoMessage

func (*CancelOrderResponse) ProtoMessage()

func (*CancelOrderResponse) Reset

func (m *CancelOrderResponse) Reset()

func (*CancelOrderResponse) String

func (m *CancelOrderResponse) String() string

func (*CancelOrderResponse) XXX_DiscardUnknown

func (m *CancelOrderResponse) XXX_DiscardUnknown()

func (*CancelOrderResponse) XXX_Marshal

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

func (*CancelOrderResponse) XXX_Merge

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

func (*CancelOrderResponse) XXX_Size

func (m *CancelOrderResponse) XXX_Size() int

func (*CancelOrderResponse) XXX_Unmarshal

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

type CloseAccountRequest

type CloseAccountRequest struct {
	// The trader key associated with the account that will be closed.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	// Types that are valid to be assigned to FundsDestination:
	//	*CloseAccountRequest_OutputWithFee
	//	*CloseAccountRequest_Outputs
	FundsDestination     isCloseAccountRequest_FundsDestination `protobuf_oneof:"funds_destination"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

func (*CloseAccountRequest) Descriptor

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

func (*CloseAccountRequest) GetFundsDestination

func (m *CloseAccountRequest) GetFundsDestination() isCloseAccountRequest_FundsDestination

func (*CloseAccountRequest) GetOutputWithFee

func (m *CloseAccountRequest) GetOutputWithFee() *OutputWithFee

func (*CloseAccountRequest) GetOutputs

func (*CloseAccountRequest) GetTraderKey

func (m *CloseAccountRequest) GetTraderKey() []byte

func (*CloseAccountRequest) ProtoMessage

func (*CloseAccountRequest) ProtoMessage()

func (*CloseAccountRequest) Reset

func (m *CloseAccountRequest) Reset()

func (*CloseAccountRequest) String

func (m *CloseAccountRequest) String() string

func (*CloseAccountRequest) XXX_DiscardUnknown

func (m *CloseAccountRequest) XXX_DiscardUnknown()

func (*CloseAccountRequest) XXX_Marshal

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

func (*CloseAccountRequest) XXX_Merge

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

func (*CloseAccountRequest) XXX_OneofWrappers

func (*CloseAccountRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CloseAccountRequest) XXX_Size

func (m *CloseAccountRequest) XXX_Size() int

func (*CloseAccountRequest) XXX_Unmarshal

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

type CloseAccountRequest_OutputWithFee

type CloseAccountRequest_OutputWithFee struct {
	OutputWithFee *OutputWithFee `protobuf:"bytes,2,opt,name=output_with_fee,json=outputWithFee,proto3,oneof"`
}

type CloseAccountRequest_Outputs

type CloseAccountRequest_Outputs struct {
	Outputs *OutputsWithImplicitFee `protobuf:"bytes,3,opt,name=outputs,proto3,oneof"`
}

type CloseAccountResponse

type CloseAccountResponse struct {
	// The hash of the closing transaction.
	CloseTxid            []byte   `protobuf:"bytes,1,opt,name=close_txid,json=closeTxid,proto3" json:"close_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseAccountResponse) Descriptor

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

func (*CloseAccountResponse) GetCloseTxid

func (m *CloseAccountResponse) GetCloseTxid() []byte

func (*CloseAccountResponse) ProtoMessage

func (*CloseAccountResponse) ProtoMessage()

func (*CloseAccountResponse) Reset

func (m *CloseAccountResponse) Reset()

func (*CloseAccountResponse) String

func (m *CloseAccountResponse) String() string

func (*CloseAccountResponse) XXX_DiscardUnknown

func (m *CloseAccountResponse) XXX_DiscardUnknown()

func (*CloseAccountResponse) XXX_Marshal

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

func (*CloseAccountResponse) XXX_Merge

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

func (*CloseAccountResponse) XXX_Size

func (m *CloseAccountResponse) XXX_Size() int

func (*CloseAccountResponse) XXX_Unmarshal

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

type DepositAccountRequest

type DepositAccountRequest struct {
	//
	//The trader key associated with the account that funds will be deposited
	//into.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	// The amount in satoshis to deposit into the account.
	AmountSat uint64 `protobuf:"varint,2,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
	//
	//The fee rate, in satoshis per kw, to use for the deposit transaction.
	FeeRateSatPerKw      uint64   `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DepositAccountRequest) Descriptor

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

func (*DepositAccountRequest) GetAmountSat

func (m *DepositAccountRequest) GetAmountSat() uint64

func (*DepositAccountRequest) GetFeeRateSatPerKw

func (m *DepositAccountRequest) GetFeeRateSatPerKw() uint64

func (*DepositAccountRequest) GetTraderKey

func (m *DepositAccountRequest) GetTraderKey() []byte

func (*DepositAccountRequest) ProtoMessage

func (*DepositAccountRequest) ProtoMessage()

func (*DepositAccountRequest) Reset

func (m *DepositAccountRequest) Reset()

func (*DepositAccountRequest) String

func (m *DepositAccountRequest) String() string

func (*DepositAccountRequest) XXX_DiscardUnknown

func (m *DepositAccountRequest) XXX_DiscardUnknown()

func (*DepositAccountRequest) XXX_Marshal

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

func (*DepositAccountRequest) XXX_Merge

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

func (*DepositAccountRequest) XXX_Size

func (m *DepositAccountRequest) XXX_Size() int

func (*DepositAccountRequest) XXX_Unmarshal

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

type DepositAccountResponse

type DepositAccountResponse struct {
	// The state of the account after processing the deposit.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The transaction used to deposit funds into the account.
	DepositTxid          []byte   `protobuf:"bytes,2,opt,name=deposit_txid,json=depositTxid,proto3" json:"deposit_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DepositAccountResponse) Descriptor

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

func (*DepositAccountResponse) GetAccount

func (m *DepositAccountResponse) GetAccount() *Account

func (*DepositAccountResponse) GetDepositTxid

func (m *DepositAccountResponse) GetDepositTxid() []byte

func (*DepositAccountResponse) ProtoMessage

func (*DepositAccountResponse) ProtoMessage()

func (*DepositAccountResponse) Reset

func (m *DepositAccountResponse) Reset()

func (*DepositAccountResponse) String

func (m *DepositAccountResponse) String() string

func (*DepositAccountResponse) XXX_DiscardUnknown

func (m *DepositAccountResponse) XXX_DiscardUnknown()

func (*DepositAccountResponse) XXX_Marshal

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

func (*DepositAccountResponse) XXX_Merge

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

func (*DepositAccountResponse) XXX_Size

func (m *DepositAccountResponse) XXX_Size() int

func (*DepositAccountResponse) XXX_Unmarshal

func (m *DepositAccountResponse) 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 {
	// The version of the Pool daemon that is running.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The total number of accounts in the local database.
	AccountsTotal uint32 `protobuf:"varint,2,opt,name=accounts_total,json=accountsTotal,proto3" json:"accounts_total,omitempty"`
	//
	//The total number of accounts that are in an active, non-archived state,
	//including expired accounts.
	AccountsActive uint32 `protobuf:"varint,3,opt,name=accounts_active,json=accountsActive,proto3" json:"accounts_active,omitempty"`
	// The total number of accounts that are active but have expired.
	AccountsActiveExpired uint32 `` /* 127-byte string literal not displayed */
	// The total number of accounts that are in an archived/closed state.
	AccountsArchived uint32 `protobuf:"varint,5,opt,name=accounts_archived,json=accountsArchived,proto3" json:"accounts_archived,omitempty"`
	// The total number of orders in the local database.
	OrdersTotal uint32 `protobuf:"varint,6,opt,name=orders_total,json=ordersTotal,proto3" json:"orders_total,omitempty"`
	//
	//The total number of active/pending orders that are still waiting for
	//execution.
	OrdersActive uint32 `protobuf:"varint,7,opt,name=orders_active,json=ordersActive,proto3" json:"orders_active,omitempty"`
	// The total number of orders that have been archived.
	OrdersArchived uint32 `protobuf:"varint,8,opt,name=orders_archived,json=ordersArchived,proto3" json:"orders_archived,omitempty"`
	// The current block height as seen by the connected lnd node.
	CurrentBlockHeight uint32 `protobuf:"varint,9,opt,name=current_block_height,json=currentBlockHeight,proto3" json:"current_block_height,omitempty"`
	// The number of batches an account of this node was ever involved in.
	BatchesInvolved uint32 `protobuf:"varint,10,opt,name=batches_involved,json=batchesInvolved,proto3" json:"batches_involved,omitempty"`
	// Our lnd node's rating as judged by the auctioneer server.
	NodeRating *auctioneerrpc.NodeRating `protobuf:"bytes,11,opt,name=node_rating,json=nodeRating,proto3" json:"node_rating,omitempty"`
	// The number of available LSAT tokens.
	LsatTokens uint32 `protobuf:"varint,12,opt,name=lsat_tokens,json=lsatTokens,proto3" json:"lsat_tokens,omitempty"`
	//
	//Indicates whether there is an active subscription connection to the
	//auctioneer. This will never be true if there is no active account. If there
	//are active accounts, this value represents the network connection status to
	//the auctioneer server.
	SubscribedToAuctioneer bool     `` /* 131-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*GetInfoResponse) Descriptor

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

func (*GetInfoResponse) GetAccountsActive

func (m *GetInfoResponse) GetAccountsActive() uint32

func (*GetInfoResponse) GetAccountsActiveExpired

func (m *GetInfoResponse) GetAccountsActiveExpired() uint32

func (*GetInfoResponse) GetAccountsArchived

func (m *GetInfoResponse) GetAccountsArchived() uint32

func (*GetInfoResponse) GetAccountsTotal

func (m *GetInfoResponse) GetAccountsTotal() uint32

func (*GetInfoResponse) GetBatchesInvolved

func (m *GetInfoResponse) GetBatchesInvolved() uint32

func (*GetInfoResponse) GetCurrentBlockHeight

func (m *GetInfoResponse) GetCurrentBlockHeight() uint32

func (*GetInfoResponse) GetLsatTokens

func (m *GetInfoResponse) GetLsatTokens() uint32

func (*GetInfoResponse) GetNodeRating

func (m *GetInfoResponse) GetNodeRating() *auctioneerrpc.NodeRating

func (*GetInfoResponse) GetOrdersActive

func (m *GetInfoResponse) GetOrdersActive() uint32

func (*GetInfoResponse) GetOrdersArchived

func (m *GetInfoResponse) GetOrdersArchived() uint32

func (*GetInfoResponse) GetOrdersTotal

func (m *GetInfoResponse) GetOrdersTotal() uint32

func (*GetInfoResponse) GetSubscribedToAuctioneer

func (m *GetInfoResponse) GetSubscribedToAuctioneer() bool

func (*GetInfoResponse) GetVersion

func (m *GetInfoResponse) GetVersion() 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 InitAccountRequest

type InitAccountRequest struct {
	AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
	// Types that are valid to be assigned to AccountExpiry:
	//	*InitAccountRequest_AbsoluteHeight
	//	*InitAccountRequest_RelativeHeight
	AccountExpiry isInitAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"`
	// Types that are valid to be assigned to Fees:
	//	*InitAccountRequest_ConfTarget
	Fees isInitAccountRequest_Fees `protobuf_oneof:"fees"`
	//
	//An optional identification string that will be appended to the user agent
	//string sent to the server to give information about the usage of pool. This
	//initiator part is meant for user interfaces to add their name to give the
	//full picture of the binary used (poold, LiT) and the method used for opening
	//the account (pool CLI, LiT UI, other 3rd party UI).
	Initiator            string   `protobuf:"bytes,5,opt,name=initiator,proto3" json:"initiator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitAccountRequest) Descriptor

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

func (*InitAccountRequest) GetAbsoluteHeight

func (m *InitAccountRequest) GetAbsoluteHeight() uint32

func (*InitAccountRequest) GetAccountExpiry

func (m *InitAccountRequest) GetAccountExpiry() isInitAccountRequest_AccountExpiry

func (*InitAccountRequest) GetAccountValue

func (m *InitAccountRequest) GetAccountValue() uint64

func (*InitAccountRequest) GetConfTarget

func (m *InitAccountRequest) GetConfTarget() uint32

func (*InitAccountRequest) GetFees

func (m *InitAccountRequest) GetFees() isInitAccountRequest_Fees

func (*InitAccountRequest) GetInitiator

func (m *InitAccountRequest) GetInitiator() string

func (*InitAccountRequest) GetRelativeHeight

func (m *InitAccountRequest) GetRelativeHeight() uint32

func (*InitAccountRequest) ProtoMessage

func (*InitAccountRequest) ProtoMessage()

func (*InitAccountRequest) Reset

func (m *InitAccountRequest) Reset()

func (*InitAccountRequest) String

func (m *InitAccountRequest) String() string

func (*InitAccountRequest) XXX_DiscardUnknown

func (m *InitAccountRequest) XXX_DiscardUnknown()

func (*InitAccountRequest) XXX_Marshal

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

func (*InitAccountRequest) XXX_Merge

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

func (*InitAccountRequest) XXX_OneofWrappers

func (*InitAccountRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*InitAccountRequest) XXX_Size

func (m *InitAccountRequest) XXX_Size() int

func (*InitAccountRequest) XXX_Unmarshal

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

type InitAccountRequest_AbsoluteHeight

type InitAccountRequest_AbsoluteHeight struct {
	AbsoluteHeight uint32 `protobuf:"varint,2,opt,name=absolute_height,json=absoluteHeight,proto3,oneof"`
}

type InitAccountRequest_ConfTarget

type InitAccountRequest_ConfTarget struct {
	ConfTarget uint32 `protobuf:"varint,4,opt,name=conf_target,json=confTarget,proto3,oneof"`
}

type InitAccountRequest_RelativeHeight

type InitAccountRequest_RelativeHeight struct {
	RelativeHeight uint32 `protobuf:"varint,3,opt,name=relative_height,json=relativeHeight,proto3,oneof"`
}

type Lease

type Lease struct {
	// The outpoint of the channel created.
	ChannelPoint *auctioneerrpc.OutPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
	// The amount, in satoshis, of the channel created.
	ChannelAmtSat uint64 `protobuf:"varint,2,opt,name=channel_amt_sat,json=channelAmtSat,proto3" json:"channel_amt_sat,omitempty"`
	// The intended duration, in blocks, of the channel created.
	ChannelDurationBlocks uint32 `` /* 127-byte string literal not displayed */
	// The absolute height that this channel lease expires.
	ChannelLeaseExpiry uint32 `protobuf:"varint,4,opt,name=channel_lease_expiry,json=channelLeaseExpiry,proto3" json:"channel_lease_expiry,omitempty"`
	//
	//The premium, in satoshis, either paid or received for the offered liquidity.
	PremiumSat uint64 `protobuf:"varint,5,opt,name=premium_sat,json=premiumSat,proto3" json:"premium_sat,omitempty"`
	//
	//The execution fee, in satoshis, charged by the auctioneer for the channel
	//created.
	ExecutionFeeSat uint64 `protobuf:"varint,6,opt,name=execution_fee_sat,json=executionFeeSat,proto3" json:"execution_fee_sat,omitempty"`
	//
	//The fee, in satoshis, charged by the auctioneer for the batch execution
	//transaction that created this lease.
	ChainFeeSat uint64 `protobuf:"varint,7,opt,name=chain_fee_sat,json=chainFeeSat,proto3" json:"chain_fee_sat,omitempty"`
	//
	//The actual fixed rate expressed in parts per billionth this lease was
	//bought/sold at.
	ClearingRatePrice uint64 `protobuf:"varint,8,opt,name=clearing_rate_price,json=clearingRatePrice,proto3" json:"clearing_rate_price,omitempty"`
	//
	//The actual fixed rate of the bid/ask, this should always be 'better' than
	//the clearing_rate_price.
	OrderFixedRate uint64 `protobuf:"varint,9,opt,name=order_fixed_rate,json=orderFixedRate,proto3" json:"order_fixed_rate,omitempty"`
	// The order executed that resulted in the channel created.
	OrderNonce []byte `protobuf:"bytes,10,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
	// Whether this channel was purchased from another trader or not.
	Purchased bool `protobuf:"varint,11,opt,name=purchased,proto3" json:"purchased,omitempty"`
	// The pubkey of the node that this channel was bought/sold from.
	ChannelRemoteNodeKey []byte `` /* 126-byte string literal not displayed */
	// The tier of the node that this channel was bought/sold from.
	ChannelNodeTier      auctioneerrpc.NodeTier `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*Lease) Descriptor

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

func (*Lease) GetChainFeeSat

func (m *Lease) GetChainFeeSat() uint64

func (*Lease) GetChannelAmtSat

func (m *Lease) GetChannelAmtSat() uint64

func (*Lease) GetChannelDurationBlocks

func (m *Lease) GetChannelDurationBlocks() uint32

func (*Lease) GetChannelLeaseExpiry

func (m *Lease) GetChannelLeaseExpiry() uint32

func (*Lease) GetChannelNodeTier

func (m *Lease) GetChannelNodeTier() auctioneerrpc.NodeTier

func (*Lease) GetChannelPoint

func (m *Lease) GetChannelPoint() *auctioneerrpc.OutPoint

func (*Lease) GetChannelRemoteNodeKey

func (m *Lease) GetChannelRemoteNodeKey() []byte

func (*Lease) GetClearingRatePrice

func (m *Lease) GetClearingRatePrice() uint64

func (*Lease) GetExecutionFeeSat

func (m *Lease) GetExecutionFeeSat() uint64

func (*Lease) GetOrderFixedRate

func (m *Lease) GetOrderFixedRate() uint64

func (*Lease) GetOrderNonce

func (m *Lease) GetOrderNonce() []byte

func (*Lease) GetPremiumSat

func (m *Lease) GetPremiumSat() uint64

func (*Lease) GetPurchased

func (m *Lease) GetPurchased() bool

func (*Lease) ProtoMessage

func (*Lease) ProtoMessage()

func (*Lease) Reset

func (m *Lease) Reset()

func (*Lease) String

func (m *Lease) String() string

func (*Lease) XXX_DiscardUnknown

func (m *Lease) XXX_DiscardUnknown()

func (*Lease) XXX_Marshal

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

func (*Lease) XXX_Merge

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

func (*Lease) XXX_Size

func (m *Lease) XXX_Size() int

func (*Lease) XXX_Unmarshal

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

type LeaseDurationRequest

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

func (*LeaseDurationRequest) Descriptor

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

func (*LeaseDurationRequest) ProtoMessage

func (*LeaseDurationRequest) ProtoMessage()

func (*LeaseDurationRequest) Reset

func (m *LeaseDurationRequest) Reset()

func (*LeaseDurationRequest) String

func (m *LeaseDurationRequest) String() string

func (*LeaseDurationRequest) XXX_DiscardUnknown

func (m *LeaseDurationRequest) XXX_DiscardUnknown()

func (*LeaseDurationRequest) XXX_Marshal

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

func (*LeaseDurationRequest) XXX_Merge

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

func (*LeaseDurationRequest) XXX_Size

func (m *LeaseDurationRequest) XXX_Size() int

func (*LeaseDurationRequest) XXX_Unmarshal

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

type LeaseDurationResponse

type LeaseDurationResponse struct {
	//
	//Deprecated, use lease_duration_buckets.
	LeaseDurations map[uint32]bool `` // Deprecated: Do not use.
	/* 193-byte string literal not displayed */
	//
	//The set of lease durations the market is currently accepting and the state
	//the duration buckets currently are in.
	LeaseDurationBuckets map[uint32]auctioneerrpc.DurationBucketState `` /* 246-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                     `json:"-"`
	XXX_unrecognized     []byte                                       `json:"-"`
	XXX_sizecache        int32                                        `json:"-"`
}

func (*LeaseDurationResponse) Descriptor

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

func (*LeaseDurationResponse) GetLeaseDurationBuckets

func (m *LeaseDurationResponse) GetLeaseDurationBuckets() map[uint32]auctioneerrpc.DurationBucketState

func (*LeaseDurationResponse) GetLeaseDurations deprecated

func (m *LeaseDurationResponse) GetLeaseDurations() map[uint32]bool

Deprecated: Do not use.

func (*LeaseDurationResponse) ProtoMessage

func (*LeaseDurationResponse) ProtoMessage()

func (*LeaseDurationResponse) Reset

func (m *LeaseDurationResponse) Reset()

func (*LeaseDurationResponse) String

func (m *LeaseDurationResponse) String() string

func (*LeaseDurationResponse) XXX_DiscardUnknown

func (m *LeaseDurationResponse) XXX_DiscardUnknown()

func (*LeaseDurationResponse) XXX_Marshal

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

func (*LeaseDurationResponse) XXX_Merge

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

func (*LeaseDurationResponse) XXX_Size

func (m *LeaseDurationResponse) XXX_Size() int

func (*LeaseDurationResponse) XXX_Unmarshal

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

type LeasesRequest

type LeasesRequest struct {
	//
	//An optional list of batches to retrieve the leases of. If empty, leases
	//throughout all batches are returned.
	BatchIds [][]byte `protobuf:"bytes,1,rep,name=batch_ids,json=batchIds,proto3" json:"batch_ids,omitempty"`
	//
	//An optional list of accounts to retrieve the leases of. If empty, leases
	//for all accounts are returned.
	Accounts             [][]byte `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LeasesRequest) Descriptor

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

func (*LeasesRequest) GetAccounts

func (m *LeasesRequest) GetAccounts() [][]byte

func (*LeasesRequest) GetBatchIds

func (m *LeasesRequest) GetBatchIds() [][]byte

func (*LeasesRequest) ProtoMessage

func (*LeasesRequest) ProtoMessage()

func (*LeasesRequest) Reset

func (m *LeasesRequest) Reset()

func (*LeasesRequest) String

func (m *LeasesRequest) String() string

func (*LeasesRequest) XXX_DiscardUnknown

func (m *LeasesRequest) XXX_DiscardUnknown()

func (*LeasesRequest) XXX_Marshal

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

func (*LeasesRequest) XXX_Merge

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

func (*LeasesRequest) XXX_Size

func (m *LeasesRequest) XXX_Size() int

func (*LeasesRequest) XXX_Unmarshal

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

type LeasesResponse

type LeasesResponse struct {
	// The relevant list of leases purchased or sold within the auction.
	Leases []*Lease `protobuf:"bytes,1,rep,name=leases,proto3" json:"leases,omitempty"`
	// The total amount of satoshis earned from the leases returned.
	TotalAmtEarnedSat uint64 `protobuf:"varint,2,opt,name=total_amt_earned_sat,json=totalAmtEarnedSat,proto3" json:"total_amt_earned_sat,omitempty"`
	// The total amount of satoshis paid for the leases returned.
	TotalAmtPaidSat      uint64   `protobuf:"varint,3,opt,name=total_amt_paid_sat,json=totalAmtPaidSat,proto3" json:"total_amt_paid_sat,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LeasesResponse) Descriptor

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

func (*LeasesResponse) GetLeases

func (m *LeasesResponse) GetLeases() []*Lease

func (*LeasesResponse) GetTotalAmtEarnedSat

func (m *LeasesResponse) GetTotalAmtEarnedSat() uint64

func (*LeasesResponse) GetTotalAmtPaidSat

func (m *LeasesResponse) GetTotalAmtPaidSat() uint64

func (*LeasesResponse) ProtoMessage

func (*LeasesResponse) ProtoMessage()

func (*LeasesResponse) Reset

func (m *LeasesResponse) Reset()

func (*LeasesResponse) String

func (m *LeasesResponse) String() string

func (*LeasesResponse) XXX_DiscardUnknown

func (m *LeasesResponse) XXX_DiscardUnknown()

func (*LeasesResponse) XXX_Marshal

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

func (*LeasesResponse) XXX_Merge

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

func (*LeasesResponse) XXX_Size

func (m *LeasesResponse) XXX_Size() int

func (*LeasesResponse) XXX_Unmarshal

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

type ListAccountsRequest

type ListAccountsRequest struct {
	//
	//Only list accounts that are still active.
	ActiveOnly           bool     `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListAccountsRequest) Descriptor

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

func (*ListAccountsRequest) GetActiveOnly

func (m *ListAccountsRequest) GetActiveOnly() bool

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) Reset

func (m *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (m *ListAccountsRequest) String() string

func (*ListAccountsRequest) XXX_DiscardUnknown

func (m *ListAccountsRequest) XXX_DiscardUnknown()

func (*ListAccountsRequest) XXX_Marshal

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

func (*ListAccountsRequest) XXX_Merge

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

func (*ListAccountsRequest) XXX_Size

func (m *ListAccountsRequest) XXX_Size() int

func (*ListAccountsRequest) XXX_Unmarshal

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

type ListAccountsResponse

type ListAccountsResponse struct {
	Accounts             []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListAccountsResponse) Descriptor

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

func (*ListAccountsResponse) GetAccounts

func (m *ListAccountsResponse) GetAccounts() []*Account

func (*ListAccountsResponse) ProtoMessage

func (*ListAccountsResponse) ProtoMessage()

func (*ListAccountsResponse) Reset

func (m *ListAccountsResponse) Reset()

func (*ListAccountsResponse) String

func (m *ListAccountsResponse) String() string

func (*ListAccountsResponse) XXX_DiscardUnknown

func (m *ListAccountsResponse) XXX_DiscardUnknown()

func (*ListAccountsResponse) XXX_Marshal

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

func (*ListAccountsResponse) XXX_Merge

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

func (*ListAccountsResponse) XXX_Size

func (m *ListAccountsResponse) XXX_Size() int

func (*ListAccountsResponse) XXX_Unmarshal

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

type ListOrdersRequest

type ListOrdersRequest struct {
	//
	//Can be set to true to list the orders including all events, which can be
	//very verbose.
	Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"`
	//
	//Only list orders that are still active.
	ActiveOnly           bool     `protobuf:"varint,2,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListOrdersRequest) Descriptor

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

func (*ListOrdersRequest) GetActiveOnly

func (m *ListOrdersRequest) GetActiveOnly() bool

func (*ListOrdersRequest) GetVerbose

func (m *ListOrdersRequest) GetVerbose() bool

func (*ListOrdersRequest) ProtoMessage

func (*ListOrdersRequest) ProtoMessage()

func (*ListOrdersRequest) Reset

func (m *ListOrdersRequest) Reset()

func (*ListOrdersRequest) String

func (m *ListOrdersRequest) String() string

func (*ListOrdersRequest) XXX_DiscardUnknown

func (m *ListOrdersRequest) XXX_DiscardUnknown()

func (*ListOrdersRequest) XXX_Marshal

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

func (*ListOrdersRequest) XXX_Merge

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

func (*ListOrdersRequest) XXX_Size

func (m *ListOrdersRequest) XXX_Size() int

func (*ListOrdersRequest) XXX_Unmarshal

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

type ListOrdersResponse

type ListOrdersResponse struct {
	Asks                 []*Ask   `protobuf:"bytes,1,rep,name=asks,proto3" json:"asks,omitempty"`
	Bids                 []*Bid   `protobuf:"bytes,2,rep,name=bids,proto3" json:"bids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListOrdersResponse) Descriptor

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

func (*ListOrdersResponse) GetAsks

func (m *ListOrdersResponse) GetAsks() []*Ask

func (*ListOrdersResponse) GetBids

func (m *ListOrdersResponse) GetBids() []*Bid

func (*ListOrdersResponse) ProtoMessage

func (*ListOrdersResponse) ProtoMessage()

func (*ListOrdersResponse) Reset

func (m *ListOrdersResponse) Reset()

func (*ListOrdersResponse) String

func (m *ListOrdersResponse) String() string

func (*ListOrdersResponse) XXX_DiscardUnknown

func (m *ListOrdersResponse) XXX_DiscardUnknown()

func (*ListOrdersResponse) XXX_Marshal

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

func (*ListOrdersResponse) XXX_Merge

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

func (*ListOrdersResponse) XXX_Size

func (m *ListOrdersResponse) XXX_Size() int

func (*ListOrdersResponse) XXX_Unmarshal

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

type LsatToken

type LsatToken struct {
	//*
	//The base macaroon that was baked by the auth server.
	BaseMacaroon []byte `protobuf:"bytes,1,opt,name=base_macaroon,json=baseMacaroon,proto3" json:"base_macaroon,omitempty"`
	//*
	//The payment hash of the payment that was paid to obtain the token.
	PaymentHash []byte `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
	//*
	//The preimage of the payment hash, knowledge of this is proof that the
	//payment has been paid. If the preimage is set to all zeros, this means the
	//payment is still pending and the token is not yet fully valid.
	PaymentPreimage []byte `protobuf:"bytes,3,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
	//*
	//The amount of millisatoshis that was paid to get the token.
	AmountPaidMsat int64 `protobuf:"varint,4,opt,name=amount_paid_msat,json=amountPaidMsat,proto3" json:"amount_paid_msat,omitempty"`
	//*
	//The amount of millisatoshis paid in routing fee to pay for the token.
	RoutingFeePaidMsat int64 `protobuf:"varint,5,opt,name=routing_fee_paid_msat,json=routingFeePaidMsat,proto3" json:"routing_fee_paid_msat,omitempty"`
	//*
	//The creation time of the token as UNIX timestamp in seconds.
	TimeCreated int64 `protobuf:"varint,6,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	//*
	//Indicates whether the token is expired or still valid.
	Expired bool `protobuf:"varint,7,opt,name=expired,proto3" json:"expired,omitempty"`
	//*
	//Identifying attribute of this token in the store. Currently represents the
	//file name of the token where it's stored on the file system.
	StorageName          string   `protobuf:"bytes,8,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LsatToken) Descriptor

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

func (*LsatToken) GetAmountPaidMsat

func (m *LsatToken) GetAmountPaidMsat() int64

func (*LsatToken) GetBaseMacaroon

func (m *LsatToken) GetBaseMacaroon() []byte

func (*LsatToken) GetExpired

func (m *LsatToken) GetExpired() bool

func (*LsatToken) GetPaymentHash

func (m *LsatToken) GetPaymentHash() []byte

func (*LsatToken) GetPaymentPreimage

func (m *LsatToken) GetPaymentPreimage() []byte

func (*LsatToken) GetRoutingFeePaidMsat

func (m *LsatToken) GetRoutingFeePaidMsat() int64

func (*LsatToken) GetStorageName

func (m *LsatToken) GetStorageName() string

func (*LsatToken) GetTimeCreated

func (m *LsatToken) GetTimeCreated() int64

func (*LsatToken) ProtoMessage

func (*LsatToken) ProtoMessage()

func (*LsatToken) Reset

func (m *LsatToken) Reset()

func (*LsatToken) String

func (m *LsatToken) String() string

func (*LsatToken) XXX_DiscardUnknown

func (m *LsatToken) XXX_DiscardUnknown()

func (*LsatToken) XXX_Marshal

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

func (*LsatToken) XXX_Merge

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

func (*LsatToken) XXX_Size

func (m *LsatToken) XXX_Size() int

func (*LsatToken) XXX_Unmarshal

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

type MatchEvent

type MatchEvent struct {
	// The state of the match making process the order went through.
	MatchState MatchState `protobuf:"varint,1,opt,name=match_state,json=matchState,proto3,enum=poolrpc.MatchState" json:"match_state,omitempty"`
	// The number of units that would be (or were) filled with this match.
	UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
	// The nonce of the order we were matched to.
	MatchedOrder []byte `protobuf:"bytes,3,opt,name=matched_order,json=matchedOrder,proto3" json:"matched_order,omitempty"`
	//
	//The reason why the trader daemon rejected the order. Is only set if
	//match_state is set to REJECTED.
	RejectReason         MatchRejectReason `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MatchEvent) Descriptor

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

func (*MatchEvent) GetMatchState

func (m *MatchEvent) GetMatchState() MatchState

func (*MatchEvent) GetMatchedOrder

func (m *MatchEvent) GetMatchedOrder() []byte

func (*MatchEvent) GetRejectReason

func (m *MatchEvent) GetRejectReason() MatchRejectReason

func (*MatchEvent) GetUnitsFilled

func (m *MatchEvent) GetUnitsFilled() uint32

func (*MatchEvent) ProtoMessage

func (*MatchEvent) ProtoMessage()

func (*MatchEvent) Reset

func (m *MatchEvent) Reset()

func (*MatchEvent) String

func (m *MatchEvent) String() string

func (*MatchEvent) XXX_DiscardUnknown

func (m *MatchEvent) XXX_DiscardUnknown()

func (*MatchEvent) XXX_Marshal

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

func (*MatchEvent) XXX_Merge

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

func (*MatchEvent) XXX_Size

func (m *MatchEvent) XXX_Size() int

func (*MatchEvent) XXX_Unmarshal

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

type MatchRejectReason

type MatchRejectReason int32
const (
	// No reject occurred, this is the default value.
	MatchRejectReason_NONE MatchRejectReason = 0
	//
	//The client didn't come up with the same result as the server and is
	//rejecting the batch because of that.
	MatchRejectReason_SERVER_MISBEHAVIOR MatchRejectReason = 1
	//
	//The client doesn't support the current batch verification version the
	//server is using.
	MatchRejectReason_BATCH_VERSION_MISMATCH MatchRejectReason = 2
	//
	//The client rejects some of the orders, not the full batch. This reason is
	//set on matches for orders that were in the same batch as partial reject ones
	//but were not themselves rejected.
	MatchRejectReason_PARTIAL_REJECT_COLLATERAL MatchRejectReason = 3
	//
	//The trader's client has a preference to only match orders with peers it
	//doesn't already have channels with. The order that is rejected with this
	//reason type comes from a peer that the trader already has channels with.
	MatchRejectReason_PARTIAL_REJECT_DUPLICATE_PEER MatchRejectReason = 4
	//
	//The trader's client couldn't connect to the remote node of the matched
	//order or the channel funding could not be initialized for another
	//reason. This could also be the rejecting node's fault if their
	//connection is not stable. Using this code can have a negative impact on
	//the reputation score of both nodes, depending on the number of errors
	//recorded.
	MatchRejectReason_PARTIAL_REJECT_CHANNEL_FUNDING_FAILED MatchRejectReason = 5
)

func (MatchRejectReason) EnumDescriptor

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

func (MatchRejectReason) String

func (x MatchRejectReason) String() string

type MatchState

type MatchState int32
const (
	//
	//The OrderMatchPrepare message from the auctioneer was received initially.
	MatchState_PREPARE MatchState = 0
	//
	//The OrderMatchPrepare message from the auctioneer was processed successfully
	//and the batch was accepted.
	MatchState_ACCEPTED MatchState = 1
	//
	//The order was rejected by the trader daemon, either as an answer to a
	//OrderMatchSignBegin or OrderMatchFinalize message from the auctioneer.
	MatchState_REJECTED MatchState = 2
	//
	//The OrderMatchSignBegin message from the auctioneer was processed
	//successfully.
	MatchState_SIGNED MatchState = 3
	//
	//The OrderMatchFinalize message from the auctioneer was processed
	//successfully.
	MatchState_FINALIZED MatchState = 4
)

func (MatchState) EnumDescriptor

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

func (MatchState) String

func (x MatchState) String() string

type NextBatchInfoRequest

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

func (*NextBatchInfoRequest) Descriptor

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

func (*NextBatchInfoRequest) ProtoMessage

func (*NextBatchInfoRequest) ProtoMessage()

func (*NextBatchInfoRequest) Reset

func (m *NextBatchInfoRequest) Reset()

func (*NextBatchInfoRequest) String

func (m *NextBatchInfoRequest) String() string

func (*NextBatchInfoRequest) XXX_DiscardUnknown

func (m *NextBatchInfoRequest) XXX_DiscardUnknown()

func (*NextBatchInfoRequest) XXX_Marshal

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

func (*NextBatchInfoRequest) XXX_Merge

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

func (*NextBatchInfoRequest) XXX_Size

func (m *NextBatchInfoRequest) XXX_Size() int

func (*NextBatchInfoRequest) XXX_Unmarshal

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

type NextBatchInfoResponse

type NextBatchInfoResponse struct {
	//
	//The confirmation target the auctioneer will use for fee estimation of the
	//next batch.
	ConfTarget uint32 `protobuf:"varint,5,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"`
	//
	//The fee rate, in satoshis per kiloweight, estimated by the auctioneer to use
	//for the next batch.
	FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
	//
	//The absolute unix timestamp in seconds at which the auctioneer will attempt
	//to clear the next batch.
	ClearTimestamp       uint64   `protobuf:"varint,7,opt,name=clear_timestamp,json=clearTimestamp,proto3" json:"clear_timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NextBatchInfoResponse) Descriptor

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

func (*NextBatchInfoResponse) GetClearTimestamp

func (m *NextBatchInfoResponse) GetClearTimestamp() uint64

func (*NextBatchInfoResponse) GetConfTarget

func (m *NextBatchInfoResponse) GetConfTarget() uint32

func (*NextBatchInfoResponse) GetFeeRateSatPerKw

func (m *NextBatchInfoResponse) GetFeeRateSatPerKw() uint64

func (*NextBatchInfoResponse) ProtoMessage

func (*NextBatchInfoResponse) ProtoMessage()

func (*NextBatchInfoResponse) Reset

func (m *NextBatchInfoResponse) Reset()

func (*NextBatchInfoResponse) String

func (m *NextBatchInfoResponse) String() string

func (*NextBatchInfoResponse) XXX_DiscardUnknown

func (m *NextBatchInfoResponse) XXX_DiscardUnknown()

func (*NextBatchInfoResponse) XXX_Marshal

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

func (*NextBatchInfoResponse) XXX_Merge

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

func (*NextBatchInfoResponse) XXX_Size

func (m *NextBatchInfoResponse) XXX_Size() int

func (*NextBatchInfoResponse) XXX_Unmarshal

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

type NodeRatingRequest

type NodeRatingRequest struct {
	// The target node to obtain ratings information for.
	NodePubkeys          [][]byte `protobuf:"bytes,1,rep,name=node_pubkeys,json=nodePubkeys,proto3" json:"node_pubkeys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeRatingRequest) Descriptor

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

func (*NodeRatingRequest) GetNodePubkeys

func (m *NodeRatingRequest) GetNodePubkeys() [][]byte

func (*NodeRatingRequest) ProtoMessage

func (*NodeRatingRequest) ProtoMessage()

func (*NodeRatingRequest) Reset

func (m *NodeRatingRequest) Reset()

func (*NodeRatingRequest) String

func (m *NodeRatingRequest) String() string

func (*NodeRatingRequest) XXX_DiscardUnknown

func (m *NodeRatingRequest) XXX_DiscardUnknown()

func (*NodeRatingRequest) XXX_Marshal

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

func (*NodeRatingRequest) XXX_Merge

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

func (*NodeRatingRequest) XXX_Size

func (m *NodeRatingRequest) XXX_Size() int

func (*NodeRatingRequest) XXX_Unmarshal

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

type NodeRatingResponse

type NodeRatingResponse struct {
	// A series of node ratings for each of the queried nodes.
	NodeRatings          []*auctioneerrpc.NodeRating `protobuf:"bytes,1,rep,name=node_ratings,json=nodeRatings,proto3" json:"node_ratings,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*NodeRatingResponse) Descriptor

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

func (*NodeRatingResponse) GetNodeRatings

func (m *NodeRatingResponse) GetNodeRatings() []*auctioneerrpc.NodeRating

func (*NodeRatingResponse) ProtoMessage

func (*NodeRatingResponse) ProtoMessage()

func (*NodeRatingResponse) Reset

func (m *NodeRatingResponse) Reset()

func (*NodeRatingResponse) String

func (m *NodeRatingResponse) String() string

func (*NodeRatingResponse) XXX_DiscardUnknown

func (m *NodeRatingResponse) XXX_DiscardUnknown()

func (*NodeRatingResponse) XXX_Marshal

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

func (*NodeRatingResponse) XXX_Merge

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

func (*NodeRatingResponse) XXX_Size

func (m *NodeRatingResponse) XXX_Size() int

func (*NodeRatingResponse) XXX_Unmarshal

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

type Order

type Order struct {
	//
	//The trader's account key of the account that is used for the order.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	//
	//Fixed order rate in parts per billion.
	RateFixed uint32 `protobuf:"varint,2,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"`
	//
	//Order amount in satoshis.
	Amt uint64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
	//
	//Maximum fee rate the trader is willing to pay for the batch transaction,
	//expressed in satoshis per 1000 weight units (sat/KW).
	MaxBatchFeeRateSatPerKw uint64 `` /* 141-byte string literal not displayed */
	//
	//Order nonce, acts as unique order identifier.
	OrderNonce []byte `protobuf:"bytes,5,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
	//
	//The state the order currently is in.
	State auctioneerrpc.OrderState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.OrderState" json:"state,omitempty"`
	//
	//The number of order units the amount corresponds to.
	Units uint32 `protobuf:"varint,7,opt,name=units,proto3" json:"units,omitempty"`
	//
	//The number of currently unfilled units of this order. This will be equal to
	//the total amount of units until the order has reached the state PARTIAL_FILL
	//or EXECUTED.
	UnitsUnfulfilled uint32 `protobuf:"varint,8,opt,name=units_unfulfilled,json=unitsUnfulfilled,proto3" json:"units_unfulfilled,omitempty"`
	// The value reserved from the account by this order to ensure the account
	// can pay execution and chain fees in case it gets matched.
	ReservedValueSat uint64 `protobuf:"varint,9,opt,name=reserved_value_sat,json=reservedValueSat,proto3" json:"reserved_value_sat,omitempty"`
	// The unix timestamp in nanoseconds the order was first created/submitted.
	CreationTimestampNs uint64 `protobuf:"varint,10,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"`
	//
	//A list of events that were emitted for this order. This field is only set
	//when the verbose flag is set to true in the request.
	Events []*OrderEvent `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"`
	// The minimum number of order units that must be matched per order pair.
	MinUnitsMatch        uint32   `protobuf:"varint,12,opt,name=min_units_match,json=minUnitsMatch,proto3" json:"min_units_match,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Order) Descriptor

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

func (*Order) GetAmt

func (m *Order) GetAmt() uint64

func (*Order) GetCreationTimestampNs

func (m *Order) GetCreationTimestampNs() uint64

func (*Order) GetEvents

func (m *Order) GetEvents() []*OrderEvent

func (*Order) GetMaxBatchFeeRateSatPerKw

func (m *Order) GetMaxBatchFeeRateSatPerKw() uint64

func (*Order) GetMinUnitsMatch

func (m *Order) GetMinUnitsMatch() uint32

func (*Order) GetOrderNonce

func (m *Order) GetOrderNonce() []byte

func (*Order) GetRateFixed

func (m *Order) GetRateFixed() uint32

func (*Order) GetReservedValueSat

func (m *Order) GetReservedValueSat() uint64

func (*Order) GetState

func (m *Order) GetState() auctioneerrpc.OrderState

func (*Order) GetTraderKey

func (m *Order) GetTraderKey() []byte

func (*Order) GetUnits

func (m *Order) GetUnits() uint32

func (*Order) GetUnitsUnfulfilled

func (m *Order) GetUnitsUnfulfilled() uint32

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) String

func (m *Order) String() string

func (*Order) XXX_DiscardUnknown

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal

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

func (*Order) XXX_Merge

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

func (*Order) XXX_Size

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal

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

type OrderEvent

type OrderEvent struct {
	//
	//The unix timestamp in nanoseconds the event was emitted at. This is the
	//primary key of the event and is unique across the database.
	TimestampNs int64 `protobuf:"varint,1,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
	// The human readable representation of the event.
	EventStr string `protobuf:"bytes,2,opt,name=event_str,json=eventStr,proto3" json:"event_str,omitempty"`
	// Types that are valid to be assigned to Event:
	//	*OrderEvent_StateChange
	//	*OrderEvent_Matched
	Event                isOrderEvent_Event `protobuf_oneof:"event"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*OrderEvent) Descriptor

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

func (*OrderEvent) GetEvent

func (m *OrderEvent) GetEvent() isOrderEvent_Event

func (*OrderEvent) GetEventStr

func (m *OrderEvent) GetEventStr() string

func (*OrderEvent) GetMatched

func (m *OrderEvent) GetMatched() *MatchEvent

func (*OrderEvent) GetStateChange

func (m *OrderEvent) GetStateChange() *UpdatedEvent

func (*OrderEvent) GetTimestampNs

func (m *OrderEvent) GetTimestampNs() int64

func (*OrderEvent) ProtoMessage

func (*OrderEvent) ProtoMessage()

func (*OrderEvent) Reset

func (m *OrderEvent) Reset()

func (*OrderEvent) String

func (m *OrderEvent) String() string

func (*OrderEvent) XXX_DiscardUnknown

func (m *OrderEvent) XXX_DiscardUnknown()

func (*OrderEvent) XXX_Marshal

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

func (*OrderEvent) XXX_Merge

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

func (*OrderEvent) XXX_OneofWrappers

func (*OrderEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OrderEvent) XXX_Size

func (m *OrderEvent) XXX_Size() int

func (*OrderEvent) XXX_Unmarshal

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

type OrderEvent_Matched

type OrderEvent_Matched struct {
	Matched *MatchEvent `protobuf:"bytes,4,opt,name=matched,proto3,oneof"`
}

type OrderEvent_StateChange

type OrderEvent_StateChange struct {
	StateChange *UpdatedEvent `protobuf:"bytes,3,opt,name=state_change,json=stateChange,proto3,oneof"`
}

type Output

type Output struct {
	// The value, in satoshis, of the output.
	ValueSat uint64 `protobuf:"varint,1,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"`
	// The address corresponding to the output.
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Output) Descriptor

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

func (*Output) GetAddress

func (m *Output) GetAddress() string

func (*Output) GetValueSat

func (m *Output) GetValueSat() 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 (m *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 OutputWithFee

type OutputWithFee struct {
	// The address corresponding to the output.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Types that are valid to be assigned to Fees:
	//	*OutputWithFee_ConfTarget
	//	*OutputWithFee_FeeRateSatPerKw
	Fees                 isOutputWithFee_Fees `protobuf_oneof:"fees"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*OutputWithFee) Descriptor

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

func (*OutputWithFee) GetAddress

func (m *OutputWithFee) GetAddress() string

func (*OutputWithFee) GetConfTarget

func (m *OutputWithFee) GetConfTarget() uint32

func (*OutputWithFee) GetFeeRateSatPerKw

func (m *OutputWithFee) GetFeeRateSatPerKw() uint64

func (*OutputWithFee) GetFees

func (m *OutputWithFee) GetFees() isOutputWithFee_Fees

func (*OutputWithFee) ProtoMessage

func (*OutputWithFee) ProtoMessage()

func (*OutputWithFee) Reset

func (m *OutputWithFee) Reset()

func (*OutputWithFee) String

func (m *OutputWithFee) String() string

func (*OutputWithFee) XXX_DiscardUnknown

func (m *OutputWithFee) XXX_DiscardUnknown()

func (*OutputWithFee) XXX_Marshal

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

func (*OutputWithFee) XXX_Merge

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

func (*OutputWithFee) XXX_OneofWrappers

func (*OutputWithFee) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*OutputWithFee) XXX_Size

func (m *OutputWithFee) XXX_Size() int

func (*OutputWithFee) XXX_Unmarshal

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

type OutputWithFee_ConfTarget

type OutputWithFee_ConfTarget struct {
	ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"`
}

type OutputWithFee_FeeRateSatPerKw

type OutputWithFee_FeeRateSatPerKw struct {
	FeeRateSatPerKw uint64 `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3,oneof"`
}

type OutputsWithImplicitFee

type OutputsWithImplicitFee struct {
	Outputs              []*Output `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*OutputsWithImplicitFee) Descriptor

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

func (*OutputsWithImplicitFee) GetOutputs

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

func (*OutputsWithImplicitFee) ProtoMessage

func (*OutputsWithImplicitFee) ProtoMessage()

func (*OutputsWithImplicitFee) Reset

func (m *OutputsWithImplicitFee) Reset()

func (*OutputsWithImplicitFee) String

func (m *OutputsWithImplicitFee) String() string

func (*OutputsWithImplicitFee) XXX_DiscardUnknown

func (m *OutputsWithImplicitFee) XXX_DiscardUnknown()

func (*OutputsWithImplicitFee) XXX_Marshal

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

func (*OutputsWithImplicitFee) XXX_Merge

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

func (*OutputsWithImplicitFee) XXX_Size

func (m *OutputsWithImplicitFee) XXX_Size() int

func (*OutputsWithImplicitFee) XXX_Unmarshal

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

type QuoteAccountRequest

type QuoteAccountRequest struct {
	AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
	// Types that are valid to be assigned to Fees:
	//	*QuoteAccountRequest_ConfTarget
	Fees                 isQuoteAccountRequest_Fees `protobuf_oneof:"fees"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*QuoteAccountRequest) Descriptor

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

func (*QuoteAccountRequest) GetAccountValue

func (m *QuoteAccountRequest) GetAccountValue() uint64

func (*QuoteAccountRequest) GetConfTarget

func (m *QuoteAccountRequest) GetConfTarget() uint32

func (*QuoteAccountRequest) GetFees

func (m *QuoteAccountRequest) GetFees() isQuoteAccountRequest_Fees

func (*QuoteAccountRequest) ProtoMessage

func (*QuoteAccountRequest) ProtoMessage()

func (*QuoteAccountRequest) Reset

func (m *QuoteAccountRequest) Reset()

func (*QuoteAccountRequest) String

func (m *QuoteAccountRequest) String() string

func (*QuoteAccountRequest) XXX_DiscardUnknown

func (m *QuoteAccountRequest) XXX_DiscardUnknown()

func (*QuoteAccountRequest) XXX_Marshal

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

func (*QuoteAccountRequest) XXX_Merge

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

func (*QuoteAccountRequest) XXX_OneofWrappers

func (*QuoteAccountRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*QuoteAccountRequest) XXX_Size

func (m *QuoteAccountRequest) XXX_Size() int

func (*QuoteAccountRequest) XXX_Unmarshal

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

type QuoteAccountRequest_ConfTarget

type QuoteAccountRequest_ConfTarget struct {
	ConfTarget uint32 `protobuf:"varint,2,opt,name=conf_target,json=confTarget,proto3,oneof"`
}

type QuoteAccountResponse

type QuoteAccountResponse struct {
	MinerFeeRateSatPerKw uint64   `` /* 130-byte string literal not displayed */
	MinerFeeTotal        uint64   `protobuf:"varint,2,opt,name=miner_fee_total,json=minerFeeTotal,proto3" json:"miner_fee_total,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QuoteAccountResponse) Descriptor

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

func (*QuoteAccountResponse) GetMinerFeeRateSatPerKw

func (m *QuoteAccountResponse) GetMinerFeeRateSatPerKw() uint64

func (*QuoteAccountResponse) GetMinerFeeTotal

func (m *QuoteAccountResponse) GetMinerFeeTotal() uint64

func (*QuoteAccountResponse) ProtoMessage

func (*QuoteAccountResponse) ProtoMessage()

func (*QuoteAccountResponse) Reset

func (m *QuoteAccountResponse) Reset()

func (*QuoteAccountResponse) String

func (m *QuoteAccountResponse) String() string

func (*QuoteAccountResponse) XXX_DiscardUnknown

func (m *QuoteAccountResponse) XXX_DiscardUnknown()

func (*QuoteAccountResponse) XXX_Marshal

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

func (*QuoteAccountResponse) XXX_Merge

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

func (*QuoteAccountResponse) XXX_Size

func (m *QuoteAccountResponse) XXX_Size() int

func (*QuoteAccountResponse) XXX_Unmarshal

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

type RecoverAccountsRequest

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

func (*RecoverAccountsRequest) Descriptor

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

func (*RecoverAccountsRequest) ProtoMessage

func (*RecoverAccountsRequest) ProtoMessage()

func (*RecoverAccountsRequest) Reset

func (m *RecoverAccountsRequest) Reset()

func (*RecoverAccountsRequest) String

func (m *RecoverAccountsRequest) String() string

func (*RecoverAccountsRequest) XXX_DiscardUnknown

func (m *RecoverAccountsRequest) XXX_DiscardUnknown()

func (*RecoverAccountsRequest) XXX_Marshal

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

func (*RecoverAccountsRequest) XXX_Merge

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

func (*RecoverAccountsRequest) XXX_Size

func (m *RecoverAccountsRequest) XXX_Size() int

func (*RecoverAccountsRequest) XXX_Unmarshal

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

type RecoverAccountsResponse

type RecoverAccountsResponse struct {
	// The number of accounts that were recovered.
	NumRecoveredAccounts uint32   `protobuf:"varint,1,opt,name=num_recovered_accounts,json=numRecoveredAccounts,proto3" json:"num_recovered_accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RecoverAccountsResponse) Descriptor

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

func (*RecoverAccountsResponse) GetNumRecoveredAccounts

func (m *RecoverAccountsResponse) GetNumRecoveredAccounts() uint32

func (*RecoverAccountsResponse) ProtoMessage

func (*RecoverAccountsResponse) ProtoMessage()

func (*RecoverAccountsResponse) Reset

func (m *RecoverAccountsResponse) Reset()

func (*RecoverAccountsResponse) String

func (m *RecoverAccountsResponse) String() string

func (*RecoverAccountsResponse) XXX_DiscardUnknown

func (m *RecoverAccountsResponse) XXX_DiscardUnknown()

func (*RecoverAccountsResponse) XXX_Marshal

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

func (*RecoverAccountsResponse) XXX_Merge

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

func (*RecoverAccountsResponse) XXX_Size

func (m *RecoverAccountsResponse) XXX_Size() int

func (*RecoverAccountsResponse) XXX_Unmarshal

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

type RenewAccountRequest

type RenewAccountRequest struct {
	// The key associated with the account to renew.
	AccountKey []byte `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"`
	// Types that are valid to be assigned to AccountExpiry:
	//	*RenewAccountRequest_AbsoluteExpiry
	//	*RenewAccountRequest_RelativeExpiry
	AccountExpiry isRenewAccountRequest_AccountExpiry `protobuf_oneof:"account_expiry"`
	// The fee rate, in satoshis per kw, to use for the renewal transaction.
	FeeRateSatPerKw      uint64   `protobuf:"varint,4,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RenewAccountRequest) Descriptor

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

func (*RenewAccountRequest) GetAbsoluteExpiry

func (m *RenewAccountRequest) GetAbsoluteExpiry() uint32

func (*RenewAccountRequest) GetAccountExpiry

func (m *RenewAccountRequest) GetAccountExpiry() isRenewAccountRequest_AccountExpiry

func (*RenewAccountRequest) GetAccountKey

func (m *RenewAccountRequest) GetAccountKey() []byte

func (*RenewAccountRequest) GetFeeRateSatPerKw

func (m *RenewAccountRequest) GetFeeRateSatPerKw() uint64

func (*RenewAccountRequest) GetRelativeExpiry

func (m *RenewAccountRequest) GetRelativeExpiry() uint32

func (*RenewAccountRequest) ProtoMessage

func (*RenewAccountRequest) ProtoMessage()

func (*RenewAccountRequest) Reset

func (m *RenewAccountRequest) Reset()

func (*RenewAccountRequest) String

func (m *RenewAccountRequest) String() string

func (*RenewAccountRequest) XXX_DiscardUnknown

func (m *RenewAccountRequest) XXX_DiscardUnknown()

func (*RenewAccountRequest) XXX_Marshal

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

func (*RenewAccountRequest) XXX_Merge

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

func (*RenewAccountRequest) XXX_OneofWrappers

func (*RenewAccountRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RenewAccountRequest) XXX_Size

func (m *RenewAccountRequest) XXX_Size() int

func (*RenewAccountRequest) XXX_Unmarshal

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

type RenewAccountRequest_AbsoluteExpiry

type RenewAccountRequest_AbsoluteExpiry struct {
	AbsoluteExpiry uint32 `protobuf:"varint,2,opt,name=absolute_expiry,json=absoluteExpiry,proto3,oneof"`
}

type RenewAccountRequest_RelativeExpiry

type RenewAccountRequest_RelativeExpiry struct {
	RelativeExpiry uint32 `protobuf:"varint,3,opt,name=relative_expiry,json=relativeExpiry,proto3,oneof"`
}

type RenewAccountResponse

type RenewAccountResponse struct {
	// The state of the account after processing the renewal.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The transaction used to renew the expiration of the account.
	RenewalTxid          []byte   `protobuf:"bytes,2,opt,name=renewal_txid,json=renewalTxid,proto3" json:"renewal_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RenewAccountResponse) Descriptor

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

func (*RenewAccountResponse) GetAccount

func (m *RenewAccountResponse) GetAccount() *Account

func (*RenewAccountResponse) GetRenewalTxid

func (m *RenewAccountResponse) GetRenewalTxid() []byte

func (*RenewAccountResponse) ProtoMessage

func (*RenewAccountResponse) ProtoMessage()

func (*RenewAccountResponse) Reset

func (m *RenewAccountResponse) Reset()

func (*RenewAccountResponse) String

func (m *RenewAccountResponse) String() string

func (*RenewAccountResponse) XXX_DiscardUnknown

func (m *RenewAccountResponse) XXX_DiscardUnknown()

func (*RenewAccountResponse) XXX_Marshal

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

func (*RenewAccountResponse) XXX_Merge

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

func (*RenewAccountResponse) XXX_Size

func (m *RenewAccountResponse) XXX_Size() int

func (*RenewAccountResponse) XXX_Unmarshal

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

type StopDaemonRequest

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

func (*StopDaemonRequest) Descriptor

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

func (*StopDaemonRequest) ProtoMessage

func (*StopDaemonRequest) ProtoMessage()

func (*StopDaemonRequest) Reset

func (m *StopDaemonRequest) Reset()

func (*StopDaemonRequest) String

func (m *StopDaemonRequest) String() string

func (*StopDaemonRequest) XXX_DiscardUnknown

func (m *StopDaemonRequest) XXX_DiscardUnknown()

func (*StopDaemonRequest) XXX_Marshal

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

func (*StopDaemonRequest) XXX_Merge

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

func (*StopDaemonRequest) XXX_Size

func (m *StopDaemonRequest) XXX_Size() int

func (*StopDaemonRequest) XXX_Unmarshal

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

type StopDaemonResponse

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

func (*StopDaemonResponse) Descriptor

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

func (*StopDaemonResponse) ProtoMessage

func (*StopDaemonResponse) ProtoMessage()

func (*StopDaemonResponse) Reset

func (m *StopDaemonResponse) Reset()

func (*StopDaemonResponse) String

func (m *StopDaemonResponse) String() string

func (*StopDaemonResponse) XXX_DiscardUnknown

func (m *StopDaemonResponse) XXX_DiscardUnknown()

func (*StopDaemonResponse) XXX_Marshal

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

func (*StopDaemonResponse) XXX_Merge

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

func (*StopDaemonResponse) XXX_Size

func (m *StopDaemonResponse) XXX_Size() int

func (*StopDaemonResponse) XXX_Unmarshal

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

type SubmitOrderRequest

type SubmitOrderRequest struct {
	// Types that are valid to be assigned to Details:
	//	*SubmitOrderRequest_Ask
	//	*SubmitOrderRequest_Bid
	Details isSubmitOrderRequest_Details `protobuf_oneof:"details"`
	//
	//An optional identification string that will be appended to the user agent
	//string sent to the server to give information about the usage of pool. This
	//initiator part is meant for user interfaces to add their name to give the
	//full picture of the binary used (poold, LiT) and the method used for
	//submitting the order (pool CLI, LiT UI, other 3rd party UI).
	Initiator            string   `protobuf:"bytes,3,opt,name=initiator,proto3" json:"initiator,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubmitOrderRequest) Descriptor

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

func (*SubmitOrderRequest) GetAsk

func (m *SubmitOrderRequest) GetAsk() *Ask

func (*SubmitOrderRequest) GetBid

func (m *SubmitOrderRequest) GetBid() *Bid

func (*SubmitOrderRequest) GetDetails

func (m *SubmitOrderRequest) GetDetails() isSubmitOrderRequest_Details

func (*SubmitOrderRequest) GetInitiator

func (m *SubmitOrderRequest) GetInitiator() string

func (*SubmitOrderRequest) ProtoMessage

func (*SubmitOrderRequest) ProtoMessage()

func (*SubmitOrderRequest) Reset

func (m *SubmitOrderRequest) Reset()

func (*SubmitOrderRequest) String

func (m *SubmitOrderRequest) String() string

func (*SubmitOrderRequest) XXX_DiscardUnknown

func (m *SubmitOrderRequest) XXX_DiscardUnknown()

func (*SubmitOrderRequest) XXX_Marshal

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

func (*SubmitOrderRequest) XXX_Merge

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

func (*SubmitOrderRequest) XXX_OneofWrappers

func (*SubmitOrderRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SubmitOrderRequest) XXX_Size

func (m *SubmitOrderRequest) XXX_Size() int

func (*SubmitOrderRequest) XXX_Unmarshal

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

type SubmitOrderRequest_Ask

type SubmitOrderRequest_Ask struct {
	Ask *Ask `protobuf:"bytes,1,opt,name=ask,proto3,oneof"`
}

type SubmitOrderRequest_Bid

type SubmitOrderRequest_Bid struct {
	Bid *Bid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"`
}

type SubmitOrderResponse

type SubmitOrderResponse struct {
	// Types that are valid to be assigned to Details:
	//	*SubmitOrderResponse_InvalidOrder
	//	*SubmitOrderResponse_AcceptedOrderNonce
	Details              isSubmitOrderResponse_Details `protobuf_oneof:"details"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*SubmitOrderResponse) Descriptor

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

func (*SubmitOrderResponse) GetAcceptedOrderNonce

func (m *SubmitOrderResponse) GetAcceptedOrderNonce() []byte

func (*SubmitOrderResponse) GetDetails

func (m *SubmitOrderResponse) GetDetails() isSubmitOrderResponse_Details

func (*SubmitOrderResponse) GetInvalidOrder

func (m *SubmitOrderResponse) GetInvalidOrder() *auctioneerrpc.InvalidOrder

func (*SubmitOrderResponse) ProtoMessage

func (*SubmitOrderResponse) ProtoMessage()

func (*SubmitOrderResponse) Reset

func (m *SubmitOrderResponse) Reset()

func (*SubmitOrderResponse) String

func (m *SubmitOrderResponse) String() string

func (*SubmitOrderResponse) XXX_DiscardUnknown

func (m *SubmitOrderResponse) XXX_DiscardUnknown()

func (*SubmitOrderResponse) XXX_Marshal

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

func (*SubmitOrderResponse) XXX_Merge

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

func (*SubmitOrderResponse) XXX_OneofWrappers

func (*SubmitOrderResponse) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*SubmitOrderResponse) XXX_Size

func (m *SubmitOrderResponse) XXX_Size() int

func (*SubmitOrderResponse) XXX_Unmarshal

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

type SubmitOrderResponse_AcceptedOrderNonce

type SubmitOrderResponse_AcceptedOrderNonce struct {
	AcceptedOrderNonce []byte `protobuf:"bytes,2,opt,name=accepted_order_nonce,json=acceptedOrderNonce,proto3,oneof"`
}

type SubmitOrderResponse_InvalidOrder

type SubmitOrderResponse_InvalidOrder struct {
	InvalidOrder *auctioneerrpc.InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"`
}

type TokensRequest

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

func (*TokensRequest) Descriptor

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

func (*TokensRequest) ProtoMessage

func (*TokensRequest) ProtoMessage()

func (*TokensRequest) Reset

func (m *TokensRequest) Reset()

func (*TokensRequest) String

func (m *TokensRequest) String() string

func (*TokensRequest) XXX_DiscardUnknown

func (m *TokensRequest) XXX_DiscardUnknown()

func (*TokensRequest) XXX_Marshal

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

func (*TokensRequest) XXX_Merge

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

func (*TokensRequest) XXX_Size

func (m *TokensRequest) XXX_Size() int

func (*TokensRequest) XXX_Unmarshal

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

type TokensResponse

type TokensResponse struct {
	//*
	//List of all tokens the daemon knows of, including old/expired tokens.
	Tokens               []*LsatToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*TokensResponse) Descriptor

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

func (*TokensResponse) GetTokens

func (m *TokensResponse) GetTokens() []*LsatToken

func (*TokensResponse) ProtoMessage

func (*TokensResponse) ProtoMessage()

func (*TokensResponse) Reset

func (m *TokensResponse) Reset()

func (*TokensResponse) String

func (m *TokensResponse) String() string

func (*TokensResponse) XXX_DiscardUnknown

func (m *TokensResponse) XXX_DiscardUnknown()

func (*TokensResponse) XXX_Marshal

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

func (*TokensResponse) XXX_Merge

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

func (*TokensResponse) XXX_Size

func (m *TokensResponse) XXX_Size() int

func (*TokensResponse) XXX_Unmarshal

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

type TraderClient

type TraderClient interface {
	// pool: `getinfo`
	//GetInfo returns general information about the state of the Pool trader
	//daemon.
	GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
	// pool: `stop`
	//Stop gracefully shuts down the Pool trader daemon.
	StopDaemon(ctx context.Context, in *StopDaemonRequest, opts ...grpc.CallOption) (*StopDaemonResponse, error)
	//
	//QuoteAccount gets a fee quote to fund an account of the given size with the
	//given confirmation target. If the connected lnd wallet doesn't have enough
	//balance to fund an account of the requested size, an error is returned.
	QuoteAccount(ctx context.Context, in *QuoteAccountRequest, opts ...grpc.CallOption) (*QuoteAccountResponse, error)
	// pool: `accounts new`
	//InitAccount creates a new account with the requested size and expiration,
	//funding it from the wallet of the connected lnd node.
	InitAccount(ctx context.Context, in *InitAccountRequest, opts ...grpc.CallOption) (*Account, error)
	// pool: `accounts list`
	//ListAccounts returns a list of all accounts known to the trader daemon and
	//their current state.
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error)
	// pool: `accounts close`
	//CloseAccount closes an account and returns the funds locked in that account
	//to the connected lnd node's wallet.
	CloseAccount(ctx context.Context, in *CloseAccountRequest, opts ...grpc.CallOption) (*CloseAccountResponse, error)
	// pool: `accounts withdraw`
	//WithdrawAccount splits off parts of the account balance into the specified
	//outputs while recreating the account with a reduced balance.
	WithdrawAccount(ctx context.Context, in *WithdrawAccountRequest, opts ...grpc.CallOption) (*WithdrawAccountResponse, error)
	// pool: `accounts deposit`
	//DepositAccount adds more funds from the connected lnd node's wallet to an
	//account.
	DepositAccount(ctx context.Context, in *DepositAccountRequest, opts ...grpc.CallOption) (*DepositAccountResponse, error)
	// pool: `accounts renew`
	//RenewAccount renews the expiration of an account.
	RenewAccount(ctx context.Context, in *RenewAccountRequest, opts ...grpc.CallOption) (*RenewAccountResponse, error)
	// pool: `accounts bumpfee`
	//BumpAccountFee attempts to bump the fee of an account's transaction through
	//child-pays-for-parent (CPFP). Since the CPFP is performed through the
	//backing lnd node, the account transaction must contain an output under its
	//control for a successful bump. If a CPFP has already been performed for an
	//account, and this RPC is invoked again, then a replacing transaction (RBF)
	//of the child will be broadcast.
	BumpAccountFee(ctx context.Context, in *BumpAccountFeeRequest, opts ...grpc.CallOption) (*BumpAccountFeeResponse, error)
	// pool: `accounts recover`
	//RecoverAccounts queries the auction server for this trader daemon's accounts
	//in case we lost our local account database.
	RecoverAccounts(ctx context.Context, in *RecoverAccountsRequest, opts ...grpc.CallOption) (*RecoverAccountsResponse, error)
	// pool: `orders submit`
	//SubmitOrder creates a new ask or bid order and submits for the given account
	//and submits it to the auction server for matching.
	SubmitOrder(ctx context.Context, in *SubmitOrderRequest, opts ...grpc.CallOption) (*SubmitOrderResponse, error)
	// pool: `orders list`
	//ListOrders returns a list of all active and archived orders that are
	//currently known to the trader daemon.
	ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
	// pool: `orders cancel`
	//CancelOrder cancels an active order with the auction server to remove it
	//from future matching.
	CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*CancelOrderResponse, error)
	// pool: `auction fee`
	//AuctionFee returns the current auction order execution fee specified by the
	//auction server.
	AuctionFee(ctx context.Context, in *AuctionFeeRequest, opts ...grpc.CallOption) (*AuctionFeeResponse, error)
	// pool: `auction leasedurations`
	//LeaseDurations returns the current set of valid lease duration in the
	//market as is, and also information w.r.t if the market is currently active.
	LeaseDurations(ctx context.Context, in *LeaseDurationRequest, opts ...grpc.CallOption) (*LeaseDurationResponse, error)
	// pool: `auction nextbatchinfo`
	//NextBatchInfo returns information about the next batch the auctioneer will
	//perform.
	NextBatchInfo(ctx context.Context, in *NextBatchInfoRequest, opts ...grpc.CallOption) (*NextBatchInfoResponse, error)
	// pool: `auction snapshot`
	//BatchSnapshot returns the snapshot of a past batch identified by its ID.
	//If no ID is provided, the snapshot of the last finalized batch is returned.
	//Deprecated, use BatchSnapshots instead.
	BatchSnapshot(ctx context.Context, in *auctioneerrpc.BatchSnapshotRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotResponse, error)
	// pool: `listauth`
	//GetLsatTokens returns all LSAT tokens the daemon ever paid for.
	GetLsatTokens(ctx context.Context, in *TokensRequest, opts ...grpc.CallOption) (*TokensResponse, error)
	// pool: `auction leases`
	//Leases returns the list of channels that were either purchased or sold by
	//the trader within the auction.
	Leases(ctx context.Context, in *LeasesRequest, opts ...grpc.CallOption) (*LeasesResponse, error)
	// pool: `auction ratings`
	//Returns the Node Tier information for this target Lightning node, and other
	//related ranking information.
	NodeRatings(ctx context.Context, in *NodeRatingRequest, opts ...grpc.CallOption) (*NodeRatingResponse, error)
	// pool: `auction snapshot`
	//BatchSnapshots returns a list of batch snapshots starting at the start batch
	//ID and going back through the history of batches, returning at most the
	//number of specified batches. A maximum of 100 snapshots can be queried in
	//one call. If no start batch ID is provided, the most recent finalized batch
	//is used as the starting point to go back from.
	BatchSnapshots(ctx context.Context, in *auctioneerrpc.BatchSnapshotsRequest, opts ...grpc.CallOption) (*auctioneerrpc.BatchSnapshotsResponse, error)
}

TraderClient is the client API for Trader service.

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

func NewTraderClient

func NewTraderClient(cc *grpc.ClientConn) TraderClient

type TraderServer

type TraderServer interface {
	// pool: `getinfo`
	//GetInfo returns general information about the state of the Pool trader
	//daemon.
	GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
	// pool: `stop`
	//Stop gracefully shuts down the Pool trader daemon.
	StopDaemon(context.Context, *StopDaemonRequest) (*StopDaemonResponse, error)
	//
	//QuoteAccount gets a fee quote to fund an account of the given size with the
	//given confirmation target. If the connected lnd wallet doesn't have enough
	//balance to fund an account of the requested size, an error is returned.
	QuoteAccount(context.Context, *QuoteAccountRequest) (*QuoteAccountResponse, error)
	// pool: `accounts new`
	//InitAccount creates a new account with the requested size and expiration,
	//funding it from the wallet of the connected lnd node.
	InitAccount(context.Context, *InitAccountRequest) (*Account, error)
	// pool: `accounts list`
	//ListAccounts returns a list of all accounts known to the trader daemon and
	//their current state.
	ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error)
	// pool: `accounts close`
	//CloseAccount closes an account and returns the funds locked in that account
	//to the connected lnd node's wallet.
	CloseAccount(context.Context, *CloseAccountRequest) (*CloseAccountResponse, error)
	// pool: `accounts withdraw`
	//WithdrawAccount splits off parts of the account balance into the specified
	//outputs while recreating the account with a reduced balance.
	WithdrawAccount(context.Context, *WithdrawAccountRequest) (*WithdrawAccountResponse, error)
	// pool: `accounts deposit`
	//DepositAccount adds more funds from the connected lnd node's wallet to an
	//account.
	DepositAccount(context.Context, *DepositAccountRequest) (*DepositAccountResponse, error)
	// pool: `accounts renew`
	//RenewAccount renews the expiration of an account.
	RenewAccount(context.Context, *RenewAccountRequest) (*RenewAccountResponse, error)
	// pool: `accounts bumpfee`
	//BumpAccountFee attempts to bump the fee of an account's transaction through
	//child-pays-for-parent (CPFP). Since the CPFP is performed through the
	//backing lnd node, the account transaction must contain an output under its
	//control for a successful bump. If a CPFP has already been performed for an
	//account, and this RPC is invoked again, then a replacing transaction (RBF)
	//of the child will be broadcast.
	BumpAccountFee(context.Context, *BumpAccountFeeRequest) (*BumpAccountFeeResponse, error)
	// pool: `accounts recover`
	//RecoverAccounts queries the auction server for this trader daemon's accounts
	//in case we lost our local account database.
	RecoverAccounts(context.Context, *RecoverAccountsRequest) (*RecoverAccountsResponse, error)
	// pool: `orders submit`
	//SubmitOrder creates a new ask or bid order and submits for the given account
	//and submits it to the auction server for matching.
	SubmitOrder(context.Context, *SubmitOrderRequest) (*SubmitOrderResponse, error)
	// pool: `orders list`
	//ListOrders returns a list of all active and archived orders that are
	//currently known to the trader daemon.
	ListOrders(context.Context, *ListOrdersRequest) (*ListOrdersResponse, error)
	// pool: `orders cancel`
	//CancelOrder cancels an active order with the auction server to remove it
	//from future matching.
	CancelOrder(context.Context, *CancelOrderRequest) (*CancelOrderResponse, error)
	// pool: `auction fee`
	//AuctionFee returns the current auction order execution fee specified by the
	//auction server.
	AuctionFee(context.Context, *AuctionFeeRequest) (*AuctionFeeResponse, error)
	// pool: `auction leasedurations`
	//LeaseDurations returns the current set of valid lease duration in the
	//market as is, and also information w.r.t if the market is currently active.
	LeaseDurations(context.Context, *LeaseDurationRequest) (*LeaseDurationResponse, error)
	// pool: `auction nextbatchinfo`
	//NextBatchInfo returns information about the next batch the auctioneer will
	//perform.
	NextBatchInfo(context.Context, *NextBatchInfoRequest) (*NextBatchInfoResponse, error)
	// pool: `auction snapshot`
	//BatchSnapshot returns the snapshot of a past batch identified by its ID.
	//If no ID is provided, the snapshot of the last finalized batch is returned.
	//Deprecated, use BatchSnapshots instead.
	BatchSnapshot(context.Context, *auctioneerrpc.BatchSnapshotRequest) (*auctioneerrpc.BatchSnapshotResponse, error)
	// pool: `listauth`
	//GetLsatTokens returns all LSAT tokens the daemon ever paid for.
	GetLsatTokens(context.Context, *TokensRequest) (*TokensResponse, error)
	// pool: `auction leases`
	//Leases returns the list of channels that were either purchased or sold by
	//the trader within the auction.
	Leases(context.Context, *LeasesRequest) (*LeasesResponse, error)
	// pool: `auction ratings`
	//Returns the Node Tier information for this target Lightning node, and other
	//related ranking information.
	NodeRatings(context.Context, *NodeRatingRequest) (*NodeRatingResponse, error)
	// pool: `auction snapshot`
	//BatchSnapshots returns a list of batch snapshots starting at the start batch
	//ID and going back through the history of batches, returning at most the
	//number of specified batches. A maximum of 100 snapshots can be queried in
	//one call. If no start batch ID is provided, the most recent finalized batch
	//is used as the starting point to go back from.
	BatchSnapshots(context.Context, *auctioneerrpc.BatchSnapshotsRequest) (*auctioneerrpc.BatchSnapshotsResponse, error)
}

TraderServer is the server API for Trader service.

type UnimplementedTraderServer

type UnimplementedTraderServer struct {
}

UnimplementedTraderServer can be embedded to have forward compatible implementations.

func (*UnimplementedTraderServer) AuctionFee

func (*UnimplementedTraderServer) BumpAccountFee

func (*UnimplementedTraderServer) CancelOrder

func (*UnimplementedTraderServer) CloseAccount

func (*UnimplementedTraderServer) DepositAccount

func (*UnimplementedTraderServer) GetInfo

func (*UnimplementedTraderServer) GetLsatTokens

func (*UnimplementedTraderServer) InitAccount

func (*UnimplementedTraderServer) LeaseDurations

func (*UnimplementedTraderServer) Leases

func (*UnimplementedTraderServer) ListAccounts

func (*UnimplementedTraderServer) ListOrders

func (*UnimplementedTraderServer) NextBatchInfo

func (*UnimplementedTraderServer) NodeRatings

func (*UnimplementedTraderServer) QuoteAccount

func (*UnimplementedTraderServer) RecoverAccounts

func (*UnimplementedTraderServer) RenewAccount

func (*UnimplementedTraderServer) StopDaemon

func (*UnimplementedTraderServer) SubmitOrder

func (*UnimplementedTraderServer) WithdrawAccount

type UpdatedEvent

type UpdatedEvent struct {
	//
	//The state of the order previous to the change. This is what the state
	//changed from.
	PreviousState auctioneerrpc.OrderState `protobuf:"varint,1,opt,name=previous_state,json=previousState,proto3,enum=poolrpc.OrderState" json:"previous_state,omitempty"`
	//
	//The new state of the order after the change. This is what the state changed
	//to.
	NewState auctioneerrpc.OrderState `protobuf:"varint,2,opt,name=new_state,json=newState,proto3,enum=poolrpc.OrderState" json:"new_state,omitempty"`
	// The units that were filled at the time of the event.
	UnitsFilled          uint32   `protobuf:"varint,3,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdatedEvent) Descriptor

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

func (*UpdatedEvent) GetNewState

func (m *UpdatedEvent) GetNewState() auctioneerrpc.OrderState

func (*UpdatedEvent) GetPreviousState

func (m *UpdatedEvent) GetPreviousState() auctioneerrpc.OrderState

func (*UpdatedEvent) GetUnitsFilled

func (m *UpdatedEvent) GetUnitsFilled() uint32

func (*UpdatedEvent) ProtoMessage

func (*UpdatedEvent) ProtoMessage()

func (*UpdatedEvent) Reset

func (m *UpdatedEvent) Reset()

func (*UpdatedEvent) String

func (m *UpdatedEvent) String() string

func (*UpdatedEvent) XXX_DiscardUnknown

func (m *UpdatedEvent) XXX_DiscardUnknown()

func (*UpdatedEvent) XXX_Marshal

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

func (*UpdatedEvent) XXX_Merge

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

func (*UpdatedEvent) XXX_Size

func (m *UpdatedEvent) XXX_Size() int

func (*UpdatedEvent) XXX_Unmarshal

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

type WithdrawAccountRequest

type WithdrawAccountRequest struct {
	//
	//The trader key associated with the account that funds will be withdrawed
	//from.
	TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
	// The outputs we'll withdraw funds from the account into.
	Outputs []*Output `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
	//
	//The fee rate, in satoshis per kw, to use for the withdrawal transaction.
	FeeRateSatPerKw      uint64   `protobuf:"varint,3,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WithdrawAccountRequest) Descriptor

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

func (*WithdrawAccountRequest) GetFeeRateSatPerKw

func (m *WithdrawAccountRequest) GetFeeRateSatPerKw() uint64

func (*WithdrawAccountRequest) GetOutputs

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

func (*WithdrawAccountRequest) GetTraderKey

func (m *WithdrawAccountRequest) GetTraderKey() []byte

func (*WithdrawAccountRequest) ProtoMessage

func (*WithdrawAccountRequest) ProtoMessage()

func (*WithdrawAccountRequest) Reset

func (m *WithdrawAccountRequest) Reset()

func (*WithdrawAccountRequest) String

func (m *WithdrawAccountRequest) String() string

func (*WithdrawAccountRequest) XXX_DiscardUnknown

func (m *WithdrawAccountRequest) XXX_DiscardUnknown()

func (*WithdrawAccountRequest) XXX_Marshal

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

func (*WithdrawAccountRequest) XXX_Merge

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

func (*WithdrawAccountRequest) XXX_Size

func (m *WithdrawAccountRequest) XXX_Size() int

func (*WithdrawAccountRequest) XXX_Unmarshal

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

type WithdrawAccountResponse

type WithdrawAccountResponse struct {
	// The state of the account after processing the withdrawal.
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// The transaction used to withdraw funds from the account.
	WithdrawTxid         []byte   `protobuf:"bytes,2,opt,name=withdraw_txid,json=withdrawTxid,proto3" json:"withdraw_txid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WithdrawAccountResponse) Descriptor

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

func (*WithdrawAccountResponse) GetAccount

func (m *WithdrawAccountResponse) GetAccount() *Account

func (*WithdrawAccountResponse) GetWithdrawTxid

func (m *WithdrawAccountResponse) GetWithdrawTxid() []byte

func (*WithdrawAccountResponse) ProtoMessage

func (*WithdrawAccountResponse) ProtoMessage()

func (*WithdrawAccountResponse) Reset

func (m *WithdrawAccountResponse) Reset()

func (*WithdrawAccountResponse) String

func (m *WithdrawAccountResponse) String() string

func (*WithdrawAccountResponse) XXX_DiscardUnknown

func (m *WithdrawAccountResponse) XXX_DiscardUnknown()

func (*WithdrawAccountResponse) XXX_Marshal

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

func (*WithdrawAccountResponse) XXX_Merge

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

func (*WithdrawAccountResponse) XXX_Size

func (m *WithdrawAccountResponse) XXX_Size() int

func (*WithdrawAccountResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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