Implement PrunedBlockchain
backend: RPC on pruned node
#530
Labels
summer-of-bitcoin
Summer of Bitcoin Project Proposal
PrunedBlockchain
backend: RPC on pruned node
#530
Current
RpcBlockchain
grants full access to transaction history, however, it requires a non-pruned node (a node storing the full blockchain, which at the time of writing is over 400GB).However, by renouncing to a wallet full transaction history, it is still possible to compute the wallet balance and be able to spend without needing a non-pruned node.
The key to achieve that is using RPC method
scantxoutset
Note: if someone want to turn this into a "summer-of-bitcoin" project is welcome
Summer of Bitcoin Project Proposal
Description
Current
RpcBlockchain
grants full access to transaction history, however, it requires a non-pruned node (a node storing the full blockchain, which at the time of writing is over 400GB).However, even without a wallet's full transaction history it is still possible to compute the wallet balance and be able to spend with only a pruned core full node.
The key to achieve that is using RPC method
scantxoutset
Expected Outcomes
blockchain::rpc::PrunedRpcBlockchain
andblockchain::rpc::PrunedRpcConfig
.PrunedRpcBlockchain
will use corescantxoutset
RPC to compute wallet balances.PrunedRpcBlockchain
will create spending transactions with a pruned core full node.Resources
Skills Required
Mentor(s)
@afilini @RCasatta
Difficulty
Hard
Competency Test
example_bitcoind_rpc_polling
client.The text was updated successfully, but these errors were encountered: