.index .get_inscription_satpoint_by_id(inscription_id) .unwrap(), None, ); } } #[test] fn list_first_coinbase_transaction() { let context = Context::builder().arg("--index-sats").build(); assert_eq!( context .index .list( "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0" .parse() .unwrap() ) .unwrap() .unwrap(), List::Unspent(vec![(0, 50 * COIN_VALUE)]) ) } #[test] fn list_second_coinbase_transaction() { let context = Context::builder().arg("--index-sats").build(); let txid = context.mine_blocks(1)[0].txdata[0].txid(); assert_eq!( context.index.list(OutPoint::new(txid, 0)).unwrap().unwrap(), List::Unspent(vec![(50 * COIN_VALUE, 100 * COIN_VALUE)]) ) } #[test] fn list_split_ranges_are_tracked_correctly() { let context = Context::builder().arg("--index-sats").build(); context.mine_blocks(1);
Inscription number 44,985,762
Genesis block 819,063
File type text
File size 1 KB
Creation date