auctioneerrpc

package module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ChannelType_name = map[int32]string{
		0: "TWEAKLESS",
		1: "ANCHORS",
		2: "SCRIPT_ENFORCED_LEASE",
	}
	ChannelType_value = map[string]int32{
		"TWEAKLESS":             0,
		"ANCHORS":               1,
		"SCRIPT_ENFORCED_LEASE": 2,
	}
)

Enum value maps for ChannelType.

View Source
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",
		6: "STATE_EXPIRED_PENDING_UPDATE",
	}
	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,
		"STATE_EXPIRED_PENDING_UPDATE": 6,
	}
)

Enum value maps for AuctionAccountState.

View Source
var (
	OrderChannelType_name = map[int32]string{
		0: "ORDER_CHANNEL_TYPE_UNKNOWN",
		1: "ORDER_CHANNEL_TYPE_PEER_DEPENDENT",
		2: "ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED",
	}
	OrderChannelType_value = map[string]int32{
		"ORDER_CHANNEL_TYPE_UNKNOWN":         0,
		"ORDER_CHANNEL_TYPE_PEER_DEPENDENT":  1,
		"ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED": 2,
	}
)

Enum value maps for OrderChannelType.

View Source
var (
	AuctionType_name = map[int32]string{
		0: "AUCTION_TYPE_BTC_INBOUND_LIQUIDITY",
		1: "AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY",
	}
	AuctionType_value = map[string]int32{
		"AUCTION_TYPE_BTC_INBOUND_LIQUIDITY":  0,
		"AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY": 1,
	}
)

Enum value maps for AuctionType.

View Source
var (
	NodeTier_name = map[int32]string{
		0: "TIER_DEFAULT",
		1: "TIER_0",
		2: "TIER_1",
	}
	NodeTier_value = map[string]int32{
		"TIER_DEFAULT": 0,
		"TIER_0":       1,
		"TIER_1":       2,
	}
)

Enum value maps for NodeTier.

View Source
var (
	ChannelAnnouncementConstraints_name = map[int32]string{
		0: "ANNOUNCEMENT_NO_PREFERENCE",
		1: "ONLY_ANNOUNCED",
		2: "ONLY_UNANNOUNCED",
	}
	ChannelAnnouncementConstraints_value = map[string]int32{
		"ANNOUNCEMENT_NO_PREFERENCE": 0,
		"ONLY_ANNOUNCED":             1,
		"ONLY_UNANNOUNCED":           2,
	}
)

Enum value maps for ChannelAnnouncementConstraints.

View Source
var (
	ChannelConfirmationConstraints_name = map[int32]string{
		0: "CONFIRMATION_NO_PREFERENCE",
		1: "ONLY_CONFIRMED",
		2: "ONLY_ZEROCONF",
	}
	ChannelConfirmationConstraints_value = map[string]int32{
		"CONFIRMATION_NO_PREFERENCE": 0,
		"ONLY_CONFIRMED":             1,
		"ONLY_ZEROCONF":              2,
	}
)

Enum value maps for ChannelConfirmationConstraints.

View Source
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",
	}
	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,
	}
)

Enum value maps for OrderState.

View Source
var (
	DurationBucketState_name = map[int32]string{
		0: "NO_MARKET",
		1: "MARKET_CLOSED",
		2: "ACCEPTING_ORDERS",
		3: "MARKET_OPEN",
	}
	DurationBucketState_value = map[string]int32{
		"NO_MARKET":        0,
		"MARKET_CLOSED":    1,
		"ACCEPTING_ORDERS": 2,
		"MARKET_OPEN":      3,
	}
)

Enum value maps for DurationBucketState.

View Source
var (
	OrderMatchReject_RejectReason_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVER_MISBEHAVIOR",
		2: "BATCH_VERSION_MISMATCH",
		3: "PARTIAL_REJECT",
	}
	OrderMatchReject_RejectReason_value = map[string]int32{
		"UNKNOWN":                0,
		"SERVER_MISBEHAVIOR":     1,
		"BATCH_VERSION_MISMATCH": 2,
		"PARTIAL_REJECT":         3,
	}
)

Enum value maps for OrderMatchReject_RejectReason.

View Source
var (
	OrderReject_OrderRejectReason_name = map[int32]string{
		0: "DUPLICATE_PEER",
		1: "CHANNEL_FUNDING_FAILED",
	}
	OrderReject_OrderRejectReason_value = map[string]int32{
		"DUPLICATE_PEER":         0,
		"CHANNEL_FUNDING_FAILED": 1,
	}
)

Enum value maps for OrderReject_OrderRejectReason.

View Source
var (
	SubscribeError_Error_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVER_SHUTDOWN",
		2: "ACCOUNT_DOES_NOT_EXIST",
		3: "INCOMPLETE_ACCOUNT_RESERVATION",
	}
	SubscribeError_Error_value = map[string]int32{
		"UNKNOWN":                        0,
		"SERVER_SHUTDOWN":                1,
		"ACCOUNT_DOES_NOT_EXIST":         2,
		"INCOMPLETE_ACCOUNT_RESERVATION": 3,
	}
)

Enum value maps for SubscribeError_Error.

View Source
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",
	}
	AccountDiff_AccountState_value = map[string]int32{
		"OUTPUT_RECREATED":              0,
		"OUTPUT_DUST_EXTENDED_OFFCHAIN": 1,
		"OUTPUT_DUST_ADDED_TO_FEES":     2,
		"OUTPUT_FULLY_SPENT":            3,
	}
)

Enum value maps for AccountDiff_AccountState.

View Source
var (
	InvalidOrder_FailReason_name = map[int32]string{
		0: "INVALID_AMT",
	}
	InvalidOrder_FailReason_value = map[string]int32{
		"INVALID_AMT": 0,
	}
)

Enum value maps for InvalidOrder_FailReason.

View Source
var ChannelAuctioneer_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "poolrpc.ChannelAuctioneer",
	HandlerType: (*ChannelAuctioneerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReserveAccount",
			Handler:    _ChannelAuctioneer_ReserveAccount_Handler,
		},
		{
			MethodName: "InitAccount",
			Handler:    _ChannelAuctioneer_InitAccount_Handler,
		},
		{
			MethodName: "ModifyAccount",
			Handler:    _ChannelAuctioneer_ModifyAccount_Handler,
		},
		{
			MethodName: "SubmitOrder",
			Handler:    _ChannelAuctioneer_SubmitOrder_Handler,
		},
		{
			MethodName: "CancelOrder",
			Handler:    _ChannelAuctioneer_CancelOrder_Handler,
		},
		{
			MethodName: "OrderState",
			Handler:    _ChannelAuctioneer_OrderState_Handler,
		},
		{
			MethodName: "Terms",
			Handler:    _ChannelAuctioneer_Terms_Handler,
		},
		{
			MethodName: "RelevantBatchSnapshot",
			Handler:    _ChannelAuctioneer_RelevantBatchSnapshot_Handler,
		},
		{
			MethodName: "BatchSnapshot",
			Handler:    _ChannelAuctioneer_BatchSnapshot_Handler,
		},
		{
			MethodName: "NodeRating",
			Handler:    _ChannelAuctioneer_NodeRating_Handler,
		},
		{
			MethodName: "BatchSnapshots",
			Handler:    _ChannelAuctioneer_BatchSnapshots_Handler,
		},
		{
			MethodName: "MarketInfo",
			Handler:    _ChannelAuctioneer_MarketInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeBatchAuction",
			Handler:       _ChannelAuctioneer_SubscribeBatchAuction_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SubscribeSidecar",
			Handler:       _ChannelAuctioneer_SubscribeSidecar_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "auctioneer.proto",
}

ChannelAuctioneer_ServiceDesc is the grpc.ServiceDesc for ChannelAuctioneer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_auctioneer_proto protoreflect.FileDescriptor
View Source
var File_hashmail_proto protoreflect.FileDescriptor
View Source
var HashMail_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "poolrpc.HashMail",
	HandlerType: (*HashMailServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NewCipherBox",
			Handler:    _HashMail_NewCipherBox_Handler,
		},
		{
			MethodName: "DelCipherBox",
			Handler:    _HashMail_DelCipherBox_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendStream",
			Handler:       _HashMail_SendStream_Handler,
			ClientStreams: true,
		},
		{
			StreamName:    "RecvStream",
			Handler:       _HashMail_RecvStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "hashmail.proto",
}

HashMail_ServiceDesc is the grpc.ServiceDesc for HashMail service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterChannelAuctioneerServer

func RegisterChannelAuctioneerServer(s grpc.ServiceRegistrar, srv ChannelAuctioneerServer)

func RegisterHashMailServer

func RegisterHashMailServer(s grpc.ServiceRegistrar, 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"`
	// contains filtered or unexported fields
}

func (*AccountCommitment) Descriptor deprecated

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

Deprecated: Use AccountCommitment.ProtoReflect.Descriptor instead.

func (*AccountCommitment) GetBatchVersion

func (x *AccountCommitment) GetBatchVersion() uint32

func (*AccountCommitment) GetCommitHash

func (x *AccountCommitment) GetCommitHash() []byte

func (*AccountCommitment) ProtoMessage

func (*AccountCommitment) ProtoMessage()

func (*AccountCommitment) ProtoReflect added in v1.0.3

func (x *AccountCommitment) ProtoReflect() protoreflect.Message

func (*AccountCommitment) Reset

func (x *AccountCommitment) Reset()

func (*AccountCommitment) String

func (x *AccountCommitment) String() string

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"`
	// The new account expiry height used to verify the batch. If the batch is
	// successfully executed the account must update its expiry height to this
	// value.
	NewExpiry uint32 `protobuf:"varint,5,opt,name=new_expiry,json=newExpiry,proto3" json:"new_expiry,omitempty"`
	// The new account version used to verify the batch. If this is non-zero, it
	// means the account was automatically upgraded to the given version during the
	// batch execution.
	NewVersion uint32 `protobuf:"varint,6,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountDiff) Descriptor deprecated

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

Deprecated: Use AccountDiff.ProtoReflect.Descriptor instead.

func (*AccountDiff) GetEndingBalance

func (x *AccountDiff) GetEndingBalance() uint64

func (*AccountDiff) GetEndingState

func (x *AccountDiff) GetEndingState() AccountDiff_AccountState

func (*AccountDiff) GetNewExpiry added in v1.0.5

func (x *AccountDiff) GetNewExpiry() uint32

func (*AccountDiff) GetNewVersion added in v1.1.0

func (x *AccountDiff) GetNewVersion() uint32

func (*AccountDiff) GetOutpointIndex

func (x *AccountDiff) GetOutpointIndex() int32

func (*AccountDiff) GetTraderKey

func (x *AccountDiff) GetTraderKey() []byte

func (*AccountDiff) ProtoMessage

func (*AccountDiff) ProtoMessage()

func (*AccountDiff) ProtoReflect added in v1.0.3

func (x *AccountDiff) ProtoReflect() protoreflect.Message

func (*AccountDiff) Reset

func (x *AccountDiff) Reset()

func (*AccountDiff) String

func (x *AccountDiff) String() string

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) Descriptor added in v1.0.3

func (AccountDiff_AccountState) Enum added in v1.0.3

func (AccountDiff_AccountState) EnumDescriptor deprecated

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

Deprecated: Use AccountDiff_AccountState.Descriptor instead.

func (AccountDiff_AccountState) Number added in v1.0.3

func (AccountDiff_AccountState) String

func (x AccountDiff_AccountState) String() string

func (AccountDiff_AccountState) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*AccountRecovery) Descriptor deprecated

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

Deprecated: Use AccountRecovery.ProtoReflect.Descriptor instead.

func (*AccountRecovery) GetTraderKey

func (x *AccountRecovery) GetTraderKey() []byte

func (*AccountRecovery) ProtoMessage

func (*AccountRecovery) ProtoMessage()

func (*AccountRecovery) ProtoReflect added in v1.0.3

func (x *AccountRecovery) ProtoReflect() protoreflect.Message

func (*AccountRecovery) Reset

func (x *AccountRecovery) Reset()

func (*AccountRecovery) String

func (x *AccountRecovery) String() string

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"`
	// contains filtered or unexported fields
}

func (*AccountSubscription) Descriptor deprecated

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

Deprecated: Use AccountSubscription.ProtoReflect.Descriptor instead.

func (*AccountSubscription) GetAuthSig

func (x *AccountSubscription) GetAuthSig() []byte

func (*AccountSubscription) GetCommitNonce

func (x *AccountSubscription) GetCommitNonce() []byte

func (*AccountSubscription) GetTraderKey

func (x *AccountSubscription) GetTraderKey() []byte

func (*AccountSubscription) ProtoMessage

func (*AccountSubscription) ProtoMessage()

func (*AccountSubscription) ProtoReflect added in v1.0.3

func (x *AccountSubscription) ProtoReflect() protoreflect.Message

func (*AccountSubscription) Reset

func (x *AccountSubscription) Reset()

func (*AccountSubscription) String

func (x *AccountSubscription) String() string

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 OrderChannelType `protobuf:"varint,4,opt,name=chan_type,json=chanType,proto3,enum=poolrpc.OrderChannelType" json:"chan_type,omitempty"`
	// contains filtered or unexported fields
}

func (*AskSnapshot) Descriptor deprecated

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

Deprecated: Use AskSnapshot.ProtoReflect.Descriptor instead.

func (*AskSnapshot) GetChanType

func (x *AskSnapshot) GetChanType() OrderChannelType

func (*AskSnapshot) GetLeaseDurationBlocks

func (x *AskSnapshot) GetLeaseDurationBlocks() uint32

