* Add some TODOs * Move and rename height_from_signed_int() * Move get_block_template() support functions to a submodule * Fix incorrect P2SH comments and logs * Split initial checks into their own functions * Split state fetch into its own function, do some cleanup * Move get_block_template_opts to get_block_template::parameters * Fix and simplify test imports * Rename block_height to next_block_height * Rename to chain_tip_and_local_time to make it clear what it contains * Split fetching mempool transactions out, include them in long poll id * Refactor coinbase generation * Split default root calculation into a separate function * Use DateTime32 for getblocktemplate times * Use typed difficulty fields rather than strings * Split out a generate coinbase and roots function * Move GetBlockTemplate construction into a method * Document what happens to unusual difficulty values * Clean up some TODOs * fastmod check_address check_miner_address * cargo fmt --all * Fix an incorrect panic message Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
benches | ||
proptest-regressions | ||
src | ||
Cargo.toml |