mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-17 13:06:52 +02:00
client/auction: remove unused Phase enum
This commit is contained in:
parent
431d98a159
commit
b7ec7b9977
1 changed files with 0 additions and 21 deletions
|
|
@ -1,21 +0,0 @@
|
|||
package auction
|
||||
|
||||
// Phase is an enum-like variable that describes the current phase of the
|
||||
// auction from the PoV of either the server or the client.
|
||||
type Phase uint32
|
||||
|
||||
const (
|
||||
// OrderSubmitPhase is the state the client is in once they have an
|
||||
// active and valid account. During this phase the client is free to
|
||||
// submit new orders and modify any existing orders.
|
||||
OrderSubmitPhase Phase = iota
|
||||
|
||||
// BatchClearingPhase is the phase the auction enters once the
|
||||
// OrderSubmitPhase has ended, and the auctioneer is able to make a
|
||||
// market. During this phase, the auctioneer enters into an interactive
|
||||
// protocol with each active trader which is a part of this batch to
|
||||
// sign relevant inputs for the funding transaction, and also to carry
|
||||
// out the normal funding flow process so they receive valid commitment
|
||||
// transactions.
|
||||
BatchClearingPhase
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue