ElementsProject / ElementsProject/elements
Post-0.21: Separate wallet and node
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 416
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 15
Description
In https://github.com/bitcoin/bitcoin/pull/16367 the various Bitcoin Core were largely separated. In the 0.21 rebase of this PR I added `libbitcoin_common_a_SOURCES` and `libbitcoin_server_a_SOURCES` to `libbitcoin_wallet_a_SOURCES` which partially undid this separation.
The reason for this was that the blocksigning RPCs, while being part of the wallet, need access to the node. Similarly the pegin RPCs also look at the current chain state and even accesses the Bitcoin RPC.
Properly separating these things may be nontrivial. Blocksigning we should likely just move to a separate utility rather than being part of the wallet. Pegin claim management will take more thought.
Contributor guide
Assessment
This issue has not been assessed yet.