Luke Parker
8222ce78d8
Correct accumulated errors in the processor
2025-01-18 12:41:57 -05:00
Luke Parker
b5a6b0693e
Add a proper error type to ContinuallyRan
...
This isn't necessary. Because we just log the error, we never match off of it,
we don't need any structure beyond String (or now Debug, which still gives us
a way to print the error). This is for the ergonomics of not having to
constantly write `.map_err(|e| format!("{e:?}"))`.
2025-01-12 18:29:08 -05:00
Luke Parker
47a4e534ef
Update serai-processor-signers to VariantSignid::Batch([u8; 32])
2025-01-07 15:26:23 -05:00
Luke Parker
8c9441a1a5
Redo coordinator's Substrate scanner
2024-12-31 10:37:19 -05:00
Luke Parker
f0094b3c7c
Rename Report task to Batch task
2024-12-30 10:49:35 -05:00
Luke Parker
458f4fe170
Move where we check if we should delay reporting of Batches
2024-12-30 10:18:38 -05:00
Luke Parker
1de8136739
Remove Session from VariantSignId::SlashReport
...
It's only there to make the VariantSignid unique across Sessions. By localizing
the VariantSignid to a Session, we avoid this, and can better ensure we don't
queue work for historic sessions.
2024-12-30 06:16:03 -05:00
Luke Parker
8013c56195
Add/correct msrv labels
2024-12-08 18:27:15 -05:00
Luke Parker
b4e94f3d51
cargo fmt signers/scanner
2024-09-19 23:36:32 -07:00
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