func (*AskSnapshot) GetRateFixed

func (x *AskSnapshot) GetRateFixed() uint32

func (*AskSnapshot) GetVersion

func (x *AskSnapshot) GetVersion() uint32

func (*AskSnapshot) ProtoMessage

func (*AskSnapshot) ProtoMessage()

func (*AskSnapshot) ProtoReflect added in v1.0.3

func (x *AskSnapshot) ProtoReflect() protoreflect.Message

func (*AskSnapshot) Reset

func (x *AskSnapshot) Reset()

func (*AskSnapshot) String

func (x *AskSnapshot) String() string

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"`
	// The account version. Will be set to 0 for legacy (non-taproot) accounts.
	Version uint32 `protobuf:"varint,10,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*AuctionAccount) Descriptor deprecated

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

Deprecated: Use AuctionAccount.ProtoReflect.Descriptor instead.

func (*AuctionAccount) GetAuctioneerKey

func (x *AuctionAccount) GetAuctioneerKey() []byte

func (*AuctionAccount) GetBatchKey

func (x *AuctionAccount) GetBatchKey() []byte

func (*AuctionAccount) GetExpiry

func (x *AuctionAccount) GetExpiry() uint32

func (*AuctionAccount) GetHeightHint

func (x *AuctionAccount) GetHeightHint() uint32

func (*AuctionAccount) GetLatestTx

func (x *AuctionAccount) GetLatestTx() []byte

func (*AuctionAccount) GetOutpoint

func (x *AuctionAccount) GetOutpoint() *OutPoint

func (*AuctionAccount) GetState

func (x *AuctionAccount) GetState() AuctionAccountState

func (*AuctionAccount) GetTraderKey

func (x *AuctionAccount) GetTraderKey() []byte

func (*AuctionAccount) GetValue

func (x *AuctionAccount) GetValue() uint64

func (*AuctionAccount) GetVersion added in v1.1.0

func (x *AuctionAccount) GetVersion() uint32

func (*AuctionAccount) ProtoMessage

func (*AuctionAccount) ProtoMessage()

func (*AuctionAccount) ProtoReflect added in v1.0.3

func (x *AuctionAccount) ProtoReflect() protoreflect.Message

func (*AuctionAccount) Reset

func (x *AuctionAccount) Reset()

func (*AuctionAccount) String

func (x *AuctionAccount) String() string

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
	// The account has reached the expiration height while it had a pending update
	// that hasn't yet confirmed. This allows accounts to be renewed once
	// confirmed and expired.
	AuctionAccountState_STATE_EXPIRED_PENDING_UPDATE AuctionAccountState = 6
)

func (AuctionAccountState) Descriptor added in v1.0.3

func (AuctionAccountState) Enum added in v1.0.3

func (AuctionAccountState) EnumDescriptor deprecated

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

Deprecated: Use AuctionAccountState.Descriptor instead.

func (AuctionAccountState) Number added in v1.0.3

func (AuctionAccountState) String

func (x AuctionAccountState) String() string

func (AuctionAccountState) Type added in v1.0.3

type AuctionType added in v1.1.0

type AuctionType int32
const (
	// Default auction type where the bidder is paying for getting bitcoin inbound
	// liqiudity from the asker.
	AuctionType_AUCTION_TYPE_BTC_INBOUND_LIQUIDITY AuctionType = 0
	// Auction type where the bidder is paying the asker to accept a channel
	// (bitcoin outbound liquidity) from the bidder.
	AuctionType_AUCTION_TYPE_BTC_OUTBOUND_LIQUIDITY AuctionType = 1
)

func (AuctionType) Descriptor added in v1.1.0

func (AuctionType) Enum added in v1.1.0

func (x AuctionType) Enum() *AuctionType

func (AuctionType) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use AuctionType.Descriptor instead.

func (AuctionType) Number added in v1.1.0

func (x AuctionType) Number() protoreflect.EnumNumber

func (AuctionType) String added in v1.1.0

func (x AuctionType) String() string

func (AuctionType) Type added in v1.1.0

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"`
	// contains filtered or unexported fields
}

func (*BatchSnapshotRequest) Descriptor deprecated

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

Deprecated: Use BatchSnapshotRequest.ProtoReflect.Descriptor instead.

func (*BatchSnapshotRequest) GetBatchId

func (x *BatchSnapshotRequest) GetBatchId() []byte

func (*BatchSnapshotRequest) ProtoMessage

func (*BatchSnapshotRequest) ProtoMessage()

func (*BatchSnapshotRequest) ProtoReflect added in v1.0.3

func (x *BatchSnapshotRequest) ProtoReflect() protoreflect.Message

func (*BatchSnapshotRequest) Reset

func (x *BatchSnapshotRequest) Reset()

func (*BatchSnapshotRequest) String

func (x *BatchSnapshotRequest) String() string

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.
	//
	// Deprecated: Do not use.
	ClearingPriceRate uint32 `protobuf:"varint,4,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"`
	// Deprecated, use matched_markets.
	//
	// Deprecated: Do not use.
	MatchedOrders []*MatchedOrderSnapshot `protobuf:"bytes,5,rep,name=matched_orders,json=matchedOrders,proto3" json:"matched_orders,omitempty"`
	// 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 */
	// contains filtered or unexported fields
}

func (*BatchSnapshotResponse) Descriptor deprecated

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

Deprecated: Use BatchSnapshotResponse.ProtoReflect.Descriptor instead.

func (*BatchSnapshotResponse) GetBatchId

func (x *BatchSnapshotResponse) GetBatchId() []byte

func (*BatchSnapshotResponse) GetBatchTx

func (x *BatchSnapshotResponse) GetBatchTx() []byte

func (*BatchSnapshotResponse) GetBatchTxFeeRateSatPerKw

func (x *BatchSnapshotResponse) GetBatchTxFeeRateSatPerKw() uint64

func (*BatchSnapshotResponse) GetBatchTxId

func (x *BatchSnapshotResponse) GetBatchTxId() string

func (*BatchSnapshotResponse) GetClearingPriceRate deprecated

func (x *BatchSnapshotResponse) GetClearingPriceRate() uint32

Deprecated: Do not use.

func (*BatchSnapshotResponse) GetCreationTimestampNs

func (x *BatchSnapshotResponse) GetCreationTimestampNs() uint64

func (*BatchSnapshotResponse) GetMatchedMarkets

func (x *BatchSnapshotResponse) GetMatchedMarkets() map[uint32]*MatchedMarketSnapshot

func (*BatchSnapshotResponse) GetMatchedOrders deprecated

func (x *BatchSnapshotResponse) GetMatchedOrders() []*MatchedOrderSnapshot

Deprecated: Do not use.

func (*BatchSnapshotResponse) GetPrevBatchId

func (x *BatchSnapshotResponse) GetPrevBatchId() []byte

func (*BatchSnapshotResponse) GetVersion

func (x *BatchSnapshotResponse) GetVersion() uint32

func (*BatchSnapshotResponse) ProtoMessage

func (*BatchSnapshotResponse) ProtoMessage()

func (*BatchSnapshotResponse) ProtoReflect added in v1.0.3

func (x *BatchSnapshotResponse) ProtoReflect() protoreflect.Message

func (*BatchSnapshotResponse) Reset

func (x *BatchSnapshotResponse) Reset()

func (*BatchSnapshotResponse) String

func (x *BatchSnapshotResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*BatchSnapshotsRequest) Descriptor deprecated

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

Deprecated: Use BatchSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*BatchSnapshotsRequest) GetNumBatchesBack

func (x *BatchSnapshotsRequest) GetNumBatchesBack() uint32

func (*BatchSnapshotsRequest) GetStartBatchId

func (x *BatchSnapshotsRequest) GetStartBatchId() []byte

func (*BatchSnapshotsRequest) ProtoMessage

func (*BatchSnapshotsRequest) ProtoMessage()

func (*BatchSnapshotsRequest) ProtoReflect added in v1.0.3

func (x *BatchSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*BatchSnapshotsRequest) Reset

func (x *BatchSnapshotsRequest) Reset()

func (*BatchSnapshotsRequest) String

func (x *BatchSnapshotsRequest) String() string

type BatchSnapshotsResponse

type BatchSnapshotsResponse struct {

	// The list of batches requested.
	Batches []*BatchSnapshotResponse `protobuf:"bytes,1,rep,name=batches,proto3" json:"batches,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchSnapshotsResponse) Descriptor deprecated

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

Deprecated: Use BatchSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*BatchSnapshotsResponse) GetBatches

func (x *BatchSnapshotsResponse) GetBatches() []*BatchSnapshotResponse

func (*BatchSnapshotsResponse) ProtoMessage

func (*BatchSnapshotsResponse) ProtoMessage()

func (*BatchSnapshotsResponse) ProtoReflect added in v1.0.3

func (x *BatchSnapshotsResponse) ProtoReflect() protoreflect.Message

func (*BatchSnapshotsResponse) Reset

func (x *BatchSnapshotsResponse) Reset()

func (*BatchSnapshotsResponse) String

func (x *BatchSnapshotsResponse) String() string

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 OrderChannelType `protobuf:"varint,4,opt,name=chan_type,json=chanType,proto3,enum=poolrpc.OrderChannelType" json:"chan_type,omitempty"`
	// contains filtered or unexported fields
}

func (*BidSnapshot) Descriptor deprecated

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

Deprecated: Use BidSnapshot.ProtoReflect.Descriptor instead.

func (*BidSnapshot) GetChanType

func (x *BidSnapshot) GetChanType() OrderChannelType

func (*BidSnapshot) GetLeaseDurationBlocks

func (x *BidSnapshot) GetLeaseDurationBlocks() uint32

func (*BidSnapshot) GetRateFixed

func (x *BidSnapshot) GetRateFixed() uint32

func (*BidSnapshot) GetVersion

func (x *BidSnapshot) GetVersion() uint32

func (*BidSnapshot) ProtoMessage

func (*BidSnapshot) ProtoMessage()

func (*BidSnapshot) ProtoReflect added in v1.0.3

func (x *BidSnapshot) ProtoReflect() protoreflect.Message

func (*BidSnapshot) Reset

func (x *BidSnapshot) Reset()

func (*BidSnapshot) String

func (x *BidSnapshot) String() string

type CancelOrder

type CancelOrder struct {
	OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelOrder) Descriptor deprecated

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

Deprecated: Use CancelOrder.ProtoReflect.Descriptor instead.

func (*CancelOrder) GetOrderNonce

func (x *CancelOrder) GetOrderNonce() []byte

func (*CancelOrder) ProtoMessage

func (*CancelOrder) ProtoMessage()

func (*CancelOrder) ProtoReflect added in v1.0.3

func (x *CancelOrder) ProtoReflect() protoreflect.Message

func (*CancelOrder) Reset

func (x *CancelOrder) Reset()

func (*CancelOrder) String

func (x *CancelOrder) String() string

type ChannelAnnouncementConstraints added in v1.1.0

type ChannelAnnouncementConstraints int32

Channel announcement constraints for matched channels.

const (
	ChannelAnnouncementConstraints_ANNOUNCEMENT_NO_PREFERENCE ChannelAnnouncementConstraints = 0
	ChannelAnnouncementConstraints_ONLY_ANNOUNCED             ChannelAnnouncementConstraints = 1
	ChannelAnnouncementConstraints_ONLY_UNANNOUNCED           ChannelAnnouncementConstraints = 2
)

func (ChannelAnnouncementConstraints) Descriptor added in v1.1.0

func (ChannelAnnouncementConstraints) Enum added in v1.1.0

func (ChannelAnnouncementConstraints) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use ChannelAnnouncementConstraints.Descriptor instead.

func (ChannelAnnouncementConstraints) Number added in v1.1.0

func (ChannelAnnouncementConstraints) String added in v1.1.0

func (ChannelAnnouncementConstraints) Type added in v1.1.0

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ChannelAuctioneerServer

ChannelAuctioneerServer is the server API for ChannelAuctioneer service. All implementations must embed UnimplementedChannelAuctioneerServer for forward compatibility

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 ChannelConfirmationConstraints added in v1.1.0

type ChannelConfirmationConstraints int32

Channel confirmation constraints for matched channels.

const (
	ChannelConfirmationConstraints_CONFIRMATION_NO_PREFERENCE ChannelConfirmationConstraints = 0
	ChannelConfirmationConstraints_ONLY_CONFIRMED             ChannelConfirmationConstraints = 1
	ChannelConfirmationConstraints_ONLY_ZEROCONF              ChannelConfirmationConstraints = 2
)

func (ChannelConfirmationConstraints) Descriptor added in v1.1.0

func (ChannelConfirmationConstraints) Enum added in v1.1.0

func (ChannelConfirmationConstraints) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use ChannelConfirmationConstraints.Descriptor instead.

func (ChannelConfirmationConstraints) Number added in v1.1.0

func (ChannelConfirmationConstraints) String added in v1.1.0

func (ChannelConfirmationConstraints) Type added in v1.1.0

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 */
	// contains filtered or unexported fields
}

func (*ChannelInfo) Descriptor deprecated

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

Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.

func (*ChannelInfo) GetLocalNodeKey

func (x *ChannelInfo) GetLocalNodeKey() []byte

func (*ChannelInfo) GetLocalPaymentBasePoint

func (x *ChannelInfo) GetLocalPaymentBasePoint() []byte

func (*ChannelInfo) GetRemoteNodeKey

func (x *ChannelInfo) GetRemoteNodeKey() []byte

func (*ChannelInfo) GetRemotePaymentBasePoint

func (x *ChannelInfo) GetRemotePaymentBasePoint() []byte

func (*ChannelInfo) GetType

func (x *ChannelInfo) GetType() ChannelType

func (*ChannelInfo) ProtoMessage

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) ProtoReflect added in v1.0.3

func (x *ChannelInfo) ProtoReflect() protoreflect.Message

func (*ChannelInfo) Reset

func (x *ChannelInfo) Reset()

func (*ChannelInfo) String

func (x *ChannelInfo) String() string

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
	// The channel build upon the anchor-based commitment and requires an
	// additional CLTV of the channel lease maturity on any commitment and HTLC
	// outputs that pay directly to the channel initiator (the seller).
	ChannelType_SCRIPT_ENFORCED_LEASE ChannelType = 2
)

func (ChannelType) Descriptor added in v1.0.3

func (ChannelType) Enum added in v1.0.3

func (x ChannelType) Enum() *ChannelType

func (ChannelType) EnumDescriptor deprecated

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

Deprecated: Use ChannelType.Descriptor instead.

func (ChannelType) Number added in v1.0.3

func (x ChannelType) Number() protoreflect.EnumNumber

func (ChannelType) String

func (x ChannelType) String() string

func (ChannelType) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*CipherBox) Descriptor deprecated

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

Deprecated: Use CipherBox.ProtoReflect.Descriptor instead.

func (*CipherBox) GetDesc

func (x *CipherBox) GetDesc() *CipherBoxDesc

func (*CipherBox) GetMsg

func (x *CipherBox) GetMsg() []byte

func (*CipherBox) ProtoMessage

func (*CipherBox) ProtoMessage()

func (*CipherBox) ProtoReflect added in v1.0.3

func (x *CipherBox) ProtoReflect() protoreflect.Message

func (*CipherBox) Reset

func (x *CipherBox) Reset()

func (*CipherBox) String

func (x *CipherBox) String() string

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 assignable to Auth:
	//
	//	*CipherBoxAuth_AcctAuth
	//	*CipherBoxAuth_SidecarAuth
	Auth isCipherBoxAuth_Auth `protobuf_oneof:"auth"`
	// contains filtered or unexported fields
}

func (*CipherBoxAuth) Descriptor deprecated

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

Deprecated: Use CipherBoxAuth.ProtoReflect.Descriptor instead.

func (*CipherBoxAuth) GetAcctAuth

func (x *CipherBoxAuth) GetAcctAuth() *PoolAccountAuth

func (*CipherBoxAuth) GetAuth

func (m *CipherBoxAuth) GetAuth() isCipherBoxAuth_Auth

func (*CipherBoxAuth) GetDesc

func (x *CipherBoxAuth) GetDesc() *CipherBoxDesc

func (*CipherBoxAuth) GetSidecarAuth

func (x *CipherBoxAuth) GetSidecarAuth() *SidecarAuth

func (*CipherBoxAuth) ProtoMessage

func (*CipherBoxAuth) ProtoMessage()

func (*CipherBoxAuth) ProtoReflect added in v1.0.3

func (x *CipherBoxAuth) ProtoReflect() protoreflect.Message

func (*CipherBoxAuth) Reset

func (x *CipherBoxAuth) Reset()

func (*CipherBoxAuth) String

func (x *CipherBoxAuth) String() string

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"`
	// contains filtered or unexported fields
}

