elements icon indicating copy to clipboard operation
elements copied to clipboard

Post-0.21: Separate wallet and node

Open apoelstra opened this issue 3 years ago • 0 comments

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.

apoelstra avatar Dec 03 '20 21:12 apoelstra