Skip to content

Post-0.21: Separate wallet and node #939

@apoelstra

Description

@apoelstra

In bitcoin/bitcoin#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions