No description
Find a file
Wilmer Paulino 4013f33984 auctioneer: remove irrelevant pending batch on stream establishment
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.
2020-05-05 13:54:39 -07:00
account account: properly handle spend on pending batch not finalized 2020-05-05 13:53:32 -07:00
auctioneer auctioneer: remove irrelevant pending batch on stream establishment 2020-05-05 13:54:39 -07:00
chaninfo chaninfo: add new package to retrieve channel info for auctioneer 2020-05-01 16:08:17 -07:00
clientdb clientdb: add DeletePendingBatch 2020-05-05 13:54:36 -07:00
clmrpc clmrpc: add RelevantBatchSnapshot RPC 2020-05-05 13:48:26 -07:00
clmscript client/clmscript: fix errors in witness size estimation 2020-03-09 20:00:20 -07:00
cmd make+auctioncli: add CLI to interact with auction 2020-04-14 16:27:06 +02:00
order account: properly handle spend on pending batch not finalized 2020-05-05 13:53:32 -07:00
config.go client: implement stream RPC 2020-03-04 15:11:08 +01:00
log.go client: implement stream RPC 2020-03-04 15:11:08 +01:00
rpcserver.go server: move db init from RPC to main server 2020-05-05 13:54:38 -07:00
server.go auctioneer: remove irrelevant pending batch on stream establishment 2020-05-05 13:54:39 -07:00
version.go auctioneer+trader: add trader server daemon 2019-11-28 13:46:55 +01:00