aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-06-09 11:05:11 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-06-10 11:10:29 -0300
commit61c569ab6069d04079a0831468eb713983919636 (patch)
tree8938fc5fca28dc4ef57587eb7ed513980d65fecc /src/interfaces/node.h
parent4927167f855f8ed3bbf6d2766f61229f742e632a (diff)
downloadbitcoin-61c569ab6069d04079a0831468eb713983919636.tar.xz
refactor: decouple early return commands from AppInit
Cleaned up the init flow to make it more obvious when the 'exit_status' value will and won't be returned. This is because it was confusing that `AppInit` was returning true under two different circumstances: 1) When bitcoind was launched only to retrieve the "-help" or "-version" information. In this case, the app was not initialized. 2) When the user triggers a shutdown. In this case, the app was fully initialized.
Diffstat (limited to 'src/interfaces/node.h')
0 files changed, 0 insertions, 0 deletions