Add a comment about a mempool request bug
Transaction verifier mempool requests should take the next block height, because some consensus rules depend on the exact height. See #1683.
This commit is contained in:
parent
0ac259430a
commit
132c7fe4a5
|
|
@ -79,7 +79,8 @@ pub enum Request {
|
||||||
transaction: Arc<Transaction>,
|
transaction: Arc<Transaction>,
|
||||||
/// Additional UTXOs which are known at the time of verification.
|
/// Additional UTXOs which are known at the time of verification.
|
||||||
known_utxos: Arc<HashMap<transparent::OutPoint, zs::Utxo>>,
|
known_utxos: Arc<HashMap<transparent::OutPoint, zs::Utxo>>,
|
||||||
/// The active NU in the context of this verification.
|
/// Bug: this field should be the next block height, because some
|
||||||
|
/// consensus rules depend on the exact height. See #1683.
|
||||||
upgrade: NetworkUpgrade,
|
upgrade: NetworkUpgrade,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue