dash/src/rpc
MarcoFalke 02c6ecb02f
Merge #15655: Resolve the checkpoints <-> validation circular dependency
418d3230f8 Resolve the checkpoints <-> validation CD. (251)

Pull request description:

  This pull request attempts to resolve the `checkpoints -> validation -> checkpoints` circular dependency.

  The circular dependency is resolved by moving the `CheckPoints::GetLastCheckpoint(const CCheckpointData& data)` function to `validation.cpp` where it used exclusively by the private function `ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& state, const CChainParams& params, const CBlockIndex* pindexPrev, int64_t nAdjustedTime)`.

ACKs for commit 418d32:
  promag:
    utACK 418d323, only `GetLastCheckpoint` usage is in `validation.cpp` and so makes sense to move it there.
  practicalswift:
    utACK 418d3230f86f77dde6e817f502baff8a54b707fa
  MarcoFalke:
    utACK 418d3230f86f77dde6e817f502baff8a54b707fa
  sipa:
    utACK 418d3230f86f77dde6e817f502baff8a54b707fa

Tree-SHA512: 03c3556bc192e65f5e3fa76fd545d4ee7d63d3fb06b132f7a1fa6131aa21ddd2e5b2d19e2222dfe524f422daaca30efde219bed188db8c74ff4b088876b5bc16
2021-10-25 12:22:06 -04:00
..
blockchain.cpp Merge #15655: Resolve the checkpoints <-> validation circular dependency 2021-10-25 12:22:06 -04:00
blockchain.h Merge #12151: rpc: Remove cs_main lock from blockToJSON and blockheaderToJSON 2021-08-24 19:16:52 -04:00
client.cpp Merge #14008: Preserve a format of RPC command definitions 2021-10-08 19:13:56 +05:30
client.h Merge #12757: Clarify include guard naming convention 2020-07-19 00:42:54 -05:00
coinjoin.cpp Dash-specific changes to pass argument descriptions to RPCHelpMan 2021-10-22 09:48:25 -07:00
governance.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
masternode.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
mining.cpp Merge pull request #4525 from dzutte-cpp/merge_14796_14885_14875 2021-10-25 16:52:02 +03:00
mining.h Merge #15373: Move ParseConfirmTarget from rpc/mining to rpc/util 2021-09-13 10:31:44 -04:00
misc.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
net.cpp Merge #14796: rpc: Pass argument descriptions to RPCHelpMan 2021-10-22 09:48:25 -07:00
protocol.cpp merge bitcoin#14555: Move util files to directory 2021-06-27 12:03:13 +05:30
protocol.h Merge bitcoin#11536: Rename account to label where appropriate 2020-12-22 17:53:03 +01:00
rawtransaction.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
rawtransaction.h Merge #14437: Refactor: Start to separate wallet from node 2021-10-20 12:29:45 -04:00
register.h refactor: PrivateSend -> CoinJoin + Move the tab (#4038) 2021-03-17 18:36:11 -04:00
rpcevo.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
rpcquorums.cpp Merge pull request #4525 from dzutte-cpp/merge_14796_14885_14875 2021-10-25 16:52:02 +03:00
server.cpp refactor: Include adjustments (#4526) 2021-10-25 16:55:34 +03:00
server.h Merge #14214: convert C-style (void) parameter lists to C++ style () 2021-07-12 11:50:33 -04:00
util.cpp Merge #14875: RPCHelpMan: Support required arguments after optional ones 2021-10-22 09:48:25 -07:00
util.h Merge #14885: rpc: Assert named arguments are unique in RPCHelpMan 2021-10-22 09:48:25 -07:00