diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-07-04 15:26:42 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-07-04 15:34:03 +0200 |
| commit | 79e677950b32f31f06f4a72aeb59997bbeae152c (patch) | |
| tree | 0116ed5bc15c7ac65ef0eb62f1cac6d8b558df82 /src/interfaces/node.cpp | |
| parent | Merge #13592: Docs: Modify policy to not translate command-line help (diff) | |
| parent | Break circular dependency: init -> * -> init by extracting shutdown.h (diff) | |
| download | discoin-79e677950b32f31f06f4a72aeb59997bbeae152c.tar.xz discoin-79e677950b32f31f06f4a72aeb59997bbeae152c.zip | |
Merge #13235: Break circular dependency: init -> * -> init by extracting shutdown.h
1fabd59e7 Break circular dependency: init -> * -> init by extracting shutdown.h (Ben Woosley)
e62fdfeea Drop unused init.h includes (Ben Woosley)
Pull request description:
Most includers just wanted to react to pending shutdown.
This isolates access to `fRequestShutdown` and limits access to the shutdown api functions, including the new `CancelShutdown` for setting it to `false`.
Tree-SHA512: df42f75dfbba163576710e9a67cf1228531fd99d70a2f187bfba0bcc476d6749cf88180a97e66a81bb5b6c3c7f0917de7402d26039ba7b644cb7509b02f7e267
Diffstat (limited to 'src/interfaces/node.cpp')
| -rw-r--r-- | src/interfaces/node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 4189ff749..db371d104 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -21,6 +21,7 @@ #include <primitives/block.h> #include <rpc/server.h> #include <scheduler.h> +#include <shutdown.h> #include <sync.h> #include <txmempool.h> #include <ui_interface.h> |