zebra icon indicating copy to clipboard operation
zebra copied to clipboard

Do contextual validation on mempool transactions using the state best tip

Open teor2345 opened this issue 1 year ago • 2 comments

Motivation

The getblocktemplate RPC collects the transactions in the mempool into a block. That block must be contextually valid based on the best tip in the state.

We'll want a new state request for this.

Design

Contextual validation: https://github.com/ZcashFoundation/zebra/blob/afb8b3d4775d89b3f9223447341bf6ce152f5c3a/book/src/dev/rfcs/0002-parallel-verification.md

State design details: https://github.com/ZcashFoundation/zebra/blob/afb8b3d4775d89b3f9223447341bf6ce152f5c3a/book/src/dev/rfcs/0005-state-updates.md

teor2345 avatar Oct 11 '22 00:10 teor2345

@mpguerra this is part of the getblocktemplate work I was talking about on Slack.

teor2345 avatar Oct 11 '22 00:10 teor2345

Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @oxarbitrage @teor2345 @upbqdn

mpguerra avatar Oct 14 '22 08:10 mpguerra