Repository navigation
Description
TL;DR: On a devnet whose platform quorums rotate quickly, dash-spv intermittently cannot hand out the key of the quorum that signed a Platform proof. Either the quorum is "not verified by SPV yet (Skipped(NotMarkedForVerification))", or it is "not found". In the second case the SDK bans every DAPI node. No network fault was active when these happened. Possibly related: #1396.
Environment
- dash-spv at rust-dashcore
f0ddfd45(0.47), consumed through dash-sdk / platform-wallet at dashpay/platformd6556f98. The same symptoms appeared earlier atf6bb90cb(0.46). - Devnet with Dash Core 24.0.3, Platform (Drive) 5.1.0-rc.1, Tenderdash 2.0.0-dev.3, 13 evonodes, platform LLMQ type 107 (
LLMQ_DEVNET_PLATFORM, 12 members, threshold 8), Core block time 10 s. - Client: Dash Evo Tool backend E2E suite, SPV mode, full validation, scanning from genesis.
Symptom 1: quorum not verified (Skipped(NotMarkedForVerification))
A proof signed by a platform quorum that SPV has in its masternode lists, but never verified:
2026-11-26T13:36:31.390505Z WARN retrying request retry=1 max_retries=6 error=ExecutionError { possibly_accepted: false, inner: ContextProviderError(QuorumSourceUnavailable("quorum 107:1a0c6c289a8ed25464901f67afea999ed516d005833c040e600bb7666695b20c at Core chain-locked height 5897: quorum 107:1a0c6c289a8ed25464901f67afea999ed516d005833c040e600bb7666695b20c is not verified by SPV yet (Skipped(NotMarkedForVerification))")), retries: 0, address: Some(Address(<DAPI node>)) }
Earlier (at f6bb90cb), quorum 4810aff022a5e780e77247fb21d120edd92306adf54053e6e3716f0c1ac8e7f1, mined at height 5328, was still signing proofs at chain-locked heights 5429 and 5443, more than 100 blocks later. It stayed Skipped(NotMarkedForVerification) the whole time.
Suspected mechanism (from reading the code, not confirmed by a unit test): MasternodeListEngine::verify_newest_quorums verifies only the quorums of the newest masternode list. The lookup for a proof (quorum_entry_for_hash_at_or_before_height) returns the quorum entry from the list at or before the proof's chain-locked height. If the quorum has already rotated out of the newest list, that entry keeps its initial NotMarkedForVerification status. On testnet the longer platform quorum window probably hides this.
Symptom 2: quorum not found
A newly mined platform quorum is not found for a proof chain-locked a few blocks later:
2026-11-26T13:30:54.134114Z WARN Quorum not found: type 107_Dev-Platform at or before height 5901 with hash 7feb450e3b8670115f70b1f0677106031f8f580e2c1ec14afc2499b247d01f20
In this case the SDK reports QuorumKeyUnavailable and bans the answering node. After about 65 such lookups across retries, every DAPI address is banned and the request ends in DapiAllAddressesExhausted { source: DapiNoAddresses { source_error: DapiClientError(NoAvailableAddresses) } }. Earlier example: quorum 4e26fc32…, mined at height 5448, was not found for a proof at chain-locked height 5467.
Frequency
Both symptoms are intermittent. The same tests pass when re-run a few minutes later. In about 70 E2E tests over roughly 3 hours, they caused 2–4 failures per pass. They also appear in the background syncs of passing tests. Every occurrence quoted here happened while no fault was being injected into the network.
Expected
A quorum that is still signing Platform proofs can be verified and found by SPV, so proof verification succeeds. A lookup that only lags behind the chain tip is not treated as a reason to ban the node.
🤖 Generated with Claude Code
Activity