Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-29 | refactor: Make rest.cpp dependency on `*toJSON` in `blockchain.cpp` explicit | Wladimir J. van der Laan | |
2017-03-27 | refactor: Move RPCNotifyBlockChange out of `rpc/server.h` | Wladimir J. van der Laan | |
2017-03-27 | refactor: Move GetDifficulty out of `rpc/server.h` | Wladimir J. van der Laan | |
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`) |