From b7ec7b9977950647fd174702fa515cc67b1e54d6 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 22 Mar 2020 19:54:15 -0700 Subject: [PATCH] client/auction: remove unused Phase enum --- auction/phase.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 auction/phase.go diff --git a/auction/phase.go b/auction/phase.go deleted file mode 100644 index 0a26452..0000000 --- a/auction/phase.go +++ /dev/null @@ -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 -)