diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-27 12:14:43 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-03-27 12:21:35 +0200 |
| commit | e6dcfeec05d6527ab148550836937ff435e6449c (patch) | |
| tree | 08be69b20b3acb139378636597e938c5864696f1 /src/httpserver.cpp | |
| parent | Merge #10057: [init] Deduplicated sigaction() boilerplate (diff) | |
| download | discoin-e6dcfeec05d6527ab148550836937ff435e6449c.tar.xz discoin-e6dcfeec05d6527ab148550836937ff435e6449c.zip | |
refactor: Move GetDifficulty out of `rpc/server.h`
It has no business in `rpcserver.h`. Define it in the interface header
of the implementation unit `rpcblockchain` where it is defined.
Also modernize the signature to:
double GetDifficulty(const CBlockIndex* blockindex = nullptr);
(remove `extern`, replace `NULL` with `nullptr`)
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions