6 Commits
Author SHA1 Message Date
stringintech 7d9e1a8102 test: Verify peer usage after assumeutxo validation completes
Add test coverage to ensure peers without the snapshot block in their chain can be used for block downloads after background validation completes. The test fails without the fix in the previous commit.
2026-01-24 22:51:24 +03:30
stringintech 7b5d256af4 test: Add bitcoin-chainstate test for assumeutxo functionality
Adds functional test coverage for bitcoin-chainstate tool loading a datadir initialized with an assumeutxo snapshot
2025-12-18 20:19:15 +03:30
stringintech 2bc3265649 Fix ChainstateManager::AddChainstate() assertion crash
Check mempool exists before accessing size when prev_chainstate doesn't have initialized mempool.
2025-12-18 20:19:15 +03:30
stringintech 5f3d6bdb66 Add regtest support to bitcoin-chainstate tool
Adds -regtest flag to enable testing with regtest chain parameters.
2025-12-18 20:19:15 +03:30
stringintech 0067abe153 p2p: Allow block downloads from peers without snapshot block after assumeutxo validation
After assumeutxo background validation completes, allow block downloads from peers that don't have the snapshot block in their best chain.

Previously, these peers were skipped until restart because `m_chainman.CurrentChainstate().SnapshotBase()` continued returning non-null even after validation finished. Add `m_chainman.CurrentChainstate().m_assumeutxo == Assumeutxo::UNVALIDATED` check to only apply the restriction while background validation is ongoing.
2025-12-18 12:38:43 +03:30
stringintech 61e800e75c test: headers sync timeout 2025-07-14 16:48:23 +03:30