mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-18 13:08:33 +02:00
No description
This commit aims to address another gap within the system to ensure trader pending batch states are as accurate as possible. In a previous commit, we addressed the case of a trader signing for a batch, disconnecting and not receiving a Finalize message, and seeing a spend for an account. Here, we're interested in determining whether a batch a trader signed for is actually still relevant to the trader. Since any trader can bail from a batch, the batch may need to be re-done by the auctioneer, and if a trader that previously signed for a previous version of the batch remains disconnected, then they won't be aware of said new batch. At this point, the trader has a lingering pending batch that's no longer irrelevant, so we remove it. This logic is tied to the connection establishment between the trader and auctioneer to ensure we handle the disconnection and crash case of a trader after signing for a batch. |
||
|---|---|---|
| account | ||
| auctioneer | ||
| chaninfo | ||
| clientdb | ||
| clmrpc | ||
| clmscript | ||
| cmd | ||
| order | ||
| config.go | ||
| log.go | ||
| rpcserver.go | ||
| server.go | ||
| version.go | ||