func (*CipherBoxDesc) Descriptor deprecated

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

Deprecated: Use CipherBoxDesc.ProtoReflect.Descriptor instead.

func (*CipherBoxDesc) GetStreamId

func (x *CipherBoxDesc) GetStreamId() []byte

func (*CipherBoxDesc) ProtoMessage

func (*CipherBoxDesc) ProtoMessage()

func (*CipherBoxDesc) ProtoReflect added in v1.0.3

func (x *CipherBoxDesc) ProtoReflect() protoreflect.Message

func (*CipherBoxDesc) Reset

func (x *CipherBoxDesc) Reset()

func (*CipherBoxDesc) String

func (x *CipherBoxDesc) String() string

type CipherChallenge

type CipherChallenge struct {
	// contains filtered or unexported fields
}

func (*CipherChallenge) Descriptor deprecated

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

Deprecated: Use CipherChallenge.ProtoReflect.Descriptor instead.

func (*CipherChallenge) ProtoMessage

func (*CipherChallenge) ProtoMessage()

func (*CipherChallenge) ProtoReflect added in v1.0.3

func (x *CipherChallenge) ProtoReflect() protoreflect.Message

func (*CipherChallenge) Reset

func (x *CipherChallenge) Reset()

func (*CipherChallenge) String

func (x *CipherChallenge) String() string

type CipherError

type CipherError struct {
	// contains filtered or unexported fields
}

func (*CipherError) Descriptor deprecated

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

Deprecated: Use CipherError.ProtoReflect.Descriptor instead.

func (*CipherError) ProtoMessage

func (*CipherError) ProtoMessage()

func (*CipherError) ProtoReflect added in v1.0.3

func (x *CipherError) ProtoReflect() protoreflect.Message

func (*CipherError) Reset

func (x *CipherError) Reset()

func (*CipherError) String

func (x *CipherError) String() string

type CipherInitResp

type CipherInitResp struct {

	// Types that are assignable to Resp:
	//
	//	*CipherInitResp_Success
	//	*CipherInitResp_Challenge
	//	*CipherInitResp_Error
	Resp isCipherInitResp_Resp `protobuf_oneof:"resp"`
	// contains filtered or unexported fields
}

func (*CipherInitResp) Descriptor deprecated

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

Deprecated: Use CipherInitResp.ProtoReflect.Descriptor instead.

func (*CipherInitResp) GetChallenge

func (x *CipherInitResp) GetChallenge() *CipherChallenge

func (*CipherInitResp) GetError

func (x *CipherInitResp) GetError() *CipherError

func (*CipherInitResp) GetResp

func (m *CipherInitResp) GetResp() isCipherInitResp_Resp

func (*CipherInitResp) GetSuccess

func (x *CipherInitResp) GetSuccess() *CipherSuccess

func (*CipherInitResp) ProtoMessage

func (*CipherInitResp) ProtoMessage()

func (*CipherInitResp) ProtoReflect added in v1.0.3

func (x *CipherInitResp) ProtoReflect() protoreflect.Message

func (*CipherInitResp) Reset

func (x *CipherInitResp) Reset()

func (*CipherInitResp) String

func (x *CipherInitResp) String() string

type CipherInitResp_Challenge

type CipherInitResp_Challenge struct {
	// CipherChallenge is returned if the authentication mechanism was revoked
	// or needs to be refreshed.
	Challenge *CipherChallenge `protobuf:"bytes,2,opt,name=challenge,proto3,oneof"`
}

type CipherInitResp_Error

type CipherInitResp_Error struct {
	// CipherError is returned if the authentication mechanism failed to
	// validate.
	Error *CipherError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type CipherInitResp_Success

type CipherInitResp_Success struct {
	// CipherSuccess is returned if the initialization of the cipher box was
	// successful.
	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"`
	// contains filtered or unexported fields
}

func (*CipherSuccess) Descriptor deprecated

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

Deprecated: Use CipherSuccess.ProtoReflect.Descriptor instead.

func (*CipherSuccess) GetDesc

func (x *CipherSuccess) GetDesc() *CipherBoxDesc

func (*CipherSuccess) ProtoMessage

func (*CipherSuccess) ProtoMessage()

func (*CipherSuccess) ProtoReflect added in v1.0.3

func (x *CipherSuccess) ProtoReflect() protoreflect.Message

func (*CipherSuccess) Reset

func (x *CipherSuccess) Reset()

func (*CipherSuccess) String

func (x *CipherSuccess) String() string

type ClientAuctionMessage

type ClientAuctionMessage struct {

	// Types that are assignable to Msg:
	//
	//	*ClientAuctionMessage_Commit
	//	*ClientAuctionMessage_Subscribe
	//	*ClientAuctionMessage_Accept
	//	*ClientAuctionMessage_Reject
	//	*ClientAuctionMessage_Sign
	//	*ClientAuctionMessage_Recover
	Msg isClientAuctionMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*ClientAuctionMessage) Descriptor deprecated

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

Deprecated: Use ClientAuctionMessage.ProtoReflect.Descriptor instead.

func (*ClientAuctionMessage) GetAccept

func (x *ClientAuctionMessage) GetAccept() *OrderMatchAccept

func (*ClientAuctionMessage) GetCommit

func (x *ClientAuctionMessage) GetCommit() *AccountCommitment

func (*ClientAuctionMessage) GetMsg

func (m *ClientAuctionMessage) GetMsg() isClientAuctionMessage_Msg

func (*ClientAuctionMessage) GetRecover

func (x *ClientAuctionMessage) GetRecover() *AccountRecovery

func (*ClientAuctionMessage) GetReject

func (x *ClientAuctionMessage) GetReject() *OrderMatchReject

func (*ClientAuctionMessage) GetSign

func (x *ClientAuctionMessage) GetSign() *OrderMatchSign

func (*ClientAuctionMessage) GetSubscribe

func (x *ClientAuctionMessage) GetSubscribe() *AccountSubscription

func (*ClientAuctionMessage) ProtoMessage

func (*ClientAuctionMessage) ProtoMessage()

func (*ClientAuctionMessage) ProtoReflect added in v1.0.3

func (x *ClientAuctionMessage) ProtoReflect() protoreflect.Message

func (*ClientAuctionMessage) Reset

func (x *ClientAuctionMessage) Reset()

func (*ClientAuctionMessage) String

func (x *ClientAuctionMessage) String() string

type ClientAuctionMessage_Accept

type ClientAuctionMessage_Accept struct {
	// Accept the orders to be matched.
	Accept *OrderMatchAccept `protobuf:"bytes,3,opt,name=accept,proto3,oneof"`
}

type ClientAuctionMessage_Commit

type ClientAuctionMessage_Commit struct {
	// Signal the intent to receive updates about a certain account and start
	// by sending the commitment part of the authentication handshake. This is
	// step 1 of the 3-way handshake.
	Commit *AccountCommitment `protobuf:"bytes,1,opt,name=commit,proto3,oneof"`
}

type ClientAuctionMessage_Recover

type ClientAuctionMessage_Recover struct {
	// The trader has lost its database and is trying to recover their
	// accounts. This message can be sent after the successful completion of
	// the 3-way authentication handshake where it will be established if the
	// account exists on the auctioneer's side. This message must only be sent
	// if the auctioneer knows of the account, otherwise it will regard it as a
	// critical error and terminate the connection.
	Recover *AccountRecovery `protobuf:"bytes,6,opt,name=recover,proto3,oneof"`
}

type ClientAuctionMessage_Reject

type ClientAuctionMessage_Reject struct {
	// Reject a whole batch.
	Reject *OrderMatchReject `protobuf:"bytes,4,opt,name=reject,proto3,oneof"`
}

type ClientAuctionMessage_Sign

type ClientAuctionMessage_Sign struct {
	// The channel funding negotiations with the matched peer were successful
	// and the inputs to spend from the accounts are now signed.
	Sign *OrderMatchSign `protobuf:"bytes,5,opt,name=sign,proto3,oneof"`
}

type ClientAuctionMessage_Subscribe

type ClientAuctionMessage_Subscribe struct {
	// Subscribe to update and interactive order execution events for account
	// given and all its orders. Contains the final signature and is step 3 of
	// the 3-way authentication handshake.
	Subscribe *AccountSubscription `protobuf:"bytes,2,opt,name=subscribe,proto3,oneof"`
}

type DelCipherBoxResp

type DelCipherBoxResp struct {
	// contains filtered or unexported fields
}

func (*DelCipherBoxResp) Descriptor deprecated

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

Deprecated: Use DelCipherBoxResp.ProtoReflect.Descriptor instead.

func (*DelCipherBoxResp) ProtoMessage

func (*DelCipherBoxResp) ProtoMessage()

func (*DelCipherBoxResp) ProtoReflect added in v1.0.3

func (x *DelCipherBoxResp) ProtoReflect() protoreflect.Message

func (*DelCipherBoxResp) Reset

func (x *DelCipherBoxResp) Reset()

func (*DelCipherBoxResp) String

func (x *DelCipherBoxResp) String() string

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) Descriptor added in v1.0.3

func (DurationBucketState) Enum added in v1.0.3

func (DurationBucketState) EnumDescriptor deprecated

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

Deprecated: Use DurationBucketState.Descriptor instead.

func (DurationBucketState) Number added in v1.0.3

func (DurationBucketState) String

func (x DurationBucketState) String() string

func (DurationBucketState) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*ExecutionFee) Descriptor deprecated

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

Deprecated: Use ExecutionFee.ProtoReflect.Descriptor instead.

func (*ExecutionFee) GetBaseFee

func (x *ExecutionFee) GetBaseFee() uint64

func (*ExecutionFee) GetFeeRate

func (x *ExecutionFee) GetFeeRate() uint64

func (*ExecutionFee) ProtoMessage

func (*ExecutionFee) ProtoMessage()

func (*ExecutionFee) ProtoReflect added in v1.0.3

func (x *ExecutionFee) ProtoReflect() protoreflect.Message

func (*ExecutionFee) Reset

func (x *ExecutionFee) Reset()

func (*ExecutionFee) String

func (x *ExecutionFee) String() string

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHashMailClient

func NewHashMailClient(cc grpc.ClientConnInterface) 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
	// contains filtered or unexported methods
}

HashMailServer is the server API for HashMail service. All implementations must embed UnimplementedHashMailServer for forward compatibility

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"`
	// contains filtered or unexported fields
}

func (*InvalidOrder) Descriptor deprecated

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

Deprecated: Use InvalidOrder.ProtoReflect.Descriptor instead.

func (*InvalidOrder) GetFailReason

func (x *InvalidOrder) GetFailReason() InvalidOrder_FailReason

func (*InvalidOrder) GetFailString

func (x *InvalidOrder) GetFailString() string

func (*InvalidOrder) GetOrderNonce

func (x *InvalidOrder) GetOrderNonce() []byte

func (*InvalidOrder) ProtoMessage

func (*InvalidOrder) ProtoMessage()

func (*InvalidOrder) ProtoReflect added in v1.0.3

func (x *InvalidOrder) ProtoReflect() protoreflect.Message

func (*InvalidOrder) Reset

func (x *InvalidOrder) Reset()

func (*InvalidOrder) String

func (x *InvalidOrder) String() string

type InvalidOrder_FailReason

type InvalidOrder_FailReason int32
const (
	InvalidOrder_INVALID_AMT InvalidOrder_FailReason = 0
)

func (InvalidOrder_FailReason) Descriptor added in v1.0.3

func (InvalidOrder_FailReason) Enum added in v1.0.3

func (InvalidOrder_FailReason) EnumDescriptor deprecated

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

Deprecated: Use InvalidOrder_FailReason.Descriptor instead.

func (InvalidOrder_FailReason) Number added in v1.0.3

func (InvalidOrder_FailReason) String

func (x InvalidOrder_FailReason) String() string

func (InvalidOrder_FailReason) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*MarketInfo) Descriptor deprecated

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

Deprecated: Use MarketInfo.ProtoReflect.Descriptor instead.

func (*MarketInfo) GetAskOpenInterestUnits

func (x *MarketInfo) GetAskOpenInterestUnits() []*MarketInfo_TierValue

func (*MarketInfo) GetBidOpenInterestUnits

func (x *MarketInfo) GetBidOpenInterestUnits() []*MarketInfo_TierValue

func (*MarketInfo) GetNumAsks

func (x *MarketInfo) GetNumAsks() []*MarketInfo_TierValue

func (*MarketInfo) GetNumBids

func (x *MarketInfo) GetNumBids() []*MarketInfo_TierValue

func (*MarketInfo) ProtoMessage

func (*MarketInfo) ProtoMessage()

func (*MarketInfo) ProtoReflect added in v1.0.3

func (x *MarketInfo) ProtoReflect() protoreflect.Message

func (*MarketInfo) Reset

func (x *MarketInfo) Reset()

func (*MarketInfo) String

func (x *MarketInfo) String() string

type MarketInfoRequest

type MarketInfoRequest struct {
	// contains filtered or unexported fields
}

func (*MarketInfoRequest) Descriptor deprecated

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

Deprecated: Use MarketInfoRequest.ProtoReflect.Descriptor instead.

func (*MarketInfoRequest) ProtoMessage

func (*MarketInfoRequest) ProtoMessage()

func (*MarketInfoRequest) ProtoReflect added in v1.0.3

func (x *MarketInfoRequest) ProtoReflect() protoreflect.Message

func (*MarketInfoRequest) Reset

func (x *MarketInfoRequest) Reset()

func (*MarketInfoRequest) String

func (x *MarketInfoRequest) String() string

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 */
	// contains filtered or unexported fields
}

func (*MarketInfoResponse) Descriptor deprecated

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

Deprecated: Use MarketInfoResponse.ProtoReflect.Descriptor instead.

func (*MarketInfoResponse) GetMarkets

func (x *MarketInfoResponse) GetMarkets() map[uint32]*MarketInfo

func (*MarketInfoResponse) ProtoMessage

func (*MarketInfoResponse) ProtoMessage()

func (*MarketInfoResponse) ProtoReflect added in v1.0.3

func (x *MarketInfoResponse) ProtoReflect() protoreflect.Message

func (*MarketInfoResponse) Reset

func (x *MarketInfoResponse) Reset()

func (*MarketInfoResponse) String

func (x *MarketInfoResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*MarketInfo_TierValue) Descriptor deprecated

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

Deprecated: Use MarketInfo_TierValue.ProtoReflect.Descriptor instead.

func (*MarketInfo_TierValue) GetTier

func (x *MarketInfo_TierValue) GetTier() NodeTier

func (*MarketInfo_TierValue) GetValue

func (x *MarketInfo_TierValue) GetValue() uint32

func (*MarketInfo_TierValue) ProtoMessage

func (*MarketInfo_TierValue) ProtoMessage()

func (*MarketInfo_TierValue) ProtoReflect added in v1.0.3

func (x *MarketInfo_TierValue) ProtoReflect() protoreflect.Message

func (*MarketInfo_TierValue) Reset

func (x *MarketInfo_TierValue) Reset()

func (*MarketInfo_TierValue) String

func (x *MarketInfo_TierValue) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedAsk) Descriptor deprecated

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

Deprecated: Use MatchedAsk.ProtoReflect.Descriptor instead.

func (*MatchedAsk) GetAsk

func (x *MatchedAsk) GetAsk() *ServerAsk

func (*MatchedAsk) GetUnitsFilled

func (x *MatchedAsk) GetUnitsFilled() uint32

func (*MatchedAsk) ProtoMessage

func (*MatchedAsk) ProtoMessage()

func (*MatchedAsk) ProtoReflect added in v1.0.3

func (x *MatchedAsk) ProtoReflect() protoreflect.Message

func (*MatchedAsk) Reset

func (x *MatchedAsk) Reset()

func (*MatchedAsk) String

func (x *MatchedAsk) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedBid) Descriptor deprecated

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

Deprecated: Use MatchedBid.ProtoReflect.Descriptor instead.

func (*MatchedBid) GetBid

func (x *MatchedBid) GetBid() *ServerBid

func (*MatchedBid) GetUnitsFilled

func (x *MatchedBid) GetUnitsFilled() uint32

func (*MatchedBid) ProtoMessage

func (*MatchedBid) ProtoMessage()

func (*MatchedBid) ProtoReflect added in v1.0.3

func (x *MatchedBid) ProtoReflect() protoreflect.Message

func (*MatchedBid) Reset

func (x *MatchedBid) Reset()

func (*MatchedBid) String

func (x *MatchedBid) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedMarket) Descriptor deprecated

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

Deprecated: Use MatchedMarket.ProtoReflect.Descriptor instead.

func (*MatchedMarket) GetClearingPriceRate

func (x *MatchedMarket) GetClearingPriceRate() uint32

func (*MatchedMarket) GetMatchedOrders

func (x *MatchedMarket) GetMatchedOrders() map[string]*MatchedOrder

func (*MatchedMarket) ProtoMessage

func (*MatchedMarket) ProtoMessage()

func (*MatchedMarket) ProtoReflect added in v1.0.3

func (x *MatchedMarket) ProtoReflect() protoreflect.Message

func (*MatchedMarket) Reset

func (x *MatchedMarket) Reset()

func (*MatchedMarket) String

func (x *MatchedMarket) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedMarketSnapshot) Descriptor deprecated

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

Deprecated: Use MatchedMarketSnapshot.ProtoReflect.Descriptor instead.

func (*MatchedMarketSnapshot) GetClearingPriceRate

func (x *MatchedMarketSnapshot) GetClearingPriceRate() uint32

func (*MatchedMarketSnapshot) GetMatchedOrders

func (x *MatchedMarketSnapshot) GetMatchedOrders() []*MatchedOrderSnapshot

func (*MatchedMarketSnapshot) ProtoMessage

func (*MatchedMarketSnapshot) ProtoMessage()

func (*MatchedMarketSnapshot) ProtoReflect added in v1.0.3

func (x *MatchedMarketSnapshot) ProtoReflect() protoreflect.Message

func (*MatchedMarketSnapshot) Reset

func (x *MatchedMarketSnapshot) Reset()

func (*MatchedMarketSnapshot) String

func (x *MatchedMarketSnapshot) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedOrder) Descriptor deprecated

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

Deprecated: Use MatchedOrder.ProtoReflect.Descriptor instead.

func (*MatchedOrder) GetMatchedAsks

func (x *MatchedOrder) GetMatchedAsks() []*MatchedAsk

func (*MatchedOrder) GetMatchedBids

func (x *MatchedOrder) GetMatchedBids() []*MatchedBid

func (*MatchedOrder) ProtoMessage

func (*MatchedOrder) ProtoMessage()

func (*MatchedOrder) ProtoReflect added in v1.0.3

func (x *MatchedOrder) ProtoReflect() protoreflect.Message

func (*MatchedOrder) Reset

func (x *MatchedOrder) Reset()

func (*MatchedOrder) String

func (x *MatchedOrder) String() string

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"`
	// contains filtered or unexported fields
}

func (*MatchedOrderSnapshot) Descriptor deprecated

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

Deprecated: Use MatchedOrderSnapshot.ProtoReflect.Descriptor instead.

func (*MatchedOrderSnapshot) GetAsk

func (x *MatchedOrderSnapshot) GetAsk() *AskSnapshot

func (*MatchedOrderSnapshot) GetBid

func (x *MatchedOrderSnapshot) GetBid() *BidSnapshot

func (*MatchedOrderSnapshot) GetMatchingRate

func (x *MatchedOrderSnapshot) GetMatchingRate() uint32

func (*MatchedOrderSnapshot) GetTotalSatsCleared

func (x *MatchedOrderSnapshot) GetTotalSatsCleared() uint64

func (*MatchedOrderSnapshot) GetUnitsMatched

func (x *MatchedOrderSnapshot) GetUnitsMatched() uint32

func (*MatchedOrderSnapshot) ProtoMessage

func (*MatchedOrderSnapshot) ProtoMessage()

func (*MatchedOrderSnapshot) ProtoReflect added in v1.0.3

func (x *MatchedOrderSnapshot) ProtoReflect() protoreflect.Message

func (*MatchedOrderSnapshot) Reset

func (x *MatchedOrderSnapshot) Reset()

func (*MatchedOrderSnapshot) String

func (x *MatchedOrderSnapshot) String() string

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"`
	// contains filtered or unexported fields
}

func (*NodeAddress) Descriptor deprecated

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

Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.

func (*NodeAddress) GetAddr

func (x *NodeAddress) GetAddr() string

func (*NodeAddress) GetNetwork

func (x *NodeAddress) GetNetwork() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) ProtoReflect added in v1.0.3

func (x *NodeAddress) ProtoReflect() protoreflect.Message

func (*NodeAddress) Reset

func (x *NodeAddress) Reset()

func (*NodeAddress) String

func (x *NodeAddress) String() string

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"`
	// contains filtered or unexported fields
}

func (*NodeRating) Descriptor deprecated

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

Deprecated: Use NodeRating.ProtoReflect.Descriptor instead.

func (*NodeRating) GetNodePubkey

func (x *NodeRating) GetNodePubkey() []byte

func (*NodeRating) GetNodeTier

func (x *NodeRating) GetNodeTier() NodeTier

func (*NodeRating) ProtoMessage

func (*NodeRating) ProtoMessage()

func (*NodeRating) ProtoReflect added in v1.0.3

func (x *NodeRating) ProtoReflect() protoreflect.Message

func (*NodeRating) Reset

func (x *NodeRating) Reset()

func (*NodeRating) String

func (x *NodeRating) String() string

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) Descriptor added in v1.0.3

func (NodeTier) Descriptor() protoreflect.EnumDescriptor

func (NodeTier) Enum added in v1.0.3

func (x NodeTier) Enum() *NodeTier

func (NodeTier) EnumDescriptor deprecated

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

Deprecated: Use NodeTier.Descriptor instead.

func (NodeTier) Number added in v1.0.3

func (x NodeTier) Number() protoreflect.EnumNumber

func (NodeTier) String

func (x NodeTier) String() string

func (NodeTier) Type added in v1.0.3

type OrderChannelType added in v1.0.4

type OrderChannelType int32
const (
	// Used to set defaults when a trader doesn't specify a channel type.
	OrderChannelType_ORDER_CHANNEL_TYPE_UNKNOWN OrderChannelType = 0
	// The channel type will vary per matched channel based on the features shared
	// between its participants.
	OrderChannelType_ORDER_CHANNEL_TYPE_PEER_DEPENDENT OrderChannelType = 1
	// A channel type that builds upon the anchors commitment format to enforce
	// channel lease maturities in the commitment and HTLC outputs that pay to the
	// channel initiator/seller.
	OrderChannelType_ORDER_CHANNEL_TYPE_SCRIPT_ENFORCED OrderChannelType = 2
)

func (OrderChannelType) Descriptor added in v1.0.4

func (OrderChannelType) Enum added in v1.0.4

func (OrderChannelType) EnumDescriptor deprecated added in v1.0.4

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

Deprecated: Use OrderChannelType.Descriptor instead.

func (OrderChannelType) Number added in v1.0.4

func (OrderChannelType) String added in v1.0.4

func (x OrderChannelType) String() string

func (OrderChannelType) Type added in v1.0.4

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"`
	// contains filtered or unexported fields
}

func (*OrderMatchAccept) Descriptor deprecated

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

Deprecated: Use OrderMatchAccept.ProtoReflect.Descriptor instead.

func (*OrderMatchAccept) GetBatchId

func (x *OrderMatchAccept) GetBatchId() []byte

func (*OrderMatchAccept) ProtoMessage

func (*OrderMatchAccept) ProtoMessage()

func (*OrderMatchAccept) ProtoReflect added in v1.0.3

func (x *OrderMatchAccept) ProtoReflect() protoreflect.Message

func (*OrderMatchAccept) Reset

func (x *OrderMatchAccept) Reset()

func (*OrderMatchAccept) String

func (x *OrderMatchAccept) String() string

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"`
	// contains filtered or unexported fields
}

func (*OrderMatchFinalize) Descriptor deprecated

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

Deprecated: Use OrderMatchFinalize.ProtoReflect.Descriptor instead.

func (*OrderMatchFinalize) GetBatchId

func (x *OrderMatchFinalize) GetBatchId() []byte

func (*OrderMatchFinalize) GetBatchTxid

func (x *OrderMatchFinalize) GetBatchTxid() []byte

func (*OrderMatchFinalize) ProtoMessage

func (*OrderMatchFinalize) ProtoMessage()

func (*OrderMatchFinalize) ProtoReflect added in v1.0.3

func (x *OrderMatchFinalize) ProtoReflect() protoreflect.Message

func (*OrderMatchFinalize) Reset

func (x *OrderMatchFinalize) Reset()

func (*OrderMatchFinalize) String

func (x *OrderMatchFinalize) String() string

type OrderMatchPrepare

type OrderMatchPrepare struct {

	// Deprecated, use matched_markets.
	//
	// Deprecated: Do not use.
	MatchedOrders map[string]*MatchedOrder `` /* 188-byte string literal not displayed */
	// Deprecated, use matched_markets.
	//
	// Deprecated: Do not use.
	ClearingPriceRate uint32 `protobuf:"varint,2,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"`
	// 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 */
	// The earliest absolute height in the chain in which the batch transaction can
	// be found within. This will be used by traders to base off their absolute
	// channel lease maturity height.
	BatchHeightHint uint32 `protobuf:"varint,11,opt,name=batch_height_hint,json=batchHeightHint,proto3" json:"batch_height_hint,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderMatchPrepare) Descriptor deprecated

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

Deprecated: Use OrderMatchPrepare.ProtoReflect.Descriptor instead.

func (*OrderMatchPrepare) GetBatchHeightHint added in v1.0.4

func (x *OrderMatchPrepare) GetBatchHeightHint() uint32

func (*OrderMatchPrepare) GetBatchId

func (x *OrderMatchPrepare) GetBatchId() []byte

func (*OrderMatchPrepare) GetBatchTransaction

func (x *OrderMatchPrepare) GetBatchTransaction() []byte

func (*OrderMatchPrepare) GetBatchVersion

func (x *OrderMatchPrepare) GetBatchVersion() uint32

func (*OrderMatchPrepare) GetChargedAccounts

func (x *OrderMatchPrepare) GetChargedAccounts() []*AccountDiff

func (*OrderMatchPrepare) GetClearingPriceRate deprecated

func (x *OrderMatchPrepare) GetClearingPriceRate() uint32

Deprecated: Do not use.

func (*OrderMatchPrepare) GetExecutionFee

func (x *OrderMatchPrepare) GetExecutionFee() *ExecutionFee

func (*OrderMatchPrepare) GetFeeRateSatPerKw

func (x *OrderMatchPrepare) GetFeeRateSatPerKw() uint64

func (*OrderMatchPrepare) GetFeeRebateSat

func (x *OrderMatchPrepare) GetFeeRebateSat() uint64

func (*OrderMatchPrepare) GetMatchedMarkets

func (x *OrderMatchPrepare) GetMatchedMarkets() map[uint32]*MatchedMarket

func (*OrderMatchPrepare) GetMatchedOrders deprecated

func (x *OrderMatchPrepare) GetMatchedOrders() map[string]*MatchedOrder

Deprecated: Do not use.

func (*OrderMatchPrepare) ProtoMessage

func (*OrderMatchPrepare) ProtoMessage()

func (*OrderMatchPrepare) ProtoReflect added in v1.0.3

func (x *OrderMatchPrepare) ProtoReflect() protoreflect.Message

func (*OrderMatchPrepare) Reset

func (x *OrderMatchPrepare) Reset()

func (*OrderMatchPrepare) String

func (x *OrderMatchPrepare) String() string

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 */
	// contains filtered or unexported fields
}

func (*OrderMatchReject) Descriptor deprecated

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

Deprecated: Use OrderMatchReject.ProtoReflect.Descriptor instead.

func (*OrderMatchReject) GetBatchId

func (x *OrderMatchReject) GetBatchId() []byte

func (*OrderMatchReject) GetReason

func (x *OrderMatchReject) GetReason() string

func (*OrderMatchReject) GetReasonCode

func (*OrderMatchReject) GetRejectedOrders

func (x *OrderMatchReject) GetRejectedOrders() map[string]*OrderReject

func (*OrderMatchReject) ProtoMessage

func (*OrderMatchReject) ProtoMessage()

func (*OrderMatchReject) ProtoReflect added in v1.0.3

func (x *OrderMatchReject) ProtoReflect() protoreflect.Message

func (*OrderMatchReject) Reset

func (x *OrderMatchReject) Reset()

func (*OrderMatchReject) String

func (x *OrderMatchReject) String() string

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) Descriptor added in v1.0.3

func (OrderMatchReject_RejectReason) Enum added in v1.0.3

func (OrderMatchReject_RejectReason) EnumDescriptor deprecated

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

Deprecated: Use OrderMatchReject_RejectReason.Descriptor instead.

func (OrderMatchReject_RejectReason) Number added in v1.0.3

func (OrderMatchReject_RejectReason) String

func (OrderMatchReject_RejectReason) Type added in v1.0.3

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.
	// For version 1 (Taproot enabled) accounts, this merely represents a partial
	// MuSig2 signature that can be combined into a full signature by the auction
	// server by adding its own partial signature. A set of nonces will be provided
	// by the trader for each v1 account to allow finalizing the MuSig2 signing
	// session.
	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 */
	// A set of 66-byte nonces for each version 1 (Taproot enabled) account. The
	// nonces can be used to produce a MuSig2 partial signature to spend the
	// account using the key spend path, which is a MuSig2 combined key of the
	// auctioneer key and the trader key.
	TraderNonces map[string][]byte `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OrderMatchSign) Descriptor deprecated

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

Deprecated: Use OrderMatchSign.ProtoReflect.Descriptor instead.

func (*OrderMatchSign) GetAccountSigs

func (x *OrderMatchSign) GetAccountSigs() map[string][]byte

func (*OrderMatchSign) GetBatchId

func (x *OrderMatchSign) GetBatchId() []byte

func (*OrderMatchSign) GetChannelInfos

func (x *OrderMatchSign) GetChannelInfos() map[string]*ChannelInfo

func (*OrderMatchSign) GetTraderNonces added in v1.1.0

func (x *OrderMatchSign) GetTraderNonces() map[string][]byte

func (*OrderMatchSign) ProtoMessage

func (*OrderMatchSign) ProtoMessage()

func (*OrderMatchSign) ProtoReflect added in v1.0.3

func (x *OrderMatchSign) ProtoReflect() protoreflect.Message

func (*OrderMatchSign) Reset

func (x *OrderMatchSign) Reset()

func (*OrderMatchSign) String

func (x *OrderMatchSign) String() string

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"`
	// A set of 66-byte nonces for each version 1 (Taproot enabled) account. The
	// nonces can be used to produce a MuSig2 partial signature to spend the
	// account using the key spend path, which is a MuSig2 combined key of the
	// auctioneer key and the trader key.
	ServerNonces map[string][]byte `` /* 185-byte string literal not displayed */
	// The full list of UTXO information for each of the inputs being spent. This
	// is required when spending one or more Taproot enabled (account version 1)
	// outputs.
	PrevOutputs []*TxOut `protobuf:"bytes,3,rep,name=prev_outputs,json=prevOutputs,proto3" json:"prev_outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderMatchSignBegin) Descriptor deprecated

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

Deprecated: Use OrderMatchSignBegin.ProtoReflect.Descriptor instead.

func (*OrderMatchSignBegin) GetBatchId

func (x *OrderMatchSignBegin) GetBatchId() []byte

func (*OrderMatchSignBegin) GetPrevOutputs added in v1.1.0

func (x *OrderMatchSignBegin) GetPrevOutputs() []*TxOut

func (*OrderMatchSignBegin) GetServerNonces added in v1.1.0

func (x *OrderMatchSignBegin) GetServerNonces() map[string][]byte

func (*OrderMatchSignBegin) ProtoMessage

func (*OrderMatchSignBegin) ProtoMessage()

func (*OrderMatchSignBegin) ProtoReflect added in v1.0.3

func (x *OrderMatchSignBegin) ProtoReflect() protoreflect.Message

func (*OrderMatchSignBegin) Reset

func (x *OrderMatchSignBegin) Reset()

func (*OrderMatchSignBegin) String

func (x *OrderMatchSignBegin) String() string

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 */
	// contains filtered or unexported fields
}

func (*OrderReject) Descriptor deprecated

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

Deprecated: Use OrderReject.ProtoReflect.Descriptor instead.

func (*OrderReject) GetReason

func (x *OrderReject) GetReason() string

func (*OrderReject) GetReasonCode

func (x *OrderReject) GetReasonCode() OrderReject_OrderRejectReason

func (*OrderReject) ProtoMessage

func (*OrderReject) ProtoMessage()

func (*OrderReject) ProtoReflect added in v1.0.3

func (x *OrderReject) ProtoReflect() protoreflect.Message

func (*OrderReject) Reset

func (x *OrderReject) Reset()

func (*OrderReject) String

func (x *OrderReject) String() string

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) Descriptor added in v1.0.3

func (OrderReject_OrderRejectReason) Enum added in v1.0.3

func (OrderReject_OrderRejectReason) EnumDescriptor deprecated

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

Deprecated: Use OrderReject_OrderRejectReason.Descriptor instead.

func (OrderReject_OrderRejectReason) Number added in v1.0.3

func (OrderReject_OrderRejectReason) String

func (OrderReject_OrderRejectReason) Type added in v1.0.3

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) Descriptor added in v1.0.3

func (OrderState) Descriptor() protoreflect.EnumDescriptor

func (OrderState) Enum added in v1.0.3

func (x OrderState) Enum() *OrderState

func (OrderState) EnumDescriptor deprecated

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

Deprecated: Use OrderState.Descriptor instead.

func (OrderState) Number added in v1.0.3

func (x OrderState) Number() protoreflect.EnumNumber

func (OrderState) String

func (x OrderState) String() string

func (OrderState) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*OutPoint) Descriptor deprecated

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

Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.

func (*OutPoint) GetOutputIndex

func (x *OutPoint) GetOutputIndex() uint32

func (*OutPoint) GetTxid

func (x *OutPoint) GetTxid() []byte

func (*OutPoint) ProtoMessage

func (*OutPoint) ProtoMessage()

func (*OutPoint) ProtoReflect added in v1.0.3

func (x *OutPoint) ProtoReflect() protoreflect.Message

func (*OutPoint) Reset

func (x *OutPoint) Reset()

func (*OutPoint) String

func (x *OutPoint) String() string

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"`
	// contains filtered or unexported fields
}

func (*PoolAccountAuth) Descriptor deprecated

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

Deprecated: Use PoolAccountAuth.ProtoReflect.Descriptor instead.

func (*PoolAccountAuth) GetAcctKey

func (x *PoolAccountAuth) GetAcctKey() []byte

func (*PoolAccountAuth) GetStreamSig

func (x *PoolAccountAuth) GetStreamSig() []byte

func (*PoolAccountAuth) ProtoMessage

func (*PoolAccountAuth) ProtoMessage()

func (*PoolAccountAuth) ProtoReflect added in v1.0.3

func (x *PoolAccountAuth) ProtoReflect() protoreflect.Message

func (*PoolAccountAuth) Reset

func (x *PoolAccountAuth) Reset()

func (*PoolAccountAuth) String

func (x *PoolAccountAuth) String() string

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.
	//
	// Deprecated: Do not use.
	MatchedOrders map[string]*MatchedOrder `` /* 188-byte string literal not displayed */
	// Deprecated, use matched_markets.
	//
	// Deprecated: Do not use.
	ClearingPriceRate uint32 `protobuf:"varint,5,opt,name=clearing_price_rate,json=clearingPriceRate,proto3" json:"clearing_price_rate,omitempty"`
	// 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 */
	// contains filtered or unexported fields
}

func (*RelevantBatch) Descriptor deprecated

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

Deprecated: Use RelevantBatch.ProtoReflect.Descriptor instead.

func (*RelevantBatch) GetChargedAccounts

func (x *RelevantBatch) GetChargedAccounts() []*AccountDiff

func (*RelevantBatch) GetClearingPriceRate deprecated

func (x *RelevantBatch) GetClearingPriceRate() uint32

Deprecated: Do not use.

func (*RelevantBatch) GetCreationTimestampNs

func (x *RelevantBatch) GetCreationTimestampNs() uint64

func (*RelevantBatch) GetExecutionFee

func (x *RelevantBatch) GetExecutionFee() *ExecutionFee

func (*RelevantBatch) GetFeeRateSatPerKw

func (x *RelevantBatch) GetFeeRateSatPerKw() uint64

func (*RelevantBatch) GetId

func (x *RelevantBatch) GetId() []byte

func (*RelevantBatch) GetMatchedMarkets

func (x *RelevantBatch) GetMatchedMarkets() map[uint32]*MatchedMarket

func (*RelevantBatch) GetMatchedOrders deprecated

func (x *RelevantBatch) GetMatchedOrders() map[string]*MatchedOrder

Deprecated: Do not use.

func (*RelevantBatch) GetTransaction

func (x *RelevantBatch) GetTransaction() []byte

func (*RelevantBatch) GetVersion

