diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-06-09 11:05:11 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-06-10 11:10:29 -0300 |
commit | 61c569ab6069d04079a0831468eb713983919636 (patch) | |
tree | 8938fc5fca28dc4ef57587eb7ed513980d65fecc /src/deploymentinfo.cpp | |
parent | 4927167f855f8ed3bbf6d2766f61229f742e632a (diff) | |
download | bitcoin-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/deploymentinfo.cpp')
0 files changed, 0 insertions, 0 deletions