Test handle_p2p and Tributary syncing

Includes bug fixes.
This commit is contained in:
Luke Parker
2023-04-24 02:50:03 -04:00
parent cc491ee1e1
commit 2feebe536e
5 changed files with 224 additions and 14 deletions

View File

@@ -17,6 +17,9 @@ mod tx;
mod dkg;
// TODO: Test the other transactions
mod handle_p2p;
mod sync;
fn random_u32<R: RngCore>(rng: &mut R) -> u32 {
u32::try_from(rng.next_u64() >> 32).unwrap()
}