]> Untitled Git - bdk/commit
Rpc: Manually add immature coinbase utxos
author志宇 <hello@evanlinjin.me>
Sat, 30 Jul 2022 11:47:33 +0000 (19:47 +0800)
committer志宇 <hello@evanlinjin.me>
Thu, 4 Aug 2022 03:27:50 +0000 (11:27 +0800)
commit5eb74af41494b7ec4894d7da3015da2981639228
tree7b1e5e9fb1c38ad2713e79c9568745f15d9babe3
parentac19c19f21fce43a99ecf0c4f95ae818b620558c
 Rpc: Manually add immature coinbase utxos

Before this commit, the rpc backend would not notice immature utxos
(`listunspent` does not return them), making the rpc balance different
to other blockchain implementations.

Co-authored-by: Daniela Brozzoni <danielabrozzoni@protonmail.com>
src/blockchain/rpc.rs
src/testutils/blockchain_tests.rs