a tiny bitcoin node using rust-bitcoinkernel which is a wrapper around libbitcoinkernel.
run on regtest:
cargo run --bin btc-node -- --network regtest
there's also a CLI tool with 2 commands: getblockcount and getblock
getblockcountsimilar tobitcoin-cli getblockcountreturns the height of current active chain
cargo run --bin bcli getblockcount
getblockreturns a block at a certain height:
cargo run --bin bcli getblock 21