func (x *RelevantBatch) GetVersion() uint32

func (*RelevantBatch) ProtoMessage

func (*RelevantBatch) ProtoMessage()

func (*RelevantBatch) ProtoReflect added in v1.0.3

func (x *RelevantBatch) ProtoReflect() protoreflect.Message

func (*RelevantBatch) Reset

func (x *RelevantBatch) Reset()

func (*RelevantBatch) String

func (x *RelevantBatch) String() string

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"`
	// contains filtered or unexported fields
}

func (*RelevantBatchRequest) Descriptor deprecated

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

Deprecated: Use RelevantBatchRequest.ProtoReflect.Descriptor instead.

func (*RelevantBatchRequest) GetAccounts

func (x *RelevantBatchRequest) GetAccounts() [][]byte

func (*RelevantBatchRequest) GetId

func (x *RelevantBatchRequest) GetId() []byte

func (*RelevantBatchRequest) ProtoMessage

func (*RelevantBatchRequest) ProtoMessage()

func (*RelevantBatchRequest) ProtoReflect added in v1.0.3

func (x *RelevantBatchRequest) ProtoReflect() protoreflect.Message

func (*RelevantBatchRequest) Reset

func (x *RelevantBatchRequest) Reset()

func (*RelevantBatchRequest) String

func (x *RelevantBatchRequest) String() string

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"`
	// The account version. Must be set to 0 for legacy (non-taproot) accounts.
	Version uint32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ReserveAccountRequest) Descriptor deprecated

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

Deprecated: Use ReserveAccountRequest.ProtoReflect.Descriptor instead.

func (*ReserveAccountRequest) GetAccountExpiry

func (x *ReserveAccountRequest) GetAccountExpiry() uint32

func (*ReserveAccountRequest) GetAccountValue

func (x *ReserveAccountRequest) GetAccountValue() uint64

func (*ReserveAccountRequest) GetTraderKey

func (x *ReserveAccountRequest) GetTraderKey() []byte

func (*ReserveAccountRequest) GetVersion added in v1.1.0

func (x *ReserveAccountRequest) GetVersion() uint32

func (*ReserveAccountRequest) ProtoMessage

func (*ReserveAccountRequest) ProtoMessage()

func (*ReserveAccountRequest) ProtoReflect added in v1.0.3

func (x *ReserveAccountRequest) ProtoReflect() protoreflect.Message

func (*ReserveAccountRequest) Reset

func (x *ReserveAccountRequest) Reset()

func (*ReserveAccountRequest) String

func (x *ReserveAccountRequest) String() string

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. Or, in case of the version 1, Taproot enabled account, the
	// trader and auctioneer key will be combined into a MuSig2 combined key that
	// is static throughout the lifetime of the account. The on-chain uniqueness of
	// the generated output will be ensured by the merkle root hash that is applied
	// as a tweak to the MuSig2 combined internal key. The merkle root hash is
	// either the hash of the timeout script path (which uses the trader key
	// tweaked with the per-batch key) directly or the root of a tree with one leaf
	// that is the timeout script path and a leaf that is a Taro commitment (which
	// is a root hash by itself).
	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"`
	// contains filtered or unexported fields
}

func (*ReserveAccountResponse) Descriptor deprecated

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

Deprecated: Use ReserveAccountResponse.ProtoReflect.Descriptor instead.

func (*ReserveAccountResponse) GetAuctioneerKey

func (x *ReserveAccountResponse) GetAuctioneerKey() []byte

func (*ReserveAccountResponse) GetInitialBatchKey

func (x *ReserveAccountResponse) GetInitialBatchKey() []byte

func (*ReserveAccountResponse) ProtoMessage

func (*ReserveAccountResponse) ProtoMessage()

func (*ReserveAccountResponse) ProtoReflect added in v1.0.3

func (x *ReserveAccountResponse) ProtoReflect() protoreflect.Message

func (*ReserveAccountResponse) Reset

func (x *ReserveAccountResponse) Reset()

func (*ReserveAccountResponse) String

func (x *ReserveAccountResponse) String() string

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"`
	// The constraints for selling the liquidity based on channel discoverability.
	AnnouncementConstraints ChannelAnnouncementConstraints `` /* 175-byte string literal not displayed */
	// The constraints for selling the liquidity based on the number of
	// blocks before considering the channel confirmed.
	ConfirmationConstraints ChannelConfirmationConstraints `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerAsk) Descriptor deprecated

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

Deprecated: Use ServerAsk.ProtoReflect.Descriptor instead.

func (*ServerAsk) GetAnnouncementConstraints added in v1.1.0

func (x *ServerAsk) GetAnnouncementConstraints() ChannelAnnouncementConstraints

func (*ServerAsk) GetConfirmationConstraints added in v1.1.0

func (x *ServerAsk) GetConfirmationConstraints() ChannelConfirmationConstraints

func (*ServerAsk) GetDetails

func (x *ServerAsk) GetDetails() *ServerOrder

func (*ServerAsk) GetLeaseDurationBlocks

func (x *ServerAsk) GetLeaseDurationBlocks() uint32

func (*ServerAsk) GetVersion

func (x *ServerAsk) GetVersion() uint32

func (*ServerAsk) ProtoMessage

func (*ServerAsk) ProtoMessage()

func (*ServerAsk) ProtoReflect added in v1.0.3

func (x *ServerAsk) ProtoReflect() protoreflect.Message

func (*ServerAsk) Reset

func (x *ServerAsk) Reset()

func (*ServerAsk) String

func (x *ServerAsk) String() string

type ServerAuctionMessage

type ServerAuctionMessage struct {

	// Types that are assignable to Msg:
	//
	//	*ServerAuctionMessage_Challenge
	//	*ServerAuctionMessage_Success
	//	*ServerAuctionMessage_Error
	//	*ServerAuctionMessage_Prepare
	//	*ServerAuctionMessage_Sign
	//	*ServerAuctionMessage_Finalize
	//	*ServerAuctionMessage_Account
	Msg isServerAuctionMessage_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func (*ServerAuctionMessage) Descriptor deprecated

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

Deprecated: Use ServerAuctionMessage.ProtoReflect.Descriptor instead.

func (*ServerAuctionMessage) GetAccount

func (x *ServerAuctionMessage) GetAccount() *AuctionAccount

func (*ServerAuctionMessage) GetChallenge

func (x *ServerAuctionMessage) GetChallenge() *ServerChallenge

func (*ServerAuctionMessage) GetError

func (x *ServerAuctionMessage) GetError() *SubscribeError

func (*ServerAuctionMessage) GetFinalize

func (x *ServerAuctionMessage) GetFinalize() *OrderMatchFinalize

func (*ServerAuctionMessage) GetMsg

func (m *ServerAuctionMessage) GetMsg() isServerAuctionMessage_Msg

func (*ServerAuctionMessage) GetPrepare

func (x *ServerAuctionMessage) GetPrepare() *OrderMatchPrepare

func (*ServerAuctionMessage) GetSign

func (*ServerAuctionMessage) GetSuccess

func (x *ServerAuctionMessage) GetSuccess() *SubscribeSuccess

func (*ServerAuctionMessage) ProtoMessage

func (*ServerAuctionMessage) ProtoMessage()

func (*ServerAuctionMessage) ProtoReflect added in v1.0.3

func (x *ServerAuctionMessage) ProtoReflect() protoreflect.Message

func (*ServerAuctionMessage) Reset

func (x *ServerAuctionMessage) Reset()

func (*ServerAuctionMessage) String

func (x *ServerAuctionMessage) String() string

type ServerAuctionMessage_Account

type ServerAuctionMessage_Account struct {
	// The answer to a trader's request for account recovery. This message
	// contains all information that is needed to restore the account to
	// working order on the trader side.
	Account *AuctionAccount `protobuf:"bytes,7,opt,name=account,proto3,oneof"`
}

type ServerAuctionMessage_Challenge

type ServerAuctionMessage_Challenge struct {
	// Step 2 of the 3-way authentication handshake. Contains the
	// authentication challenge. Subscriptions sent by the trader must sign
	// the message SHA256(SHA256(accountPubKey || nonce) || challenge)
	// with their account key to prove ownership of said key.
	Challenge *ServerChallenge `protobuf:"bytes,1,opt,name=challenge,proto3,oneof"`
}

type ServerAuctionMessage_Error

type ServerAuctionMessage_Error struct {
	// An error occurred during any part of the communication. The trader
	// should inspect the error code and act accordingly.
	Error *SubscribeError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ServerAuctionMessage_Finalize

type ServerAuctionMessage_Finalize struct {
	// All traders have accepted and signed the batch and the final transaction
	// was broadcast.
	Finalize *OrderMatchFinalize `protobuf:"bytes,6,opt,name=finalize,proto3,oneof"`
}

type ServerAuctionMessage_Prepare

type ServerAuctionMessage_Prepare struct {
	// The auctioneer has matched a set of orders into a batch and now
	// instructs the traders to validate the batch and prepare for order
	// execution. Because traders have the possibility of backing out of a
	// batch, multiple of these messages with the SAME batch_id can be sent.
	Prepare *OrderMatchPrepare `protobuf:"bytes,4,opt,name=prepare,proto3,oneof"`
}

type ServerAuctionMessage_Sign

type ServerAuctionMessage_Sign struct {
	// This message is sent after all traders send back an OrderMatchAccept
	// method. It signals that the traders should execute their local funding
	// protocol, then send signatures for their account inputs.
	Sign *OrderMatchSignBegin `protobuf:"bytes,5,opt,name=sign,proto3,oneof"`
}

type ServerAuctionMessage_Success

type ServerAuctionMessage_Success struct {
	// The trader has subscribed to account updates successfully, the 3-way
	// authentication handshake completed normally.
	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 min_chan_amt must be set to the full order
	// amount. For the inbound liquidity market the self_chan_balance can be at
	// most the same as the 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"`
	// Signals if this bid is interested in an announced or unannounced channel.
	UnannouncedChannel bool `protobuf:"varint,8,opt,name=unannounced_channel,json=unannouncedChannel,proto3" json:"unannounced_channel,omitempty"`
	// Signals if this bid is interested in a zero conf channel or not.
	ZeroConfChannel bool `protobuf:"varint,9,opt,name=zero_conf_channel,json=zeroConfChannel,proto3" json:"zero_conf_channel,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerBid) Descriptor deprecated

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

Deprecated: Use ServerBid.ProtoReflect.Descriptor instead.

func (*ServerBid) GetDetails

func (x *ServerBid) GetDetails() *ServerOrder

func (*ServerBid) GetIsSidecarChannel

func (x *ServerBid) GetIsSidecarChannel() bool

func (*ServerBid) GetLeaseDurationBlocks

func (x *ServerBid) GetLeaseDurationBlocks() uint32

func (*ServerBid) GetMinNodeTier

func (x *ServerBid) GetMinNodeTier() NodeTier

func (*ServerBid) GetSelfChanBalance

func (x *ServerBid) GetSelfChanBalance() uint64

func (*ServerBid) GetUnannouncedChannel added in v1.1.0

func (x *ServerBid) GetUnannouncedChannel() bool

func (*ServerBid) GetVersion

func (x *ServerBid) GetVersion() uint32

func (*ServerBid) GetZeroConfChannel added in v1.1.0

func (x *ServerBid) GetZeroConfChannel() bool

func (*ServerBid) ProtoMessage

func (*ServerBid) ProtoMessage()

func (*ServerBid) ProtoReflect added in v1.0.3

func (x *ServerBid) ProtoReflect() protoreflect.Message

func (*ServerBid) Reset

func (x *ServerBid) Reset()

func (*ServerBid) String

func (x *ServerBid) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerCancelOrderRequest) Descriptor deprecated

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

Deprecated: Use ServerCancelOrderRequest.ProtoReflect.Descriptor instead.

func (*ServerCancelOrderRequest) GetOrderNoncePreimage

func (x *ServerCancelOrderRequest) GetOrderNoncePreimage() []byte

func (*ServerCancelOrderRequest) ProtoMessage

func (*ServerCancelOrderRequest) ProtoMessage()

func (*ServerCancelOrderRequest) ProtoReflect added in v1.0.3

func (x *ServerCancelOrderRequest) ProtoReflect() protoreflect.Message

func (*ServerCancelOrderRequest) Reset

func (x *ServerCancelOrderRequest) Reset()

func (*ServerCancelOrderRequest) String

func (x *ServerCancelOrderRequest) String() string

type ServerCancelOrderResponse

type ServerCancelOrderResponse struct {
	// contains filtered or unexported fields
}

func (*ServerCancelOrderResponse) Descriptor deprecated

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

Deprecated: Use ServerCancelOrderResponse.ProtoReflect.Descriptor instead.

func (*ServerCancelOrderResponse) ProtoMessage

func (*ServerCancelOrderResponse) ProtoMessage()

func (*ServerCancelOrderResponse) ProtoReflect added in v1.0.3

func (*ServerCancelOrderResponse) Reset

func (x *ServerCancelOrderResponse) Reset()

func (*ServerCancelOrderResponse) String

func (x *ServerCancelOrderResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerChallenge) Descriptor deprecated

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

Deprecated: Use ServerChallenge.ProtoReflect.Descriptor instead.

func (*ServerChallenge) GetChallenge

func (x *ServerChallenge) GetChallenge() []byte

func (*ServerChallenge) GetCommitHash

func (x *ServerChallenge) GetCommitHash() []byte

func (*ServerChallenge) ProtoMessage

func (*ServerChallenge) ProtoMessage()

func (*ServerChallenge) ProtoReflect added in v1.0.3

func (x *ServerChallenge) ProtoReflect() protoreflect.Message

func (*ServerChallenge) Reset

func (x *ServerChallenge) Reset()

func (*ServerChallenge) String

func (x *ServerChallenge) String() string

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. For version 1 (Taproot enabled)
	// accounts this represents the 32-byte (x-only) Taproot public key with the
	// combined MuSig2 key of the auctioneer's key and the trader's key with the
	// expiry script path applied as a single tapscript leaf.
	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"`
	// The account version. Must be set to 0 for legacy (non-taproot) accounts.
	Version uint32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInitAccountRequest) Descriptor deprecated

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

