mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 18:22:57 +02:00
Merge bitcoin/bitcoin#21732: MOVEONLY: Move common init code to init/common
615965cfd1Move common package version code to init/common (Russell Yanofsky)5bed2ab42cMove common logging start code to init/common (Russell Yanofsky)1fb7fcfa52Move common logging GetArgs code to init/common (Russell Yanofsky)90469c1690Move common logging AddArg code to init/common (Russell Yanofsky)387c4cf588Move common sanity check code to init/common (Russell Yanofsky)a67b54855bMove common global init code to init/common (Russell Yanofsky) Pull request description: This PR is part of the [process separation project](https://github.com/bitcoin/bitcoin/projects/10). --- This change is move-only and can be easily reviewed with `--color-moved=dimmed_zebra`. The moves are needed to avoid duplicating common init code between different binaries (`bitcoin-node`, `bitcoin-wallet`, etc) in #10102. In #10102, each binary has it's own init file (`src/init/bitcoin-node.cpp`, `src/init/bitcoin-wallet.cpp`) so this PR moves the common code to `src/init/common.cpp`. ACKs for top commit: MarcoFalke: review ACK615965cfd1🖱 practicalswift: cr ACK615965cfd1: dimmed zebra looks correct Tree-SHA512: 859e1d86aee17eb50a49d806cf62d30d12f6b15018e41c096da41d7e535a9d2d088481cb340fee59e6c68e512a74b61c7146f2683465f553dc4953bf32f2a7b4
This commit is contained in:
@@ -156,6 +156,7 @@ BITCOIN_CORE_H = \
|
||||
index/txindex.h \
|
||||
indirectmap.h \
|
||||
init.h \
|
||||
init/common.h \
|
||||
interfaces/chain.h \
|
||||
interfaces/handler.h \
|
||||
interfaces/node.h \
|
||||
@@ -521,6 +522,7 @@ libbitcoin_common_a_SOURCES = \
|
||||
core_read.cpp \
|
||||
core_write.cpp \
|
||||
external_signer.cpp \
|
||||
init/common.cpp \
|
||||
key.cpp \
|
||||
key_io.cpp \
|
||||
merkleblock.cpp \
|
||||
|
||||
Reference in New Issue
Block a user