aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorBen Woosley <[email protected]>2018-05-20 14:04:15 -0700
committerBen Woosley <[email protected]>2018-05-20 22:19:42 -0700
commitebec7317ca1acbc65afa7fb08fc219c315fc4527 (patch)
tree7cce4ca196629a3bf18637f2adfee7fc7bfc717b /src/net_processing.cpp
parentMerge #13228: Add script to detect circular dependencies between source modules (diff)
downloaddiscoin-ebec7317ca1acbc65afa7fb08fc219c315fc4527.tar.xz
discoin-ebec7317ca1acbc65afa7fb08fc219c315fc4527.zip
Drop the chain argument to GetDifficulty
This removes the need to include rpc/blockchain.cpp in order to put GetDifficulty under test. GetDifficulty was called in two ways: * with a guaranteed non-null blockindex * with no argument Change the latter case to be provided chainActive.Tip() explicitly.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions