HomePhabricator

gui: Delay interfaces::Node initialization

Description

gui: Delay interfaces::Node initialization

Summary:

This is needed to allow bitcoin-gui to connect to existing node process
with -ipcconnect instead of spawning a new process. It's possible to
spawn a new bitcoin-node process without knowing the current data dir or
network, but connecting to an existing bitcoin-node requires knowing the
datadir and network first.

Completes backport (4/4) of bitcoin-core/gui PR35:
https://github.com/bitcoin-core/gui/pull/35/commits/519cae8fd6e44aef3470415d7c5e12acb0acd9f4

Depends on D8655.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8656

Details

Provenance
Russell Yanofsky <russ@yanofsky.org>Authored on Jul 6 2020, 14:36
FabienCommitted on Dec 14 2020, 08:03
FabienPushed on Dec 14 2020, 08:04
Reviewer
Restricted Project
Differential Revision
D8656: gui: Delay interfaces::Node initialization
Parents
rABC08c6e9c187ff: gui: Replace interface::Node references with pointers
Branches
Unknown
Tags
Unknown