Deprecated: Use ServerInitAccountRequest.ProtoReflect.Descriptor instead.

func (*ServerInitAccountRequest) GetAccountExpiry

func (x *ServerInitAccountRequest) GetAccountExpiry() uint32

func (*ServerInitAccountRequest) GetAccountPoint

func (x *ServerInitAccountRequest) GetAccountPoint() *OutPoint

func (*ServerInitAccountRequest) GetAccountScript

func (x *ServerInitAccountRequest) GetAccountScript() []byte

func (*ServerInitAccountRequest) GetAccountValue

func (x *ServerInitAccountRequest) GetAccountValue() uint64

func (*ServerInitAccountRequest) GetTraderKey

func (x *ServerInitAccountRequest) GetTraderKey() []byte

func (*ServerInitAccountRequest) GetUserAgent

func (x *ServerInitAccountRequest) GetUserAgent() string

func (*ServerInitAccountRequest) GetVersion added in v1.1.0

func (x *ServerInitAccountRequest) GetVersion() uint32

func (*ServerInitAccountRequest) ProtoMessage

func (*ServerInitAccountRequest) ProtoMessage()

func (*ServerInitAccountRequest) ProtoReflect added in v1.0.3

func (x *ServerInitAccountRequest) ProtoReflect() protoreflect.Message

func (*ServerInitAccountRequest) Reset

func (x *ServerInitAccountRequest) Reset()

func (*ServerInitAccountRequest) String

func (x *ServerInitAccountRequest) String() string

type ServerInitAccountResponse

type ServerInitAccountResponse struct {
	// contains filtered or unexported fields
}

func (*ServerInitAccountResponse) Descriptor deprecated

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

Deprecated: Use ServerInitAccountResponse.ProtoReflect.Descriptor instead.

func (*ServerInitAccountResponse) ProtoMessage

func (*ServerInitAccountResponse) ProtoMessage()

func (*ServerInitAccountResponse) ProtoReflect added in v1.0.3

func (*ServerInitAccountResponse) Reset

func (x *ServerInitAccountResponse) Reset()

func (*ServerInitAccountResponse) String

func (x *ServerInitAccountResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerInput) Descriptor deprecated

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

Deprecated: Use ServerInput.ProtoReflect.Descriptor instead.

func (*ServerInput) GetOutpoint

func (x *ServerInput) GetOutpoint() *OutPoint

func (*ServerInput) GetSigScript

func (x *ServerInput) GetSigScript() []byte

func (*ServerInput) ProtoMessage

func (*ServerInput) ProtoMessage()

func (*ServerInput) ProtoReflect added in v1.0.3

func (x *ServerInput) ProtoReflect() protoreflect.Message

func (*ServerInput) Reset

func (x *ServerInput) Reset()

func (*ServerInput) String

func (x *ServerInput) String() string

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"`
	// A set of 66-byte nonces for each version 1 (Taproot enabled) account. The
	// nonces can be used to produce a MuSig2 partial signature to spend the
	// account using the key spend path, which is a MuSig2 combined key of the
	// auctioneer key and the trader key.
	TraderNonces []byte `protobuf:"bytes,5,opt,name=trader_nonces,json=traderNonces,proto3" json:"trader_nonces,omitempty"`
	// The full list of UTXO information for each of the inputs being spent. This
	// is required when spending a Taproot enabled (account version 1) output or
	// when adding additional Taproot inputs.
	PrevOutputs []*TxOut `protobuf:"bytes,6,rep,name=prev_outputs,json=prevOutputs,proto3" json:"prev_outputs,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerModifyAccountRequest) Descriptor deprecated

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

Deprecated: Use ServerModifyAccountRequest.ProtoReflect.Descriptor instead.

func (*ServerModifyAccountRequest) GetNewInputs

func (x *ServerModifyAccountRequest) GetNewInputs() []*ServerInput

func (*ServerModifyAccountRequest) GetNewOutputs

func (x *ServerModifyAccountRequest) GetNewOutputs() []*ServerOutput

func (*ServerModifyAccountRequest) GetNewParams

func (*ServerModifyAccountRequest) GetPrevOutputs added in v1.1.0

func (x *ServerModifyAccountRequest) GetPrevOutputs() []*TxOut

func (*ServerModifyAccountRequest) GetTraderKey

func (x *ServerModifyAccountRequest) GetTraderKey() []byte

func (*ServerModifyAccountRequest) GetTraderNonces added in v1.1.0

func (x *ServerModifyAccountRequest) GetTraderNonces() []byte

func (*ServerModifyAccountRequest) ProtoMessage

func (*ServerModifyAccountRequest) ProtoMessage()

func (*ServerModifyAccountRequest) ProtoReflect added in v1.0.3

func (*ServerModifyAccountRequest) Reset

func (x *ServerModifyAccountRequest) Reset()

func (*ServerModifyAccountRequest) String

func (x *ServerModifyAccountRequest) String() string

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"`
	// The new version of the account.
	Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerModifyAccountRequest_NewAccountParameters) Descriptor deprecated

Deprecated: Use ServerModifyAccountRequest_NewAccountParameters.ProtoReflect.Descriptor instead.

func (*ServerModifyAccountRequest_NewAccountParameters) GetExpiry

func (*ServerModifyAccountRequest_NewAccountParameters) GetValue

func (*ServerModifyAccountRequest_NewAccountParameters) GetVersion added in v1.1.0

func (*ServerModifyAccountRequest_NewAccountParameters) ProtoMessage

func (*ServerModifyAccountRequest_NewAccountParameters) ProtoReflect added in v1.0.3

func (*ServerModifyAccountRequest_NewAccountParameters) Reset

func (*ServerModifyAccountRequest_NewAccountParameters) String

type ServerModifyAccountResponse

type ServerModifyAccountResponse struct {

	// The auctioneer's signature that allows a trader to broadcast a transaction
	// spending from an account output. For version 1 (Taproot enabled) accounts,
	// this merely represents a partial MuSig2 signature that can be combined into
	// a full signature by the trader daemon by adding its own partial signature. A
	// set of nonces will be provided by the server (in case this is a v1 account)
	// to allow finalizing the MuSig2 signing session.
	AccountSig []byte `protobuf:"bytes,1,opt,name=account_sig,json=accountSig,proto3" json:"account_sig,omitempty"`
	// An optional set of 66-byte nonces for a version 1 (Taproot enabled) account
	// spend. The nonces can be used to produce a MuSig2 partial signature to spend
	// the account using the key spend path, which is a MuSig2 combined key of the
	// auctioneer key and the trader key.
	ServerNonces []byte `protobuf:"bytes,2,opt,name=server_nonces,json=serverNonces,proto3" json:"server_nonces,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerModifyAccountResponse) Descriptor deprecated

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

Deprecated: Use ServerModifyAccountResponse.ProtoReflect.Descriptor instead.

func (*ServerModifyAccountResponse) GetAccountSig

func (x *ServerModifyAccountResponse) GetAccountSig() []byte

func (*ServerModifyAccountResponse) GetServerNonces added in v1.1.0

func (x *ServerModifyAccountResponse) GetServerNonces() []byte

func (*ServerModifyAccountResponse) ProtoMessage

func (*ServerModifyAccountResponse) ProtoMessage()

func (*ServerModifyAccountResponse) ProtoReflect added in v1.0.3

func (*ServerModifyAccountResponse) Reset

func (x *ServerModifyAccountResponse) Reset()

func (*ServerModifyAccountResponse) String

func (x *ServerModifyAccountResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerNodeRatingRequest) Descriptor deprecated

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

Deprecated: Use ServerNodeRatingRequest.ProtoReflect.Descriptor instead.

func (*ServerNodeRatingRequest) GetNodePubkeys

func (x *ServerNodeRatingRequest) GetNodePubkeys() [][]byte

func (*ServerNodeRatingRequest) ProtoMessage

func (*ServerNodeRatingRequest) ProtoMessage()

func (*ServerNodeRatingRequest) ProtoReflect added in v1.0.3

func (x *ServerNodeRatingRequest) ProtoReflect() protoreflect.Message

func (*ServerNodeRatingRequest) Reset

func (x *ServerNodeRatingRequest) Reset()

func (*ServerNodeRatingRequest) String

func (x *ServerNodeRatingRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerNodeRatingResponse) Descriptor deprecated

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

Deprecated: Use ServerNodeRatingResponse.ProtoReflect.Descriptor instead.

func (*ServerNodeRatingResponse) GetNodeRatings

func (x *ServerNodeRatingResponse) GetNodeRatings() []*NodeRating

func (*ServerNodeRatingResponse) ProtoMessage

func (*ServerNodeRatingResponse) ProtoMessage()

func (*ServerNodeRatingResponse) ProtoReflect added in v1.0.3

func (x *ServerNodeRatingResponse) ProtoReflect() protoreflect.Message

func (*ServerNodeRatingResponse) Reset

func (x *ServerNodeRatingResponse) Reset()

func (*ServerNodeRatingResponse) String

func (x *ServerNodeRatingResponse) String() string

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.
	ChannelType OrderChannelType `` /* 126-byte string literal not displayed */
	// 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 */
	// List of nodes that will be allowed to match with our order. Incompatible
	// with the `not_allowed_node_ids` field.
	AllowedNodeIds [][]byte `protobuf:"bytes,14,rep,name=allowed_node_ids,json=allowedNodeIds,proto3" json:"allowed_node_ids,omitempty"`
	// List of nodes that won't be allowed to match with our order. Incompatible
	// with the `allowed_node_ids` field.
	NotAllowedNodeIds [][]byte `protobuf:"bytes,15,rep,name=not_allowed_node_ids,json=notAllowedNodeIds,proto3" json:"not_allowed_node_ids,omitempty"`
	// Auction type where this order must be considered during the matching.
	AuctionType AuctionType `protobuf:"varint,16,opt,name=auction_type,json=auctionType,proto3,enum=poolrpc.AuctionType" json:"auction_type,omitempty"`
	// Flag used to signal that this order can be shared in public market
	// places.
	IsPublic bool `protobuf:"varint,17,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerOrder) Descriptor deprecated

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

Deprecated: Use ServerOrder.ProtoReflect.Descriptor instead.

func (*ServerOrder) GetAllowedNodeIds added in v1.0.6

func (x *ServerOrder) GetAllowedNodeIds() [][]byte

func (*ServerOrder) GetAmt

func (x *ServerOrder) GetAmt() uint64

func (*ServerOrder) GetAuctionType added in v1.1.0

func (x *ServerOrder) GetAuctionType() AuctionType

func (*ServerOrder) GetChannelType added in v1.0.4

func (x *ServerOrder) GetChannelType() OrderChannelType

func (*ServerOrder) GetIsPublic added in v1.1.0

func (x *ServerOrder) GetIsPublic() bool

func (*ServerOrder) GetMaxBatchFeeRateSatPerKw

func (x *ServerOrder) GetMaxBatchFeeRateSatPerKw() uint64

func (*ServerOrder) GetMinChanAmt

func (x *ServerOrder) GetMinChanAmt() uint64

func (*ServerOrder) GetMultiSigKey

func (x *ServerOrder) GetMultiSigKey() []byte

func (*ServerOrder) GetNodeAddr

func (x *ServerOrder) GetNodeAddr() []*NodeAddress

func (*ServerOrder) GetNodePub

func (x *ServerOrder) GetNodePub() []byte

func (*ServerOrder) GetNotAllowedNodeIds added in v1.0.6

func (x *ServerOrder) GetNotAllowedNodeIds() [][]byte

func (*ServerOrder) GetOrderNonce

func (x *ServerOrder) GetOrderNonce() []byte

func (*ServerOrder) GetOrderSig

func (x *ServerOrder) GetOrderSig() []byte

func (*ServerOrder) GetRateFixed

func (x *ServerOrder) GetRateFixed() uint32

func (*ServerOrder) GetTraderKey

func (x *ServerOrder) GetTraderKey() []byte

func (*ServerOrder) ProtoMessage

func (*ServerOrder) ProtoMessage()

func (*ServerOrder) ProtoReflect added in v1.0.3

func (x *ServerOrder) ProtoReflect() protoreflect.Message

func (*ServerOrder) Reset

func (x *ServerOrder) Reset()

func (*ServerOrder) String

func (x *ServerOrder) String() string

type ServerOrderStateRequest

type ServerOrderStateRequest struct {
	OrderNonce []byte `protobuf:"bytes,1,opt,name=order_nonce,json=orderNonce,proto3" json:"order_nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerOrderStateRequest) Descriptor deprecated

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

Deprecated: Use ServerOrderStateRequest.ProtoReflect.Descriptor instead.

func (*ServerOrderStateRequest) GetOrderNonce

func (x *ServerOrderStateRequest) GetOrderNonce() []byte

func (*ServerOrderStateRequest) ProtoMessage

func (*ServerOrderStateRequest) ProtoMessage()

func (*ServerOrderStateRequest) ProtoReflect added in v1.0.3

func (x *ServerOrderStateRequest) ProtoReflect() protoreflect.Message

func (*ServerOrderStateRequest) Reset

func (x *ServerOrderStateRequest) Reset()

func (*ServerOrderStateRequest) String

func (x *ServerOrderStateRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerOrderStateResponse) Descriptor deprecated

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

Deprecated: Use ServerOrderStateResponse.ProtoReflect.Descriptor instead.

func (*ServerOrderStateResponse) GetState

func (x *ServerOrderStateResponse) GetState() OrderState

func (*ServerOrderStateResponse) GetUnitsUnfulfilled

func (x *ServerOrderStateResponse) GetUnitsUnfulfilled() uint32

func (*ServerOrderStateResponse) ProtoMessage

func (*ServerOrderStateResponse) ProtoMessage()

func (*ServerOrderStateResponse) ProtoReflect added in v1.0.3

func (x *ServerOrderStateResponse) ProtoReflect() protoreflect.Message

func (*ServerOrderStateResponse) Reset

func (x *ServerOrderStateResponse) Reset()

func (*ServerOrderStateResponse) String

func (x *ServerOrderStateResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ServerOutput) Descriptor deprecated

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

Deprecated: Use ServerOutput.ProtoReflect.Descriptor instead.

func (*ServerOutput) GetScript

func (x *ServerOutput) GetScript() []byte

func (*ServerOutput) GetValue

func (x *ServerOutput) GetValue() uint64

func (*ServerOutput) ProtoMessage

func (*ServerOutput) ProtoMessage()

func (*ServerOutput) ProtoReflect added in v1.0.3

func (x *ServerOutput) ProtoReflect() protoreflect.Message

func (*ServerOutput) Reset

func (x *ServerOutput) Reset()

func (*ServerOutput) String

func (x *ServerOutput) String() string

type ServerSubmitOrderRequest

type ServerSubmitOrderRequest struct {

	// Types that are assignable 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"`
	// contains filtered or unexported fields
}

func (*ServerSubmitOrderRequest) Descriptor deprecated

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

Deprecated: Use ServerSubmitOrderRequest.ProtoReflect.Descriptor instead.

func (*ServerSubmitOrderRequest) GetAsk

func (x *ServerSubmitOrderRequest) GetAsk() *ServerAsk

func (*ServerSubmitOrderRequest) GetBid

func (x *ServerSubmitOrderRequest) GetBid() *ServerBid

func (*ServerSubmitOrderRequest) GetDetails

func (m *ServerSubmitOrderRequest) GetDetails() isServerSubmitOrderRequest_Details

func (*ServerSubmitOrderRequest) GetUserAgent

func (x *ServerSubmitOrderRequest) GetUserAgent() string

func (*ServerSubmitOrderRequest) ProtoMessage

func (*ServerSubmitOrderRequest) ProtoMessage()

func (*ServerSubmitOrderRequest) ProtoReflect added in v1.0.3

func (x *ServerSubmitOrderRequest) ProtoReflect() protoreflect.Message

func (*ServerSubmitOrderRequest) Reset

func (x *ServerSubmitOrderRequest) Reset()

func (*ServerSubmitOrderRequest) String

func (x *ServerSubmitOrderRequest) String() string

type ServerSubmitOrderRequest_Ask

type ServerSubmitOrderRequest_Ask struct {
	// Submit an ask order.
	Ask *ServerAsk `protobuf:"bytes,1,opt,name=ask,proto3,oneof"`
}

type ServerSubmitOrderRequest_Bid

type ServerSubmitOrderRequest_Bid struct {
	// Submit a bid order.
	Bid *ServerBid `protobuf:"bytes,2,opt,name=bid,proto3,oneof"`
}

type ServerSubmitOrderResponse

type ServerSubmitOrderResponse struct {

	// Types that are assignable to Details:
	//
	//	*ServerSubmitOrderResponse_InvalidOrder
	//	*ServerSubmitOrderResponse_Accepted
	Details isServerSubmitOrderResponse_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

func (*ServerSubmitOrderResponse) Descriptor deprecated

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

Deprecated: Use ServerSubmitOrderResponse.ProtoReflect.Descriptor instead.

func (*ServerSubmitOrderResponse) GetAccepted

func (x *ServerSubmitOrderResponse) GetAccepted() bool

func (*ServerSubmitOrderResponse) GetDetails

func (m *ServerSubmitOrderResponse) GetDetails() isServerSubmitOrderResponse_Details

func (*ServerSubmitOrderResponse) GetInvalidOrder

func (x *ServerSubmitOrderResponse) GetInvalidOrder() *InvalidOrder

func (*ServerSubmitOrderResponse) ProtoMessage

func (*ServerSubmitOrderResponse) ProtoMessage()

func (*ServerSubmitOrderResponse) ProtoReflect added in v1.0.3

func (*ServerSubmitOrderResponse) Reset

func (x *ServerSubmitOrderResponse) Reset()

func (*ServerSubmitOrderResponse) String

func (x *ServerSubmitOrderResponse) String() string

type ServerSubmitOrderResponse_Accepted

type ServerSubmitOrderResponse_Accepted struct {
	// Order was accepted.
	Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3,oneof"`
}

type ServerSubmitOrderResponse_InvalidOrder

type ServerSubmitOrderResponse_InvalidOrder struct {
	// Order failed with the given reason.
	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"`
	// contains filtered or unexported fields
}

func (*SidecarAuth) Descriptor deprecated

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

Deprecated: Use SidecarAuth.ProtoReflect.Descriptor instead.

func (*SidecarAuth) GetTicket

func (x *SidecarAuth) GetTicket() string

func (*SidecarAuth) ProtoMessage

func (*SidecarAuth) ProtoMessage()

func (*SidecarAuth) ProtoReflect added in v1.0.3

func (x *SidecarAuth) ProtoReflect() protoreflect.Message

func (*SidecarAuth) Reset

func (x *SidecarAuth) Reset()

func (*SidecarAuth) String

func (x *SidecarAuth) String() string

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"`
	// contains filtered or unexported fields
}

func (*SubscribeError) Descriptor deprecated

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

Deprecated: Use SubscribeError.ProtoReflect.Descriptor instead.

func (*SubscribeError) GetAccountReservation

func (x *SubscribeError) GetAccountReservation() *AuctionAccount

func (*SubscribeError) GetError

func (x *SubscribeError) GetError() string

func (*SubscribeError) GetErrorCode

func (x *SubscribeError) GetErrorCode() SubscribeError_Error

func (*SubscribeError) GetTraderKey

func (x *SubscribeError) GetTraderKey() []byte

func (*SubscribeError) ProtoMessage

func (*SubscribeError) ProtoMessage()

func (*SubscribeError) ProtoReflect added in v1.0.3

func (x *SubscribeError) ProtoReflect() protoreflect.Message

func (*SubscribeError) Reset

func (x *SubscribeError) Reset()

func (*SubscribeError) String

func (x *SubscribeError) String() string

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) Descriptor added in v1.0.3

func (SubscribeError_Error) Enum added in v1.0.3

func (SubscribeError_Error) EnumDescriptor deprecated

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

Deprecated: Use SubscribeError_Error.Descriptor instead.

func (SubscribeError_Error) Number added in v1.0.3

func (SubscribeError_Error) String

func (x SubscribeError_Error) String() string

func (SubscribeError_Error) Type added in v1.0.3

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"`
	// contains filtered or unexported fields
}

func (*SubscribeSuccess) Descriptor deprecated

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

Deprecated: Use SubscribeSuccess.ProtoReflect.Descriptor instead.

func (*SubscribeSuccess) GetTraderKey

func (x *SubscribeSuccess) GetTraderKey() []byte

func (*SubscribeSuccess) ProtoMessage

func (*SubscribeSuccess) ProtoMessage()

func (*SubscribeSuccess) ProtoReflect added in v1.0.3

func (x *SubscribeSuccess) ProtoReflect() protoreflect.Message

func (*SubscribeSuccess) Reset

func (x *SubscribeSuccess) Reset()

func (*SubscribeSuccess) String

func (x *SubscribeSuccess) String() string

type TermsRequest

type TermsRequest struct {
	// contains filtered or unexported fields
}

func (*TermsRequest) Descriptor deprecated

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

Deprecated: Use TermsRequest.ProtoReflect.Descriptor instead.

func (*TermsRequest) ProtoMessage

func (*TermsRequest) ProtoMessage()

func (*TermsRequest) ProtoReflect added in v1.0.3

func (x *TermsRequest) ProtoReflect() protoreflect.Message

func (*TermsRequest) Reset

func (x *TermsRequest) Reset()

func (*TermsRequest) String

func (x *TermsRequest) String() string

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.
	//
	// Deprecated: Do not use.
	MaxOrderDurationBlocks uint32 `` /* 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.
	//
	// Deprecated: Do not use.
	LeaseDurations map[uint32]bool `` /* 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 */
	// The value used by the auctioneer to determine if an account expiry height
	// needs to be extended after participating in a batch and for how long.
	AutoRenewExtensionBlocks uint32 `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TermsResponse) Descriptor deprecated

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

Deprecated: Use TermsResponse.ProtoReflect.Descriptor instead.

func (*TermsResponse) GetAutoRenewExtensionBlocks added in v1.0.5

func (x *TermsResponse) GetAutoRenewExtensionBlocks() uint32

func (*TermsResponse) GetExecutionFee

func (x *TermsResponse) GetExecutionFee() *ExecutionFee

func (*TermsResponse) GetLeaseDurationBuckets

func (x *TermsResponse) GetLeaseDurationBuckets() map[uint32]DurationBucketState

func (*TermsResponse) GetLeaseDurations deprecated

func (x *TermsResponse) GetLeaseDurations() map[uint32]bool

Deprecated: Do not use.

func (*TermsResponse) GetMaxAccountValue

func (x *TermsResponse) GetMaxAccountValue() uint64

func (*TermsResponse) GetMaxOrderDurationBlocks deprecated

func (x *TermsResponse) GetMaxOrderDurationBlocks() uint32

Deprecated: Do not use.

func (*TermsResponse) GetNextBatchClearTimestamp

func (x *TermsResponse) GetNextBatchClearTimestamp() uint64

func (*TermsResponse) GetNextBatchConfTarget

func (x *TermsResponse) GetNextBatchConfTarget() uint32

func (*TermsResponse) GetNextBatchFeeRateSatPerKw

func (x *TermsResponse) GetNextBatchFeeRateSatPerKw() uint64

func (*TermsResponse) ProtoMessage

func (*TermsResponse) ProtoMessage()

func (*TermsResponse) ProtoReflect added in v1.0.3

func (x *TermsResponse) ProtoReflect() protoreflect.Message

func (*TermsResponse) Reset

func (x *TermsResponse) Reset()

func (*TermsResponse) String

func (x *TermsResponse) String() string

type TxOut added in v1.1.0

type TxOut struct {

	// The value of the transaction output in satoshis.
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	// The public key script of the output.
	PkScript []byte `protobuf:"bytes,2,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
	// contains filtered or unexported fields
}

func (*TxOut) Descriptor deprecated added in v1.1.0

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

Deprecated: Use TxOut.ProtoReflect.Descriptor instead.

func (*TxOut) GetPkScript added in v1.1.0

func (x *TxOut) GetPkScript() []byte

func (*TxOut) GetValue added in v1.1.0

func (x *TxOut) GetValue() uint64

func (*TxOut) ProtoMessage added in v1.1.0

func (*TxOut) ProtoMessage()

func (*TxOut) ProtoReflect added in v1.1.0

func (x *TxOut) ProtoReflect() protoreflect.Message

func (*TxOut) Reset added in v1.1.0

func (x *TxOut) Reset()

func (*TxOut) String added in v1.1.0

func (x *TxOut) String() string

type UnimplementedChannelAuctioneerServer

type UnimplementedChannelAuctioneerServer struct {
}

UnimplementedChannelAuctioneerServer must be embedded to have forward compatible implementations.

func (UnimplementedChannelAuctioneerServer) BatchSnapshot

func (UnimplementedChannelAuctioneerServer) BatchSnapshots

func (UnimplementedChannelAuctioneerServer) CancelOrder

func (UnimplementedChannelAuctioneerServer) InitAccount

func (UnimplementedChannelAuctioneerServer) MarketInfo

func (UnimplementedChannelAuctioneerServer) NodeRating

func (UnimplementedChannelAuctioneerServer) OrderState

func (UnimplementedChannelAuctioneerServer) RelevantBatchSnapshot

func (UnimplementedChannelAuctioneerServer) ReserveAccount

func (UnimplementedChannelAuctioneerServer) SubmitOrder

func (UnimplementedChannelAuctioneerServer) SubscribeBatchAuction

func (UnimplementedChannelAuctioneerServer) SubscribeSidecar

func (UnimplementedChannelAuctioneerServer) Terms

type UnimplementedHashMailServer

type UnimplementedHashMailServer struct {
}

UnimplementedHashMailServer must be embedded to have forward compatible implementations.

func (UnimplementedHashMailServer) DelCipherBox

func (UnimplementedHashMailServer) NewCipherBox

func (UnimplementedHashMailServer) RecvStream

func (UnimplementedHashMailServer) SendStream

type UnsafeChannelAuctioneerServer added in v1.0.3

type UnsafeChannelAuctioneerServer interface {
	// contains filtered or unexported methods
}

UnsafeChannelAuctioneerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelAuctioneerServer will result in compilation errors.

type UnsafeHashMailServer added in v1.0.3

type UnsafeHashMailServer interface {
	// contains filtered or unexported methods
}

UnsafeHashMailServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HashMailServer will result in compilation errors.

Jump to

Keyboard shortcuts

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