Add a test for Tributary

Further fleshes out the Tributary testing code.
This commit is contained in:
Luke Parker
2023-04-22 22:27:12 -04:00
parent 8c74576cf0
commit af84b7f707
9 changed files with 185 additions and 39 deletions

View File

@@ -10,6 +10,9 @@ use tributary::{ReadWrite, tests::random_signed};
use crate::tributary::{SignData, Transaction};
mod chain;
pub use chain::*;
mod tx;
fn random_u32<R: RngCore>(rng: &mut R) -> u32 {
u32::try_from(rng.next_u64() >> 32).unwrap()