Luke Parker
e78236276a
Remove async-trait from processor/
...
Part of https://github.com/serai-dex/issues/607 .
2024-09-19 23:36:32 -07:00
Luke Parker
b6811f9015
serai-processor-bin
...
Moves the coordinator loop out of serai-bitcoin-processor, completing it.
Fixes a potential race condition in the message-queue regarding multiple
sockets sending messages at once.
2024-09-19 23:36:32 -07:00
Luke Parker
73af09effb
Add note to signers on reducing disk IO
2024-09-19 23:36:32 -07:00
Luke Parker
247cc8f0cc
Bitcoin Output/Transaction definitions
2024-09-19 23:36:32 -07:00
Luke Parker
8aba71b9c4
Add CosignerTask to signers, completing it
2024-09-19 23:36:32 -07:00
Luke Parker
46c12c0e66
SlashReport signing and signature publication
2024-09-19 23:36:32 -07:00
Luke Parker
3cc7b49492
Strongly type SlashReport, populate cosign/slash report tasks with work
2024-09-19 23:36:32 -07:00
Luke Parker
0078858c1c
Tidy messages, publish all Batches to the coordinator
...
Prior, we published SignedBatches, yet Batches are necessary for auditing
purposes.
2024-09-19 23:36:32 -07:00
Luke Parker
a3cb514400
Have the coordinator task publish Batches
2024-09-19 23:36:32 -07:00
Luke Parker
ed0221d804
Add BatchSignerTask
...
Uses a wrapper around AlgorithmMachine Schnorrkel to let the message be &[].
2024-09-19 23:36:32 -07:00
Luke Parker
f07ec7bee0
Route the coordinator, fix race conditions in the signers library
2024-09-19 23:36:32 -07:00
Luke Parker
7484eadbbb
Expand task management
...
These extensions are necessary for the signers task management.
2024-09-19 23:36:32 -07:00
Luke Parker
59ff944152
Work on the higher-level signers API
2024-09-19 23:36:32 -07:00
Luke Parker
8f848b1abc
Tidy transaction signing task
2024-09-19 23:36:32 -07:00
Luke Parker
100c80be9f
Finish transaction signing task with TX rebroadcast code
2024-09-19 23:36:32 -07:00
Luke Parker
a353f9e2da
Further work on transaction signing
2024-09-19 23:36:32 -07:00
Luke Parker
b62fc3a1fa
Minor work on the transaction signing task
2024-09-19 23:36:32 -07:00
Luke Parker
8380653855
Add empty serai-processor-signers library
...
This will replace the signers still in the monolithic Processor binary.
2024-09-19 23:36:32 -07:00