Skip to content

Merge dev into rc/0.4.0 for rc.2#1162

Closed
nachog00 wants to merge 14 commits into
rc/0.4.0from
dev
Closed

Merge dev into rc/0.4.0 for rc.2#1162
nachog00 wants to merge 14 commits into
rc/0.4.0from
dev

Conversation

@nachog00
Copy link
Copy Markdown
Contributor

Summary

Brings latest dev into the RC branch for 0.4.0-rc.2.

Tag 0.4.0-rc.2 already pushed and release workflow running.

pacu and others added 14 commits April 28, 2026 15:37
Align Zaino's CompactTxStreamer responses with lightwalletd for single-block lookups.

GetBlock and GetBlockNullifiers now request all pool data, compact blocks use lightwalletd's protoVersion value, nullifier responses clear transparent inputs and outputs, and tree-state RPCs are delegated to the backing validator so they are not limited by the local cache view.
Teach the chain index to reconstruct compact blocks from the backing validator when a serviceable non-finalized height is absent from the local snapshot/finalized DB.

This matches lightwalletd's validator-backed behavior for recently loaded chains and prevents GetBlock/GetBlockRange from reporting database holes while Zaino's local cache is still catching up.
Restore local chain-index tree-state lookup as the primary path, and only fall back to the backing validator when the local data cannot serve the request.

This keeps Zaino's local-data semantics while preserving the boot/cache-miss behavior needed for lightwalletd parity in the gRPC comparison test.
Co-authored-by: Pacu <pacu@zecdev.org>
Align CompactTxStreamer responses with lightwalletd
fix txout set accumulator for spends from non-standard script types
@nachog00 nachog00 closed this May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants