aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/mining.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace consensus values with Dogecoin equivalentsRoss Nicoll2021-06-021-1/+1
| | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
* scripted-diff: Replace EnsureChainman with Assert in unit testsMarcoFalke2020-06-151-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- sed --regexp-extended -i -e 's/EnsureChainman\((m?_?node)\)\./Assert(\1.chainman)->/g' $(git grep -l EnsureChainman) -END VERIFY SCRIPT-
* util: Add Assert identity functionMarcoFalke2020-06-151-2/+2
| | | | | | | | | | The utility is primarily useful to dereference pointer types, which are known to be not null at that time. For example, the ArgsManager is known to exist when the wallets are started. Instead of silently relying on that assumption, Assert can be used to abort the program and avoid UB should the assumption ever be violated.
* validation: Make ProcessNewBlock*() members of ChainstateManagerMarcoFalke2020-05-211-1/+1
|
* rpc: Remove mempool global from minerMarcoFalke2019-12-231-6/+8
|
* [test] move mining helper functions into test libraryMartin Zumsande2019-11-251-0/+51