You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a time-to-live (TTL) value for transactions, stating that the transaction must be included in the blockchain before a certain slot and simply dropped otherwise.
Decision
TTL value is a number of slots, and hardcoded initially.
The Tx expiry slot is calculated when the transaction is created, and recorded in the DB with pending transactions.
Add a new TxStatus "Expired", which means that the TTL has been reached.
In the wallet layer, when applying blocks, check the expiry slot of pending transactions. Any expired transactions are removed from the pending set and marked with Expired state.
Tx expiry is not something that can be rolled back.
Acceptance Criteria
Transaction expiry must be the time when the transaction was created plus the TTL.
Transactions must not be still pending after their TTL has been reached.
Development
As above.
QA
Integration tests are added in lib/core-integration/src/Test/Integration/Scenario/API/Shelley/Transactions.hs
TRANS_TTL_01
TRANS_TTL_02
TRANS_TTL_03
TRANS_TTL_04
TRANS_TTL_DELETE_01
The text was updated successfully, but these errors were encountered:
1879: Add transaction expiry slot for pending transactions r=KtorZ a=rvl
### Issue Number
Relates to ADP-93 / #1838.
### Overview
- Adds expiry slot to pending transactions in order to implement transaction TTL.
- Expiry slot and time is reported in the transaction history.
- At the expiry slot, pending transactions are marked Expired.
- Default TTL of 7200 slots is still hard coded.
2227: Fix mainnet network parameters r=KtorZ a=rvl
### Issue Number
Relates to #2226.
### Overview
- Rearrange byron/shelley code a little.
- Updates hardcoded epoch length (slots not blocks) and active slot coefficient values for mainnet.
- Also updates slot length parameter.
- Also updates the _minFee a_ parameter - but I'm uncertain why the value was like that before.
Co-authored-by: Rodney Lorrimar <[email protected]>
Context
ADP-93 Transaction scheduler
Introduce a time-to-live (TTL) value for transactions, stating that the transaction must be included in the blockchain before a certain slot and simply dropped otherwise.
Decision
Acceptance Criteria
Development
As above.
QA
lib/core-integration/src/Test/Integration/Scenario/API/Shelley/Transactions.hs
The text was updated successfully, but these errors were encountered: