serai/tests
Luke Parker 2db53d5434
Use &self for handle_message and sync_block in Tributary
They used &mut self to prevent execution at the same time. This uses a lock
over the channel to achieve the same security, without requiring a lock over
the entire tributary.

This fixes post-provided Provided transactions. sync_block waited for the TX to
be provided, yet it never would as sync_block held a mutable reference over the
entire Tributary, preventing any other read/write operations of any scope.

A timeout increased (bc2f23f72b) due to this bug
not being identified has been decreased back, thankfully.

Also shims in basic support for Completed, which was the WIP before this bug
was identified.
2023-08-27 05:07:11 -04:00
..
coordinator Use &self for handle_message and sync_block in Tributary 2023-08-27 05:07:11 -04:00
docker Add initial coordinator e2e tests 2023-08-01 19:00:48 -04:00
message-queue Minimize features pulled in to try and reduce build times 2023-07-25 22:29:39 -04:00
no-std Support no-std builds of bitcoin-serai 2023-08-21 08:56:37 -04:00
processor Use an empty key for Batch's SignId 2023-08-24 20:39:34 -04:00
reproducible-runtime Increase the reproducible-runtime timeout as it was getting hit in CI 2023-08-08 18:36:31 -04:00