simplify ChainstateManager::SnapshotBlockhash() return semantics

Don't return null snapshotblockhash values to avoid caller complexity/confusion.
This commit is contained in:
James O'Beirne
2020-08-25 13:50:23 -04:00
parent 7a6c46b37e
commit f6e2da5fb7
7 changed files with 348 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
"txmempool -> validation -> txmempool"
"wallet/fees -> wallet/wallet -> wallet/fees"
"wallet/wallet -> wallet/walletdb -> wallet/wallet"
"node/coinstats -> validation -> node/coinstats"
)
EXIT_CODE=0