![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
start: 50 * COIN_VALUE, size: 5 * COIN_VALUE, satpoint: "30f2f037629c6a21c1f40ed39b9bd6278df39762d68d07f49582b23bcb23386a:0:0" .parse() .unwrap() } ] ); } #[test] fn find_range_command_fails_for_unmined_sat_ranges() { let rpc_server = test_bitcoincore_rpc::spawn(); CommandBuilder::new(format!( "--index-sats find {} {}", 50 * COIN_VALUE, 100 * COIN_VALUE )) .rpc_server(&rpc_server) .expected_exit_code(1) .expected_stderr("error: range has not been mined as of index height\n") .run_and_extract_stdout(); } #[test] fn unmined_sat() { let rpc_server = test_bitcoincore_rpc::spawn(); CommandBuilder::new("--index-sats find 5000000000") .rpc_server(&rpc_server) .expected_stderr("error: sat has not been mined as of index height\n") .expected_exit_code(1) .run_and_extract_stdout(); } #[test] fn no_satoshi_index() { let rpc_server = test_bitcoincore_rpc::spawn(); CommandBuilder::new("find 0") .rpc_server(&rpc_server)
Inscription #44970195
Collection
Ord
Owner
bc1ptt2nea...kl3qe0u42tID
b88a1597e6...f23aac91i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!