Documentation
¶
Index ¶
- Variables
- func RegisterChannelAuctioneerServer(s *grpc.Server, srv ChannelAuctioneerServer)
- func RegisterHashMailServer(s *grpc.Server, srv HashMailServer)
- type AccountCommitment
- func (*AccountCommitment) Descriptor() ([]byte, []int)
- func (m *AccountCommitment) GetBatchVersion() uint32
- func (m *AccountCommitment) GetCommitHash() []byte
- func (*AccountCommitment) ProtoMessage()
- func (m *AccountCommitment) Reset()
- func (m *AccountCommitment) String() string
- func (m *AccountCommitment) XXX_DiscardUnknown()
- func (m *AccountCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountCommitment) XXX_Merge(src proto.Message)
- func (m *AccountCommitment) XXX_Size() int
- func (m *AccountCommitment) XXX_Unmarshal(b []byte) error
- type AccountDiff
- func (*AccountDiff) Descriptor() ([]byte, []int)
- func (m *AccountDiff) GetEndingBalance() uint64
- func (m *AccountDiff) GetEndingState() AccountDiff_AccountState
- func (m *AccountDiff) GetOutpointIndex() int32
- func (m *AccountDiff) GetTraderKey() []byte
- func (*AccountDiff) ProtoMessage()
- func (m *AccountDiff) Reset()
- func (m *AccountDiff) String() string
- func (m *AccountDiff) XXX_DiscardUnknown()
- func (m *AccountDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountDiff) XXX_Merge(src proto.Message)
- func (m *AccountDiff) XXX_Size() int
- func (m *AccountDiff) XXX_Unmarshal(b []byte) error
- type AccountDiff_AccountState
- type AccountRecovery
- func (*AccountRecovery) Descriptor() ([]byte, []int)
- func (m *AccountRecovery) GetTraderKey() []byte
- func (*AccountRecovery) ProtoMessage()
- func (m *AccountRecovery) Reset()
- func (m *AccountRecovery) String() string
- func (m *AccountRecovery) XXX_DiscardUnknown()
- func (m *AccountRecovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountRecovery) XXX_Merge(src proto.Message)
- func (m *AccountRecovery) XXX_Size() int
- func (m *AccountRecovery) XXX_Unmarshal(b []byte) error
- type AccountSubscription
- func (*AccountSubscription) Descriptor() ([]byte, []int)
- func (m *AccountSubscription) GetAuthSig() []byte
- func (m *AccountSubscription) GetCommitNonce() []byte
- func (m *AccountSubscription) GetTraderKey() []byte
- func (*AccountSubscription) ProtoMessage()
- func (m *AccountSubscription) Reset()
- func (m *AccountSubscription) String() string
- func (m *AccountSubscription) XXX_DiscardUnknown()
- func (m *AccountSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountSubscription) XXX_Merge(src proto.Message)
- func (m *AccountSubscription) XXX_Size() int
- func (m *AccountSubscription) XXX_Unmarshal(b []byte) error
- type AskSnapshot
- func (*AskSnapshot) Descriptor() ([]byte, []int)
- func (m *AskSnapshot) GetChanType() uint32
- func (m *AskSnapshot) GetLeaseDurationBlocks() uint32
- func (m *AskSnapshot) GetRateFixed() uint32
- func (m *AskSnapshot) GetVersion() uint32
- func (*AskSnapshot) ProtoMessage()
- func (m *AskSnapshot) Reset()
- func (m *AskSnapshot) String() string
- func (m *AskSnapshot) XXX_DiscardUnknown()
- func (m *AskSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AskSnapshot) XXX_Merge(src proto.Message)
- func (m *AskSnapshot) XXX_Size() int
- func (m *AskSnapshot) XXX_Unmarshal(b []byte) error
- type AuctionAccount
- func (*AuctionAccount) Descriptor() ([]byte, []int)
- func (m *AuctionAccount) GetAuctioneerKey() []byte
- func (m *AuctionAccount) GetBatchKey() []byte
- func (m *AuctionAccount) GetExpiry() uint32
- func (m *AuctionAccount) GetHeightHint() uint32
- func (m *AuctionAccount) GetLatestTx() []byte
- func (m *AuctionAccount) GetOutpoint() *OutPoint
- func (m *AuctionAccount) GetState() AuctionAccountState
- func (m *AuctionAccount) GetTraderKey() []byte
- func (m *AuctionAccount) GetValue() uint64
- func (*AuctionAccount) ProtoMessage()
- func (m *AuctionAccount) Reset()
- func (m *AuctionAccount) String() string
- func (m *AuctionAccount) XXX_DiscardUnknown()
- func (m *AuctionAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionAccount) XXX_Merge(src proto.Message)
- func (m *AuctionAccount) XXX_Size() int
- func (m *AuctionAccount) XXX_Unmarshal(b []byte) error
- type AuctionAccountState
- type BatchSnapshotRequest
- func (*BatchSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *BatchSnapshotRequest) GetBatchId() []byte
- func (*BatchSnapshotRequest) ProtoMessage()
- func (m *BatchSnapshotRequest) Reset()
- func (m *BatchSnapshotRequest) String() string
- func (m *BatchSnapshotRequest) XXX_DiscardUnknown()
- func (m *BatchSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *BatchSnapshotRequest) XXX_Size() int
- func (m *BatchSnapshotRequest) XXX_Unmarshal(b []byte) error
- type BatchSnapshotResponse
- func (*BatchSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *BatchSnapshotResponse) GetBatchId() []byte
- func (m *BatchSnapshotResponse) GetBatchTx() []byte
- func (m *BatchSnapshotResponse) GetBatchTxFeeRateSatPerKw() uint64
- func (m *BatchSnapshotResponse) GetBatchTxId() string
- func (m *BatchSnapshotResponse) GetClearingPriceRate() uint32deprecated
- func (m *BatchSnapshotResponse) GetCreationTimestampNs() uint64
- func (m *BatchSnapshotResponse) GetMatchedMarkets() map[uint32]*MatchedMarketSnapshot
- func (m *BatchSnapshotResponse) GetMatchedOrders() []*MatchedOrderSnapshotdeprecated
- func (m *BatchSnapshotResponse) GetPrevBatchId() []byte
- func (m *BatchSnapshotResponse) GetVersion() uint32
- func (*BatchSnapshotResponse) ProtoMessage()
- func (m *BatchSnapshotResponse) Reset()
- func (m *BatchSnapshotResponse) String() string
- func (m *BatchSnapshotResponse) XXX_DiscardUnknown()
- func (m *BatchSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *BatchSnapshotResponse) XXX_Size() int
- func (m *BatchSnapshotResponse) XXX_Unmarshal(b []byte) error
- type BatchSnapshotsRequest
- func (*BatchSnapshotsRequest) Descriptor() ([]byte, []int)
- func (m *BatchSnapshotsRequest) GetNumBatchesBack() uint32
- func (m *BatchSnapshotsRequest) GetStartBatchId() []byte
- func (*BatchSnapshotsRequest) ProtoMessage()
- func (m *BatchSnapshotsRequest) Reset()
- func (m *BatchSnapshotsRequest) String() string
- func (m *BatchSnapshotsRequest) XXX_DiscardUnknown()
- func (m *BatchSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSnapshotsRequest) XXX_Merge(src proto.Message)
- func (m *BatchSnapshotsRequest) XXX_Size() int
- func (m *BatchSnapshotsRequest) XXX_Unmarshal(b []byte) error
- type BatchSnapshotsResponse
- func (*BatchSnapshotsResponse) Descriptor() ([]byte, []int)
- func (m *BatchSnapshotsResponse) GetBatches() []*BatchSnapshotResponse
- func (*BatchSnapshotsResponse) ProtoMessage()
- func (m *BatchSnapshotsResponse) Reset()
- func (m *BatchSnapshotsResponse) String() string
- func (m *BatchSnapshotsResponse) XXX_DiscardUnknown()
- func (m *BatchSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchSnapshotsResponse) XXX_Merge(src proto.Message)
- func (m *BatchSnapshotsResponse) XXX_Size() int
- func (m *BatchSnapshotsResponse) XXX_Unmarshal(b []byte) error
- type BidSnapshot
- func (*BidSnapshot) Descriptor() ([]byte, []int)
- func (m *BidSnapshot) GetChanType() uint32
- func (m *BidSnapshot) GetLeaseDurationBlocks() uint32
- func (m *BidSnapshot) GetRateFixed() uint32
- func (m *BidSnapshot) GetVersion() uint32
- func (*BidSnapshot) ProtoMessage()
- func (m *BidSnapshot) Reset()
- func (m *BidSnapshot) String() string
- func (m *BidSnapshot) XXX_DiscardUnknown()
- func (m *BidSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BidSnapshot) XXX_Merge(src proto.Message)
- func (m *BidSnapshot) XXX_Size() int
- func (m *BidSnapshot) XXX_Unmarshal(b []byte) error
- type CancelOrder
- func (*CancelOrder) Descriptor() ([]byte, []int)
- func (m *CancelOrder) GetOrderNonce() []byte
- func (*CancelOrder) ProtoMessage()
- func (m *CancelOrder) Reset()
- func (m *CancelOrder) String() string
- func (m *CancelOrder) XXX_DiscardUnknown()
- func (m *CancelOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelOrder) XXX_Merge(src proto.Message)
- func (m *CancelOrder) XXX_Size() int
- func (m *CancelOrder) XXX_Unmarshal(b []byte) error
- type ChannelAuctioneerClient
- type ChannelAuctioneerServer
- type ChannelAuctioneer_SubscribeBatchAuctionClient
- type ChannelAuctioneer_SubscribeBatchAuctionServer
- type ChannelAuctioneer_SubscribeSidecarClient
- type ChannelAuctioneer_SubscribeSidecarServer
- type ChannelInfo
- func (*ChannelInfo) Descriptor() ([]byte, []int)
- func (m *ChannelInfo) GetLocalNodeKey() []byte
- func (m *ChannelInfo) GetLocalPaymentBasePoint() []byte
- func (m *ChannelInfo) GetRemoteNodeKey() []byte
- func (m *ChannelInfo) GetRemotePaymentBasePoint() []byte
- func (m *ChannelInfo) GetType() ChannelType
- func (*ChannelInfo) ProtoMessage()
- func (m *ChannelInfo) Reset()
- func (m *ChannelInfo) String() string
- func (m *ChannelInfo) XXX_DiscardUnknown()
- func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelInfo) XXX_Merge(src proto.Message)
- func (m *ChannelInfo) XXX_Size() int
- func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
- type ChannelType
- type CipherBox
- func (*CipherBox) Descriptor() ([]byte, []int)
- func (m *CipherBox) GetDesc() *CipherBoxDesc
- func (m *CipherBox) GetMsg() []byte
- func (*CipherBox) ProtoMessage()
- func (m *CipherBox) Reset()
- func (m *CipherBox) String() string
- func (m *CipherBox) XXX_DiscardUnknown()
- func (m *CipherBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherBox) XXX_Merge(src proto.Message)
- func (m *CipherBox) XXX_Size() int
- func (m *CipherBox) XXX_Unmarshal(b []byte) error
- type CipherBoxAuth
- func (*CipherBoxAuth) Descriptor() ([]byte, []int)
- func (m *CipherBoxAuth) GetAcctAuth() *PoolAccountAuth
- func (m *CipherBoxAuth) GetAuth() isCipherBoxAuth_Auth
- func (m *CipherBoxAuth) GetDesc() *CipherBoxDesc
- func (m *CipherBoxAuth) GetSidecarAuth() *SidecarAuth
- func (*CipherBoxAuth) ProtoMessage()
- func (m *CipherBoxAuth) Reset()
- func (m *CipherBoxAuth) String() string
- func (m *CipherBoxAuth) XXX_DiscardUnknown()
- func (m *CipherBoxAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherBoxAuth) XXX_Merge(src proto.Message)
- func (*CipherBoxAuth) XXX_OneofWrappers() []interface{}
- func (m *CipherBoxAuth) XXX_Size() int
- func (m *CipherBoxAuth) XXX_Unmarshal(b []byte) error
- type CipherBoxAuth_AcctAuth
- type CipherBoxAuth_SidecarAuth
- type CipherBoxDesc
- func (*CipherBoxDesc) Descriptor() ([]byte, []int)
- func (m *CipherBoxDesc) GetStreamId() []byte
- func (*CipherBoxDesc) ProtoMessage()
- func (m *CipherBoxDesc) Reset()
- func (m *CipherBoxDesc) String() string
- func (m *CipherBoxDesc) XXX_DiscardUnknown()
- func (m *CipherBoxDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherBoxDesc) XXX_Merge(src proto.Message)
- func (m *CipherBoxDesc) XXX_Size() int
- func (m *CipherBoxDesc) XXX_Unmarshal(b []byte) error
- type CipherChallenge
- func (*CipherChallenge) Descriptor() ([]byte, []int)
- func (*CipherChallenge) ProtoMessage()
- func (m *CipherChallenge) Reset()
- func (m *CipherChallenge) String() string
- func (m *CipherChallenge) XXX_DiscardUnknown()
- func (m *CipherChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherChallenge) XXX_Merge(src proto.Message)
- func (m *CipherChallenge) XXX_Size() int
- func (m *CipherChallenge) XXX_Unmarshal(b []byte) error
- type CipherError
- func (*CipherError) Descriptor() ([]byte, []int)
- func (*CipherError) ProtoMessage()
- func (m *CipherError) Reset()
- func (m *CipherError) String() string
- func (m *CipherError) XXX_DiscardUnknown()
- func (m *CipherError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherError) XXX_Merge(src proto.Message)
- func (m *CipherError) XXX_Size() int
- func (m *CipherError) XXX_Unmarshal(b []byte) error
- type CipherInitResp
- func (*CipherInitResp) Descriptor() ([]byte, []int)
- func (m *CipherInitResp) GetChallenge() *CipherChallenge
- func (m *CipherInitResp) GetError() *CipherError
- func (m *CipherInitResp) GetResp() isCipherInitResp_Resp
- func (m *CipherInitResp) GetSuccess() *CipherSuccess
- func (*CipherInitResp) ProtoMessage()
- func (m *CipherInitResp) Reset()
- func (m *CipherInitResp) String() string
- func (m *CipherInitResp) XXX_DiscardUnknown()
- func (m *CipherInitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherInitResp) XXX_Merge(src proto.Message)
- func (*CipherInitResp) XXX_OneofWrappers() []interface{}
- func (m *CipherInitResp) XXX_Size() int
- func (m *CipherInitResp) XXX_Unmarshal(b []byte) error
- type CipherInitResp_Challenge
- type CipherInitResp_Error
- type CipherInitResp_Success
- type CipherSuccess
- func (*CipherSuccess) Descriptor() ([]byte, []int)
- func (m *CipherSuccess) GetDesc() *CipherBoxDesc
- func (*CipherSuccess) ProtoMessage()
- func (m *CipherSuccess) Reset()
- func (m *CipherSuccess) String() string
- func (m *CipherSuccess) XXX_DiscardUnknown()
- func (m *CipherSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CipherSuccess) XXX_Merge(src proto.Message)
- func (m *CipherSuccess) XXX_Size() int
- func (m *CipherSuccess) XXX_Unmarshal(b []byte) error
- type ClientAuctionMessage
- func (*ClientAuctionMessage) Descriptor() ([]byte, []int)
- func (m *ClientAuctionMessage) GetAccept() *OrderMatchAccept
- func (m *ClientAuctionMessage) GetCommit() *AccountCommitment
- func (m *ClientAuctionMessage) GetMsg() isClientAuctionMessage_Msg
- func (m *ClientAuctionMessage) GetRecover() *AccountRecovery
- func (m *ClientAuctionMessage) GetReject() *OrderMatchReject
- func (m *ClientAuctionMessage) GetSign() *OrderMatchSign
- func (m *ClientAuctionMessage) GetSubscribe() *AccountSubscription
- func (*ClientAuctionMessage) ProtoMessage()
- func (m *ClientAuctionMessage) Reset()
- func (m *ClientAuctionMessage) String() string
- func (m *ClientAuctionMessage) XXX_DiscardUnknown()
- func (m *ClientAuctionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientAuctionMessage) XXX_Merge(src proto.Message)
- func (*ClientAuctionMessage) XXX_OneofWrappers() []interface{}
- func (m *ClientAuctionMessage) XXX_Size() int
- func (m *ClientAuctionMessage) XXX_Unmarshal(b []byte) error
- type ClientAuctionMessage_Accept
- type ClientAuctionMessage_Commit
- type ClientAuctionMessage_Recover
- type ClientAuctionMessage_Reject
- type ClientAuctionMessage_Sign
- type ClientAuctionMessage_Subscribe
- type DelCipherBoxResp
- func (*DelCipherBoxResp) Descriptor() ([]byte, []int)
- func (*DelCipherBoxResp) ProtoMessage()
- func (m *DelCipherBoxResp) Reset()
- func (m *DelCipherBoxResp) String() string
- func (m *DelCipherBoxResp) XXX_DiscardUnknown()
- func (m *DelCipherBoxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelCipherBoxResp) XXX_Merge(src proto.Message)
- func (m *DelCipherBoxResp) XXX_Size() int
- func (m *DelCipherBoxResp) XXX_Unmarshal(b []byte) error
- type DurationBucketState
- type ExecutionFee
- func (*ExecutionFee) Descriptor() ([]byte, []int)
- func (m *ExecutionFee) GetBaseFee() uint64
- func (m *ExecutionFee) GetFeeRate() uint64
- func (*ExecutionFee) ProtoMessage()
- func (m *ExecutionFee) Reset()
- func (m *ExecutionFee) String() string
- func (m *ExecutionFee) XXX_DiscardUnknown()
- func (m *ExecutionFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionFee) XXX_Merge(src proto.Message)
- func (m *ExecutionFee) XXX_Size() int
- func (m *ExecutionFee) XXX_Unmarshal(b []byte) error
- type HashMailClient
- type HashMailServer
- type HashMail_RecvStreamClient
- type HashMail_RecvStreamServer
- type HashMail_SendStreamClient
- type HashMail_SendStreamServer
- type InvalidOrder
- func (*InvalidOrder) Descriptor() ([]byte, []int)
- func (m *InvalidOrder) GetFailReason() InvalidOrder_FailReason
- func (m *InvalidOrder) GetFailString() string
- func (m *InvalidOrder) GetOrderNonce() []byte
- func (*InvalidOrder) ProtoMessage()
- func (m *InvalidOrder) Reset()
- func (m *InvalidOrder) String() string
- func (m *InvalidOrder) XXX_DiscardUnknown()
- func (m *InvalidOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InvalidOrder) XXX_Merge(src proto.Message)
- func (m *InvalidOrder) XXX_Size() int
- func (m *InvalidOrder) XXX_Unmarshal(b []byte) error
- type InvalidOrder_FailReason
- type MarketInfo
- func (*MarketInfo) Descriptor() ([]byte, []int)
- func (m *MarketInfo) GetAskOpenInterestUnits() []*MarketInfo_TierValue
- func (m *MarketInfo) GetBidOpenInterestUnits() []*MarketInfo_TierValue
- func (m *MarketInfo) GetNumAsks() []*MarketInfo_TierValue
- func (m *MarketInfo) GetNumBids() []*MarketInfo_TierValue
- func (*MarketInfo) ProtoMessage()
- func (m *MarketInfo) Reset()
- func (m *MarketInfo) String() string
- func (m *MarketInfo) XXX_DiscardUnknown()
- func (m *MarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketInfo) XXX_Merge(src proto.Message)
- func (m *MarketInfo) XXX_Size() int
- func (m *MarketInfo) XXX_Unmarshal(b []byte) error
- type MarketInfoRequest
- func (*MarketInfoRequest) Descriptor() ([]byte, []int)
- func (*MarketInfoRequest) ProtoMessage()
- func (m *MarketInfoRequest) Reset()
- func (m *MarketInfoRequest) String() string
- func (m *MarketInfoRequest) XXX_DiscardUnknown()
- func (m *MarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketInfoRequest) XXX_Merge(src proto.Message)
- func (m *MarketInfoRequest) XXX_Size() int
- func (m *MarketInfoRequest) XXX_Unmarshal(b []byte) error
- type MarketInfoResponse
- func (*MarketInfoResponse) Descriptor() ([]byte, []int)
- func (m *MarketInfoResponse) GetMarkets() map[uint32]*MarketInfo
- func (*MarketInfoResponse) ProtoMessage()
- func (m *MarketInfoResponse) Reset()
- func (m *MarketInfoResponse) String() string
- func (m *MarketInfoResponse) XXX_DiscardUnknown()
- func (m *MarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketInfoResponse) XXX_Merge(src proto.Message)
- func (m *MarketInfoResponse) XXX_Size() int
- func (m *MarketInfoResponse) XXX_Unmarshal(b []byte) error
- type MarketInfo_TierValue
- func (*MarketInfo_TierValue) Descriptor() ([]byte, []int)
- func (m *MarketInfo_TierValue) GetTier() NodeTier
- func (m *MarketInfo_TierValue) GetValue() uint32
- func (*MarketInfo_TierValue) ProtoMessage()
- func (m *MarketInfo_TierValue) Reset()
- func (m *MarketInfo_TierValue) String() string
- func (m *MarketInfo_TierValue) XXX_DiscardUnknown()
- func (m *MarketInfo_TierValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketInfo_TierValue) XXX_Merge(src proto.Message)
- func (m *MarketInfo_TierValue) XXX_Size() int
- func (m *MarketInfo_TierValue) XXX_Unmarshal(b []byte) error
- type MatchedAsk
- func (*MatchedAsk) Descriptor() ([]byte, []int)
- func (m *MatchedAsk) GetAsk() *ServerAsk
- func (m *MatchedAsk) GetUnitsFilled() uint32
- func (*MatchedAsk) ProtoMessage()
- func (m *MatchedAsk) Reset()
- func (m *MatchedAsk) String() string
- func (m *MatchedAsk) XXX_DiscardUnknown()
- func (m *MatchedAsk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedAsk) XXX_Merge(src proto.Message)
- func (m *MatchedAsk) XXX_Size() int
- func (m *MatchedAsk) XXX_Unmarshal(b []byte) error
- type MatchedBid
- func (*MatchedBid) Descriptor() ([]byte, []int)
- func (m *MatchedBid) GetBid() *ServerBid
- func (m *MatchedBid) GetUnitsFilled() uint32
- func (*MatchedBid) ProtoMessage()
- func (m *MatchedBid) Reset()
- func (m *MatchedBid) String() string
- func (m *MatchedBid) XXX_DiscardUnknown()
- func (m *MatchedBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedBid) XXX_Merge(src proto.Message)
- func (m *MatchedBid) XXX_Size() int
- func (m *MatchedBid) XXX_Unmarshal(b []byte) error
- type MatchedMarket
- func (*MatchedMarket) Descriptor() ([]byte, []int)
- func (m *MatchedMarket) GetClearingPriceRate() uint32
- func (m *MatchedMarket) GetMatchedOrders() map[string]*MatchedOrder
- func (*MatchedMarket) ProtoMessage()
- func (m *MatchedMarket) Reset()
- func (m *MatchedMarket) String() string
- func (m *MatchedMarket) XXX_DiscardUnknown()
- func (m *MatchedMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedMarket) XXX_Merge(src proto.Message)
- func (m *MatchedMarket) XXX_Size() int
- func (m *MatchedMarket) XXX_Unmarshal(b []byte) error
- type MatchedMarketSnapshot
- func (*MatchedMarketSnapshot) Descriptor() ([]byte, []int)
- func (m *MatchedMarketSnapshot) GetClearingPriceRate() uint32
- func (m *MatchedMarketSnapshot) GetMatchedOrders() []*MatchedOrderSnapshot
- func (*MatchedMarketSnapshot) ProtoMessage()
- func (m *MatchedMarketSnapshot) Reset()
- func (m *MatchedMarketSnapshot) String() string
- func (m *MatchedMarketSnapshot) XXX_DiscardUnknown()
- func (m *MatchedMarketSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedMarketSnapshot) XXX_Merge(src proto.Message)
- func (m *MatchedMarketSnapshot) XXX_Size() int
- func (m *MatchedMarketSnapshot) XXX_Unmarshal(b []byte) error
- type MatchedOrder
- func (*MatchedOrder) Descriptor() ([]byte, []int)
- func (m *MatchedOrder) GetMatchedAsks() []*MatchedAsk
- func (m *MatchedOrder) GetMatchedBids() []*MatchedBid
- func (*MatchedOrder) ProtoMessage()
- func (m *MatchedOrder) Reset()
- func (m *MatchedOrder) String() string
- func (m *MatchedOrder) XXX_DiscardUnknown()
- func (m *MatchedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedOrder) XXX_Merge(src proto.Message)
- func (m *MatchedOrder) XXX_Size() int
- func (m *MatchedOrder) XXX_Unmarshal(b []byte) error
- type MatchedOrderSnapshot
- func (*MatchedOrderSnapshot) Descriptor() ([]byte, []int)
- func (m *MatchedOrderSnapshot) GetAsk() *AskSnapshot
- func (m *MatchedOrderSnapshot) GetBid() *BidSnapshot
- func (m *MatchedOrderSnapshot) GetMatchingRate() uint32
- func (m *MatchedOrderSnapshot) GetTotalSatsCleared() uint64
- func (m *MatchedOrderSnapshot) GetUnitsMatched() uint32
- func (*MatchedOrderSnapshot) ProtoMessage()
- func (m *MatchedOrderSnapshot) Reset()
- func (m *MatchedOrderSnapshot) String() string
- func (m *MatchedOrderSnapshot) XXX_DiscardUnknown()
- func (m *MatchedOrderSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchedOrderSnapshot) XXX_Merge(src proto.Message)
- func (m *MatchedOrderSnapshot) XXX_Size() int
- func (m *MatchedOrderSnapshot) XXX_Unmarshal(b []byte) error
- type NodeAddress
- func (*NodeAddress) Descriptor() ([]byte, []int)
- func (m *NodeAddress) GetAddr() string
- func (m *NodeAddress) GetNetwork() string
- func (*NodeAddress) ProtoMessage()
- func (m *NodeAddress) Reset()
- func (m *NodeAddress) String() string
- func (m *NodeAddress) XXX_DiscardUnknown()
- func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeAddress) XXX_Merge(src proto.Message)
- func (m *NodeAddress) XXX_Size() int
- func (m *NodeAddress) XXX_Unmarshal(b []byte) error
- type NodeRating
- func (*NodeRating) Descriptor() ([]byte, []int)
- func (m *NodeRating) GetNodePubkey() []byte
- func (m *NodeRating) GetNodeTier() NodeTier
- func (*NodeRating) ProtoMessage()
- func (m *NodeRating) Reset()
- func (m *NodeRating) String() string
- func (m *NodeRating) XXX_DiscardUnknown()
- func (m *NodeRating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeRating) XXX_Merge(src proto.Message)
- func (m *NodeRating) XXX_Size() int
- func (m *NodeRating) XXX_Unmarshal(b []byte) error
- type NodeTier
- type OrderMatchAccept
- func (*OrderMatchAccept) Descriptor() ([]byte, []int)
- func (m *OrderMatchAccept) GetBatchId() []byte
- func (*OrderMatchAccept) ProtoMessage()
- func (m *OrderMatchAccept) Reset()
- func (m *OrderMatchAccept) String() string
- func (m *OrderMatchAccept) XXX_DiscardUnknown()
- func (m *OrderMatchAccept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchAccept) XXX_Merge(src proto.Message)
- func (m *OrderMatchAccept) XXX_Size() int
- func (m *OrderMatchAccept) XXX_Unmarshal(b []byte) error
- type OrderMatchFinalize
- func (*OrderMatchFinalize) Descriptor() ([]byte, []int)
- func (m *OrderMatchFinalize) GetBatchId() []byte
- func (m *OrderMatchFinalize) GetBatchTxid() []byte
- func (m *OrderMatchFinalize) GetHeightHint() uint32
- func (*OrderMatchFinalize) ProtoMessage()
- func (m *OrderMatchFinalize) Reset()
- func (m *OrderMatchFinalize) String() string
- func (m *OrderMatchFinalize) XXX_DiscardUnknown()
- func (m *OrderMatchFinalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchFinalize) XXX_Merge(src proto.Message)
- func (m *OrderMatchFinalize) XXX_Size() int
- func (m *OrderMatchFinalize) XXX_Unmarshal(b []byte) error
- type OrderMatchPrepare
- func (*OrderMatchPrepare) Descriptor() ([]byte, []int)
- func (m *OrderMatchPrepare) GetBatchId() []byte
- func (m *OrderMatchPrepare) GetBatchTransaction() []byte
- func (m *OrderMatchPrepare) GetBatchVersion() uint32
- func (m *OrderMatchPrepare) GetChargedAccounts() []*AccountDiff
- func (m *OrderMatchPrepare) GetClearingPriceRate() uint32deprecated
- func (m *OrderMatchPrepare) GetExecutionFee() *ExecutionFee
- func (m *OrderMatchPrepare) GetFeeRateSatPerKw() uint64
- func (m *OrderMatchPrepare) GetFeeRebateSat() uint64
- func (m *OrderMatchPrepare) GetMatchedMarkets() map[uint32]*MatchedMarket
- func (m *OrderMatchPrepare) GetMatchedOrders() map[string]*MatchedOrderdeprecated
- func (*OrderMatchPrepare) ProtoMessage()
- func (m *OrderMatchPrepare) Reset()
- func (m *OrderMatchPrepare) String() string
- func (m *OrderMatchPrepare) XXX_DiscardUnknown()
- func (m *OrderMatchPrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchPrepare) XXX_Merge(src proto.Message)
- func (m *OrderMatchPrepare) XXX_Size() int
- func (m *OrderMatchPrepare) XXX_Unmarshal(b []byte) error
- type OrderMatchReject
- func (*OrderMatchReject) Descriptor() ([]byte, []int)
- func (m *OrderMatchReject) GetBatchId() []byte
- func (m *OrderMatchReject) GetReason() string
- func (m *OrderMatchReject) GetReasonCode() OrderMatchReject_RejectReason
- func (m *OrderMatchReject) GetRejectedOrders() map[string]*OrderReject
- func (*OrderMatchReject) ProtoMessage()
- func (m *OrderMatchReject) Reset()
- func (m *OrderMatchReject) String() string
- func (m *OrderMatchReject) XXX_DiscardUnknown()
- func (m *OrderMatchReject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchReject) XXX_Merge(src proto.Message)
- func (m *OrderMatchReject) XXX_Size() int
- func (m *OrderMatchReject) XXX_Unmarshal(b []byte) error
- type OrderMatchReject_RejectReason
- type OrderMatchSign
- func (*OrderMatchSign) Descriptor() ([]byte, []int)
- func (m *OrderMatchSign) GetAccountSigs() map[string][]byte
- func (m *OrderMatchSign) GetBatchId() []byte
- func (m *OrderMatchSign) GetChannelInfos() map[string]*ChannelInfo
- func (*OrderMatchSign) ProtoMessage()
- func (m *OrderMatchSign) Reset()
- func (m *OrderMatchSign) String() string
- func (m *OrderMatchSign) XXX_DiscardUnknown()
- func (m *OrderMatchSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchSign) XXX_Merge(src proto.Message)
- func (m *OrderMatchSign) XXX_Size() int
- func (m *OrderMatchSign) XXX_Unmarshal(b []byte) error
- type OrderMatchSignBegin
- func (*OrderMatchSignBegin) Descriptor() ([]byte, []int)
- func (m *OrderMatchSignBegin) GetBatchId() []byte
- func (*OrderMatchSignBegin) ProtoMessage()
- func (m *OrderMatchSignBegin) Reset()
- func (m *OrderMatchSignBegin) String() string
- func (m *OrderMatchSignBegin) XXX_DiscardUnknown()
- func (m *OrderMatchSignBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderMatchSignBegin) XXX_Merge(src proto.Message)
- func (m *OrderMatchSignBegin) XXX_Size() int
- func (m *OrderMatchSignBegin) XXX_Unmarshal(b []byte) error
- type OrderReject
- func (*OrderReject) Descriptor() ([]byte, []int)
- func (m *OrderReject) GetReason() string
- func (m *OrderReject) GetReasonCode() OrderReject_OrderRejectReason
- func (*OrderReject) ProtoMessage()
- func (m *OrderReject) Reset()
- func (m *OrderReject) String() string
- func (m *OrderReject) XXX_DiscardUnknown()
- func (m *OrderReject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderReject) XXX_Merge(src proto.Message)
- func (m *OrderReject) XXX_Size() int
- func (m *OrderReject) XXX_Unmarshal(b []byte) error
- type OrderReject_OrderRejectReason
- type OrderState
- type OutPoint
- func (*OutPoint) Descriptor() ([]byte, []int)
- func (m *OutPoint) GetOutputIndex() uint32
- func (m *OutPoint) GetTxid() []byte
- func (*OutPoint) ProtoMessage()
- func (m *OutPoint) Reset()
- func (m *OutPoint) String() string
- func (m *OutPoint) XXX_DiscardUnknown()
- func (m *OutPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutPoint) XXX_Merge(src proto.Message)
- func (m *OutPoint) XXX_Size() int
- func (m *OutPoint) XXX_Unmarshal(b []byte) error
- type PoolAccountAuth
- func (*PoolAccountAuth) Descriptor() ([]byte, []int)
- func (m *PoolAccountAuth) GetAcctKey() []byte
- func (m *PoolAccountAuth) GetStreamSig() []byte
- func (*PoolAccountAuth) ProtoMessage()
- func (m *PoolAccountAuth) Reset()
- func (m *PoolAccountAuth) String() string
- func (m *PoolAccountAuth) XXX_DiscardUnknown()
- func (m *PoolAccountAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PoolAccountAuth) XXX_Merge(src proto.Message)
- func (m *PoolAccountAuth) XXX_Size() int
- func (m *PoolAccountAuth) XXX_Unmarshal(b []byte) error
- type RelevantBatch
- func (*RelevantBatch) Descriptor() ([]byte, []int)
- func (m *RelevantBatch) GetChargedAccounts() []*AccountDiff
- func (m *RelevantBatch) GetClearingPriceRate() uint32deprecated
- func (m *RelevantBatch) GetCreationTimestampNs() uint64
- func (m *RelevantBatch) GetExecutionFee() *ExecutionFee
- func (m *RelevantBatch) GetFeeRateSatPerKw() uint64
- func (m *RelevantBatch) GetId() []byte
- func (m *RelevantBatch) GetMatchedMarkets() map[uint32]*MatchedMarket
- func (m *RelevantBatch) GetMatchedOrders() map[string]*MatchedOrderdeprecated
- func (m *RelevantBatch) GetTransaction() []byte
- func (m *RelevantBatch) GetVersion() uint32
- func (*RelevantBatch) ProtoMessage()
- func (m *RelevantBatch) Reset()
- func (m *RelevantBatch) String() string
- func (m *RelevantBatch) XXX_DiscardUnknown()
- func (m *RelevantBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelevantBatch) XXX_Merge(src proto.Message)
- func (m *RelevantBatch) XXX_Size() int
- func (m *RelevantBatch) XXX_Unmarshal(b []byte) error
- type RelevantBatchRequest
- func (*RelevantBatchRequest) Descriptor() ([]byte, []int)
- func (m *RelevantBatchRequest) GetAccounts() [][]byte
- func (m *RelevantBatchRequest) GetId() []byte
- func (*RelevantBatchRequest) ProtoMessage()
- func (m *RelevantBatchRequest) Reset()
- func (m *RelevantBatchRequest) String() string
- func (m *RelevantBatchRequest) XXX_DiscardUnknown()
- func (m *RelevantBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelevantBatchRequest) XXX_Merge(src proto.Message)
- func (m *RelevantBatchRequest) XXX_Size() int
- func (m *RelevantBatchRequest) XXX_Unmarshal(b []byte) error
- type ReserveAccountRequest
- func (*ReserveAccountRequest) Descriptor() ([]byte, []int)
- func (m *ReserveAccountRequest) GetAccountExpiry() uint32
- func (m *ReserveAccountRequest) GetAccountValue() uint64
- func (m *ReserveAccountRequest) GetTraderKey() []byte
- func (*ReserveAccountRequest) ProtoMessage()
- func (m *ReserveAccountRequest) Reset()
- func (m *ReserveAccountRequest) String() string
- func (m *ReserveAccountRequest) XXX_DiscardUnknown()
- func (m *ReserveAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReserveAccountRequest) XXX_Merge(src proto.Message)
- func (m *ReserveAccountRequest) XXX_Size() int
- func (m *ReserveAccountRequest) XXX_Unmarshal(b []byte) error
- type ReserveAccountResponse
- func (*ReserveAccountResponse) Descriptor() ([]byte, []int)
- func (m *ReserveAccountResponse) GetAuctioneerKey() []byte
- func (m *ReserveAccountResponse) GetInitialBatchKey() []byte
- func (*ReserveAccountResponse) ProtoMessage()
- func (m *ReserveAccountResponse) Reset()
- func (m *ReserveAccountResponse) String() string
- func (m *ReserveAccountResponse) XXX_DiscardUnknown()
- func (m *ReserveAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReserveAccountResponse) XXX_Merge(src proto.Message)
- func (m *ReserveAccountResponse) XXX_Size() int
- func (m *ReserveAccountResponse) XXX_Unmarshal(b []byte) error
- type ServerAsk
- func (*ServerAsk) Descriptor() ([]byte, []int)
- func (m *ServerAsk) GetDetails() *ServerOrder
- func (m *ServerAsk) GetLeaseDurationBlocks() uint32
- func (m *ServerAsk) GetVersion() uint32
- func (*ServerAsk) ProtoMessage()
- func (m *ServerAsk) Reset()
- func (m *ServerAsk) String() string
- func (m *ServerAsk) XXX_DiscardUnknown()
- func (m *ServerAsk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerAsk) XXX_Merge(src proto.Message)
- func (m *ServerAsk) XXX_Size() int
- func (m *ServerAsk) XXX_Unmarshal(b []byte) error
- type ServerAuctionMessage
- func (*ServerAuctionMessage) Descriptor() ([]byte, []int)
- func (m *ServerAuctionMessage) GetAccount() *AuctionAccount
- func (m *ServerAuctionMessage) GetChallenge() *ServerChallenge
- func (m *ServerAuctionMessage) GetError() *SubscribeError
- func (m *ServerAuctionMessage) GetFinalize() *OrderMatchFinalize
- func (m *ServerAuctionMessage) GetMsg() isServerAuctionMessage_Msg
- func (m *ServerAuctionMessage) GetPrepare() *OrderMatchPrepare
- func (m *ServerAuctionMessage) GetSign() *OrderMatchSignBegin
- func (m *ServerAuctionMessage) GetSuccess() *SubscribeSuccess
- func (*ServerAuctionMessage) ProtoMessage()
- func (m *ServerAuctionMessage) Reset()
- func (m *ServerAuctionMessage) String() string
- func (m *ServerAuctionMessage) XXX_DiscardUnknown()
- func (m *ServerAuctionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerAuctionMessage) XXX_Merge(src proto.Message)
- func (*ServerAuctionMessage) XXX_OneofWrappers() []interface{}
- func (m *ServerAuctionMessage) XXX_Size() int
- func (m *ServerAuctionMessage) XXX_Unmarshal(b []byte) error
- type ServerAuctionMessage_Account
- type ServerAuctionMessage_Challenge
- type ServerAuctionMessage_Error
- type ServerAuctionMessage_Finalize
- type ServerAuctionMessage_Prepare
- type ServerAuctionMessage_Sign
- type ServerAuctionMessage_Success
- type ServerBid
- func (*ServerBid) Descriptor() ([]byte, []int)
- func (m *ServerBid) GetDetails() *ServerOrder
- func (m *ServerBid) GetIsSidecarChannel() bool
- func (m *ServerBid) GetLeaseDurationBlocks() uint32
- func (m *ServerBid) GetMinNodeTier() NodeTier
- func (m *ServerBid) GetSelfChanBalance() uint64
- func (m *ServerBid) GetVersion() uint32
- func (*ServerBid) ProtoMessage()
- func (m *ServerBid) Reset()
- func (m *ServerBid) String() string
- func (m *ServerBid) XXX_DiscardUnknown()
- func (m *ServerBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerBid) XXX_Merge(src proto.Message)
- func (m *ServerBid) XXX_Size() int
- func (m *ServerBid) XXX_Unmarshal(b []byte) error
- type ServerCancelOrderRequest
- func (*ServerCancelOrderRequest) Descriptor() ([]byte, []int)
- func (m *ServerCancelOrderRequest) GetOrderNoncePreimage() []byte
- func (*ServerCancelOrderRequest) ProtoMessage()
- func (m *ServerCancelOrderRequest) Reset()
- func (m *ServerCancelOrderRequest) String() string
- func (m *ServerCancelOrderRequest) XXX_DiscardUnknown()
- func (m *ServerCancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerCancelOrderRequest) XXX_Merge(src proto.Message)
- func (m *ServerCancelOrderRequest) XXX_Size() int
- func (m *ServerCancelOrderRequest) XXX_Unmarshal(b []byte) error
- type ServerCancelOrderResponse
- func (*ServerCancelOrderResponse) Descriptor() ([]byte, []int)
- func (*ServerCancelOrderResponse) ProtoMessage()
- func (m *ServerCancelOrderResponse) Reset()
- func (m *ServerCancelOrderResponse) String() string
- func (m *ServerCancelOrderResponse) XXX_DiscardUnknown()
- func (m *ServerCancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerCancelOrderResponse) XXX_Merge(src proto.Message)
- func (m *ServerCancelOrderResponse) XXX_Size() int
- func (m *ServerCancelOrderResponse) XXX_Unmarshal(b []byte) error
- type ServerChallenge
- func (*ServerChallenge) Descriptor() ([]byte, []int)
- func (m *ServerChallenge) GetChallenge() []byte
- func (m *ServerChallenge) GetCommitHash() []byte
- func (*ServerChallenge) ProtoMessage()
- func (m *ServerChallenge) Reset()
- func (m *ServerChallenge) String() string
- func (m *ServerChallenge) XXX_DiscardUnknown()
- func (m *ServerChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerChallenge) XXX_Merge(src proto.Message)
- func (m *ServerChallenge) XXX_Size() int
- func (m *ServerChallenge) XXX_Unmarshal(b []byte) error
- type ServerInitAccountRequest
- func (*ServerInitAccountRequest) Descriptor() ([]byte, []int)
- func (m *ServerInitAccountRequest) GetAccountExpiry() uint32
- func (m *ServerInitAccountRequest) GetAccountPoint() *OutPoint
- func (m *ServerInitAccountRequest) GetAccountScript() []byte
- func (m *ServerInitAccountRequest) GetAccountValue() uint64
- func (m *ServerInitAccountRequest) GetTraderKey() []byte
- func (m *ServerInitAccountRequest) GetUserAgent() string
- func (*ServerInitAccountRequest) ProtoMessage()
- func (m *ServerInitAccountRequest) Reset()
- func (m *ServerInitAccountRequest) String() string
- func (m *ServerInitAccountRequest) XXX_DiscardUnknown()
- func (m *ServerInitAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerInitAccountRequest) XXX_Merge(src proto.Message)
- func (m *ServerInitAccountRequest) XXX_Size() int
- func (m *ServerInitAccountRequest) XXX_Unmarshal(b []byte) error
- type ServerInitAccountResponse
- func (*ServerInitAccountResponse) Descriptor() ([]byte, []int)
- func (*ServerInitAccountResponse) ProtoMessage()
- func (m *ServerInitAccountResponse) Reset()
- func (m *ServerInitAccountResponse) String() string
- func (m *ServerInitAccountResponse) XXX_DiscardUnknown()
- func (m *ServerInitAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerInitAccountResponse) XXX_Merge(src proto.Message)
- func (m *ServerInitAccountResponse) XXX_Size() int
- func (m *ServerInitAccountResponse) XXX_Unmarshal(b []byte) error
- type ServerInput
- func (*ServerInput) Descriptor() ([]byte, []int)
- func (m *ServerInput) GetOutpoint() *OutPoint
- func (m *ServerInput) GetSigScript() []byte
- func (*ServerInput) ProtoMessage()
- func (m *ServerInput) Reset()
- func (m *ServerInput) String() string
- func (m *ServerInput) XXX_DiscardUnknown()
- func (m *ServerInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerInput) XXX_Merge(src proto.Message)
- func (m *ServerInput) XXX_Size() int
- func (m *ServerInput) XXX_Unmarshal(b []byte) error
- type ServerModifyAccountRequest
- func (*ServerModifyAccountRequest) Descriptor() ([]byte, []int)
- func (m *ServerModifyAccountRequest) GetNewInputs() []*ServerInput
- func (m *ServerModifyAccountRequest) GetNewOutputs() []*ServerOutput
- func (m *ServerModifyAccountRequest) GetNewParams() *ServerModifyAccountRequest_NewAccountParameters
- func (m *ServerModifyAccountRequest) GetTraderKey() []byte
- func (*ServerModifyAccountRequest) ProtoMessage()
- func (m *ServerModifyAccountRequest) Reset()
- func (m *ServerModifyAccountRequest) String() string
- func (m *ServerModifyAccountRequest) XXX_DiscardUnknown()
- func (m *ServerModifyAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerModifyAccountRequest) XXX_Merge(src proto.Message)
- func (m *ServerModifyAccountRequest) XXX_Size() int
- func (m *ServerModifyAccountRequest) XXX_Unmarshal(b []byte) error
- type ServerModifyAccountRequest_NewAccountParameters
- func (*ServerModifyAccountRequest_NewAccountParameters) Descriptor() ([]byte, []int)
- func (m *ServerModifyAccountRequest_NewAccountParameters) GetExpiry() uint32
- func (m *ServerModifyAccountRequest_NewAccountParameters) GetValue() uint64
- func (*ServerModifyAccountRequest_NewAccountParameters) ProtoMessage()
- func (m *ServerModifyAccountRequest_NewAccountParameters) Reset()
- func (m *ServerModifyAccountRequest_NewAccountParameters) String() string
- func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_DiscardUnknown()
- func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Merge(src proto.Message)
- func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Size() int
- func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Unmarshal(b []byte) error
- type ServerModifyAccountResponse
- func (*ServerModifyAccountResponse) Descriptor() ([]byte, []int)
- func (m *ServerModifyAccountResponse) GetAccountSig() []byte
- func (*ServerModifyAccountResponse) ProtoMessage()
- func (m *ServerModifyAccountResponse) Reset()
- func (m *ServerModifyAccountResponse) String() string
- func (m *ServerModifyAccountResponse) XXX_DiscardUnknown()
- func (m *ServerModifyAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerModifyAccountResponse) XXX_Merge(src proto.Message)
- func (m *ServerModifyAccountResponse) XXX_Size() int
- func (m *ServerModifyAccountResponse) XXX_Unmarshal(b []byte) error
- type ServerNodeRatingRequest
- func (*ServerNodeRatingRequest) Descriptor() ([]byte, []int)
- func (m *ServerNodeRatingRequest) GetNodePubkeys() [][]byte
- func (*ServerNodeRatingRequest) ProtoMessage()
- func (m *ServerNodeRatingRequest) Reset()
- func (m *ServerNodeRatingRequest) String() string
- func (m *ServerNodeRatingRequest) XXX_DiscardUnknown()
- func (m *ServerNodeRatingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerNodeRatingRequest) XXX_Merge(src proto.Message)
- func (m *ServerNodeRatingRequest) XXX_Size() int
- func (m *ServerNodeRatingRequest) XXX_Unmarshal(b []byte) error
- type ServerNodeRatingResponse
- func (*ServerNodeRatingResponse) Descriptor() ([]byte, []int)
- func (m *ServerNodeRatingResponse) GetNodeRatings() []*NodeRating
- func (*ServerNodeRatingResponse) ProtoMessage()
- func (m *ServerNodeRatingResponse) Reset()
- func (m *ServerNodeRatingResponse) String() string
- func (m *ServerNodeRatingResponse) XXX_DiscardUnknown()
- func (m *ServerNodeRatingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerNodeRatingResponse) XXX_Merge(src proto.Message)
- func (m *ServerNodeRatingResponse) XXX_Size() int
- func (m *ServerNodeRatingResponse) XXX_Unmarshal(b []byte) error
- type ServerOrder
- func (*ServerOrder) Descriptor() ([]byte, []int)
- func (m *ServerOrder) GetAmt() uint64
- func (m *ServerOrder) GetChanType() uint32
- func (m *ServerOrder) GetMaxBatchFeeRateSatPerKw() uint64
- func (m *ServerOrder) GetMinChanAmt() uint64
- func (m *ServerOrder) GetMultiSigKey() []byte
- func (m *ServerOrder) GetNodeAddr() []*NodeAddress
- func (m *ServerOrder) GetNodePub() []byte
- func (m *ServerOrder) GetOrderNonce() []byte
- func (m *ServerOrder) GetOrderSig() []byte
- func (m *ServerOrder) GetRateFixed() uint32
- func (m *ServerOrder) GetTraderKey() []byte
- func (*ServerOrder) ProtoMessage()
- func (m *ServerOrder) Reset()
- func (m *ServerOrder) String() string
- func (m *ServerOrder) XXX_DiscardUnknown()
- func (m *ServerOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerOrder) XXX_Merge(src proto.Message)
- func (m *ServerOrder) XXX_Size() int
- func (m *ServerOrder) XXX_Unmarshal(b []byte) error
- type ServerOrderStateRequest
- func (*ServerOrderStateRequest) Descriptor() ([]byte, []int)
- func (m *ServerOrderStateRequest) GetOrderNonce() []byte
- func (*ServerOrderStateRequest) ProtoMessage()
- func (m *ServerOrderStateRequest) Reset()
- func (m *ServerOrderStateRequest) String() string
- func (m *ServerOrderStateRequest) XXX_DiscardUnknown()
- func (m *ServerOrderStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerOrderStateRequest) XXX_Merge(src proto.Message)
- func (m *ServerOrderStateRequest) XXX_Size() int
- func (m *ServerOrderStateRequest) XXX_Unmarshal(b []byte) error
- type ServerOrderStateResponse
- func (*ServerOrderStateResponse) Descriptor() ([]byte, []int)
- func (m *ServerOrderStateResponse) GetState() OrderState
- func (m *ServerOrderStateResponse) GetUnitsUnfulfilled() uint32
- func (*ServerOrderStateResponse) ProtoMessage()
- func (m *ServerOrderStateResponse) Reset()
- func (m *ServerOrderStateResponse) String() string
- func (m *ServerOrderStateResponse) XXX_DiscardUnknown()
- func (m *ServerOrderStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerOrderStateResponse) XXX_Merge(src proto.Message)
- func (m *ServerOrderStateResponse) XXX_Size() int
- func (m *ServerOrderStateResponse) XXX_Unmarshal(b []byte) error
- type ServerOutput
- func (*ServerOutput) Descriptor() ([]byte, []int)
- func (m *ServerOutput) GetScript() []byte
- func (m *ServerOutput) GetValue() uint64
- func (*ServerOutput) ProtoMessage()
- func (m *ServerOutput) Reset()
- func (m *ServerOutput) String() string
- func (m *ServerOutput) XXX_DiscardUnknown()
- func (m *ServerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerOutput) XXX_Merge(src proto.Message)
- func (m *ServerOutput) XXX_Size() int
- func (m *ServerOutput) XXX_Unmarshal(b []byte) error
- type ServerSubmitOrderRequest
- func (*ServerSubmitOrderRequest) Descriptor() ([]byte, []int)
- func (m *ServerSubmitOrderRequest) GetAsk() *ServerAsk
- func (m *ServerSubmitOrderRequest) GetBid() *ServerBid
- func (m *ServerSubmitOrderRequest) GetDetails() isServerSubmitOrderRequest_Details
- func (m *ServerSubmitOrderRequest) GetUserAgent() string
- func (*ServerSubmitOrderRequest) ProtoMessage()
- func (m *ServerSubmitOrderRequest) Reset()
- func (m *ServerSubmitOrderRequest) String() string
- func (m *ServerSubmitOrderRequest) XXX_DiscardUnknown()
- func (m *ServerSubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerSubmitOrderRequest) XXX_Merge(src proto.Message)
- func (*ServerSubmitOrderRequest) XXX_OneofWrappers() []interface{}
- func (m *ServerSubmitOrderRequest) XXX_Size() int
- func (m *ServerSubmitOrderRequest) XXX_Unmarshal(b []byte) error
- type ServerSubmitOrderRequest_Ask
- type ServerSubmitOrderRequest_Bid
- type ServerSubmitOrderResponse
- func (*ServerSubmitOrderResponse) Descriptor() ([]byte, []int)
- func (m *ServerSubmitOrderResponse) GetAccepted() bool
- func (m *ServerSubmitOrderResponse) GetDetails() isServerSubmitOrderResponse_Details
- func (m *ServerSubmitOrderResponse) GetInvalidOrder() *InvalidOrder
- func (*ServerSubmitOrderResponse) ProtoMessage()
- func (m *ServerSubmitOrderResponse) Reset()
- func (m *ServerSubmitOrderResponse) String() string
- func (m *ServerSubmitOrderResponse) XXX_DiscardUnknown()
- func (m *ServerSubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerSubmitOrderResponse) XXX_Merge(src proto.Message)
- func (*ServerSubmitOrderResponse) XXX_OneofWrappers() []interface{}
- func (m *ServerSubmitOrderResponse) XXX_Size() int
- func (m *ServerSubmitOrderResponse) XXX_Unmarshal(b []byte) error
- type ServerSubmitOrderResponse_Accepted
- type ServerSubmitOrderResponse_InvalidOrder
- type SidecarAuth
- func (*SidecarAuth) Descriptor() ([]byte, []int)
- func (m *SidecarAuth) GetTicket() string
- func (*SidecarAuth) ProtoMessage()
- func (m *SidecarAuth) Reset()
- func (m *SidecarAuth) String() string
- func (m *SidecarAuth) XXX_DiscardUnknown()
- func (m *SidecarAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SidecarAuth) XXX_Merge(src proto.Message)
- func (m *SidecarAuth) XXX_Size() int
- func (m *SidecarAuth) XXX_Unmarshal(b []byte) error
- type SubscribeError
- func (*SubscribeError) Descriptor() ([]byte, []int)
- func (m *SubscribeError) GetAccountReservation() *AuctionAccount
- func (m *SubscribeError) GetError() string
- func (m *SubscribeError) GetErrorCode() SubscribeError_Error
- func (m *SubscribeError) GetTraderKey() []byte
- func (*SubscribeError) ProtoMessage()
- func (m *SubscribeError) Reset()
- func (m *SubscribeError) String() string
- func (m *SubscribeError) XXX_DiscardUnknown()
- func (m *SubscribeError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeError) XXX_Merge(src proto.Message)
- func (m *SubscribeError) XXX_Size() int
- func (m *SubscribeError) XXX_Unmarshal(b []byte) error
- type SubscribeError_Error
- type SubscribeSuccess
- func (*SubscribeSuccess) Descriptor() ([]byte, []int)
- func (m *SubscribeSuccess) GetTraderKey() []byte
- func (*SubscribeSuccess) ProtoMessage()
- func (m *SubscribeSuccess) Reset()
- func (m *SubscribeSuccess) String() string
- func (m *SubscribeSuccess) XXX_DiscardUnknown()
- func (m *SubscribeSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeSuccess) XXX_Merge(src proto.Message)
- func (m *SubscribeSuccess) XXX_Size() int
- func (m *SubscribeSuccess) XXX_Unmarshal(b []byte) error
- type TermsRequest
- func (*TermsRequest) Descriptor() ([]byte, []int)
- func (*TermsRequest) ProtoMessage()
- func (m *TermsRequest) Reset()
- func (m *TermsRequest) String() string
- func (m *TermsRequest) XXX_DiscardUnknown()
- func (m *TermsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TermsRequest) XXX_Merge(src proto.Message)
- func (m *TermsRequest) XXX_Size() int
- func (m *TermsRequest) XXX_Unmarshal(b []byte) error
- type TermsResponse
- func (*TermsResponse) Descriptor() ([]byte, []int)
- func (m *TermsResponse) GetExecutionFee() *ExecutionFee
- func (m *TermsResponse) GetLeaseDurationBuckets() map[uint32]DurationBucketState
- func (m *TermsResponse) GetLeaseDurations() map[uint32]booldeprecated
- func (m *TermsResponse) GetMaxAccountValue() uint64
- func (m *TermsResponse) GetMaxOrderDurationBlocks() uint32deprecated
- func (m *TermsResponse) GetNextBatchClearTimestamp() uint64
- func (m *TermsResponse) GetNextBatchConfTarget() uint32
- func (m *TermsResponse) GetNextBatchFeeRateSatPerKw() uint64
- func (*TermsResponse) ProtoMessage()
- func (m *TermsResponse) Reset()
- func (m *TermsResponse) String() string
- func (m *TermsResponse) XXX_DiscardUnknown()
- func (m *TermsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TermsResponse) XXX_Merge(src proto.Message)
- func (m *TermsResponse) XXX_Size() int
- func (m *TermsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedChannelAuctioneerServer
- func (*UnimplementedChannelAuctioneerServer) BatchSnapshot(ctx context.Context, req *BatchSnapshotRequest) (*BatchSnapshotResponse, error)
- func (*UnimplementedChannelAuctioneerServer) BatchSnapshots(ctx context.Context, req *BatchSnapshotsRequest) (*BatchSnapshotsResponse, error)
- func (*UnimplementedChannelAuctioneerServer) CancelOrder(ctx context.Context, req *ServerCancelOrderRequest) (*ServerCancelOrderResponse, error)
- func (*UnimplementedChannelAuctioneerServer) InitAccount(ctx context.Context, req *ServerInitAccountRequest) (*ServerInitAccountResponse, error)
- func (*UnimplementedChannelAuctioneerServer) MarketInfo(ctx context.Context, req *MarketInfoRequest) (*MarketInfoResponse, error)
- func (*UnimplementedChannelAuctioneerServer) ModifyAccount(ctx context.Context, req *ServerModifyAccountRequest) (*ServerModifyAccountResponse, error)
- func (*UnimplementedChannelAuctioneerServer) NodeRating(ctx context.Context, req *ServerNodeRatingRequest) (*ServerNodeRatingResponse, error)
- func (*UnimplementedChannelAuctioneerServer) OrderState(ctx context.Context, req *ServerOrderStateRequest) (*ServerOrderStateResponse, error)
- func (*UnimplementedChannelAuctioneerServer) RelevantBatchSnapshot(ctx context.Context, req *RelevantBatchRequest) (*RelevantBatch, error)
- func (*UnimplementedChannelAuctioneerServer) ReserveAccount(ctx context.Context, req *ReserveAccountRequest) (*ReserveAccountResponse, error)
- func (*UnimplementedChannelAuctioneerServer) SubmitOrder(ctx context.Context, req *ServerSubmitOrderRequest) (*ServerSubmitOrderResponse, error)
- func (*UnimplementedChannelAuctioneerServer) SubscribeBatchAuction(srv ChannelAuctioneer_SubscribeBatchAuctionServer) error
- func (*UnimplementedChannelAuctioneerServer) SubscribeSidecar(srv ChannelAuctioneer_SubscribeSidecarServer) error
- func (*UnimplementedChannelAuctioneerServer) Terms(ctx context.Context, req *TermsRequest) (*TermsResponse, error)
- type UnimplementedHashMailServer
- func (*UnimplementedHashMailServer) DelCipherBox(ctx context.Context, req *CipherBoxAuth) (*DelCipherBoxResp, error)
- func (*UnimplementedHashMailServer) NewCipherBox(ctx context.Context, req *CipherBoxAuth) (*CipherInitResp, error)
- func (*UnimplementedHashMailServer) RecvStream(req *CipherBoxDesc, srv HashMail_RecvStreamServer) error
- func (*UnimplementedHashMailServer) SendStream(srv HashMail_SendStreamServer) error
Constants ¶
This section is empty.
Variables ¶
var AccountDiff_AccountState_name = map[int32]string{
0: "OUTPUT_RECREATED",
1: "OUTPUT_DUST_EXTENDED_OFFCHAIN",
2: "OUTPUT_DUST_ADDED_TO_FEES",
3: "OUTPUT_FULLY_SPENT",
}
var AccountDiff_AccountState_value = map[string]int32{
"OUTPUT_RECREATED": 0,
"OUTPUT_DUST_EXTENDED_OFFCHAIN": 1,
"OUTPUT_DUST_ADDED_TO_FEES": 2,
"OUTPUT_FULLY_SPENT": 3,
}
var AuctionAccountState_name = map[int32]string{
0: "STATE_PENDING_OPEN",
1: "STATE_OPEN",
2: "STATE_EXPIRED",
3: "STATE_PENDING_UPDATE",
4: "STATE_CLOSED",
5: "STATE_PENDING_BATCH",
}
var AuctionAccountState_value = map[string]int32{
"STATE_PENDING_OPEN": 0,
"STATE_OPEN": 1,
"STATE_EXPIRED": 2,
"STATE_PENDING_UPDATE": 3,
"STATE_CLOSED": 4,
"STATE_PENDING_BATCH": 5,
}
var ChannelType_name = map[int32]string{
0: "TWEAKLESS",
1: "ANCHORS",
}
var ChannelType_value = map[string]int32{
"TWEAKLESS": 0,
"ANCHORS": 1,
}
var DurationBucketState_name = map[int32]string{
0: "NO_MARKET",
1: "MARKET_CLOSED",
2: "ACCEPTING_ORDERS",
3: "MARKET_OPEN",
}
var DurationBucketState_value = map[string]int32{
"NO_MARKET": 0,
"MARKET_CLOSED": 1,
"ACCEPTING_ORDERS": 2,
"MARKET_OPEN": 3,
}
var InvalidOrder_FailReason_name = map[int32]string{
0: "INVALID_AMT",
}
var InvalidOrder_FailReason_value = map[string]int32{
"INVALID_AMT": 0,
}
var NodeTier_name = map[int32]string{
0: "TIER_DEFAULT",
1: "TIER_0",
2: "TIER_1",
}
var NodeTier_value = map[string]int32{
"TIER_DEFAULT": 0,
"TIER_0": 1,
"TIER_1": 2,
}
var OrderMatchReject_RejectReason_name = map[int32]string{
0: "UNKNOWN",
1: "SERVER_MISBEHAVIOR",
2: "BATCH_VERSION_MISMATCH",
3: "PARTIAL_REJECT",
}
var OrderMatchReject_RejectReason_value = map[string]int32{
"UNKNOWN": 0,
"SERVER_MISBEHAVIOR": 1,
"BATCH_VERSION_MISMATCH": 2,
"PARTIAL_REJECT": 3,
}
var OrderReject_OrderRejectReason_name = map[int32]string{
0: "DUPLICATE_PEER",
1: "CHANNEL_FUNDING_FAILED",
}
var OrderReject_OrderRejectReason_value = map[string]int32{
"DUPLICATE_PEER": 0,
"CHANNEL_FUNDING_FAILED": 1,
}
var OrderState_name = map[int32]string{
0: "ORDER_SUBMITTED",
1: "ORDER_CLEARED",
2: "ORDER_PARTIALLY_FILLED",
3: "ORDER_EXECUTED",
4: "ORDER_CANCELED",
5: "ORDER_EXPIRED",
6: "ORDER_FAILED",
}
var OrderState_value = map[string]int32{
"ORDER_SUBMITTED": 0,
"ORDER_CLEARED": 1,
"ORDER_PARTIALLY_FILLED": 2,
"ORDER_EXECUTED": 3,
"ORDER_CANCELED": 4,
"ORDER_EXPIRED": 5,
"ORDER_FAILED": 6,
}
var SubscribeError_Error_name = map[int32]string{
0: "UNKNOWN",
1: "SERVER_SHUTDOWN",
2: "ACCOUNT_DOES_NOT_EXIST",
3: "INCOMPLETE_ACCOUNT_RESERVATION",
}
var SubscribeError_Error_value = map[string]int32{
"UNKNOWN": 0,
"SERVER_SHUTDOWN": 1,
"ACCOUNT_DOES_NOT_EXIST": 2,
"INCOMPLETE_ACCOUNT_RESERVATION": 3,
}
Functions ¶
func RegisterChannelAuctioneerServer ¶
func RegisterChannelAuctioneerServer(s *grpc.Server, srv ChannelAuctioneerServer)
func RegisterHashMailServer ¶
func RegisterHashMailServer(s *grpc.Server, srv HashMailServer)
Types ¶
type AccountCommitment ¶
type AccountCommitment struct {
//
//The SHA256 hash of the trader's account key and a 32 byte random nonce.
//commit_hash = SHA256(accountPubKey || nonce)
CommitHash []byte `protobuf:"bytes,1,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
//
//The batch verification protocol version the client is using. Clients that
//don't use the latest version will be declined to connect and participate in
//an auction. The user should then be informed that a software update is
//required.
BatchVersion uint32 `protobuf:"varint,2,opt,name=batch_version,json=batchVersion,proto3" json:"batch_version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AccountCommitment) Descriptor ¶
func (*AccountCommitment) Descriptor() ([]byte, []int)
func (*AccountCommitment) GetBatchVersion ¶
func (m *AccountCommitment) GetBatchVersion() uint32
func (*AccountCommitment) GetCommitHash ¶
func (m *AccountCommitment) GetCommitHash() []byte
func (*AccountCommitment) ProtoMessage ¶
func (*AccountCommitment) ProtoMessage()
func (*AccountCommitment) Reset ¶
func (m *AccountCommitment) Reset()
func (*AccountCommitment) String ¶
func (m *AccountCommitment) String() string
func (*AccountCommitment) XXX_DiscardUnknown ¶
func (m *AccountCommitment) XXX_DiscardUnknown()
func (*AccountCommitment) XXX_Marshal ¶
func (m *AccountCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountCommitment) XXX_Merge ¶
func (m *AccountCommitment) XXX_Merge(src proto.Message)
func (*AccountCommitment) XXX_Size ¶
func (m *AccountCommitment) XXX_Size() int
func (*AccountCommitment) XXX_Unmarshal ¶
func (m *AccountCommitment) XXX_Unmarshal(b []byte) error
type AccountDiff ¶
type AccountDiff struct {
//
//The final balance of the account after the executed batch.
EndingBalance uint64 `protobuf:"varint,1,opt,name=ending_balance,json=endingBalance,proto3" json:"ending_balance,omitempty"`
//
//Depending on the amount of the final balance of the account, the remainder
//is either sent to a new on-chain output, extended off-chain or fully
//consumed by the batch and its fees.
EndingState AccountDiff_AccountState `` /* 133-byte string literal not displayed */
//
//If the account was re-created on-chain then the new account's index in the
//transaction is set here. If the account was fully spent or the remainder was
//extended off-chain then no new account outpoint is created and -1 is
//returned here.
OutpointIndex int32 `protobuf:"varint,3,opt,name=outpoint_index,json=outpointIndex,proto3" json:"outpoint_index,omitempty"`
//
//The trader's account key this diff is referring to.
TraderKey []byte `protobuf:"bytes,4,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AccountDiff) Descriptor ¶
func (*AccountDiff) Descriptor() ([]byte, []int)
func (*AccountDiff) GetEndingBalance ¶
func (m *AccountDiff) GetEndingBalance() uint64
func (*AccountDiff) GetEndingState ¶
func (m *AccountDiff) GetEndingState() AccountDiff_AccountState
func (*AccountDiff) GetOutpointIndex ¶
func (m *AccountDiff) GetOutpointIndex() int32
func (*AccountDiff) GetTraderKey ¶
func (m *AccountDiff) GetTraderKey() []byte
func (*AccountDiff) ProtoMessage ¶
func (*AccountDiff) ProtoMessage()
func (*AccountDiff) Reset ¶
func (m *AccountDiff) Reset()
func (*AccountDiff) String ¶
func (m *AccountDiff) String() string
func (*AccountDiff) XXX_DiscardUnknown ¶
func (m *AccountDiff) XXX_DiscardUnknown()
func (*AccountDiff) XXX_Marshal ¶
func (m *AccountDiff) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountDiff) XXX_Merge ¶
func (m *AccountDiff) XXX_Merge(src proto.Message)
func (*AccountDiff) XXX_Size ¶
func (m *AccountDiff) XXX_Size() int
func (*AccountDiff) XXX_Unmarshal ¶
func (m *AccountDiff) XXX_Unmarshal(b []byte) error
type AccountDiff_AccountState ¶
type AccountDiff_AccountState int32
const ( AccountDiff_OUTPUT_RECREATED AccountDiff_AccountState = 0 AccountDiff_OUTPUT_DUST_EXTENDED_OFFCHAIN AccountDiff_AccountState = 1 AccountDiff_OUTPUT_DUST_ADDED_TO_FEES AccountDiff_AccountState = 2 AccountDiff_OUTPUT_FULLY_SPENT AccountDiff_AccountState = 3 )
func (AccountDiff_AccountState) EnumDescriptor ¶
func (AccountDiff_AccountState) EnumDescriptor() ([]byte, []int)
func (AccountDiff_AccountState) String ¶
func (x AccountDiff_AccountState) String() string
type AccountRecovery ¶
type AccountRecovery struct {
//
//The trader's account key of the account to recover.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AccountRecovery) Descriptor ¶
func (*AccountRecovery) Descriptor() ([]byte, []int)
func (*AccountRecovery) GetTraderKey ¶
func (m *AccountRecovery) GetTraderKey() []byte
func (*AccountRecovery) ProtoMessage ¶
func (*AccountRecovery) ProtoMessage()
func (*AccountRecovery) Reset ¶
func (m *AccountRecovery) Reset()
func (*AccountRecovery) String ¶
func (m *AccountRecovery) String() string
func (*AccountRecovery) XXX_DiscardUnknown ¶
func (m *AccountRecovery) XXX_DiscardUnknown()
func (*AccountRecovery) XXX_Marshal ¶
func (m *AccountRecovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountRecovery) XXX_Merge ¶
func (m *AccountRecovery) XXX_Merge(src proto.Message)
func (*AccountRecovery) XXX_Size ¶
func (m *AccountRecovery) XXX_Size() int
func (*AccountRecovery) XXX_Unmarshal ¶
func (m *AccountRecovery) XXX_Unmarshal(b []byte) error
type AccountSubscription ¶
type AccountSubscription struct {
//
//The trader's account key of the account to subscribe to.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//The random 32 byte nonce the trader used to create the commitment hash.
CommitNonce []byte `protobuf:"bytes,2,opt,name=commit_nonce,json=commitNonce,proto3" json:"commit_nonce,omitempty"`
//
//The signature over the auth_hash which is the hash of the commitment and
//challenge. The signature is created with the trader's account key they
//committed to.
//auth_hash = SHA256(SHA256(accountPubKey || nonce) || challenge)
AuthSig []byte `protobuf:"bytes,3,opt,name=auth_sig,json=authSig,proto3" json:"auth_sig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AccountSubscription) Descriptor ¶
func (*AccountSubscription) Descriptor() ([]byte, []int)
func (*AccountSubscription) GetAuthSig ¶
func (m *AccountSubscription) GetAuthSig() []byte
func (*AccountSubscription) GetCommitNonce ¶
func (m *AccountSubscription) GetCommitNonce() []byte
func (*AccountSubscription) GetTraderKey ¶
func (m *AccountSubscription) GetTraderKey() []byte
func (*AccountSubscription) ProtoMessage ¶
func (*AccountSubscription) ProtoMessage()
func (*AccountSubscription) Reset ¶
func (m *AccountSubscription) Reset()
func (*AccountSubscription) String ¶
func (m *AccountSubscription) String() string
func (*AccountSubscription) XXX_DiscardUnknown ¶
func (m *AccountSubscription) XXX_DiscardUnknown()
func (*AccountSubscription) XXX_Marshal ¶
func (m *AccountSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountSubscription) XXX_Merge ¶
func (m *AccountSubscription) XXX_Merge(src proto.Message)
func (*AccountSubscription) XXX_Size ¶
func (m *AccountSubscription) XXX_Size() int
func (*AccountSubscription) XXX_Unmarshal ¶
func (m *AccountSubscription) XXX_Unmarshal(b []byte) error
type AskSnapshot ¶
type AskSnapshot struct {
// The version of the order.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// The period of time the channel will survive for.
LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
// The true bid price of the order in parts per billion.
RateFixed uint32 `protobuf:"varint,3,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"`
// The channel type to be created.
ChanType uint32 `protobuf:"varint,4,opt,name=chan_type,json=chanType,proto3" json:"chan_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AskSnapshot) Descriptor ¶
func (*AskSnapshot) Descriptor() ([]byte, []int)
func (*AskSnapshot) GetChanType ¶
func (m *AskSnapshot) GetChanType() uint32
func (*AskSnapshot) GetLeaseDurationBlocks ¶
func (m *AskSnapshot) GetLeaseDurationBlocks() uint32
func (*AskSnapshot) GetRateFixed ¶
func (m *AskSnapshot) GetRateFixed() uint32
func (*AskSnapshot) GetVersion ¶
func (m *AskSnapshot) GetVersion() uint32
func (*AskSnapshot) ProtoMessage ¶
func (*AskSnapshot) ProtoMessage()
func (*AskSnapshot) Reset ¶
func (m *AskSnapshot) Reset()
func (*AskSnapshot) String ¶
func (m *AskSnapshot) String() string
func (*AskSnapshot) XXX_DiscardUnknown ¶
func (m *AskSnapshot) XXX_DiscardUnknown()
func (*AskSnapshot) XXX_Marshal ¶
func (m *AskSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AskSnapshot) XXX_Merge ¶
func (m *AskSnapshot) XXX_Merge(src proto.Message)
func (*AskSnapshot) XXX_Size ¶
func (m *AskSnapshot) XXX_Size() int
func (*AskSnapshot) XXX_Unmarshal ¶
func (m *AskSnapshot) XXX_Unmarshal(b []byte) error
type AuctionAccount ¶
type AuctionAccount struct {
//
//The value of the account in satoshis. Must match the amount of the
//account_point output.
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
//
//The block height at which the account should expire.
Expiry uint32 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"`
//
//The trader's account key.
TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//The long term auctioneer's account key.
AuctioneerKey []byte `protobuf:"bytes,4,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"`
//
//The current batch key used to create the account output.
BatchKey []byte `protobuf:"bytes,5,opt,name=batch_key,json=batchKey,proto3" json:"batch_key,omitempty"`
//
//The current state of the account as the auctioneer sees it.
State AuctionAccountState `protobuf:"varint,6,opt,name=state,proto3,enum=poolrpc.AuctionAccountState" json:"state,omitempty"`
//
//The block height of the last change to the account's output. Can be used to
//scan the chain for the output's spend state more efficiently.
HeightHint uint32 `protobuf:"varint,7,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"`
//
//Transaction output of the account. Depending on the state of the account,
//this output might have been spent.
Outpoint *OutPoint `protobuf:"bytes,8,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
//
//The latest transaction of an account. This is only known by the auctioneer
//after the account has met its initial funding confirmation.
LatestTx []byte `protobuf:"bytes,9,opt,name=latest_tx,json=latestTx,proto3" json:"latest_tx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AuctionAccount) Descriptor ¶
func (*AuctionAccount) Descriptor() ([]byte, []int)
func (*AuctionAccount) GetAuctioneerKey ¶
func (m *AuctionAccount) GetAuctioneerKey() []byte
func (*AuctionAccount) GetBatchKey ¶
func (m *AuctionAccount) GetBatchKey() []byte
func (*AuctionAccount) GetExpiry ¶
func (m *AuctionAccount) GetExpiry() uint32
func (*AuctionAccount) GetHeightHint ¶
func (m *AuctionAccount) GetHeightHint() uint32
func (*AuctionAccount) GetLatestTx ¶
func (m *AuctionAccount) GetLatestTx() []byte
func (*AuctionAccount) GetOutpoint ¶
func (m *AuctionAccount) GetOutpoint() *OutPoint
func (*AuctionAccount) GetState ¶
func (m *AuctionAccount) GetState() AuctionAccountState
func (*AuctionAccount) GetTraderKey ¶
func (m *AuctionAccount) GetTraderKey() []byte
func (*AuctionAccount) GetValue ¶
func (m *AuctionAccount) GetValue() uint64
func (*AuctionAccount) ProtoMessage ¶
func (*AuctionAccount) ProtoMessage()
func (*AuctionAccount) Reset ¶
func (m *AuctionAccount) Reset()
func (*AuctionAccount) String ¶
func (m *AuctionAccount) String() string
func (*AuctionAccount) XXX_DiscardUnknown ¶
func (m *AuctionAccount) XXX_DiscardUnknown()
func (*AuctionAccount) XXX_Marshal ¶
func (m *AuctionAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionAccount) XXX_Merge ¶
func (m *AuctionAccount) XXX_Merge(src proto.Message)
func (*AuctionAccount) XXX_Size ¶
func (m *AuctionAccount) XXX_Size() int
func (*AuctionAccount) XXX_Unmarshal ¶
func (m *AuctionAccount) XXX_Unmarshal(b []byte) error
type AuctionAccountState ¶
type AuctionAccountState int32
const ( // //The account's funding transaction is not yet confirmed on-chain. AuctionAccountState_STATE_PENDING_OPEN AuctionAccountState = 0 // //The account is fully open and confirmed on-chain. AuctionAccountState_STATE_OPEN AuctionAccountState = 1 // //The account is still open but the CLTV expiry has passed and the trader can //close it without the auctioneer's key. Orders for accounts in this state //won't be accepted. AuctionAccountState_STATE_EXPIRED AuctionAccountState = 2 // //The account was modified by a deposit or withdrawal and is currently waiting //for the modifying transaction to confirm. AuctionAccountState_STATE_PENDING_UPDATE AuctionAccountState = 3 // //The account is closed. The auctioneer doesn't track whether the closing //transaction is already confirmed on-chain or not. AuctionAccountState_STATE_CLOSED AuctionAccountState = 4 // //The account has recently participated in a batch and is not yet confirmed. AuctionAccountState_STATE_PENDING_BATCH AuctionAccountState = 5 )
func (AuctionAccountState) EnumDescriptor ¶
func (AuctionAccountState) EnumDescriptor() ([]byte, []int)
func (AuctionAccountState) String ¶
func (x AuctionAccountState) String() string
type BatchSnapshotRequest ¶
type BatchSnapshotRequest struct {
// The unique identifier of the batch encoded as a compressed pubkey.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BatchSnapshotRequest) Descriptor ¶
func (*BatchSnapshotRequest) Descriptor() ([]byte, []int)
func (*BatchSnapshotRequest) GetBatchId ¶
func (m *BatchSnapshotRequest) GetBatchId() []byte
func (*BatchSnapshotRequest) ProtoMessage ¶
func (*BatchSnapshotRequest) ProtoMessage()
func (*BatchSnapshotRequest) Reset ¶
func (m *BatchSnapshotRequest) Reset()
func (*BatchSnapshotRequest) String ¶
func (m *BatchSnapshotRequest) String() string
func (*BatchSnapshotRequest) XXX_DiscardUnknown ¶
func (m *BatchSnapshotRequest) XXX_DiscardUnknown()
func (*BatchSnapshotRequest) XXX_Marshal ¶
func (m *BatchSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSnapshotRequest) XXX_Merge ¶
func (m *BatchSnapshotRequest) XXX_Merge(src proto.Message)
func (*BatchSnapshotRequest) XXX_Size ¶
func (m *BatchSnapshotRequest) XXX_Size() int
func (*BatchSnapshotRequest) XXX_Unmarshal ¶
func (m *BatchSnapshotRequest) XXX_Unmarshal(b []byte) error
type BatchSnapshotResponse ¶
type BatchSnapshotResponse struct {
// The version of the batch.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// The unique identifier of the batch.
BatchId []byte `protobuf:"bytes,2,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
// The unique identifier of the prior batch.
PrevBatchId []byte `protobuf:"bytes,3,opt,name=prev_batch_id,json=prevBatchId,proto3" json:"prev_batch_id,omitempty"`
//
//Deprecated, use matched_markets.
ClearingPriceRate uint32 `protobuf:"varint,4,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` // Deprecated: Do not use.
//
//Deprecated, use matched_markets.
MatchedOrders []*MatchedOrderSnapshot `protobuf:"bytes,5,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty"` // Deprecated: Do not use.
// The txid of the batch transaction.
BatchTxId string `protobuf:"bytes,7,opt,name=batch_tx_id,json=batchTxId,proto3" json:"batch_tx_id,omitempty"`
// The batch transaction including all witness data.
BatchTx []byte `protobuf:"bytes,6,opt,name=batch_tx,json=batchTx,proto3" json:"batch_tx,omitempty"`
// The fee rate, in satoshis per kiloweight, of the batch transaction.
BatchTxFeeRateSatPerKw uint64 `` /* 138-byte string literal not displayed */
// The unix timestamp in nanoseconds the batch was made.
CreationTimestampNs uint64 `protobuf:"varint,9,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"`
//
//Maps the distinct lease duration markets to the orders that were matched
//within and the discovered market clearing price.
MatchedMarkets map[uint32]*MatchedMarketSnapshot `` /* 193-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BatchSnapshotResponse) Descriptor ¶
func (*BatchSnapshotResponse) Descriptor() ([]byte, []int)
func (*BatchSnapshotResponse) GetBatchId ¶
func (m *BatchSnapshotResponse) GetBatchId() []byte
func (*BatchSnapshotResponse) GetBatchTx ¶
func (m *BatchSnapshotResponse) GetBatchTx() []byte
func (*BatchSnapshotResponse) GetBatchTxFeeRateSatPerKw ¶
func (m *BatchSnapshotResponse) GetBatchTxFeeRateSatPerKw() uint64
func (*BatchSnapshotResponse) GetBatchTxId ¶
func (m *BatchSnapshotResponse) GetBatchTxId() string
func (*BatchSnapshotResponse) GetClearingPriceRate
deprecated
func (m *BatchSnapshotResponse) GetClearingPriceRate() uint32
Deprecated: Do not use.
func (*BatchSnapshotResponse) GetCreationTimestampNs ¶
func (m *BatchSnapshotResponse) GetCreationTimestampNs() uint64
func (*BatchSnapshotResponse) GetMatchedMarkets ¶
func (m *BatchSnapshotResponse) GetMatchedMarkets() map[uint32]*MatchedMarketSnapshot
func (*BatchSnapshotResponse) GetMatchedOrders
deprecated
func (m *BatchSnapshotResponse) GetMatchedOrders() []*MatchedOrderSnapshot
Deprecated: Do not use.
func (*BatchSnapshotResponse) GetPrevBatchId ¶
func (m *BatchSnapshotResponse) GetPrevBatchId() []byte
func (*BatchSnapshotResponse) GetVersion ¶
func (m *BatchSnapshotResponse) GetVersion() uint32
func (*BatchSnapshotResponse) ProtoMessage ¶
func (*BatchSnapshotResponse) ProtoMessage()
func (*BatchSnapshotResponse) Reset ¶
func (m *BatchSnapshotResponse) Reset()
func (*BatchSnapshotResponse) String ¶
func (m *BatchSnapshotResponse) String() string
func (*BatchSnapshotResponse) XXX_DiscardUnknown ¶
func (m *BatchSnapshotResponse) XXX_DiscardUnknown()
func (*BatchSnapshotResponse) XXX_Marshal ¶
func (m *BatchSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSnapshotResponse) XXX_Merge ¶
func (m *BatchSnapshotResponse) XXX_Merge(src proto.Message)
func (*BatchSnapshotResponse) XXX_Size ¶
func (m *BatchSnapshotResponse) XXX_Size() int
func (*BatchSnapshotResponse) XXX_Unmarshal ¶
func (m *BatchSnapshotResponse) XXX_Unmarshal(b []byte) error
type BatchSnapshotsRequest ¶
type BatchSnapshotsRequest struct {
//
//The unique identifier of the first batch to return, encoded as a compressed
//pubkey. This represents the newest/most current batch to fetch. If this is
//empty or a zero batch ID, the most recent finalized batch is used as the
//starting point to go back from.
StartBatchId []byte `protobuf:"bytes,1,opt,name=start_batch_id,json=startBatchId,proto3" json:"start_batch_id,omitempty"`
//
//The number of batches to return at most, including the start batch.
NumBatchesBack uint32 `protobuf:"varint,2,opt,name=num_batches_back,json=numBatchesBack,proto3" json:"num_batches_back,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BatchSnapshotsRequest) Descriptor ¶
func (*BatchSnapshotsRequest) Descriptor() ([]byte, []int)
func (*BatchSnapshotsRequest) GetNumBatchesBack ¶
func (m *BatchSnapshotsRequest) GetNumBatchesBack() uint32
func (*BatchSnapshotsRequest) GetStartBatchId ¶
func (m *BatchSnapshotsRequest) GetStartBatchId() []byte
func (*BatchSnapshotsRequest) ProtoMessage ¶
func (*BatchSnapshotsRequest) ProtoMessage()
func (*BatchSnapshotsRequest) Reset ¶
func (m *BatchSnapshotsRequest) Reset()
func (*BatchSnapshotsRequest) String ¶
func (m *BatchSnapshotsRequest) String() string
func (*BatchSnapshotsRequest) XXX_DiscardUnknown ¶
func (m *BatchSnapshotsRequest) XXX_DiscardUnknown()
func (*BatchSnapshotsRequest) XXX_Marshal ¶
func (m *BatchSnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSnapshotsRequest) XXX_Merge ¶
func (m *BatchSnapshotsRequest) XXX_Merge(src proto.Message)
func (*BatchSnapshotsRequest) XXX_Size ¶
func (m *BatchSnapshotsRequest) XXX_Size() int
func (*BatchSnapshotsRequest) XXX_Unmarshal ¶
func (m *BatchSnapshotsRequest) XXX_Unmarshal(b []byte) error
type BatchSnapshotsResponse ¶
type BatchSnapshotsResponse struct {
// The list of batches requested.
Batches []*BatchSnapshotResponse `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BatchSnapshotsResponse) Descriptor ¶
func (*BatchSnapshotsResponse) Descriptor() ([]byte, []int)
func (*BatchSnapshotsResponse) GetBatches ¶
func (m *BatchSnapshotsResponse) GetBatches() []*BatchSnapshotResponse
func (*BatchSnapshotsResponse) ProtoMessage ¶
func (*BatchSnapshotsResponse) ProtoMessage()
func (*BatchSnapshotsResponse) Reset ¶
func (m *BatchSnapshotsResponse) Reset()
func (*BatchSnapshotsResponse) String ¶
func (m *BatchSnapshotsResponse) String() string
func (*BatchSnapshotsResponse) XXX_DiscardUnknown ¶
func (m *BatchSnapshotsResponse) XXX_DiscardUnknown()
func (*BatchSnapshotsResponse) XXX_Marshal ¶
func (m *BatchSnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchSnapshotsResponse) XXX_Merge ¶
func (m *BatchSnapshotsResponse) XXX_Merge(src proto.Message)
func (*BatchSnapshotsResponse) XXX_Size ¶
func (m *BatchSnapshotsResponse) XXX_Size() int
func (*BatchSnapshotsResponse) XXX_Unmarshal ¶
func (m *BatchSnapshotsResponse) XXX_Unmarshal(b []byte) error
type BidSnapshot ¶
type BidSnapshot struct {
// The version of the order.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// The period of time the matched channel should be allocated for.
LeaseDurationBlocks uint32 `protobuf:"varint,2,opt,name=lease_duration_blocks,json=leaseDurationBlocks,proto3" json:"lease_duration_blocks,omitempty"`
// The true bid price of the order in parts per billion.
RateFixed uint32 `protobuf:"varint,3,opt,name=rate_fixed,json=rateFixed,proto3" json:"rate_fixed,omitempty"`
// The channel type to be created.
ChanType uint32 `protobuf:"varint,4,opt,name=chan_type,json=chanType,proto3" json:"chan_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BidSnapshot) Descriptor ¶
func (*BidSnapshot) Descriptor() ([]byte, []int)
func (*BidSnapshot) GetChanType ¶
func (m *BidSnapshot) GetChanType() uint32
func (*BidSnapshot) GetLeaseDurationBlocks ¶
func (m *BidSnapshot) GetLeaseDurationBlocks() uint32
func (*BidSnapshot) GetRateFixed ¶
func (m *BidSnapshot) GetRateFixed() uint32
func (*BidSnapshot) GetVersion ¶
func (m *BidSnapshot) GetVersion() uint32
func (*BidSnapshot) ProtoMessage ¶
func (*BidSnapshot) ProtoMessage()
func (*BidSnapshot) Reset ¶
func (m *BidSnapshot) Reset()
func (*BidSnapshot) String ¶
func (m *BidSnapshot) String() string
func (*BidSnapshot) XXX_DiscardUnknown ¶
func (m *BidSnapshot) XXX_DiscardUnknown()
func (*BidSnapshot) XXX_Marshal ¶
func (m *BidSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BidSnapshot) XXX_Merge ¶
func (m *BidSnapshot) XXX_Merge(src proto.Message)
func (*BidSnapshot) XXX_Size ¶
func (m *BidSnapshot) XXX_Size() int
func (*BidSnapshot) XXX_Unmarshal ¶
func (m *BidSnapshot) XXX_Unmarshal(b []byte) error
type CancelOrder ¶
type CancelOrder 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 (*CancelOrder) Descriptor ¶
func (*CancelOrder) Descriptor() ([]byte, []int)
func (*CancelOrder) GetOrderNonce ¶
func (m *CancelOrder) GetOrderNonce() []byte
func (*CancelOrder) ProtoMessage ¶
func (*CancelOrder) ProtoMessage()
func (*CancelOrder) Reset ¶
func (m *CancelOrder) Reset()
func (*CancelOrder) String ¶
func (m *CancelOrder) String() string
func (*CancelOrder) XXX_DiscardUnknown ¶
func (m *CancelOrder) XXX_DiscardUnknown()
func (*CancelOrder) XXX_Marshal ¶
func (m *CancelOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelOrder) XXX_Merge ¶
func (m *CancelOrder) XXX_Merge(src proto.Message)
func (*CancelOrder) XXX_Size ¶
func (m *CancelOrder) XXX_Size() int
func (*CancelOrder) XXX_Unmarshal ¶
func (m *CancelOrder) XXX_Unmarshal(b []byte) error
type ChannelAuctioneerClient ¶
type ChannelAuctioneerClient interface {
ReserveAccount(ctx context.Context, in *ReserveAccountRequest, opts ...grpc.CallOption) (*ReserveAccountResponse, error)
InitAccount(ctx context.Context, in *ServerInitAccountRequest, opts ...grpc.CallOption) (*ServerInitAccountResponse, error)
ModifyAccount(ctx context.Context, in *ServerModifyAccountRequest, opts ...grpc.CallOption) (*ServerModifyAccountResponse, error)
SubmitOrder(ctx context.Context, in *ServerSubmitOrderRequest, opts ...grpc.CallOption) (*ServerSubmitOrderResponse, error)
CancelOrder(ctx context.Context, in *ServerCancelOrderRequest, opts ...grpc.CallOption) (*ServerCancelOrderResponse, error)
OrderState(ctx context.Context, in *ServerOrderStateRequest, opts ...grpc.CallOption) (*ServerOrderStateResponse, error)
SubscribeBatchAuction(ctx context.Context, opts ...grpc.CallOption) (ChannelAuctioneer_SubscribeBatchAuctionClient, error)
SubscribeSidecar(ctx context.Context, opts ...grpc.CallOption) (ChannelAuctioneer_SubscribeSidecarClient, error)
Terms(ctx context.Context, in *TermsRequest, opts ...grpc.CallOption) (*TermsResponse, error)
RelevantBatchSnapshot(ctx context.Context, in *RelevantBatchRequest, opts ...grpc.CallOption) (*RelevantBatch, error)
BatchSnapshot(ctx context.Context, in *BatchSnapshotRequest, opts ...grpc.CallOption) (*BatchSnapshotResponse, error)
NodeRating(ctx context.Context, in *ServerNodeRatingRequest, opts ...grpc.CallOption) (*ServerNodeRatingResponse, error)
BatchSnapshots(ctx context.Context, in *BatchSnapshotsRequest, opts ...grpc.CallOption) (*BatchSnapshotsResponse, error)
MarketInfo(ctx context.Context, in *MarketInfoRequest, opts ...grpc.CallOption) (*MarketInfoResponse, error)
}
ChannelAuctioneerClient is the client API for ChannelAuctioneer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChannelAuctioneerClient ¶
func NewChannelAuctioneerClient(cc *grpc.ClientConn) ChannelAuctioneerClient
type ChannelAuctioneerServer ¶
type ChannelAuctioneerServer interface {
ReserveAccount(context.Context, *ReserveAccountRequest) (*ReserveAccountResponse, error)
InitAccount(context.Context, *ServerInitAccountRequest) (*ServerInitAccountResponse, error)
ModifyAccount(context.Context, *ServerModifyAccountRequest) (*ServerModifyAccountResponse, error)
SubmitOrder(context.Context, *ServerSubmitOrderRequest) (*ServerSubmitOrderResponse, error)
CancelOrder(context.Context, *ServerCancelOrderRequest) (*ServerCancelOrderResponse, error)
OrderState(context.Context, *ServerOrderStateRequest) (*ServerOrderStateResponse, error)
SubscribeBatchAuction(ChannelAuctioneer_SubscribeBatchAuctionServer) error
SubscribeSidecar(ChannelAuctioneer_SubscribeSidecarServer) error
Terms(context.Context, *TermsRequest) (*TermsResponse, error)
RelevantBatchSnapshot(context.Context, *RelevantBatchRequest) (*RelevantBatch, error)
BatchSnapshot(context.Context, *BatchSnapshotRequest) (*BatchSnapshotResponse, error)
NodeRating(context.Context, *ServerNodeRatingRequest) (*ServerNodeRatingResponse, error)
BatchSnapshots(context.Context, *BatchSnapshotsRequest) (*BatchSnapshotsResponse, error)
MarketInfo(context.Context, *MarketInfoRequest) (*MarketInfoResponse, error)
}
ChannelAuctioneerServer is the server API for ChannelAuctioneer service.
type ChannelAuctioneer_SubscribeBatchAuctionClient ¶
type ChannelAuctioneer_SubscribeBatchAuctionClient interface {
Send(*ClientAuctionMessage) error
Recv() (*ServerAuctionMessage, error)
grpc.ClientStream
}
type ChannelAuctioneer_SubscribeBatchAuctionServer ¶
type ChannelAuctioneer_SubscribeBatchAuctionServer interface {
Send(*ServerAuctionMessage) error
Recv() (*ClientAuctionMessage, error)
grpc.ServerStream
}
type ChannelAuctioneer_SubscribeSidecarClient ¶
type ChannelAuctioneer_SubscribeSidecarClient interface {
Send(*ClientAuctionMessage) error
Recv() (*ServerAuctionMessage, error)
grpc.ClientStream
}
type ChannelAuctioneer_SubscribeSidecarServer ¶
type ChannelAuctioneer_SubscribeSidecarServer interface {
Send(*ServerAuctionMessage) error
Recv() (*ClientAuctionMessage, error)
grpc.ServerStream
}
type ChannelInfo ¶
type ChannelInfo struct {
// The identifying type of the channel.
Type ChannelType `protobuf:"varint,1,opt,name=type,proto3,enum=poolrpc.ChannelType" json:"type,omitempty"`
// The node's identifying public key.
LocalNodeKey []byte `protobuf:"bytes,2,opt,name=local_node_key,json=localNodeKey,proto3" json:"local_node_key,omitempty"`
// The remote node's identifying public key.
RemoteNodeKey []byte `protobuf:"bytes,3,opt,name=remote_node_key,json=remoteNodeKey,proto3" json:"remote_node_key,omitempty"`
//
//The node's base public key used within the non-delayed pay-to-self output on
//the commitment transaction.
LocalPaymentBasePoint []byte `` /* 128-byte string literal not displayed */
//
//RemotePaymentBasePoint is the remote node's base public key used within the
//non-delayed pay-to-self output on the commitment transaction.
RemotePaymentBasePoint []byte `` /* 131-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ChannelInfo) Descriptor ¶
func (*ChannelInfo) Descriptor() ([]byte, []int)
func (*ChannelInfo) GetLocalNodeKey ¶
func (m *ChannelInfo) GetLocalNodeKey() []byte
func (*ChannelInfo) GetLocalPaymentBasePoint ¶
func (m *ChannelInfo) GetLocalPaymentBasePoint() []byte
func (*ChannelInfo) GetRemoteNodeKey ¶
func (m *ChannelInfo) GetRemoteNodeKey() []byte
func (*ChannelInfo) GetRemotePaymentBasePoint ¶
func (m *ChannelInfo) GetRemotePaymentBasePoint() []byte
func (*ChannelInfo) GetType ¶
func (m *ChannelInfo) GetType() ChannelType
func (*ChannelInfo) ProtoMessage ¶
func (*ChannelInfo) ProtoMessage()
func (*ChannelInfo) Reset ¶
func (m *ChannelInfo) Reset()
func (*ChannelInfo) String ¶
func (m *ChannelInfo) String() string
func (*ChannelInfo) XXX_DiscardUnknown ¶
func (m *ChannelInfo) XXX_DiscardUnknown()
func (*ChannelInfo) XXX_Marshal ¶
func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChannelInfo) XXX_Merge ¶
func (m *ChannelInfo) XXX_Merge(src proto.Message)
func (*ChannelInfo) XXX_Size ¶
func (m *ChannelInfo) XXX_Size() int
func (*ChannelInfo) XXX_Unmarshal ¶
func (m *ChannelInfo) XXX_Unmarshal(b []byte) error
type ChannelType ¶
type ChannelType int32
const ( // The channel supports static to_remote keys. ChannelType_TWEAKLESS ChannelType = 0 // The channel uses an anchor-based commitment. ChannelType_ANCHORS ChannelType = 1 )
func (ChannelType) EnumDescriptor ¶
func (ChannelType) EnumDescriptor() ([]byte, []int)
func (ChannelType) String ¶
func (x ChannelType) String() string
type CipherBox ¶
type CipherBox struct {
Desc *CipherBoxDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
Msg []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherBox) Descriptor ¶
func (*CipherBox) GetDesc ¶
func (m *CipherBox) GetDesc() *CipherBoxDesc
func (*CipherBox) ProtoMessage ¶
func (*CipherBox) ProtoMessage()
func (*CipherBox) XXX_DiscardUnknown ¶
func (m *CipherBox) XXX_DiscardUnknown()
func (*CipherBox) XXX_Marshal ¶
func (*CipherBox) XXX_Unmarshal ¶
type CipherBoxAuth ¶
type CipherBoxAuth struct {
// A description of the stream one is attempting to initialize.
Desc *CipherBoxDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
// Types that are valid to be assigned to Auth:
// *CipherBoxAuth_AcctAuth
// *CipherBoxAuth_SidecarAuth
Auth isCipherBoxAuth_Auth `protobuf_oneof:"auth"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherBoxAuth) Descriptor ¶
func (*CipherBoxAuth) Descriptor() ([]byte, []int)
func (*CipherBoxAuth) GetAcctAuth ¶
func (m *CipherBoxAuth) GetAcctAuth() *PoolAccountAuth
func (*CipherBoxAuth) GetAuth ¶
func (m *CipherBoxAuth) GetAuth() isCipherBoxAuth_Auth
func (*CipherBoxAuth) GetDesc ¶
func (m *CipherBoxAuth) GetDesc() *CipherBoxDesc
func (*CipherBoxAuth) GetSidecarAuth ¶
func (m *CipherBoxAuth) GetSidecarAuth() *SidecarAuth
func (*CipherBoxAuth) ProtoMessage ¶
func (*CipherBoxAuth) ProtoMessage()
func (*CipherBoxAuth) Reset ¶
func (m *CipherBoxAuth) Reset()
func (*CipherBoxAuth) String ¶
func (m *CipherBoxAuth) String() string
func (*CipherBoxAuth) XXX_DiscardUnknown ¶
func (m *CipherBoxAuth) XXX_DiscardUnknown()
func (*CipherBoxAuth) XXX_Marshal ¶
func (m *CipherBoxAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherBoxAuth) XXX_Merge ¶
func (m *CipherBoxAuth) XXX_Merge(src proto.Message)
func (*CipherBoxAuth) XXX_OneofWrappers ¶
func (*CipherBoxAuth) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CipherBoxAuth) XXX_Size ¶
func (m *CipherBoxAuth) XXX_Size() int
func (*CipherBoxAuth) XXX_Unmarshal ¶
func (m *CipherBoxAuth) XXX_Unmarshal(b []byte) error
type CipherBoxAuth_AcctAuth ¶
type CipherBoxAuth_AcctAuth struct {
AcctAuth *PoolAccountAuth `protobuf:"bytes,2,opt,name=acct_auth,json=acctAuth,proto3,oneof"`
}
type CipherBoxAuth_SidecarAuth ¶
type CipherBoxAuth_SidecarAuth struct {
SidecarAuth *SidecarAuth `protobuf:"bytes,3,opt,name=sidecar_auth,json=sidecarAuth,proto3,oneof"`
}
type CipherBoxDesc ¶
type CipherBoxDesc struct {
StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherBoxDesc) Descriptor ¶
func (*CipherBoxDesc) Descriptor() ([]byte, []int)
func (*CipherBoxDesc) GetStreamId ¶
func (m *CipherBoxDesc) GetStreamId() []byte
func (*CipherBoxDesc) ProtoMessage ¶
func (*CipherBoxDesc) ProtoMessage()
func (*CipherBoxDesc) Reset ¶
func (m *CipherBoxDesc) Reset()
func (*CipherBoxDesc) String ¶
func (m *CipherBoxDesc) String() string
func (*CipherBoxDesc) XXX_DiscardUnknown ¶
func (m *CipherBoxDesc) XXX_DiscardUnknown()
func (*CipherBoxDesc) XXX_Marshal ¶
func (m *CipherBoxDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherBoxDesc) XXX_Merge ¶
func (m *CipherBoxDesc) XXX_Merge(src proto.Message)
func (*CipherBoxDesc) XXX_Size ¶
func (m *CipherBoxDesc) XXX_Size() int
func (*CipherBoxDesc) XXX_Unmarshal ¶
func (m *CipherBoxDesc) XXX_Unmarshal(b []byte) error
type CipherChallenge ¶
type CipherChallenge struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherChallenge) Descriptor ¶
func (*CipherChallenge) Descriptor() ([]byte, []int)
func (*CipherChallenge) ProtoMessage ¶
func (*CipherChallenge) ProtoMessage()
func (*CipherChallenge) Reset ¶
func (m *CipherChallenge) Reset()
func (*CipherChallenge) String ¶
func (m *CipherChallenge) String() string
func (*CipherChallenge) XXX_DiscardUnknown ¶
func (m *CipherChallenge) XXX_DiscardUnknown()
func (*CipherChallenge) XXX_Marshal ¶
func (m *CipherChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherChallenge) XXX_Merge ¶
func (m *CipherChallenge) XXX_Merge(src proto.Message)
func (*CipherChallenge) XXX_Size ¶
func (m *CipherChallenge) XXX_Size() int
func (*CipherChallenge) XXX_Unmarshal ¶
func (m *CipherChallenge) XXX_Unmarshal(b []byte) error
type CipherError ¶
type CipherError struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherError) Descriptor ¶
func (*CipherError) Descriptor() ([]byte, []int)
func (*CipherError) ProtoMessage ¶
func (*CipherError) ProtoMessage()
func (*CipherError) Reset ¶
func (m *CipherError) Reset()
func (*CipherError) String ¶
func (m *CipherError) String() string
func (*CipherError) XXX_DiscardUnknown ¶
func (m *CipherError) XXX_DiscardUnknown()
func (*CipherError) XXX_Marshal ¶
func (m *CipherError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherError) XXX_Merge ¶
func (m *CipherError) XXX_Merge(src proto.Message)
func (*CipherError) XXX_Size ¶
func (m *CipherError) XXX_Size() int
func (*CipherError) XXX_Unmarshal ¶
func (m *CipherError) XXX_Unmarshal(b []byte) error
type CipherInitResp ¶
type CipherInitResp struct {
// Types that are valid to be assigned to Resp:
// *CipherInitResp_Success
// *CipherInitResp_Challenge
// *CipherInitResp_Error
Resp isCipherInitResp_Resp `protobuf_oneof:"resp"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherInitResp) Descriptor ¶
func (*CipherInitResp) Descriptor() ([]byte, []int)
func (*CipherInitResp) GetChallenge ¶
func (m *CipherInitResp) GetChallenge() *CipherChallenge
func (*CipherInitResp) GetError ¶
func (m *CipherInitResp) GetError() *CipherError
func (*CipherInitResp) GetResp ¶
func (m *CipherInitResp) GetResp() isCipherInitResp_Resp
func (*CipherInitResp) GetSuccess ¶
func (m *CipherInitResp) GetSuccess() *CipherSuccess
func (*CipherInitResp) ProtoMessage ¶
func (*CipherInitResp) ProtoMessage()
func (*CipherInitResp) Reset ¶
func (m *CipherInitResp) Reset()
func (*CipherInitResp) String ¶
func (m *CipherInitResp) String() string
func (*CipherInitResp) XXX_DiscardUnknown ¶
func (m *CipherInitResp) XXX_DiscardUnknown()
func (*CipherInitResp) XXX_Marshal ¶
func (m *CipherInitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherInitResp) XXX_Merge ¶
func (m *CipherInitResp) XXX_Merge(src proto.Message)
func (*CipherInitResp) XXX_OneofWrappers ¶
func (*CipherInitResp) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CipherInitResp) XXX_Size ¶
func (m *CipherInitResp) XXX_Size() int
func (*CipherInitResp) XXX_Unmarshal ¶
func (m *CipherInitResp) XXX_Unmarshal(b []byte) error
type CipherInitResp_Challenge ¶
type CipherInitResp_Challenge struct {
Challenge *CipherChallenge `protobuf:"bytes,2,opt,name=challenge,proto3,oneof"`
}
type CipherInitResp_Error ¶
type CipherInitResp_Error struct {
Error *CipherError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type CipherInitResp_Success ¶
type CipherInitResp_Success struct {
Success *CipherSuccess `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type CipherSuccess ¶
type CipherSuccess struct {
Desc *CipherBoxDesc `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CipherSuccess) Descriptor ¶
func (*CipherSuccess) Descriptor() ([]byte, []int)
func (*CipherSuccess) GetDesc ¶
func (m *CipherSuccess) GetDesc() *CipherBoxDesc
func (*CipherSuccess) ProtoMessage ¶
func (*CipherSuccess) ProtoMessage()
func (*CipherSuccess) Reset ¶
func (m *CipherSuccess) Reset()
func (*CipherSuccess) String ¶
func (m *CipherSuccess) String() string
func (*CipherSuccess) XXX_DiscardUnknown ¶
func (m *CipherSuccess) XXX_DiscardUnknown()
func (*CipherSuccess) XXX_Marshal ¶
func (m *CipherSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CipherSuccess) XXX_Merge ¶
func (m *CipherSuccess) XXX_Merge(src proto.Message)
func (*CipherSuccess) XXX_Size ¶
func (m *CipherSuccess) XXX_Size() int
func (*CipherSuccess) XXX_Unmarshal ¶
func (m *CipherSuccess) XXX_Unmarshal(b []byte) error
type ClientAuctionMessage ¶
type ClientAuctionMessage struct {
// Types that are valid to be assigned to Msg:
// *ClientAuctionMessage_Commit
// *ClientAuctionMessage_Subscribe
// *ClientAuctionMessage_Accept
// *ClientAuctionMessage_Reject
// *ClientAuctionMessage_Sign
// *ClientAuctionMessage_Recover
Msg isClientAuctionMessage_Msg `protobuf_oneof:"msg"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ClientAuctionMessage) Descriptor ¶
func (*ClientAuctionMessage) Descriptor() ([]byte, []int)
func (*ClientAuctionMessage) GetAccept ¶
func (m *ClientAuctionMessage) GetAccept() *OrderMatchAccept
func (*ClientAuctionMessage) GetCommit ¶
func (m *ClientAuctionMessage) GetCommit() *AccountCommitment
func (*ClientAuctionMessage) GetMsg ¶
func (m *ClientAuctionMessage) GetMsg() isClientAuctionMessage_Msg
func (*ClientAuctionMessage) GetRecover ¶
func (m *ClientAuctionMessage) GetRecover() *AccountRecovery
func (*ClientAuctionMessage) GetReject ¶
func (m *ClientAuctionMessage) GetReject() *OrderMatchReject
func (*ClientAuctionMessage) GetSign ¶
func (m *ClientAuctionMessage) GetSign() *OrderMatchSign
func (*ClientAuctionMessage) GetSubscribe ¶
func (m *ClientAuctionMessage) GetSubscribe() *AccountSubscription
func (*ClientAuctionMessage) ProtoMessage ¶
func (*ClientAuctionMessage) ProtoMessage()
func (*ClientAuctionMessage) Reset ¶
func (m *ClientAuctionMessage) Reset()
func (*ClientAuctionMessage) String ¶
func (m *ClientAuctionMessage) String() string
func (*ClientAuctionMessage) XXX_DiscardUnknown ¶
func (m *ClientAuctionMessage) XXX_DiscardUnknown()
func (*ClientAuctionMessage) XXX_Marshal ¶
func (m *ClientAuctionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientAuctionMessage) XXX_Merge ¶
func (m *ClientAuctionMessage) XXX_Merge(src proto.Message)
func (*ClientAuctionMessage) XXX_OneofWrappers ¶
func (*ClientAuctionMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ClientAuctionMessage) XXX_Size ¶
func (m *ClientAuctionMessage) XXX_Size() int
func (*ClientAuctionMessage) XXX_Unmarshal ¶
func (m *ClientAuctionMessage) XXX_Unmarshal(b []byte) error
type ClientAuctionMessage_Accept ¶
type ClientAuctionMessage_Accept struct {
Accept *OrderMatchAccept `protobuf:"bytes,3,opt,name=accept,proto3,oneof"`
}
type ClientAuctionMessage_Commit ¶
type ClientAuctionMessage_Commit struct {
Commit *AccountCommitment `protobuf:"bytes,1,opt,name=commit,proto3,oneof"`
}
type ClientAuctionMessage_Recover ¶
type ClientAuctionMessage_Recover struct {
Recover *AccountRecovery `protobuf:"bytes,6,opt,name=recover,proto3,oneof"`
}
type ClientAuctionMessage_Reject ¶
type ClientAuctionMessage_Reject struct {
Reject *OrderMatchReject `protobuf:"bytes,4,opt,name=reject,proto3,oneof"`
}
type ClientAuctionMessage_Sign ¶
type ClientAuctionMessage_Sign struct {
Sign *OrderMatchSign `protobuf:"bytes,5,opt,name=sign,proto3,oneof"`
}
type ClientAuctionMessage_Subscribe ¶
type ClientAuctionMessage_Subscribe struct {
Subscribe *AccountSubscription `protobuf:"bytes,2,opt,name=subscribe,proto3,oneof"`
}
type DelCipherBoxResp ¶
type DelCipherBoxResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DelCipherBoxResp) Descriptor ¶
func (*DelCipherBoxResp) Descriptor() ([]byte, []int)
func (*DelCipherBoxResp) ProtoMessage ¶
func (*DelCipherBoxResp) ProtoMessage()
func (*DelCipherBoxResp) Reset ¶
func (m *DelCipherBoxResp) Reset()
func (*DelCipherBoxResp) String ¶
func (m *DelCipherBoxResp) String() string
func (*DelCipherBoxResp) XXX_DiscardUnknown ¶
func (m *DelCipherBoxResp) XXX_DiscardUnknown()
func (*DelCipherBoxResp) XXX_Marshal ¶
func (m *DelCipherBoxResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelCipherBoxResp) XXX_Merge ¶
func (m *DelCipherBoxResp) XXX_Merge(src proto.Message)
func (*DelCipherBoxResp) XXX_Size ¶
func (m *DelCipherBoxResp) XXX_Size() int
func (*DelCipherBoxResp) XXX_Unmarshal ¶
func (m *DelCipherBoxResp) XXX_Unmarshal(b []byte) error
type DurationBucketState ¶
type DurationBucketState int32
const ( // //NO_MARKET indicates that this bucket doesn't actually exist, in that no //market is present for this market. DurationBucketState_NO_MARKET DurationBucketState = 0 // //MARKET_CLOSED indicates that this market exists, but that it isn't currently //running. DurationBucketState_MARKET_CLOSED DurationBucketState = 1 // //ACCEPTING_ORDERS indicates that we're accepting orders for this bucket, but //not yet clearing for this duration. DurationBucketState_ACCEPTING_ORDERS DurationBucketState = 2 // //MARKET_OPEN indicates that we're accepting orders, and fully clearing the //market for this duration. DurationBucketState_MARKET_OPEN DurationBucketState = 3 )
func (DurationBucketState) EnumDescriptor ¶
func (DurationBucketState) EnumDescriptor() ([]byte, []int)
func (DurationBucketState) String ¶
func (x DurationBucketState) String() string
type ExecutionFee ¶
type ExecutionFee struct {
//
//The base fee in satoshis charged per order, regardless of the matched size.
BaseFee uint64 `protobuf:"varint,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
//
//The fee rate in parts per million.
FeeRate uint64 `protobuf:"varint,2,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ExecutionFee) Descriptor ¶
func (*ExecutionFee) Descriptor() ([]byte, []int)
func (*ExecutionFee) GetBaseFee ¶
func (m *ExecutionFee) GetBaseFee() uint64
func (*ExecutionFee) GetFeeRate ¶
func (m *ExecutionFee) GetFeeRate() uint64
func (*ExecutionFee) ProtoMessage ¶
func (*ExecutionFee) ProtoMessage()
func (*ExecutionFee) Reset ¶
func (m *ExecutionFee) Reset()
func (*ExecutionFee) String ¶
func (m *ExecutionFee) String() string
func (*ExecutionFee) XXX_DiscardUnknown ¶
func (m *ExecutionFee) XXX_DiscardUnknown()
func (*ExecutionFee) XXX_Marshal ¶
func (m *ExecutionFee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionFee) XXX_Merge ¶
func (m *ExecutionFee) XXX_Merge(src proto.Message)
func (*ExecutionFee) XXX_Size ¶
func (m *ExecutionFee) XXX_Size() int
func (*ExecutionFee) XXX_Unmarshal ¶
func (m *ExecutionFee) XXX_Unmarshal(b []byte) error
type HashMailClient ¶
type HashMailClient interface {
//
//NewCipherBox creates a new cipher box pipe/stream given a valid
//authentication mechanism. If the authentication mechanism has been revoked,
//or needs to be changed, then a CipherChallenge message is returned.
//Otherwise the method will either be accepted or rejected.
NewCipherBox(ctx context.Context, in *CipherBoxAuth, opts ...grpc.CallOption) (*CipherInitResp, error)
//
//DelCipherBox attempts to tear down an existing cipher box pipe. The same
//authentication mechanism used to initially create the stream MUST be
//specified.
DelCipherBox(ctx context.Context, in *CipherBoxAuth, opts ...grpc.CallOption) (*DelCipherBoxResp, error)
//
//SendStream opens up the write side of the passed CipherBox pipe. Writes
//will be non-blocking up to the buffer size of the pipe. Beyond that writes
//will block until completed.
SendStream(ctx context.Context, opts ...grpc.CallOption) (HashMail_SendStreamClient, error)
//
//RecvStream opens up the read side of the passed CipherBox pipe. This method
//will block until a full message has been read as this is a message based
//pipe/stream abstraction.
RecvStream(ctx context.Context, in *CipherBoxDesc, opts ...grpc.CallOption) (HashMail_RecvStreamClient, error)
}
HashMailClient is the client API for HashMail service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHashMailClient ¶
func NewHashMailClient(cc *grpc.ClientConn) HashMailClient
type HashMailServer ¶
type HashMailServer interface {
//
//NewCipherBox creates a new cipher box pipe/stream given a valid
//authentication mechanism. If the authentication mechanism has been revoked,
//or needs to be changed, then a CipherChallenge message is returned.
//Otherwise the method will either be accepted or rejected.
NewCipherBox(context.Context, *CipherBoxAuth) (*CipherInitResp, error)
//
//DelCipherBox attempts to tear down an existing cipher box pipe. The same
//authentication mechanism used to initially create the stream MUST be
//specified.
DelCipherBox(context.Context, *CipherBoxAuth) (*DelCipherBoxResp, error)
//
//SendStream opens up the write side of the passed CipherBox pipe. Writes
//will be non-blocking up to the buffer size of the pipe. Beyond that writes
//will block until completed.
SendStream(HashMail_SendStreamServer) error
//
//RecvStream opens up the read side of the passed CipherBox pipe. This method
//will block until a full message has been read as this is a message based
//pipe/stream abstraction.
RecvStream(*CipherBoxDesc, HashMail_RecvStreamServer) error
}
HashMailServer is the server API for HashMail service.
type HashMail_RecvStreamClient ¶
type HashMail_RecvStreamClient interface {
Recv() (*CipherBox, error)
grpc.ClientStream
}
type HashMail_RecvStreamServer ¶
type HashMail_RecvStreamServer interface {
Send(*CipherBox) error
grpc.ServerStream
}
type HashMail_SendStreamClient ¶
type HashMail_SendStreamClient interface {
Send(*CipherBox) error
CloseAndRecv() (*CipherBoxDesc, error)
grpc.ClientStream
}
type HashMail_SendStreamServer ¶
type HashMail_SendStreamServer interface {
SendAndClose(*CipherBoxDesc) error
Recv() (*CipherBox, error)
grpc.ServerStream
}
type InvalidOrder ¶
type InvalidOrder struct {
OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
FailReason InvalidOrder_FailReason `` /* 129-byte string literal not displayed */
FailString string `protobuf:"bytes,3,opt,name=fail_string,json=failString,proto3" json:"fail_string,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*InvalidOrder) Descriptor ¶
func (*InvalidOrder) Descriptor() ([]byte, []int)
func (*InvalidOrder) GetFailReason ¶
func (m *InvalidOrder) GetFailReason() InvalidOrder_FailReason
func (*InvalidOrder) GetFailString ¶
func (m *InvalidOrder) GetFailString() string
func (*InvalidOrder) GetOrderNonce ¶
func (m *InvalidOrder) GetOrderNonce() []byte
func (*InvalidOrder) ProtoMessage ¶
func (*InvalidOrder) ProtoMessage()
func (*InvalidOrder) Reset ¶
func (m *InvalidOrder) Reset()
func (*InvalidOrder) String ¶
func (m *InvalidOrder) String() string
func (*InvalidOrder) XXX_DiscardUnknown ¶
func (m *InvalidOrder) XXX_DiscardUnknown()
func (*InvalidOrder) XXX_Marshal ¶
func (m *InvalidOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InvalidOrder) XXX_Merge ¶
func (m *InvalidOrder) XXX_Merge(src proto.Message)
func (*InvalidOrder) XXX_Size ¶
func (m *InvalidOrder) XXX_Size() int
func (*InvalidOrder) XXX_Unmarshal ¶
func (m *InvalidOrder) XXX_Unmarshal(b []byte) error
type InvalidOrder_FailReason ¶
type InvalidOrder_FailReason int32
const (
InvalidOrder_INVALID_AMT InvalidOrder_FailReason = 0
)
func (InvalidOrder_FailReason) EnumDescriptor ¶
func (InvalidOrder_FailReason) EnumDescriptor() ([]byte, []int)
func (InvalidOrder_FailReason) String ¶
func (x InvalidOrder_FailReason) String() string
type MarketInfo ¶
type MarketInfo struct {
// The number of open/pending ask orders per node tier.
NumAsks []*MarketInfo_TierValue `protobuf:"bytes,1,rep,name=num_asks,json=numAsks,proto3" json:"num_asks,omitempty"`
// The number of open/pending bid orders per node tier.
NumBids []*MarketInfo_TierValue `protobuf:"bytes,2,rep,name=num_bids,json=numBids,proto3" json:"num_bids,omitempty"`
//
//The total number of open/unmatched units in open/pending ask orders per node
//tier.
AskOpenInterestUnits []*MarketInfo_TierValue `protobuf:"bytes,3,rep,name=ask_open_interest_units,json=askOpenInterestUnits,proto3" json:"ask_open_interest_units,omitempty"`
//
//The total number of open/unmatched units in open/pending bid orders per node
//tier.
BidOpenInterestUnits []*MarketInfo_TierValue `protobuf:"bytes,4,rep,name=bid_open_interest_units,json=bidOpenInterestUnits,proto3" json:"bid_open_interest_units,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MarketInfo) Descriptor ¶
func (*MarketInfo) Descriptor() ([]byte, []int)
func (*MarketInfo) GetAskOpenInterestUnits ¶
func (m *MarketInfo) GetAskOpenInterestUnits() []*MarketInfo_TierValue
func (*MarketInfo) GetBidOpenInterestUnits ¶
func (m *MarketInfo) GetBidOpenInterestUnits() []*MarketInfo_TierValue
func (*MarketInfo) GetNumAsks ¶
func (m *MarketInfo) GetNumAsks() []*MarketInfo_TierValue
func (*MarketInfo) GetNumBids ¶
func (m *MarketInfo) GetNumBids() []*MarketInfo_TierValue
func (*MarketInfo) ProtoMessage ¶
func (*MarketInfo) ProtoMessage()
func (*MarketInfo) Reset ¶
func (m *MarketInfo) Reset()
func (*MarketInfo) String ¶
func (m *MarketInfo) String() string
func (*MarketInfo) XXX_DiscardUnknown ¶
func (m *MarketInfo) XXX_DiscardUnknown()
func (*MarketInfo) XXX_Marshal ¶
func (m *MarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketInfo) XXX_Merge ¶
func (m *MarketInfo) XXX_Merge(src proto.Message)
func (*MarketInfo) XXX_Size ¶
func (m *MarketInfo) XXX_Size() int
func (*MarketInfo) XXX_Unmarshal ¶
func (m *MarketInfo) XXX_Unmarshal(b []byte) error
type MarketInfoRequest ¶
type MarketInfoRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MarketInfoRequest) Descriptor ¶
func (*MarketInfoRequest) Descriptor() ([]byte, []int)
func (*MarketInfoRequest) ProtoMessage ¶
func (*MarketInfoRequest) ProtoMessage()
func (*MarketInfoRequest) Reset ¶
func (m *MarketInfoRequest) Reset()
func (*MarketInfoRequest) String ¶
func (m *MarketInfoRequest) String() string
func (*MarketInfoRequest) XXX_DiscardUnknown ¶
func (m *MarketInfoRequest) XXX_DiscardUnknown()
func (*MarketInfoRequest) XXX_Marshal ¶
func (m *MarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketInfoRequest) XXX_Merge ¶
func (m *MarketInfoRequest) XXX_Merge(src proto.Message)
func (*MarketInfoRequest) XXX_Size ¶
func (m *MarketInfoRequest) XXX_Size() int
func (*MarketInfoRequest) XXX_Unmarshal ¶
func (m *MarketInfoRequest) XXX_Unmarshal(b []byte) error
type MarketInfoResponse ¶
type MarketInfoResponse struct {
// A map of all markets identified by their lease duration and the current
// set of statistics.
Markets map[uint32]*MarketInfo `` /* 156-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MarketInfoResponse) Descriptor ¶
func (*MarketInfoResponse) Descriptor() ([]byte, []int)
func (*MarketInfoResponse) GetMarkets ¶
func (m *MarketInfoResponse) GetMarkets() map[uint32]*MarketInfo
func (*MarketInfoResponse) ProtoMessage ¶
func (*MarketInfoResponse) ProtoMessage()
func (*MarketInfoResponse) Reset ¶
func (m *MarketInfoResponse) Reset()
func (*MarketInfoResponse) String ¶
func (m *MarketInfoResponse) String() string
func (*MarketInfoResponse) XXX_DiscardUnknown ¶
func (m *MarketInfoResponse) XXX_DiscardUnknown()
func (*MarketInfoResponse) XXX_Marshal ¶
func (m *MarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketInfoResponse) XXX_Merge ¶
func (m *MarketInfoResponse) XXX_Merge(src proto.Message)
func (*MarketInfoResponse) XXX_Size ¶
func (m *MarketInfoResponse) XXX_Size() int
func (*MarketInfoResponse) XXX_Unmarshal ¶
func (m *MarketInfoResponse) XXX_Unmarshal(b []byte) error
type MarketInfo_TierValue ¶
type MarketInfo_TierValue struct {
Tier NodeTier `protobuf:"varint,1,opt,name=tier,proto3,enum=poolrpc.NodeTier" json:"tier,omitempty"`
Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MarketInfo_TierValue) Descriptor ¶
func (*MarketInfo_TierValue) Descriptor() ([]byte, []int)
func (*MarketInfo_TierValue) GetTier ¶
func (m *MarketInfo_TierValue) GetTier() NodeTier
func (*MarketInfo_TierValue) GetValue ¶
func (m *MarketInfo_TierValue) GetValue() uint32
func (*MarketInfo_TierValue) ProtoMessage ¶
func (*MarketInfo_TierValue) ProtoMessage()
func (*MarketInfo_TierValue) Reset ¶
func (m *MarketInfo_TierValue) Reset()
func (*MarketInfo_TierValue) String ¶
func (m *MarketInfo_TierValue) String() string
func (*MarketInfo_TierValue) XXX_DiscardUnknown ¶
func (m *MarketInfo_TierValue) XXX_DiscardUnknown()
func (*MarketInfo_TierValue) XXX_Marshal ¶
func (m *MarketInfo_TierValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketInfo_TierValue) XXX_Merge ¶
func (m *MarketInfo_TierValue) XXX_Merge(src proto.Message)
func (*MarketInfo_TierValue) XXX_Size ¶
func (m *MarketInfo_TierValue) XXX_Size() int
func (*MarketInfo_TierValue) XXX_Unmarshal ¶
func (m *MarketInfo_TierValue) XXX_Unmarshal(b []byte) error
type MatchedAsk ¶
type MatchedAsk struct {
//
//The ask order that was matched against.
Ask *ServerAsk `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
//
//The number of units that were filled from/by this matched order.
UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedAsk) Descriptor ¶
func (*MatchedAsk) Descriptor() ([]byte, []int)
func (*MatchedAsk) GetAsk ¶
func (m *MatchedAsk) GetAsk() *ServerAsk
func (*MatchedAsk) GetUnitsFilled ¶
func (m *MatchedAsk) GetUnitsFilled() uint32
func (*MatchedAsk) ProtoMessage ¶
func (*MatchedAsk) ProtoMessage()
func (*MatchedAsk) Reset ¶
func (m *MatchedAsk) Reset()
func (*MatchedAsk) String ¶
func (m *MatchedAsk) String() string
func (*MatchedAsk) XXX_DiscardUnknown ¶
func (m *MatchedAsk) XXX_DiscardUnknown()
func (*MatchedAsk) XXX_Marshal ¶
func (m *MatchedAsk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedAsk) XXX_Merge ¶
func (m *MatchedAsk) XXX_Merge(src proto.Message)
func (*MatchedAsk) XXX_Size ¶
func (m *MatchedAsk) XXX_Size() int
func (*MatchedAsk) XXX_Unmarshal ¶
func (m *MatchedAsk) XXX_Unmarshal(b []byte) error
type MatchedBid ¶
type MatchedBid struct {
//
//The ask order that was matched against.
Bid *ServerBid `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid,omitempty"`
//
//The number of units that were filled from/by this matched order.
UnitsFilled uint32 `protobuf:"varint,2,opt,name=units_filled,json=unitsFilled,proto3" json:"units_filled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedBid) Descriptor ¶
func (*MatchedBid) Descriptor() ([]byte, []int)
func (*MatchedBid) GetBid ¶
func (m *MatchedBid) GetBid() *ServerBid
func (*MatchedBid) GetUnitsFilled ¶
func (m *MatchedBid) GetUnitsFilled() uint32
func (*MatchedBid) ProtoMessage ¶
func (*MatchedBid) ProtoMessage()
func (*MatchedBid) Reset ¶
func (m *MatchedBid) Reset()
func (*MatchedBid) String ¶
func (m *MatchedBid) String() string
func (*MatchedBid) XXX_DiscardUnknown ¶
func (m *MatchedBid) XXX_DiscardUnknown()
func (*MatchedBid) XXX_Marshal ¶
func (m *MatchedBid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedBid) XXX_Merge ¶
func (m *MatchedBid) XXX_Merge(src proto.Message)
func (*MatchedBid) XXX_Size ¶
func (m *MatchedBid) XXX_Size() int
func (*MatchedBid) XXX_Unmarshal ¶
func (m *MatchedBid) XXX_Unmarshal(b []byte) error
type MatchedMarket ¶
type MatchedMarket struct {
//
//Maps a user's own order_nonce to the opposite order type they were matched
//with. The order_nonce is a 32 byte hex encoded string because bytes is not
//allowed as a map key data type in protobuf.
MatchedOrders map[string]*MatchedOrder `` /* 188-byte string literal not displayed */
//
//The uniform clearing price rate in parts per billion that was used for this
//batch.
ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedMarket) Descriptor ¶
func (*MatchedMarket) Descriptor() ([]byte, []int)
func (*MatchedMarket) GetClearingPriceRate ¶
func (m *MatchedMarket) GetClearingPriceRate() uint32
func (*MatchedMarket) GetMatchedOrders ¶
func (m *MatchedMarket) GetMatchedOrders() map[string]*MatchedOrder
func (*MatchedMarket) ProtoMessage ¶
func (*MatchedMarket) ProtoMessage()
func (*MatchedMarket) Reset ¶
func (m *MatchedMarket) Reset()
func (*MatchedMarket) String ¶
func (m *MatchedMarket) String() string
func (*MatchedMarket) XXX_DiscardUnknown ¶
func (m *MatchedMarket) XXX_DiscardUnknown()
func (*MatchedMarket) XXX_Marshal ¶
func (m *MatchedMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedMarket) XXX_Merge ¶
func (m *MatchedMarket) XXX_Merge(src proto.Message)
func (*MatchedMarket) XXX_Size ¶
func (m *MatchedMarket) XXX_Size() int
func (*MatchedMarket) XXX_Unmarshal ¶
func (m *MatchedMarket) XXX_Unmarshal(b []byte) error
type MatchedMarketSnapshot ¶
type MatchedMarketSnapshot struct {
//
//The set of all orders matched in the batch.
MatchedOrders []*MatchedOrderSnapshot `protobuf:"bytes,1,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty"`
//
//The uniform clearing price rate in parts per billion that was used for this
//batch.
ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedMarketSnapshot) Descriptor ¶
func (*MatchedMarketSnapshot) Descriptor() ([]byte, []int)
func (*MatchedMarketSnapshot) GetClearingPriceRate ¶
func (m *MatchedMarketSnapshot) GetClearingPriceRate() uint32
func (*MatchedMarketSnapshot) GetMatchedOrders ¶
func (m *MatchedMarketSnapshot) GetMatchedOrders() []*MatchedOrderSnapshot
func (*MatchedMarketSnapshot) ProtoMessage ¶
func (*MatchedMarketSnapshot) ProtoMessage()
func (*MatchedMarketSnapshot) Reset ¶
func (m *MatchedMarketSnapshot) Reset()
func (*MatchedMarketSnapshot) String ¶
func (m *MatchedMarketSnapshot) String() string
func (*MatchedMarketSnapshot) XXX_DiscardUnknown ¶
func (m *MatchedMarketSnapshot) XXX_DiscardUnknown()
func (*MatchedMarketSnapshot) XXX_Marshal ¶
func (m *MatchedMarketSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedMarketSnapshot) XXX_Merge ¶
func (m *MatchedMarketSnapshot) XXX_Merge(src proto.Message)
func (*MatchedMarketSnapshot) XXX_Size ¶
func (m *MatchedMarketSnapshot) XXX_Size() int
func (*MatchedMarketSnapshot) XXX_Unmarshal ¶
func (m *MatchedMarketSnapshot) XXX_Unmarshal(b []byte) error
type MatchedOrder ¶
type MatchedOrder struct {
//
//The bids the trader's own order was matched against. This list is empty if
//the trader's order was a bid order itself.
MatchedBids []*MatchedBid `protobuf:"bytes,1,rep,name=matched_bids,json=matchedBids,proto3" json:"matched_bids,omitempty"`
//
//The asks the trader's own order was matched against. This list is empty if
//the trader's order was an ask order itself.
MatchedAsks []*MatchedAsk `protobuf:"bytes,2,rep,name=matched_asks,json=matchedAsks,proto3" json:"matched_asks,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedOrder) Descriptor ¶
func (*MatchedOrder) Descriptor() ([]byte, []int)
func (*MatchedOrder) GetMatchedAsks ¶
func (m *MatchedOrder) GetMatchedAsks() []*MatchedAsk
func (*MatchedOrder) GetMatchedBids ¶
func (m *MatchedOrder) GetMatchedBids() []*MatchedBid
func (*MatchedOrder) ProtoMessage ¶
func (*MatchedOrder) ProtoMessage()
func (*MatchedOrder) Reset ¶
func (m *MatchedOrder) Reset()
func (*MatchedOrder) String ¶
func (m *MatchedOrder) String() string
func (*MatchedOrder) XXX_DiscardUnknown ¶
func (m *MatchedOrder) XXX_DiscardUnknown()
func (*MatchedOrder) XXX_Marshal ¶
func (m *MatchedOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedOrder) XXX_Merge ¶
func (m *MatchedOrder) XXX_Merge(src proto.Message)
func (*MatchedOrder) XXX_Size ¶
func (m *MatchedOrder) XXX_Size() int
func (*MatchedOrder) XXX_Unmarshal ¶
func (m *MatchedOrder) XXX_Unmarshal(b []byte) error
type MatchedOrderSnapshot ¶
type MatchedOrderSnapshot struct {
// The full ask order that was matched.
Ask *AskSnapshot `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
// The full bid order that was matched.
Bid *BidSnapshot `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid,omitempty"`
// The fixed rate premium that was matched, expressed in parts-ber-billion.
MatchingRate uint32 `protobuf:"varint,3,opt,name=matching_rate,json=matchingRate,proto3" json:"matching_rate,omitempty"`
// The total number of satoshis that were bought.
TotalSatsCleared uint64 `protobuf:"varint,4,opt,name=total_sats_cleared,json=totalSatsCleared,proto3" json:"total_sats_cleared,omitempty"`
// The total number of units that were matched.
UnitsMatched uint32 `protobuf:"varint,5,opt,name=units_matched,json=unitsMatched,proto3" json:"units_matched,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*MatchedOrderSnapshot) Descriptor ¶
func (*MatchedOrderSnapshot) Descriptor() ([]byte, []int)
func (*MatchedOrderSnapshot) GetAsk ¶
func (m *MatchedOrderSnapshot) GetAsk() *AskSnapshot
func (*MatchedOrderSnapshot) GetBid ¶
func (m *MatchedOrderSnapshot) GetBid() *BidSnapshot
func (*MatchedOrderSnapshot) GetMatchingRate ¶
func (m *MatchedOrderSnapshot) GetMatchingRate() uint32
func (*MatchedOrderSnapshot) GetTotalSatsCleared ¶
func (m *MatchedOrderSnapshot) GetTotalSatsCleared() uint64
func (*MatchedOrderSnapshot) GetUnitsMatched ¶
func (m *MatchedOrderSnapshot) GetUnitsMatched() uint32
func (*MatchedOrderSnapshot) ProtoMessage ¶
func (*MatchedOrderSnapshot) ProtoMessage()
func (*MatchedOrderSnapshot) Reset ¶
func (m *MatchedOrderSnapshot) Reset()
func (*MatchedOrderSnapshot) String ¶
func (m *MatchedOrderSnapshot) String() string
func (*MatchedOrderSnapshot) XXX_DiscardUnknown ¶
func (m *MatchedOrderSnapshot) XXX_DiscardUnknown()
func (*MatchedOrderSnapshot) XXX_Marshal ¶
func (m *MatchedOrderSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchedOrderSnapshot) XXX_Merge ¶
func (m *MatchedOrderSnapshot) XXX_Merge(src proto.Message)
func (*MatchedOrderSnapshot) XXX_Size ¶
func (m *MatchedOrderSnapshot) XXX_Size() int
func (*MatchedOrderSnapshot) XXX_Unmarshal ¶
func (m *MatchedOrderSnapshot) XXX_Unmarshal(b []byte) error
type NodeAddress ¶
type NodeAddress struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NodeAddress) Descriptor ¶
func (*NodeAddress) Descriptor() ([]byte, []int)
func (*NodeAddress) GetAddr ¶
func (m *NodeAddress) GetAddr() string
func (*NodeAddress) GetNetwork ¶
func (m *NodeAddress) GetNetwork() string
func (*NodeAddress) ProtoMessage ¶
func (*NodeAddress) ProtoMessage()
func (*NodeAddress) Reset ¶
func (m *NodeAddress) Reset()
func (*NodeAddress) String ¶
func (m *NodeAddress) String() string
func (*NodeAddress) XXX_DiscardUnknown ¶
func (m *NodeAddress) XXX_DiscardUnknown()
func (*NodeAddress) XXX_Marshal ¶
func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeAddress) XXX_Merge ¶
func (m *NodeAddress) XXX_Merge(src proto.Message)
func (*NodeAddress) XXX_Size ¶
func (m *NodeAddress) XXX_Size() int
func (*NodeAddress) XXX_Unmarshal ¶
func (m *NodeAddress) XXX_Unmarshal(b []byte) error
type NodeRating ¶
type NodeRating struct {
// The pubkey for the node these ratings belong to.
NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
// The tier of the target node.
NodeTier NodeTier `protobuf:"varint,2,opt,name=node_tier,json=nodeTier,proto3,enum=poolrpc.NodeTier" json:"node_tier,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*NodeRating) Descriptor ¶
func (*NodeRating) Descriptor() ([]byte, []int)
func (*NodeRating) GetNodePubkey ¶
func (m *NodeRating) GetNodePubkey() []byte
func (*NodeRating) GetNodeTier ¶
func (m *NodeRating) GetNodeTier() NodeTier
func (*NodeRating) ProtoMessage ¶
func (*NodeRating) ProtoMessage()
func (*NodeRating) Reset ¶
func (m *NodeRating) Reset()
func (*NodeRating) String ¶
func (m *NodeRating) String() string
func (*NodeRating) XXX_DiscardUnknown ¶
func (m *NodeRating) XXX_DiscardUnknown()
func (*NodeRating) XXX_Marshal ¶
func (m *NodeRating) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NodeRating) XXX_Merge ¶
func (m *NodeRating) XXX_Merge(src proto.Message)
func (*NodeRating) XXX_Size ¶
func (m *NodeRating) XXX_Size() int
func (*NodeRating) XXX_Unmarshal ¶
func (m *NodeRating) XXX_Unmarshal(b []byte) error
type NodeTier ¶
type NodeTier int32
const ( // The default node tier. This value will be determined at run-time by the // current order version. NodeTier_TIER_DEFAULT NodeTier = 0 // Tier 0, bid with this tier are opting out of the smaller "higher // quality" pool of nodes to match their bids. Nodes in this tier are // considered to have "no rating". NodeTier_TIER_0 NodeTier = 1 // Tier 1, the "base" node tier. Nodes in this tier are shown to have a // higher degree of up time and route-ability compared to the rest of the // nodes in the network. This is the current default node tier when // submitting bid orders. NodeTier_TIER_1 NodeTier = 2 )
func (NodeTier) EnumDescriptor ¶
type OrderMatchAccept ¶
type OrderMatchAccept struct {
//
//The batch ID this acceptance message refers to. Must be set to avoid out-of-
//order responses from disrupting the batching process.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchAccept) Descriptor ¶
func (*OrderMatchAccept) Descriptor() ([]byte, []int)
func (*OrderMatchAccept) GetBatchId ¶
func (m *OrderMatchAccept) GetBatchId() []byte
func (*OrderMatchAccept) ProtoMessage ¶
func (*OrderMatchAccept) ProtoMessage()
func (*OrderMatchAccept) Reset ¶
func (m *OrderMatchAccept) Reset()
func (*OrderMatchAccept) String ¶
func (m *OrderMatchAccept) String() string
func (*OrderMatchAccept) XXX_DiscardUnknown ¶
func (m *OrderMatchAccept) XXX_DiscardUnknown()
func (*OrderMatchAccept) XXX_Marshal ¶
func (m *OrderMatchAccept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchAccept) XXX_Merge ¶
func (m *OrderMatchAccept) XXX_Merge(src proto.Message)
func (*OrderMatchAccept) XXX_Size ¶
func (m *OrderMatchAccept) XXX_Size() int
func (*OrderMatchAccept) XXX_Unmarshal ¶
func (m *OrderMatchAccept) XXX_Unmarshal(b []byte) error
type OrderMatchFinalize ¶
type OrderMatchFinalize struct {
//
//The unique identifier of the finalized batch.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
//
//The final transaction ID of the published batch transaction.
BatchTxid []byte `protobuf:"bytes,2,opt,name=batch_txid,json=batchTxid,proto3" json:"batch_txid,omitempty"`
//
//The current block height at the time the batch transaction was published to
//the network.
HeightHint uint32 `protobuf:"varint,3,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchFinalize) Descriptor ¶
func (*OrderMatchFinalize) Descriptor() ([]byte, []int)
func (*OrderMatchFinalize) GetBatchId ¶
func (m *OrderMatchFinalize) GetBatchId() []byte
func (*OrderMatchFinalize) GetBatchTxid ¶
func (m *OrderMatchFinalize) GetBatchTxid() []byte
func (*OrderMatchFinalize) GetHeightHint ¶
func (m *OrderMatchFinalize) GetHeightHint() uint32
func (*OrderMatchFinalize) ProtoMessage ¶
func (*OrderMatchFinalize) ProtoMessage()
func (*OrderMatchFinalize) Reset ¶
func (m *OrderMatchFinalize) Reset()
func (*OrderMatchFinalize) String ¶
func (m *OrderMatchFinalize) String() string
func (*OrderMatchFinalize) XXX_DiscardUnknown ¶
func (m *OrderMatchFinalize) XXX_DiscardUnknown()
func (*OrderMatchFinalize) XXX_Marshal ¶
func (m *OrderMatchFinalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchFinalize) XXX_Merge ¶
func (m *OrderMatchFinalize) XXX_Merge(src proto.Message)
func (*OrderMatchFinalize) XXX_Size ¶
func (m *OrderMatchFinalize) XXX_Size() int
func (*OrderMatchFinalize) XXX_Unmarshal ¶
func (m *OrderMatchFinalize) XXX_Unmarshal(b []byte) error
type OrderMatchPrepare ¶
type OrderMatchPrepare struct {
//
//Deprecated, use matched_markets.
MatchedOrders map[string]*MatchedOrder `` // Deprecated: Do not use.
/* 188-byte string literal not displayed */
//
//Deprecated, use matched_markets.
ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` // Deprecated: Do not use.
//
//A list of the user's own accounts that are being spent by the matched
//orders. The list contains the differences that would be applied by the
//server when executing the orders.
ChargedAccounts []*AccountDiff `protobuf:"bytes,3,rep,name=charged_accounts,json=chargedAccounts,proto3" json:"charged_accounts,omitempty"`
//
//The fee parameters used to calculate the execution fees.
ExecutionFee *ExecutionFee `protobuf:"bytes,4,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"`
//
//The batch transaction with all non-witness data.
BatchTransaction []byte `protobuf:"bytes,5,opt,name=batch_transaction,json=batchTransaction,proto3" json:"batch_transaction,omitempty"`
//
//Fee rate of the batch transaction, expressed in satoshis per 1000 weight
//units (sat/kW).
FeeRateSatPerKw uint64 `protobuf:"varint,6,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
//
//Fee rebate in satoshis, offered if another batch participant wants to pay
//more fees for a faster confirmation.
FeeRebateSat uint64 `protobuf:"varint,7,opt,name=fee_rebate_sat,json=feeRebateSat,proto3" json:"fee_rebate_sat,omitempty"`
//
//The 32 byte unique identifier of this batch.
BatchId []byte `protobuf:"bytes,8,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
//
//The batch verification protocol version the server is using. Clients that
//don't support this version MUST return an `OrderMatchAccept` message with
//an empty list of orders so the batch can continue. The user should then be
//informed that a software update is required.
BatchVersion uint32 `protobuf:"varint,9,opt,name=batch_version,json=batchVersion,proto3" json:"batch_version,omitempty"`
//
//Maps the distinct lease duration markets to the orders that were matched
//within and the discovered market clearing price.
MatchedMarkets map[uint32]*MatchedMarket `` /* 193-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchPrepare) Descriptor ¶
func (*OrderMatchPrepare) Descriptor() ([]byte, []int)
func (*OrderMatchPrepare) GetBatchId ¶
func (m *OrderMatchPrepare) GetBatchId() []byte
func (*OrderMatchPrepare) GetBatchTransaction ¶
func (m *OrderMatchPrepare) GetBatchTransaction() []byte
func (*OrderMatchPrepare) GetBatchVersion ¶
func (m *OrderMatchPrepare) GetBatchVersion() uint32
func (*OrderMatchPrepare) GetChargedAccounts ¶
func (m *OrderMatchPrepare) GetChargedAccounts() []*AccountDiff
func (*OrderMatchPrepare) GetClearingPriceRate
deprecated
func (m *OrderMatchPrepare) GetClearingPriceRate() uint32
Deprecated: Do not use.
func (*OrderMatchPrepare) GetExecutionFee ¶
func (m *OrderMatchPrepare) GetExecutionFee() *ExecutionFee
func (*OrderMatchPrepare) GetFeeRateSatPerKw ¶
func (m *OrderMatchPrepare) GetFeeRateSatPerKw() uint64
func (*OrderMatchPrepare) GetFeeRebateSat ¶
func (m *OrderMatchPrepare) GetFeeRebateSat() uint64
func (*OrderMatchPrepare) GetMatchedMarkets ¶
func (m *OrderMatchPrepare) GetMatchedMarkets() map[uint32]*MatchedMarket
func (*OrderMatchPrepare) GetMatchedOrders
deprecated
func (m *OrderMatchPrepare) GetMatchedOrders() map[string]*MatchedOrder
Deprecated: Do not use.
func (*OrderMatchPrepare) ProtoMessage ¶
func (*OrderMatchPrepare) ProtoMessage()
func (*OrderMatchPrepare) Reset ¶
func (m *OrderMatchPrepare) Reset()
func (*OrderMatchPrepare) String ¶
func (m *OrderMatchPrepare) String() string
func (*OrderMatchPrepare) XXX_DiscardUnknown ¶
func (m *OrderMatchPrepare) XXX_DiscardUnknown()
func (*OrderMatchPrepare) XXX_Marshal ¶
func (m *OrderMatchPrepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchPrepare) XXX_Merge ¶
func (m *OrderMatchPrepare) XXX_Merge(src proto.Message)
func (*OrderMatchPrepare) XXX_Size ¶
func (m *OrderMatchPrepare) XXX_Size() int
func (*OrderMatchPrepare) XXX_Unmarshal ¶
func (m *OrderMatchPrepare) XXX_Unmarshal(b []byte) error
type OrderMatchReject ¶
type OrderMatchReject struct {
//
//The ID of the batch to reject.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
//
//The reason/error string for the rejection.
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
//
//The reason as a code.
ReasonCode OrderMatchReject_RejectReason `` /* 135-byte string literal not displayed */
//
//The map of order nonces the trader was matched with but doesn't accept. The
//map contains the _other_ trader's order nonces and the reason for rejecting
//them. This can be a subset of the whole list of orders presented as matches
//if the trader only wants to reject some of them. This map is only
//considered by the auctioneer if the main reason_code is set to
//PARTIAL_REJECT. Otherwise it is assumed that the whole batch was faulty for
//some reason and that the trader rejects all orders contained. The auctioneer
//will only accept a certain number of these partial rejects before a trader's
//account is removed completely from the current batch. Abusing this
//functionality can also lead to a ban of the trader.
//
//The order nonces are hex encoded strings because the protobuf map doesn't
//allow raw bytes to be the map key type.
RejectedOrders map[string]*OrderReject `` /* 191-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchReject) Descriptor ¶
func (*OrderMatchReject) Descriptor() ([]byte, []int)
func (*OrderMatchReject) GetBatchId ¶
func (m *OrderMatchReject) GetBatchId() []byte
func (*OrderMatchReject) GetReason ¶
func (m *OrderMatchReject) GetReason() string
func (*OrderMatchReject) GetReasonCode ¶
func (m *OrderMatchReject) GetReasonCode() OrderMatchReject_RejectReason
func (*OrderMatchReject) GetRejectedOrders ¶
func (m *OrderMatchReject) GetRejectedOrders() map[string]*OrderReject
func (*OrderMatchReject) ProtoMessage ¶
func (*OrderMatchReject) ProtoMessage()
func (*OrderMatchReject) Reset ¶
func (m *OrderMatchReject) Reset()
func (*OrderMatchReject) String ¶
func (m *OrderMatchReject) String() string
func (*OrderMatchReject) XXX_DiscardUnknown ¶
func (m *OrderMatchReject) XXX_DiscardUnknown()
func (*OrderMatchReject) XXX_Marshal ¶
func (m *OrderMatchReject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchReject) XXX_Merge ¶
func (m *OrderMatchReject) XXX_Merge(src proto.Message)
func (*OrderMatchReject) XXX_Size ¶
func (m *OrderMatchReject) XXX_Size() int
func (*OrderMatchReject) XXX_Unmarshal ¶
func (m *OrderMatchReject) XXX_Unmarshal(b []byte) error
type OrderMatchReject_RejectReason ¶
type OrderMatchReject_RejectReason int32
const ( // The reason cannot be mapped to a specific code. OrderMatchReject_UNKNOWN OrderMatchReject_RejectReason = 0 // //The client didn't come up with the same result as the server and is //rejecting the batch because of that. OrderMatchReject_SERVER_MISBEHAVIOR OrderMatchReject_RejectReason = 1 // //The client doesn't support the current batch verification version the //server is using. OrderMatchReject_BATCH_VERSION_MISMATCH OrderMatchReject_RejectReason = 2 // //The client rejects some of the orders, not the full batch. When this //code is set, the rejected_orders map must be set. OrderMatchReject_PARTIAL_REJECT OrderMatchReject_RejectReason = 3 )
func (OrderMatchReject_RejectReason) EnumDescriptor ¶
func (OrderMatchReject_RejectReason) EnumDescriptor() ([]byte, []int)
func (OrderMatchReject_RejectReason) String ¶
func (x OrderMatchReject_RejectReason) String() string
type OrderMatchSign ¶
type OrderMatchSign struct {
//
//The ID of the batch that the signatures are meant for.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
//
//A map with the signatures to spend the accounts being spent in a batch
//transaction. The map key corresponds to the trader's account key of the
//account in the batch transaction. The account key/ID has to be hex encoded
//into a string because protobuf doesn't allow bytes as a map key data type.
AccountSigs map[string][]byte `` /* 182-byte string literal not displayed */
//
//The information for each channel created as part of a batch that's submitted
//to the auctioneer to ensure they can properly enforce a channel's service
//lifetime. Entries are indexed by the string representation of a channel's
//outpoint.
ChannelInfos map[string]*ChannelInfo `` /* 185-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchSign) Descriptor ¶
func (*OrderMatchSign) Descriptor() ([]byte, []int)
func (*OrderMatchSign) GetAccountSigs ¶
func (m *OrderMatchSign) GetAccountSigs() map[string][]byte
func (*OrderMatchSign) GetBatchId ¶
func (m *OrderMatchSign) GetBatchId() []byte
func (*OrderMatchSign) GetChannelInfos ¶
func (m *OrderMatchSign) GetChannelInfos() map[string]*ChannelInfo
func (*OrderMatchSign) ProtoMessage ¶
func (*OrderMatchSign) ProtoMessage()
func (*OrderMatchSign) Reset ¶
func (m *OrderMatchSign) Reset()
func (*OrderMatchSign) String ¶
func (m *OrderMatchSign) String() string
func (*OrderMatchSign) XXX_DiscardUnknown ¶
func (m *OrderMatchSign) XXX_DiscardUnknown()
func (*OrderMatchSign) XXX_Marshal ¶
func (m *OrderMatchSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchSign) XXX_Merge ¶
func (m *OrderMatchSign) XXX_Merge(src proto.Message)
func (*OrderMatchSign) XXX_Size ¶
func (m *OrderMatchSign) XXX_Size() int
func (*OrderMatchSign) XXX_Unmarshal ¶
func (m *OrderMatchSign) XXX_Unmarshal(b []byte) error
type OrderMatchSignBegin ¶
type OrderMatchSignBegin struct {
//
//The 32 byte unique identifier of this batch.
BatchId []byte `protobuf:"bytes,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderMatchSignBegin) Descriptor ¶
func (*OrderMatchSignBegin) Descriptor() ([]byte, []int)
func (*OrderMatchSignBegin) GetBatchId ¶
func (m *OrderMatchSignBegin) GetBatchId() []byte
func (*OrderMatchSignBegin) ProtoMessage ¶
func (*OrderMatchSignBegin) ProtoMessage()
func (*OrderMatchSignBegin) Reset ¶
func (m *OrderMatchSignBegin) Reset()
func (*OrderMatchSignBegin) String ¶
func (m *OrderMatchSignBegin) String() string
func (*OrderMatchSignBegin) XXX_DiscardUnknown ¶
func (m *OrderMatchSignBegin) XXX_DiscardUnknown()
func (*OrderMatchSignBegin) XXX_Marshal ¶
func (m *OrderMatchSignBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderMatchSignBegin) XXX_Merge ¶
func (m *OrderMatchSignBegin) XXX_Merge(src proto.Message)
func (*OrderMatchSignBegin) XXX_Size ¶
func (m *OrderMatchSignBegin) XXX_Size() int
func (*OrderMatchSignBegin) XXX_Unmarshal ¶
func (m *OrderMatchSignBegin) XXX_Unmarshal(b []byte) error
type OrderReject ¶
type OrderReject struct {
//
//The reason/error string for the rejection.
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
//
//The reason as a code.
ReasonCode OrderReject_OrderRejectReason `` /* 135-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OrderReject) Descriptor ¶
func (*OrderReject) Descriptor() ([]byte, []int)
func (*OrderReject) GetReason ¶
func (m *OrderReject) GetReason() string
func (*OrderReject) GetReasonCode ¶
func (m *OrderReject) GetReasonCode() OrderReject_OrderRejectReason
func (*OrderReject) ProtoMessage ¶
func (*OrderReject) ProtoMessage()
func (*OrderReject) Reset ¶
func (m *OrderReject) Reset()
func (*OrderReject) String ¶
func (m *OrderReject) String() string
func (*OrderReject) XXX_DiscardUnknown ¶
func (m *OrderReject) XXX_DiscardUnknown()
func (*OrderReject) XXX_Marshal ¶
func (m *OrderReject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderReject) XXX_Merge ¶
func (m *OrderReject) XXX_Merge(src proto.Message)
func (*OrderReject) XXX_Size ¶
func (m *OrderReject) XXX_Size() int
func (*OrderReject) XXX_Unmarshal ¶
func (m *OrderReject) XXX_Unmarshal(b []byte) error
type OrderReject_OrderRejectReason ¶
type OrderReject_OrderRejectReason int32
const ( // //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. OrderReject_DUPLICATE_PEER OrderReject_OrderRejectReason = 0 // //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. OrderReject_CHANNEL_FUNDING_FAILED OrderReject_OrderRejectReason = 1 )
func (OrderReject_OrderRejectReason) EnumDescriptor ¶
func (OrderReject_OrderRejectReason) EnumDescriptor() ([]byte, []int)
func (OrderReject_OrderRejectReason) String ¶
func (x OrderReject_OrderRejectReason) String() string
type OrderState ¶
type OrderState int32
const ( OrderState_ORDER_SUBMITTED OrderState = 0 OrderState_ORDER_CLEARED OrderState = 1 OrderState_ORDER_PARTIALLY_FILLED OrderState = 2 OrderState_ORDER_EXECUTED OrderState = 3 OrderState_ORDER_CANCELED OrderState = 4 OrderState_ORDER_EXPIRED OrderState = 5 OrderState_ORDER_FAILED OrderState = 6 )
func (OrderState) EnumDescriptor ¶
func (OrderState) EnumDescriptor() ([]byte, []int)
func (OrderState) String ¶
func (x OrderState) String() string
type OutPoint ¶
type OutPoint struct {
//
//Raw bytes representing the transaction id.
Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
//
//The index of the output on the transaction.
OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OutPoint) Descriptor ¶
func (*OutPoint) GetOutputIndex ¶
func (*OutPoint) ProtoMessage ¶
func (*OutPoint) ProtoMessage()
func (*OutPoint) XXX_DiscardUnknown ¶
func (m *OutPoint) XXX_DiscardUnknown()
func (*OutPoint) XXX_Marshal ¶
func (*OutPoint) XXX_Unmarshal ¶
type PoolAccountAuth ¶
type PoolAccountAuth struct {
// The account key being used to authenticate.
AcctKey []byte `protobuf:"bytes,1,opt,name=acct_key,json=acctKey,proto3" json:"acct_key,omitempty"`
// A valid signature over the stream ID being used.
StreamSig []byte `protobuf:"bytes,2,opt,name=stream_sig,json=streamSig,proto3" json:"stream_sig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PoolAccountAuth) Descriptor ¶
func (*PoolAccountAuth) Descriptor() ([]byte, []int)
func (*PoolAccountAuth) GetAcctKey ¶
func (m *PoolAccountAuth) GetAcctKey() []byte
func (*PoolAccountAuth) GetStreamSig ¶
func (m *PoolAccountAuth) GetStreamSig() []byte
func (*PoolAccountAuth) ProtoMessage ¶
func (*PoolAccountAuth) ProtoMessage()
func (*PoolAccountAuth) Reset ¶
func (m *PoolAccountAuth) Reset()
func (*PoolAccountAuth) String ¶
func (m *PoolAccountAuth) String() string
func (*PoolAccountAuth) XXX_DiscardUnknown ¶
func (m *PoolAccountAuth) XXX_DiscardUnknown()
func (*PoolAccountAuth) XXX_Marshal ¶
func (m *PoolAccountAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PoolAccountAuth) XXX_Merge ¶
func (m *PoolAccountAuth) XXX_Merge(src proto.Message)
func (*PoolAccountAuth) XXX_Size ¶
func (m *PoolAccountAuth) XXX_Size() int
func (*PoolAccountAuth) XXX_Unmarshal ¶
func (m *PoolAccountAuth) XXX_Unmarshal(b []byte) error
type RelevantBatch ¶
type RelevantBatch struct {
// The version of the batch.
Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// The unique identifier of the batch.
Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
//
//The set of modifications that should be applied to the requested accounts as
//a result of this batch.
ChargedAccounts []*AccountDiff `protobuf:"bytes,3,rep,name=charged_accounts,json=chargedAccounts,proto3" json:"charged_accounts,omitempty"`
//
//Deprecated, use matched_markets.
MatchedOrders map[string]*MatchedOrder `` // Deprecated: Do not use.
/* 188-byte string literal not displayed */
//
//Deprecated, use matched_markets.
ClearingPriceRate uint32 `protobuf:"varint,5,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"` // Deprecated: Do not use.
// The fee parameters used to calculate the execution fees.
ExecutionFee *ExecutionFee `protobuf:"bytes,6,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"`
// The batch transaction including all witness data.
Transaction []byte `protobuf:"bytes,7,opt,name=transaction,proto3" json:"transaction,omitempty"`
//
//Fee rate of the batch transaction, expressed in satoshis per 1000 weight
//units (sat/kW).
FeeRateSatPerKw uint64 `protobuf:"varint,8,opt,name=fee_rate_sat_per_kw,json=feeRateSatPerKw,proto3" json:"fee_rate_sat_per_kw,omitempty"`
// The unix timestamp in nanoseconds the batch was made.
CreationTimestampNs uint64 `protobuf:"varint,9,opt,name=creation_timestamp_ns,json=creationTimestampNs,proto3" json:"creation_timestamp_ns,omitempty"`
//
//Maps the distinct lease duration markets to the orders that were matched
//within and the discovered market clearing price.
MatchedMarkets map[uint32]*MatchedMarket `` /* 193-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RelevantBatch) Descriptor ¶
func (*RelevantBatch) Descriptor() ([]byte, []int)
func (*RelevantBatch) GetChargedAccounts ¶
func (m *RelevantBatch) GetChargedAccounts() []*AccountDiff
func (*RelevantBatch) GetClearingPriceRate
deprecated
func (m *RelevantBatch) GetClearingPriceRate() uint32
Deprecated: Do not use.
func (*RelevantBatch) GetCreationTimestampNs ¶
func (m *RelevantBatch) GetCreationTimestampNs() uint64
func (*RelevantBatch) GetExecutionFee ¶
func (m *RelevantBatch) GetExecutionFee() *ExecutionFee
func (*RelevantBatch) GetFeeRateSatPerKw ¶
func (m *RelevantBatch) GetFeeRateSatPerKw() uint64
func (*RelevantBatch) GetId ¶
func (m *RelevantBatch) GetId() []byte
func (*RelevantBatch) GetMatchedMarkets ¶
func (m *RelevantBatch) GetMatchedMarkets() map[uint32]*MatchedMarket
func (*RelevantBatch) GetMatchedOrders
deprecated
func (m *RelevantBatch) GetMatchedOrders() map[string]*MatchedOrder
Deprecated: Do not use.
func (*RelevantBatch) GetTransaction ¶
func (m *RelevantBatch) GetTransaction() []byte
func (*RelevantBatch) GetVersion ¶
func (m *RelevantBatch) GetVersion() uint32
func (*RelevantBatch) ProtoMessage ¶
func (*RelevantBatch) ProtoMessage()
func (*RelevantBatch) Reset ¶
func (m *RelevantBatch) Reset()
func (*RelevantBatch) String ¶
func (m *RelevantBatch) String() string
func (*RelevantBatch) XXX_DiscardUnknown ¶
func (m *RelevantBatch) XXX_DiscardUnknown()
func (*RelevantBatch) XXX_Marshal ¶
func (m *RelevantBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelevantBatch) XXX_Merge ¶
func (m *RelevantBatch) XXX_Merge(src proto.Message)
func (*RelevantBatch) XXX_Size ¶
func (m *RelevantBatch) XXX_Size() int
func (*RelevantBatch) XXX_Unmarshal ¶
func (m *RelevantBatch) XXX_Unmarshal(b []byte) error
type RelevantBatchRequest ¶
type RelevantBatchRequest struct {
// The unique identifier of the batch.
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
//
//The set of accounts the trader is interested in retrieving information
//for within the batch. Each account is identified by its trader key.
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 (*RelevantBatchRequest) Descriptor ¶
func (*RelevantBatchRequest) Descriptor() ([]byte, []int)
func (*RelevantBatchRequest) GetAccounts ¶
func (m *RelevantBatchRequest) GetAccounts() [][]byte
func (*RelevantBatchRequest) GetId ¶
func (m *RelevantBatchRequest) GetId() []byte
func (*RelevantBatchRequest) ProtoMessage ¶
func (*RelevantBatchRequest) ProtoMessage()
func (*RelevantBatchRequest) Reset ¶
func (m *RelevantBatchRequest) Reset()
func (*RelevantBatchRequest) String ¶
func (m *RelevantBatchRequest) String() string
func (*RelevantBatchRequest) XXX_DiscardUnknown ¶
func (m *RelevantBatchRequest) XXX_DiscardUnknown()
func (*RelevantBatchRequest) XXX_Marshal ¶
func (m *RelevantBatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelevantBatchRequest) XXX_Merge ¶
func (m *RelevantBatchRequest) XXX_Merge(src proto.Message)
func (*RelevantBatchRequest) XXX_Size ¶
func (m *RelevantBatchRequest) XXX_Size() int
func (*RelevantBatchRequest) XXX_Unmarshal ¶
func (m *RelevantBatchRequest) XXX_Unmarshal(b []byte) error
type ReserveAccountRequest ¶
type ReserveAccountRequest struct {
//
//The desired value of the account in satoshis.
AccountValue uint64 `protobuf:"varint,1,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
//
//The block height at which the account should expire.
AccountExpiry uint32 `protobuf:"varint,2,opt,name=account_expiry,json=accountExpiry,proto3" json:"account_expiry,omitempty"`
//
//The trader's account key.
TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReserveAccountRequest) Descriptor ¶
func (*ReserveAccountRequest) Descriptor() ([]byte, []int)
func (*ReserveAccountRequest) GetAccountExpiry ¶
func (m *ReserveAccountRequest) GetAccountExpiry() uint32
func (*ReserveAccountRequest) GetAccountValue ¶
func (m *ReserveAccountRequest) GetAccountValue() uint64
func (*ReserveAccountRequest) GetTraderKey ¶
func (m *ReserveAccountRequest) GetTraderKey() []byte
func (*ReserveAccountRequest) ProtoMessage ¶
func (*ReserveAccountRequest) ProtoMessage()
func (*ReserveAccountRequest) Reset ¶
func (m *ReserveAccountRequest) Reset()
func (*ReserveAccountRequest) String ¶
func (m *ReserveAccountRequest) String() string
func (*ReserveAccountRequest) XXX_DiscardUnknown ¶
func (m *ReserveAccountRequest) XXX_DiscardUnknown()
func (*ReserveAccountRequest) XXX_Marshal ¶
func (m *ReserveAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReserveAccountRequest) XXX_Merge ¶
func (m *ReserveAccountRequest) XXX_Merge(src proto.Message)
func (*ReserveAccountRequest) XXX_Size ¶
func (m *ReserveAccountRequest) XXX_Size() int
func (*ReserveAccountRequest) XXX_Unmarshal ¶
func (m *ReserveAccountRequest) XXX_Unmarshal(b []byte) error
type ReserveAccountResponse ¶
type ReserveAccountResponse struct {
//
//The base key of the auctioneer. This key should be tweaked with the trader's
//per-batch tweaked key to obtain the corresponding per-batch tweaked
//auctioneer key.
AuctioneerKey []byte `protobuf:"bytes,1,opt,name=auctioneer_key,json=auctioneerKey,proto3" json:"auctioneer_key,omitempty"`
//
//The initial per-batch key to be used for the account. For every cleared
//batch that the account participates in, this key will be incremented by the
//base point of its curve, resulting in a new key for both the trader and
//auctioneer in every batch.
InitialBatchKey []byte `protobuf:"bytes,2,opt,name=initial_batch_key,json=initialBatchKey,proto3" json:"initial_batch_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReserveAccountResponse) Descriptor ¶
func (*ReserveAccountResponse) Descriptor() ([]byte, []int)
func (*ReserveAccountResponse) GetAuctioneerKey ¶
func (m *ReserveAccountResponse) GetAuctioneerKey() []byte
func (*ReserveAccountResponse) GetInitialBatchKey ¶
func (m *ReserveAccountResponse) GetInitialBatchKey() []byte
func (*ReserveAccountResponse) ProtoMessage ¶
func (*ReserveAccountResponse) ProtoMessage()
func (*ReserveAccountResponse) Reset ¶
func (m *ReserveAccountResponse) Reset()
func (*ReserveAccountResponse) String ¶
func (m *ReserveAccountResponse) String() string
func (*ReserveAccountResponse) XXX_DiscardUnknown ¶
func (m *ReserveAccountResponse) XXX_DiscardUnknown()
func (*ReserveAccountResponse) XXX_Marshal ¶
func (m *ReserveAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReserveAccountResponse) XXX_Merge ¶
func (m *ReserveAccountResponse) XXX_Merge(src proto.Message)
func (*ReserveAccountResponse) XXX_Size ¶
func (m *ReserveAccountResponse) XXX_Size() int
func (*ReserveAccountResponse) XXX_Unmarshal ¶
func (m *ReserveAccountResponse) XXX_Unmarshal(b []byte) error
type ServerAsk ¶
type ServerAsk struct {
//
//The common fields shared between both ask and bid order types.
Details *ServerOrder `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,4,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,5,opt,name=version,proto3" json:"version,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerAsk) Descriptor ¶
func (*ServerAsk) GetDetails ¶
func (m *ServerAsk) GetDetails() *ServerOrder
func (*ServerAsk) GetLeaseDurationBlocks ¶
func (*ServerAsk) GetVersion ¶
func (*ServerAsk) ProtoMessage ¶
func (*ServerAsk) ProtoMessage()
func (*ServerAsk) XXX_DiscardUnknown ¶
func (m *ServerAsk) XXX_DiscardUnknown()
func (*ServerAsk) XXX_Marshal ¶
func (*ServerAsk) XXX_Unmarshal ¶
type ServerAuctionMessage ¶
type ServerAuctionMessage struct {
// Types that are valid to be assigned to Msg:
// *ServerAuctionMessage_Challenge
// *ServerAuctionMessage_Success
// *ServerAuctionMessage_Error
// *ServerAuctionMessage_Prepare
// *ServerAuctionMessage_Sign
// *ServerAuctionMessage_Finalize
// *ServerAuctionMessage_Account
Msg isServerAuctionMessage_Msg `protobuf_oneof:"msg"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerAuctionMessage) Descriptor ¶
func (*ServerAuctionMessage) Descriptor() ([]byte, []int)
func (*ServerAuctionMessage) GetAccount ¶
func (m *ServerAuctionMessage) GetAccount() *AuctionAccount
func (*ServerAuctionMessage) GetChallenge ¶
func (m *ServerAuctionMessage) GetChallenge() *ServerChallenge
func (*ServerAuctionMessage) GetError ¶
func (m *ServerAuctionMessage) GetError() *SubscribeError
func (*ServerAuctionMessage) GetFinalize ¶
func (m *ServerAuctionMessage) GetFinalize() *OrderMatchFinalize
func (*ServerAuctionMessage) GetMsg ¶
func (m *ServerAuctionMessage) GetMsg() isServerAuctionMessage_Msg
func (*ServerAuctionMessage) GetPrepare ¶
func (m *ServerAuctionMessage) GetPrepare() *OrderMatchPrepare
func (*ServerAuctionMessage) GetSign ¶
func (m *ServerAuctionMessage) GetSign() *OrderMatchSignBegin
func (*ServerAuctionMessage) GetSuccess ¶
func (m *ServerAuctionMessage) GetSuccess() *SubscribeSuccess
func (*ServerAuctionMessage) ProtoMessage ¶
func (*ServerAuctionMessage) ProtoMessage()
func (*ServerAuctionMessage) Reset ¶
func (m *ServerAuctionMessage) Reset()
func (*ServerAuctionMessage) String ¶
func (m *ServerAuctionMessage) String() string
func (*ServerAuctionMessage) XXX_DiscardUnknown ¶
func (m *ServerAuctionMessage) XXX_DiscardUnknown()
func (*ServerAuctionMessage) XXX_Marshal ¶
func (m *ServerAuctionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerAuctionMessage) XXX_Merge ¶
func (m *ServerAuctionMessage) XXX_Merge(src proto.Message)
func (*ServerAuctionMessage) XXX_OneofWrappers ¶
func (*ServerAuctionMessage) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ServerAuctionMessage) XXX_Size ¶
func (m *ServerAuctionMessage) XXX_Size() int
func (*ServerAuctionMessage) XXX_Unmarshal ¶
func (m *ServerAuctionMessage) XXX_Unmarshal(b []byte) error
type ServerAuctionMessage_Account ¶
type ServerAuctionMessage_Account struct {
Account *AuctionAccount `protobuf:"bytes,7,opt,name=account,proto3,oneof"`
}
type ServerAuctionMessage_Challenge ¶
type ServerAuctionMessage_Challenge struct {
Challenge *ServerChallenge `protobuf:"bytes,1,opt,name=challenge,proto3,oneof"`
}
type ServerAuctionMessage_Error ¶
type ServerAuctionMessage_Error struct {
Error *SubscribeError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type ServerAuctionMessage_Finalize ¶
type ServerAuctionMessage_Finalize struct {
Finalize *OrderMatchFinalize `protobuf:"bytes,6,opt,name=finalize,proto3,oneof"`
}
type ServerAuctionMessage_Prepare ¶
type ServerAuctionMessage_Prepare struct {
Prepare *OrderMatchPrepare `protobuf:"bytes,4,opt,name=prepare,proto3,oneof"`
}
type ServerAuctionMessage_Sign ¶
type ServerAuctionMessage_Sign struct {
Sign *OrderMatchSignBegin `protobuf:"bytes,5,opt,name=sign,proto3,oneof"`
}
type ServerAuctionMessage_Success ¶
type ServerAuctionMessage_Success struct {
Success *SubscribeSuccess `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}
type ServerBid ¶
type ServerBid struct {
//
//The common fields shared between both ask and bid order types.
Details *ServerOrder `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,4,opt,name=version,proto3" json:"version,omitempty"`
//
//The minimum 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 NodeTier `protobuf:"varint,5,opt,name=min_node_tier,json=minNodeTier,proto3,enum=poolrpc.NodeTier" json:"min_node_tier,omitempty"`
//
//Give the incoming channel that results from this bid being matched an
//initial outbound balance by adding additional funds from the taker's account
//into the channel. As a simplification for the execution protocol and the
//channel reserve calculations, the self_chan_balance can be at most the same
//as the order amount and the min_chan_amt must be set to the full order
//amount.
SelfChanBalance uint64 `protobuf:"varint,6,opt,name=self_chan_balance,json=selfChanBalance,proto3" json:"self_chan_balance,omitempty"`
//
//If this bid order is meant to lease a channel for another node (which is
//dubbed a "sidecar channel") then this boolean needs to be set to true. The
//multi_sig_key, node_pub and node_addr fields of the order details must then
//correspond to the recipient node's details.
IsSidecarChannel bool `protobuf:"varint,7,opt,name=is_sidecar_channel,json=isSidecarChannel,proto3" json:"is_sidecar_channel,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerBid) Descriptor ¶
func (*ServerBid) GetDetails ¶
func (m *ServerBid) GetDetails() *ServerOrder
func (*ServerBid) GetIsSidecarChannel ¶
func (*ServerBid) GetLeaseDurationBlocks ¶
func (*ServerBid) GetMinNodeTier ¶
func (*ServerBid) GetSelfChanBalance ¶
func (*ServerBid) GetVersion ¶
func (*ServerBid) ProtoMessage ¶
func (*ServerBid) ProtoMessage()
func (*ServerBid) XXX_DiscardUnknown ¶
func (m *ServerBid) XXX_DiscardUnknown()
func (*ServerBid) XXX_Marshal ¶
func (*ServerBid) XXX_Unmarshal ¶
type ServerCancelOrderRequest ¶
type ServerCancelOrderRequest struct {
//
//The preimage to the order's unique nonce.
OrderNoncePreimage []byte `protobuf:"bytes,1,opt,name=order_nonce_preimage,json=orderNoncePreimage,proto3" json:"order_nonce_preimage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerCancelOrderRequest) Descriptor ¶
func (*ServerCancelOrderRequest) Descriptor() ([]byte, []int)
func (*ServerCancelOrderRequest) GetOrderNoncePreimage ¶
func (m *ServerCancelOrderRequest) GetOrderNoncePreimage() []byte
func (*ServerCancelOrderRequest) ProtoMessage ¶
func (*ServerCancelOrderRequest) ProtoMessage()
func (*ServerCancelOrderRequest) Reset ¶
func (m *ServerCancelOrderRequest) Reset()
func (*ServerCancelOrderRequest) String ¶
func (m *ServerCancelOrderRequest) String() string
func (*ServerCancelOrderRequest) XXX_DiscardUnknown ¶
func (m *ServerCancelOrderRequest) XXX_DiscardUnknown()
func (*ServerCancelOrderRequest) XXX_Marshal ¶
func (m *ServerCancelOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerCancelOrderRequest) XXX_Merge ¶
func (m *ServerCancelOrderRequest) XXX_Merge(src proto.Message)
func (*ServerCancelOrderRequest) XXX_Size ¶
func (m *ServerCancelOrderRequest) XXX_Size() int
func (*ServerCancelOrderRequest) XXX_Unmarshal ¶
func (m *ServerCancelOrderRequest) XXX_Unmarshal(b []byte) error
type ServerCancelOrderResponse ¶
type ServerCancelOrderResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerCancelOrderResponse) Descriptor ¶
func (*ServerCancelOrderResponse) Descriptor() ([]byte, []int)
func (*ServerCancelOrderResponse) ProtoMessage ¶
func (*ServerCancelOrderResponse) ProtoMessage()
func (*ServerCancelOrderResponse) Reset ¶
func (m *ServerCancelOrderResponse) Reset()
func (*ServerCancelOrderResponse) String ¶
func (m *ServerCancelOrderResponse) String() string
func (*ServerCancelOrderResponse) XXX_DiscardUnknown ¶
func (m *ServerCancelOrderResponse) XXX_DiscardUnknown()
func (*ServerCancelOrderResponse) XXX_Marshal ¶
func (m *ServerCancelOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerCancelOrderResponse) XXX_Merge ¶
func (m *ServerCancelOrderResponse) XXX_Merge(src proto.Message)
func (*ServerCancelOrderResponse) XXX_Size ¶
func (m *ServerCancelOrderResponse) XXX_Size() int
func (*ServerCancelOrderResponse) XXX_Unmarshal ¶
func (m *ServerCancelOrderResponse) XXX_Unmarshal(b []byte) error
type ServerChallenge ¶
type ServerChallenge struct {
//
//The unique challenge for each stream that has to be signed with the trader's
//account key for each account subscription.
Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
//
//The commit hash the challenge was created for.
CommitHash []byte `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerChallenge) Descriptor ¶
func (*ServerChallenge) Descriptor() ([]byte, []int)
func (*ServerChallenge) GetChallenge ¶
func (m *ServerChallenge) GetChallenge() []byte
func (*ServerChallenge) GetCommitHash ¶
func (m *ServerChallenge) GetCommitHash() []byte
func (*ServerChallenge) ProtoMessage ¶
func (*ServerChallenge) ProtoMessage()
func (*ServerChallenge) Reset ¶
func (m *ServerChallenge) Reset()
func (*ServerChallenge) String ¶
func (m *ServerChallenge) String() string
func (*ServerChallenge) XXX_DiscardUnknown ¶
func (m *ServerChallenge) XXX_DiscardUnknown()
func (*ServerChallenge) XXX_Marshal ¶
func (m *ServerChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerChallenge) XXX_Merge ¶
func (m *ServerChallenge) XXX_Merge(src proto.Message)
func (*ServerChallenge) XXX_Size ¶
func (m *ServerChallenge) XXX_Size() int
func (*ServerChallenge) XXX_Unmarshal ¶
func (m *ServerChallenge) XXX_Unmarshal(b []byte) error
type ServerInitAccountRequest ¶
type ServerInitAccountRequest struct {
//
//Transaction output of the account. Has to be unspent and be a P2WSH of
//the account script below. The amount must also exactly correspond to the
//account value below.
AccountPoint *OutPoint `protobuf:"bytes,1,opt,name=account_point,json=accountPoint,proto3" json:"account_point,omitempty"`
//
//The script used to create the account point.
AccountScript []byte `protobuf:"bytes,2,opt,name=account_script,json=accountScript,proto3" json:"account_script,omitempty"`
//
//The value of the account in satoshis. Must match the amount of the
//account_point output.
AccountValue uint64 `protobuf:"varint,3,opt,name=account_value,json=accountValue,proto3" json:"account_value,omitempty"`
//
//The block height at which the account should expire.
AccountExpiry uint32 `protobuf:"varint,4,opt,name=account_expiry,json=accountExpiry,proto3" json:"account_expiry,omitempty"`
//
//The trader's account key.
TraderKey []byte `protobuf:"bytes,5,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
// The user agent string that identifies the software running on the user's
// side. This can be changed in the user's client software but it _SHOULD_
// conform to the following pattern and use less than 256 characters:
// Agent-Name/semver-version(/additional-info)
// Examples:
// poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli
// litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui
UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerInitAccountRequest) Descriptor ¶
func (*ServerInitAccountRequest) Descriptor() ([]byte, []int)
func (*ServerInitAccountRequest) GetAccountExpiry ¶
func (m *ServerInitAccountRequest) GetAccountExpiry() uint32
func (*ServerInitAccountRequest) GetAccountPoint ¶
func (m *ServerInitAccountRequest) GetAccountPoint() *OutPoint
func (*ServerInitAccountRequest) GetAccountScript ¶
func (m *ServerInitAccountRequest) GetAccountScript() []byte
func (*ServerInitAccountRequest) GetAccountValue ¶
func (m *ServerInitAccountRequest) GetAccountValue() uint64
func (*ServerInitAccountRequest) GetTraderKey ¶
func (m *ServerInitAccountRequest) GetTraderKey() []byte
func (*ServerInitAccountRequest) GetUserAgent ¶
func (m *ServerInitAccountRequest) GetUserAgent() string
func (*ServerInitAccountRequest) ProtoMessage ¶
func (*ServerInitAccountRequest) ProtoMessage()
func (*ServerInitAccountRequest) Reset ¶
func (m *ServerInitAccountRequest) Reset()
func (*ServerInitAccountRequest) String ¶
func (m *ServerInitAccountRequest) String() string
func (*ServerInitAccountRequest) XXX_DiscardUnknown ¶
func (m *ServerInitAccountRequest) XXX_DiscardUnknown()
func (*ServerInitAccountRequest) XXX_Marshal ¶
func (m *ServerInitAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerInitAccountRequest) XXX_Merge ¶
func (m *ServerInitAccountRequest) XXX_Merge(src proto.Message)
func (*ServerInitAccountRequest) XXX_Size ¶
func (m *ServerInitAccountRequest) XXX_Size() int
func (*ServerInitAccountRequest) XXX_Unmarshal ¶
func (m *ServerInitAccountRequest) XXX_Unmarshal(b []byte) error
type ServerInitAccountResponse ¶
type ServerInitAccountResponse struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerInitAccountResponse) Descriptor ¶
func (*ServerInitAccountResponse) Descriptor() ([]byte, []int)
func (*ServerInitAccountResponse) ProtoMessage ¶
func (*ServerInitAccountResponse) ProtoMessage()
func (*ServerInitAccountResponse) Reset ¶
func (m *ServerInitAccountResponse) Reset()
func (*ServerInitAccountResponse) String ¶
func (m *ServerInitAccountResponse) String() string
func (*ServerInitAccountResponse) XXX_DiscardUnknown ¶
func (m *ServerInitAccountResponse) XXX_DiscardUnknown()
func (*ServerInitAccountResponse) XXX_Marshal ¶
func (m *ServerInitAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerInitAccountResponse) XXX_Merge ¶
func (m *ServerInitAccountResponse) XXX_Merge(src proto.Message)
func (*ServerInitAccountResponse) XXX_Size ¶
func (m *ServerInitAccountResponse) XXX_Size() int
func (*ServerInitAccountResponse) XXX_Unmarshal ¶
func (m *ServerInitAccountResponse) XXX_Unmarshal(b []byte) error
type ServerInput ¶
type ServerInput struct {
// The outpoint that the input corresponds to.
Outpoint *OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
//
//The signature script required by the input. This only applies to NP2WKH
//inputs.
SigScript []byte `protobuf:"bytes,2,opt,name=sig_script,json=sigScript,proto3" json:"sig_script,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerInput) Descriptor ¶
func (*ServerInput) Descriptor() ([]byte, []int)
func (*ServerInput) GetOutpoint ¶
func (m *ServerInput) GetOutpoint() *OutPoint
func (*ServerInput) GetSigScript ¶
func (m *ServerInput) GetSigScript() []byte
func (*ServerInput) ProtoMessage ¶
func (*ServerInput) ProtoMessage()
func (*ServerInput) Reset ¶
func (m *ServerInput) Reset()
func (*ServerInput) String ¶
func (m *ServerInput) String() string
func (*ServerInput) XXX_DiscardUnknown ¶
func (m *ServerInput) XXX_DiscardUnknown()
func (*ServerInput) XXX_Marshal ¶
func (m *ServerInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerInput) XXX_Merge ¶
func (m *ServerInput) XXX_Merge(src proto.Message)
func (*ServerInput) XXX_Size ¶
func (m *ServerInput) XXX_Size() int
func (*ServerInput) XXX_Unmarshal ¶
func (m *ServerInput) XXX_Unmarshal(b []byte) error
type ServerModifyAccountRequest ¶
type ServerModifyAccountRequest struct {
//
//The trader's account key of the account to be modified.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//An additional set of inputs that can be included in the spending transaction
//of an account. These can be used to deposit more funds into an account.
//These must be under control of the backing lnd node's wallet.
NewInputs []*ServerInput `protobuf:"bytes,2,rep,name=new_inputs,json=newInputs,proto3" json:"new_inputs,omitempty"`
//
//An additional set of outputs that can be included in the spending
//transaction of an account. These can be used to withdraw funds from an
//account.
NewOutputs []*ServerOutput `protobuf:"bytes,3,rep,name=new_outputs,json=newOutputs,proto3" json:"new_outputs,omitempty"`
// The new parameters to apply for the account.
NewParams *ServerModifyAccountRequest_NewAccountParameters `protobuf:"bytes,4,opt,name=new_params,json=newParams,proto3" json:"new_params,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerModifyAccountRequest) Descriptor ¶
func (*ServerModifyAccountRequest) Descriptor() ([]byte, []int)
func (*ServerModifyAccountRequest) GetNewInputs ¶
func (m *ServerModifyAccountRequest) GetNewInputs() []*ServerInput
func (*ServerModifyAccountRequest) GetNewOutputs ¶
func (m *ServerModifyAccountRequest) GetNewOutputs() []*ServerOutput
func (*ServerModifyAccountRequest) GetNewParams ¶
func (m *ServerModifyAccountRequest) GetNewParams() *ServerModifyAccountRequest_NewAccountParameters
func (*ServerModifyAccountRequest) GetTraderKey ¶
func (m *ServerModifyAccountRequest) GetTraderKey() []byte
func (*ServerModifyAccountRequest) ProtoMessage ¶
func (*ServerModifyAccountRequest) ProtoMessage()
func (*ServerModifyAccountRequest) Reset ¶
func (m *ServerModifyAccountRequest) Reset()
func (*ServerModifyAccountRequest) String ¶
func (m *ServerModifyAccountRequest) String() string
func (*ServerModifyAccountRequest) XXX_DiscardUnknown ¶
func (m *ServerModifyAccountRequest) XXX_DiscardUnknown()
func (*ServerModifyAccountRequest) XXX_Marshal ¶
func (m *ServerModifyAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerModifyAccountRequest) XXX_Merge ¶
func (m *ServerModifyAccountRequest) XXX_Merge(src proto.Message)
func (*ServerModifyAccountRequest) XXX_Size ¶
func (m *ServerModifyAccountRequest) XXX_Size() int
func (*ServerModifyAccountRequest) XXX_Unmarshal ¶
func (m *ServerModifyAccountRequest) XXX_Unmarshal(b []byte) error
type ServerModifyAccountRequest_NewAccountParameters ¶
type ServerModifyAccountRequest_NewAccountParameters struct {
// The new value of the account.
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// The new expiry of the account as an absolute height.
Expiry uint32 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerModifyAccountRequest_NewAccountParameters) Descriptor ¶
func (*ServerModifyAccountRequest_NewAccountParameters) Descriptor() ([]byte, []int)
func (*ServerModifyAccountRequest_NewAccountParameters) GetExpiry ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) GetExpiry() uint32
func (*ServerModifyAccountRequest_NewAccountParameters) GetValue ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) GetValue() uint64
func (*ServerModifyAccountRequest_NewAccountParameters) ProtoMessage ¶
func (*ServerModifyAccountRequest_NewAccountParameters) ProtoMessage()
func (*ServerModifyAccountRequest_NewAccountParameters) Reset ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) Reset()
func (*ServerModifyAccountRequest_NewAccountParameters) String ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) String() string
func (*ServerModifyAccountRequest_NewAccountParameters) XXX_DiscardUnknown ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_DiscardUnknown()
func (*ServerModifyAccountRequest_NewAccountParameters) XXX_Marshal ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerModifyAccountRequest_NewAccountParameters) XXX_Merge ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Merge(src proto.Message)
func (*ServerModifyAccountRequest_NewAccountParameters) XXX_Size ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Size() int
func (*ServerModifyAccountRequest_NewAccountParameters) XXX_Unmarshal ¶
func (m *ServerModifyAccountRequest_NewAccountParameters) XXX_Unmarshal(b []byte) error
type ServerModifyAccountResponse ¶
type ServerModifyAccountResponse struct {
//
//The auctioneer's signature that allows a trader to broadcast a transaction
//spending from an account output.
AccountSig []byte `protobuf:"bytes,1,opt,name=account_sig,json=accountSig,proto3" json:"account_sig,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerModifyAccountResponse) Descriptor ¶
func (*ServerModifyAccountResponse) Descriptor() ([]byte, []int)
func (*ServerModifyAccountResponse) GetAccountSig ¶
func (m *ServerModifyAccountResponse) GetAccountSig() []byte
func (*ServerModifyAccountResponse) ProtoMessage ¶
func (*ServerModifyAccountResponse) ProtoMessage()
func (*ServerModifyAccountResponse) Reset ¶
func (m *ServerModifyAccountResponse) Reset()
func (*ServerModifyAccountResponse) String ¶
func (m *ServerModifyAccountResponse) String() string
func (*ServerModifyAccountResponse) XXX_DiscardUnknown ¶
func (m *ServerModifyAccountResponse) XXX_DiscardUnknown()
func (*ServerModifyAccountResponse) XXX_Marshal ¶
func (m *ServerModifyAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerModifyAccountResponse) XXX_Merge ¶
func (m *ServerModifyAccountResponse) XXX_Merge(src proto.Message)
func (*ServerModifyAccountResponse) XXX_Size ¶
func (m *ServerModifyAccountResponse) XXX_Size() int
func (*ServerModifyAccountResponse) XXX_Unmarshal ¶
func (m *ServerModifyAccountResponse) XXX_Unmarshal(b []byte) error
type ServerNodeRatingRequest ¶
type ServerNodeRatingRequest 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 (*ServerNodeRatingRequest) Descriptor ¶
func (*ServerNodeRatingRequest) Descriptor() ([]byte, []int)
func (*ServerNodeRatingRequest) GetNodePubkeys ¶
func (m *ServerNodeRatingRequest) GetNodePubkeys() [][]byte
func (*ServerNodeRatingRequest) ProtoMessage ¶
func (*ServerNodeRatingRequest) ProtoMessage()
func (*ServerNodeRatingRequest) Reset ¶
func (m *ServerNodeRatingRequest) Reset()
func (*ServerNodeRatingRequest) String ¶
func (m *ServerNodeRatingRequest) String() string
func (*ServerNodeRatingRequest) XXX_DiscardUnknown ¶
func (m *ServerNodeRatingRequest) XXX_DiscardUnknown()
func (*ServerNodeRatingRequest) XXX_Marshal ¶
func (m *ServerNodeRatingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerNodeRatingRequest) XXX_Merge ¶
func (m *ServerNodeRatingRequest) XXX_Merge(src proto.Message)
func (*ServerNodeRatingRequest) XXX_Size ¶
func (m *ServerNodeRatingRequest) XXX_Size() int
func (*ServerNodeRatingRequest) XXX_Unmarshal ¶
func (m *ServerNodeRatingRequest) XXX_Unmarshal(b []byte) error
type ServerNodeRatingResponse ¶
type ServerNodeRatingResponse struct {
// A series of node ratings for each of the queried nodes.
NodeRatings []*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 (*ServerNodeRatingResponse) Descriptor ¶
func (*ServerNodeRatingResponse) Descriptor() ([]byte, []int)
func (*ServerNodeRatingResponse) GetNodeRatings ¶
func (m *ServerNodeRatingResponse) GetNodeRatings() []*NodeRating
func (*ServerNodeRatingResponse) ProtoMessage ¶
func (*ServerNodeRatingResponse) ProtoMessage()
func (*ServerNodeRatingResponse) Reset ¶
func (m *ServerNodeRatingResponse) Reset()
func (*ServerNodeRatingResponse) String ¶
func (m *ServerNodeRatingResponse) String() string
func (*ServerNodeRatingResponse) XXX_DiscardUnknown ¶
func (m *ServerNodeRatingResponse) XXX_DiscardUnknown()
func (*ServerNodeRatingResponse) XXX_Marshal ¶
func (m *ServerNodeRatingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerNodeRatingResponse) XXX_Merge ¶
func (m *ServerNodeRatingResponse) XXX_Merge(src proto.Message)
func (*ServerNodeRatingResponse) XXX_Size ¶
func (m *ServerNodeRatingResponse) XXX_Size() int
func (*ServerNodeRatingResponse) XXX_Unmarshal ¶
func (m *ServerNodeRatingResponse) XXX_Unmarshal(b []byte) error
type ServerOrder ¶
type ServerOrder struct {
//
//The trader's account key of the account to use 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"`
MinChanAmt uint64 `protobuf:"varint,4,opt,name=min_chan_amt,json=minChanAmt,proto3" json:"min_chan_amt,omitempty"`
//
//Order nonce of 32 byte length, acts as unique order identifier.
OrderNonce []byte `protobuf:"bytes,6,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
//
//Signature of the order's digest, signed with the user's account key. The
//signature must be fixed-size LN wire format encoded. Version 0 includes the
//fields version, rate_fixed, amt, max_batch_fee_rate_sat_per_kw and
//lease_duration_blocks in the order digest.
OrderSig []byte `protobuf:"bytes,7,opt,name=order_sig,json=orderSig,proto3" json:"order_sig,omitempty"`
//
//The multi signature key of the node creating the order, will be used for the
//target channel's funding TX 2-of-2 multi signature output.
MultiSigKey []byte `protobuf:"bytes,8,opt,name=multi_sig_key,json=multiSigKey,proto3" json:"multi_sig_key,omitempty"`
//
//The pubkey of the node creating the order.
NodePub []byte `protobuf:"bytes,9,opt,name=node_pub,json=nodePub,proto3" json:"node_pub,omitempty"`
//
//The network addresses of the node creating the order.
NodeAddr []*NodeAddress `protobuf:"bytes,10,rep,name=node_addr,json=nodeAddr,proto3" json:"node_addr,omitempty"`
//
//The type of the channel that should be opened.
ChanType uint32 `protobuf:"varint,12,opt,name=chan_type,json=chanType,proto3" json:"chan_type,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 `` /* 142-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerOrder) Descriptor ¶
func (*ServerOrder) Descriptor() ([]byte, []int)
func (*ServerOrder) GetAmt ¶
func (m *ServerOrder) GetAmt() uint64
func (*ServerOrder) GetChanType ¶
func (m *ServerOrder) GetChanType() uint32
func (*ServerOrder) GetMaxBatchFeeRateSatPerKw ¶
func (m *ServerOrder) GetMaxBatchFeeRateSatPerKw() uint64
func (*ServerOrder) GetMinChanAmt ¶
func (m *ServerOrder) GetMinChanAmt() uint64
func (*ServerOrder) GetMultiSigKey ¶
func (m *ServerOrder) GetMultiSigKey() []byte
func (*ServerOrder) GetNodeAddr ¶
func (m *ServerOrder) GetNodeAddr() []*NodeAddress
func (*ServerOrder) GetNodePub ¶
func (m *ServerOrder) GetNodePub() []byte
func (*ServerOrder) GetOrderNonce ¶
func (m *ServerOrder) GetOrderNonce() []byte
func (*ServerOrder) GetOrderSig ¶
func (m *ServerOrder) GetOrderSig() []byte
func (*ServerOrder) GetRateFixed ¶
func (m *ServerOrder) GetRateFixed() uint32
func (*ServerOrder) GetTraderKey ¶
func (m *ServerOrder) GetTraderKey() []byte
func (*ServerOrder) ProtoMessage ¶
func (*ServerOrder) ProtoMessage()
func (*ServerOrder) Reset ¶
func (m *ServerOrder) Reset()
func (*ServerOrder) String ¶
func (m *ServerOrder) String() string
func (*ServerOrder) XXX_DiscardUnknown ¶
func (m *ServerOrder) XXX_DiscardUnknown()
func (*ServerOrder) XXX_Marshal ¶
func (m *ServerOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerOrder) XXX_Merge ¶
func (m *ServerOrder) XXX_Merge(src proto.Message)
func (*ServerOrder) XXX_Size ¶
func (m *ServerOrder) XXX_Size() int
func (*ServerOrder) XXX_Unmarshal ¶
func (m *ServerOrder) XXX_Unmarshal(b []byte) error
type ServerOrderStateRequest ¶
type ServerOrderStateRequest 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 (*ServerOrderStateRequest) Descriptor ¶
func (*ServerOrderStateRequest) Descriptor() ([]byte, []int)
func (*ServerOrderStateRequest) GetOrderNonce ¶
func (m *ServerOrderStateRequest) GetOrderNonce() []byte
func (*ServerOrderStateRequest) ProtoMessage ¶
func (*ServerOrderStateRequest) ProtoMessage()
func (*ServerOrderStateRequest) Reset ¶
func (m *ServerOrderStateRequest) Reset()
func (*ServerOrderStateRequest) String ¶
func (m *ServerOrderStateRequest) String() string
func (*ServerOrderStateRequest) XXX_DiscardUnknown ¶
func (m *ServerOrderStateRequest) XXX_DiscardUnknown()
func (*ServerOrderStateRequest) XXX_Marshal ¶
func (m *ServerOrderStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerOrderStateRequest) XXX_Merge ¶
func (m *ServerOrderStateRequest) XXX_Merge(src proto.Message)
func (*ServerOrderStateRequest) XXX_Size ¶
func (m *ServerOrderStateRequest) XXX_Size() int
func (*ServerOrderStateRequest) XXX_Unmarshal ¶
func (m *ServerOrderStateRequest) XXX_Unmarshal(b []byte) error
type ServerOrderStateResponse ¶
type ServerOrderStateResponse struct {
//
//The state the order currently is in.
State OrderState `protobuf:"varint,1,opt,name=state,proto3,enum=poolrpc.OrderState" json:"state,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,2,opt,name=units_unfulfilled,json=unitsUnfulfilled,proto3" json:"units_unfulfilled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerOrderStateResponse) Descriptor ¶
func (*ServerOrderStateResponse) Descriptor() ([]byte, []int)
func (*ServerOrderStateResponse) GetState ¶
func (m *ServerOrderStateResponse) GetState() OrderState
func (*ServerOrderStateResponse) GetUnitsUnfulfilled ¶
func (m *ServerOrderStateResponse) GetUnitsUnfulfilled() uint32
func (*ServerOrderStateResponse) ProtoMessage ¶
func (*ServerOrderStateResponse) ProtoMessage()
func (*ServerOrderStateResponse) Reset ¶
func (m *ServerOrderStateResponse) Reset()
func (*ServerOrderStateResponse) String ¶
func (m *ServerOrderStateResponse) String() string
func (*ServerOrderStateResponse) XXX_DiscardUnknown ¶
func (m *ServerOrderStateResponse) XXX_DiscardUnknown()
func (*ServerOrderStateResponse) XXX_Marshal ¶
func (m *ServerOrderStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerOrderStateResponse) XXX_Merge ¶
func (m *ServerOrderStateResponse) XXX_Merge(src proto.Message)
func (*ServerOrderStateResponse) XXX_Size ¶
func (m *ServerOrderStateResponse) XXX_Size() int
func (*ServerOrderStateResponse) XXX_Unmarshal ¶
func (m *ServerOrderStateResponse) XXX_Unmarshal(b []byte) error
type ServerOutput ¶
type ServerOutput struct {
// The value, in satoshis, of the output.
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
// The script of the output to send the value to.
Script []byte `protobuf:"bytes,2,opt,name=script,proto3" json:"script,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerOutput) Descriptor ¶
func (*ServerOutput) Descriptor() ([]byte, []int)
func (*ServerOutput) GetScript ¶
func (m *ServerOutput) GetScript() []byte
func (*ServerOutput) GetValue ¶
func (m *ServerOutput) GetValue() uint64
func (*ServerOutput) ProtoMessage ¶
func (*ServerOutput) ProtoMessage()
func (*ServerOutput) Reset ¶
func (m *ServerOutput) Reset()
func (*ServerOutput) String ¶
func (m *ServerOutput) String() string
func (*ServerOutput) XXX_DiscardUnknown ¶
func (m *ServerOutput) XXX_DiscardUnknown()
func (*ServerOutput) XXX_Marshal ¶
func (m *ServerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerOutput) XXX_Merge ¶
func (m *ServerOutput) XXX_Merge(src proto.Message)
func (*ServerOutput) XXX_Size ¶
func (m *ServerOutput) XXX_Size() int
func (*ServerOutput) XXX_Unmarshal ¶
func (m *ServerOutput) XXX_Unmarshal(b []byte) error
type ServerSubmitOrderRequest ¶
type ServerSubmitOrderRequest struct {
// Types that are valid to be assigned to Details:
// *ServerSubmitOrderRequest_Ask
// *ServerSubmitOrderRequest_Bid
Details isServerSubmitOrderRequest_Details `protobuf_oneof:"details"`
// The user agent string that identifies the software running on the user's
// side. This can be changed in the user's client software but it _SHOULD_
// conform to the following pattern and use less than 256 characters:
// Agent-Name/semver-version(/additional-info)
// Examples:
// poold/v0.4.2-beta/commit=3b635821,initiator=pool-cli
// litd/v0.4.0-alpha/commit=326d754,initiator=lit-ui
UserAgent string `protobuf:"bytes,3,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerSubmitOrderRequest) Descriptor ¶
func (*ServerSubmitOrderRequest) Descriptor() ([]byte, []int)
func (*ServerSubmitOrderRequest) GetAsk ¶
func (m *ServerSubmitOrderRequest) GetAsk() *ServerAsk
func (*ServerSubmitOrderRequest) GetBid ¶
func (m *ServerSubmitOrderRequest) GetBid() *ServerBid
func (*ServerSubmitOrderRequest) GetDetails ¶
func (m *ServerSubmitOrderRequest) GetDetails() isServerSubmitOrderRequest_Details
func (*ServerSubmitOrderRequest) GetUserAgent ¶
func (m *ServerSubmitOrderRequest) GetUserAgent() string
func (*ServerSubmitOrderRequest) ProtoMessage ¶
func (*ServerSubmitOrderRequest) ProtoMessage()
func (*ServerSubmitOrderRequest) Reset ¶
func (m *ServerSubmitOrderRequest) Reset()
func (*ServerSubmitOrderRequest) String ¶
func (m *ServerSubmitOrderRequest) String() string
func (*ServerSubmitOrderRequest) XXX_DiscardUnknown ¶
func (m *ServerSubmitOrderRequest) XXX_DiscardUnknown()
func (*ServerSubmitOrderRequest) XXX_Marshal ¶
func (m *ServerSubmitOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerSubmitOrderRequest) XXX_Merge ¶
func (m *ServerSubmitOrderRequest) XXX_Merge(src proto.Message)
func (*ServerSubmitOrderRequest) XXX_OneofWrappers ¶
func (*ServerSubmitOrderRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ServerSubmitOrderRequest) XXX_Size ¶
func (m *ServerSubmitOrderRequest) XXX_Size() int
func (*ServerSubmitOrderRequest) XXX_Unmarshal ¶
func (m *ServerSubmitOrderRequest) XXX_Unmarshal(b []byte) error
type ServerSubmitOrderRequest_Ask ¶
type ServerSubmitOrderRequest_Ask struct {
Ask *ServerAsk `protobuf:"bytes,1,opt,name=ask,proto3,oneof"`
}
type ServerSubmitOrderRequest_Bid ¶
type ServerSubmitOrderRequest_Bid struct {
Bid *ServerBid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"`
}
type ServerSubmitOrderResponse ¶
type ServerSubmitOrderResponse struct {
// Types that are valid to be assigned to Details:
// *ServerSubmitOrderResponse_InvalidOrder
// *ServerSubmitOrderResponse_Accepted
Details isServerSubmitOrderResponse_Details `protobuf_oneof:"details"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerSubmitOrderResponse) Descriptor ¶
func (*ServerSubmitOrderResponse) Descriptor() ([]byte, []int)
func (*ServerSubmitOrderResponse) GetAccepted ¶
func (m *ServerSubmitOrderResponse) GetAccepted() bool
func (*ServerSubmitOrderResponse) GetDetails ¶
func (m *ServerSubmitOrderResponse) GetDetails() isServerSubmitOrderResponse_Details
func (*ServerSubmitOrderResponse) GetInvalidOrder ¶
func (m *ServerSubmitOrderResponse) GetInvalidOrder() *InvalidOrder
func (*ServerSubmitOrderResponse) ProtoMessage ¶
func (*ServerSubmitOrderResponse) ProtoMessage()
func (*ServerSubmitOrderResponse) Reset ¶
func (m *ServerSubmitOrderResponse) Reset()
func (*ServerSubmitOrderResponse) String ¶
func (m *ServerSubmitOrderResponse) String() string
func (*ServerSubmitOrderResponse) XXX_DiscardUnknown ¶
func (m *ServerSubmitOrderResponse) XXX_DiscardUnknown()
func (*ServerSubmitOrderResponse) XXX_Marshal ¶
func (m *ServerSubmitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerSubmitOrderResponse) XXX_Merge ¶
func (m *ServerSubmitOrderResponse) XXX_Merge(src proto.Message)
func (*ServerSubmitOrderResponse) XXX_OneofWrappers ¶
func (*ServerSubmitOrderResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ServerSubmitOrderResponse) XXX_Size ¶
func (m *ServerSubmitOrderResponse) XXX_Size() int
func (*ServerSubmitOrderResponse) XXX_Unmarshal ¶
func (m *ServerSubmitOrderResponse) XXX_Unmarshal(b []byte) error
type ServerSubmitOrderResponse_Accepted ¶
type ServerSubmitOrderResponse_Accepted struct {
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3,oneof"`
}
type ServerSubmitOrderResponse_InvalidOrder ¶
type ServerSubmitOrderResponse_InvalidOrder struct {
InvalidOrder *InvalidOrder `protobuf:"bytes,1,opt,name=invalid_order,json=invalidOrder,proto3,oneof"`
}
type SidecarAuth ¶
type SidecarAuth struct {
//
//A valid sidecar ticket that has been signed (offered) by a Pool account in
//the active state.
Ticket string `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SidecarAuth) Descriptor ¶
func (*SidecarAuth) Descriptor() ([]byte, []int)
func (*SidecarAuth) GetTicket ¶
func (m *SidecarAuth) GetTicket() string
func (*SidecarAuth) ProtoMessage ¶
func (*SidecarAuth) ProtoMessage()
func (*SidecarAuth) Reset ¶
func (m *SidecarAuth) Reset()
func (*SidecarAuth) String ¶
func (m *SidecarAuth) String() string
func (*SidecarAuth) XXX_DiscardUnknown ¶
func (m *SidecarAuth) XXX_DiscardUnknown()
func (*SidecarAuth) XXX_Marshal ¶
func (m *SidecarAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SidecarAuth) XXX_Merge ¶
func (m *SidecarAuth) XXX_Merge(src proto.Message)
func (*SidecarAuth) XXX_Size ¶
func (m *SidecarAuth) XXX_Size() int
func (*SidecarAuth) XXX_Unmarshal ¶
func (m *SidecarAuth) XXX_Unmarshal(b []byte) error
type SubscribeError ¶
type SubscribeError struct {
//
//The string representation of the subscription error.
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
//
//The error code of the subscription error.
ErrorCode SubscribeError_Error `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3,enum=poolrpc.SubscribeError_Error" json:"error_code,omitempty"`
//
//The trader's account key this error is referring to. This is not set if
//the error code is SERVER_SHUTDOWN as that error is only sent once per
//connection and not per individual subscription.
TraderKey []byte `protobuf:"bytes,3,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
//
//The auctioneer's partial account information as it was stored when creating
//the reservation. This is only set if the error code is
//INCOMPLETE_ACCOUNT_RESERVATION. Only the fields value, expiry, trader_key,
//auctioneer_key, batch_key and height_hint will be set in that
//case.
AccountReservation *AuctionAccount `protobuf:"bytes,4,opt,name=account_reservation,json=accountReservation,proto3" json:"account_reservation,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SubscribeError) Descriptor ¶
func (*SubscribeError) Descriptor() ([]byte, []int)
func (*SubscribeError) GetAccountReservation ¶
func (m *SubscribeError) GetAccountReservation() *AuctionAccount
func (*SubscribeError) GetError ¶
func (m *SubscribeError) GetError() string
func (*SubscribeError) GetErrorCode ¶
func (m *SubscribeError) GetErrorCode() SubscribeError_Error
func (*SubscribeError) GetTraderKey ¶
func (m *SubscribeError) GetTraderKey() []byte
func (*SubscribeError) ProtoMessage ¶
func (*SubscribeError) ProtoMessage()
func (*SubscribeError) Reset ¶
func (m *SubscribeError) Reset()
func (*SubscribeError) String ¶
func (m *SubscribeError) String() string
func (*SubscribeError) XXX_DiscardUnknown ¶
func (m *SubscribeError) XXX_DiscardUnknown()
func (*SubscribeError) XXX_Marshal ¶
func (m *SubscribeError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeError) XXX_Merge ¶
func (m *SubscribeError) XXX_Merge(src proto.Message)
func (*SubscribeError) XXX_Size ¶
func (m *SubscribeError) XXX_Size() int
func (*SubscribeError) XXX_Unmarshal ¶
func (m *SubscribeError) XXX_Unmarshal(b []byte) error
type SubscribeError_Error ¶
type SubscribeError_Error int32
const ( // //The error cannot be mapped to a specific code. SubscribeError_UNKNOWN SubscribeError_Error = 0 // //The server is shutting down for maintenance. Traders should close the //long-lived stream/connection and try to connect again after some time. SubscribeError_SERVER_SHUTDOWN SubscribeError_Error = 1 // //The account the trader tried to subscribe to does not exist in the //auctioneer's database. SubscribeError_ACCOUNT_DOES_NOT_EXIST SubscribeError_Error = 2 // //The account the trader tried to subscribe to was never completed and a //reservation for it is still pending. SubscribeError_INCOMPLETE_ACCOUNT_RESERVATION SubscribeError_Error = 3 )
func (SubscribeError_Error) EnumDescriptor ¶
func (SubscribeError_Error) EnumDescriptor() ([]byte, []int)
func (SubscribeError_Error) String ¶
func (x SubscribeError_Error) String() string
type SubscribeSuccess ¶
type SubscribeSuccess struct {
//
//The trader's account key this message is referring to.
TraderKey []byte `protobuf:"bytes,1,opt,name=trader_key,json=traderKey,proto3" json:"trader_key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SubscribeSuccess) Descriptor ¶
func (*SubscribeSuccess) Descriptor() ([]byte, []int)
func (*SubscribeSuccess) GetTraderKey ¶
func (m *SubscribeSuccess) GetTraderKey() []byte
func (*SubscribeSuccess) ProtoMessage ¶
func (*SubscribeSuccess) ProtoMessage()
func (*SubscribeSuccess) Reset ¶
func (m *SubscribeSuccess) Reset()
func (*SubscribeSuccess) String ¶
func (m *SubscribeSuccess) String() string
func (*SubscribeSuccess) XXX_DiscardUnknown ¶
func (m *SubscribeSuccess) XXX_DiscardUnknown()
func (*SubscribeSuccess) XXX_Marshal ¶
func (m *SubscribeSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeSuccess) XXX_Merge ¶
func (m *SubscribeSuccess) XXX_Merge(src proto.Message)
func (*SubscribeSuccess) XXX_Size ¶
func (m *SubscribeSuccess) XXX_Size() int
func (*SubscribeSuccess) XXX_Unmarshal ¶
func (m *SubscribeSuccess) XXX_Unmarshal(b []byte) error
type TermsRequest ¶
type TermsRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TermsRequest) Descriptor ¶
func (*TermsRequest) Descriptor() ([]byte, []int)
func (*TermsRequest) ProtoMessage ¶
func (*TermsRequest) ProtoMessage()
func (*TermsRequest) Reset ¶
func (m *TermsRequest) Reset()
func (*TermsRequest) String ¶
func (m *TermsRequest) String() string
func (*TermsRequest) XXX_DiscardUnknown ¶
func (m *TermsRequest) XXX_DiscardUnknown()
func (*TermsRequest) XXX_Marshal ¶
func (m *TermsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TermsRequest) XXX_Merge ¶
func (m *TermsRequest) XXX_Merge(src proto.Message)
func (*TermsRequest) XXX_Size ¶
func (m *TermsRequest) XXX_Size() int
func (*TermsRequest) XXX_Unmarshal ¶
func (m *TermsRequest) XXX_Unmarshal(b []byte) error
type TermsResponse ¶
type TermsResponse struct {
//
//The maximum account size in satoshis currently allowed by the auctioneer.
MaxAccountValue uint64 `protobuf:"varint,1,opt,name=max_account_value,json=maxAccountValue,proto3" json:"max_account_value,omitempty"`
//
//Deprecated, use explicit order duration from lease_duration_buckets.
MaxOrderDurationBlocks uint32 `` // Deprecated: Do not use.
/* 132-byte string literal not displayed */
//
//The execution fee charged per matched order.
ExecutionFee *ExecutionFee `protobuf:"bytes,3,opt,name=execution_fee,json=executionFee,proto3" json:"execution_fee,omitempty"`
//
//Deprecated, use lease_duration_buckets.
LeaseDurations map[uint32]bool `` // Deprecated: Do not use.
/* 193-byte string literal not displayed */
// The confirmation target to use for fee estimation of the next batch.
NextBatchConfTarget uint32 `protobuf:"varint,5,opt,name=next_batch_conf_target,json=nextBatchConfTarget,proto3" json:"next_batch_conf_target,omitempty"`
//
//The fee rate, in satoshis per kiloweight, estimated to use for the next
//batch.
NextBatchFeeRateSatPerKw uint64 `` /* 144-byte string literal not displayed */
//
//The absolute unix timestamp at which the auctioneer will attempt to clear
//the next batch.
NextBatchClearTimestamp uint64 `` /* 135-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]DurationBucketState `` /* 246-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TermsResponse) Descriptor ¶
func (*TermsResponse) Descriptor() ([]byte, []int)
func (*TermsResponse) GetExecutionFee ¶
func (m *TermsResponse) GetExecutionFee() *ExecutionFee
func (*TermsResponse) GetLeaseDurationBuckets ¶
func (m *TermsResponse) GetLeaseDurationBuckets() map[uint32]DurationBucketState
func (*TermsResponse) GetLeaseDurations
deprecated
func (m *TermsResponse) GetLeaseDurations() map[uint32]bool
Deprecated: Do not use.
func (*TermsResponse) GetMaxAccountValue ¶
func (m *TermsResponse) GetMaxAccountValue() uint64
func (*TermsResponse) GetMaxOrderDurationBlocks
deprecated
func (m *TermsResponse) GetMaxOrderDurationBlocks() uint32
Deprecated: Do not use.
func (*TermsResponse) GetNextBatchClearTimestamp ¶
func (m *TermsResponse) GetNextBatchClearTimestamp() uint64
func (*TermsResponse) GetNextBatchConfTarget ¶
func (m *TermsResponse) GetNextBatchConfTarget() uint32
func (*TermsResponse) GetNextBatchFeeRateSatPerKw ¶
func (m *TermsResponse) GetNextBatchFeeRateSatPerKw() uint64
func (*TermsResponse) ProtoMessage ¶
func (*TermsResponse) ProtoMessage()
func (*TermsResponse) Reset ¶
func (m *TermsResponse) Reset()
func (*TermsResponse) String ¶
func (m *TermsResponse) String() string
func (*TermsResponse) XXX_DiscardUnknown ¶
func (m *TermsResponse) XXX_DiscardUnknown()
func (*TermsResponse) XXX_Marshal ¶
func (m *TermsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TermsResponse) XXX_Merge ¶
func (m *TermsResponse) XXX_Merge(src proto.Message)
func (*TermsResponse) XXX_Size ¶
func (m *TermsResponse) XXX_Size() int
func (*TermsResponse) XXX_Unmarshal ¶
func (m *TermsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedChannelAuctioneerServer ¶
type UnimplementedChannelAuctioneerServer struct {
}
UnimplementedChannelAuctioneerServer can be embedded to have forward compatible implementations.
func (*UnimplementedChannelAuctioneerServer) BatchSnapshot ¶
func (*UnimplementedChannelAuctioneerServer) BatchSnapshot(ctx context.Context, req *BatchSnapshotRequest) (*BatchSnapshotResponse, error)
func (*UnimplementedChannelAuctioneerServer) BatchSnapshots ¶
func (*UnimplementedChannelAuctioneerServer) BatchSnapshots(ctx context.Context, req *BatchSnapshotsRequest) (*BatchSnapshotsResponse, error)
func (*UnimplementedChannelAuctioneerServer) CancelOrder ¶
func (*UnimplementedChannelAuctioneerServer) CancelOrder(ctx context.Context, req *ServerCancelOrderRequest) (*ServerCancelOrderResponse, error)
func (*UnimplementedChannelAuctioneerServer) InitAccount ¶
func (*UnimplementedChannelAuctioneerServer) InitAccount(ctx context.Context, req *ServerInitAccountRequest) (*ServerInitAccountResponse, error)
func (*UnimplementedChannelAuctioneerServer) MarketInfo ¶
func (*UnimplementedChannelAuctioneerServer) MarketInfo(ctx context.Context, req *MarketInfoRequest) (*MarketInfoResponse, error)
func (*UnimplementedChannelAuctioneerServer) ModifyAccount ¶
func (*UnimplementedChannelAuctioneerServer) ModifyAccount(ctx context.Context, req *ServerModifyAccountRequest) (*ServerModifyAccountResponse, error)
func (*UnimplementedChannelAuctioneerServer) NodeRating ¶
func (*UnimplementedChannelAuctioneerServer) NodeRating(ctx context.Context, req *ServerNodeRatingRequest) (*ServerNodeRatingResponse, error)
func (*UnimplementedChannelAuctioneerServer) OrderState ¶
func (*UnimplementedChannelAuctioneerServer) OrderState(ctx context.Context, req *ServerOrderStateRequest) (*ServerOrderStateResponse, error)
func (*UnimplementedChannelAuctioneerServer) RelevantBatchSnapshot ¶
func (*UnimplementedChannelAuctioneerServer) RelevantBatchSnapshot(ctx context.Context, req *RelevantBatchRequest) (*RelevantBatch, error)
func (*UnimplementedChannelAuctioneerServer) ReserveAccount ¶
func (*UnimplementedChannelAuctioneerServer) ReserveAccount(ctx context.Context, req *ReserveAccountRequest) (*ReserveAccountResponse, error)
func (*UnimplementedChannelAuctioneerServer) SubmitOrder ¶
func (*UnimplementedChannelAuctioneerServer) SubmitOrder(ctx context.Context, req *ServerSubmitOrderRequest) (*ServerSubmitOrderResponse, error)
func (*UnimplementedChannelAuctioneerServer) SubscribeBatchAuction ¶
func (*UnimplementedChannelAuctioneerServer) SubscribeBatchAuction(srv ChannelAuctioneer_SubscribeBatchAuctionServer) error
func (*UnimplementedChannelAuctioneerServer) SubscribeSidecar ¶
func (*UnimplementedChannelAuctioneerServer) SubscribeSidecar(srv ChannelAuctioneer_SubscribeSidecarServer) error
func (*UnimplementedChannelAuctioneerServer) Terms ¶
func (*UnimplementedChannelAuctioneerServer) Terms(ctx context.Context, req *TermsRequest) (*TermsResponse, error)
type UnimplementedHashMailServer ¶
type UnimplementedHashMailServer struct {
}
UnimplementedHashMailServer can be embedded to have forward compatible implementations.
func (*UnimplementedHashMailServer) DelCipherBox ¶
func (*UnimplementedHashMailServer) DelCipherBox(ctx context.Context, req *CipherBoxAuth) (*DelCipherBoxResp, error)
func (*UnimplementedHashMailServer) NewCipherBox ¶
func (*UnimplementedHashMailServer) NewCipherBox(ctx context.Context, req *CipherBoxAuth) (*CipherInitResp, error)
func (*UnimplementedHashMailServer) RecvStream ¶
func (*UnimplementedHashMailServer) RecvStream(req *CipherBoxDesc, srv HashMail_RecvStreamServer) error
func (*UnimplementedHashMailServer) SendStream ¶
func (*UnimplementedHashMailServer) SendStream(srv HashMail_SendStreamServer) error