Select getblocktemplate
transactions according to ZIP-317
#5473
Labels
A-consensus
Area: Consensus rule updates
A-rpc
Area: Remote Procedure Call interfaces
C-enhancement
Category: This is an improvement
I-heavy
Problems with excessive memory, disk, or CPU usage
I-remote-node-overload
Zebra can overload other nodes on the network
I-slow
Problems with performance or responsiveness
Motivation
We want to select transactions based on ZIP-317.
Specifications
The block production parts of:
The outdated ZIP-313 might also have some relevant information:
https://zips.z.cash/zip-0313
Design
When selecting transactions, we should do something similar to
zcashd
, based on ZIPs 317 and 313.The ZIP editors have recommended including low-fee transactions in blocks with probability
fee / conventional_fee
. Zebra could implement this in the mempool, but that changes relaying as well, which we don't want to do yet. So using the RPC is best for now. The details are in https://hackmd.io/rgb38M_wSxa9kotyaON1fAWe should also check the
sigop_limit
before adding each new transaction to the block.Related Tickets
Other parts of transaction selection will be handled by the mempool changes in #5335.
The text was updated successfully, but these errors were encountered: