IntersectMBO / cardano-ledger

The ledger implementation and specifications of the Cardano blockchain.
Apache License 2.0
262 stars 155 forks source link

Mempool rule #4642

Closed teodanciu closed 2 months ago

teodanciu commented 2 months ago

Description

Introduces Mempool rule and calls it from Ledger rule for transactions in the mempool.

The first commit adds the predicate failure to ConwayLedgerPredFailure, which breaks node-to-client protocol. If the rest of the PR requires much rework, which would detract too much from Issues discovered in Conway and fixed during the bootstrap phase, then we can just merge the first commit and put the rest on hold for after the intra-era HF.

Closes https://github.com/IntersectMBO/cardano-ledger/issues/4622

Checklist