mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-17 13:06:52 +02:00
If trader A provides a signature for a batch, disconnects, and trader B, who is also in the auction, bails, then the auctioneer will re-attempt matchmaking. If trader A hasn't reconnected by and a successful batch is made without them, then the updates would need to be rolled back. Previously, since we would overwrite the main account and order state, we'd lack information in order to do so. By staging the update under a distinct bucket, we can now do so properly by simply removing the state within it. |
||
|---|---|---|
| .. | ||
| account.go | ||
| account_test.go | ||
| batch.go | ||
| batch_test.go | ||
| codec.go | ||
| db.go | ||
| log.go | ||
| metadata.go | ||
| order.go | ||
| order_test.go | ||