diff --git a/src/tx-format/policy.md b/src/tx-format/policy.md index fb4a1a5a..1b7532a8 100644 --- a/src/tx-format/policy.md +++ b/src/tx-format/policy.md @@ -7,12 +7,13 @@ enum PolicyType : uint32 { WitnessLimit = 2, Maturity = 4, MaxFee = 8, + Expiration = 16, } ``` | name | type | description | |--------|-----------------------------------------------------------------------------------|--------------| -| `data` | One of [`Tip`](#tip), [`WitnessLimit`](#witnesslimit), or [`Maturity`](#maturity) | Policy data. | +| `data` | One of [`Tip`](#tip), [`WitnessLimit`](#witnesslimit), [`Maturity`](#maturity) or [`Expiration`](#expiration) | Policy data. | ## `Tip` @@ -42,6 +43,16 @@ Transaction is invalid if: - `blockheight() < maturity` +## `Expiration` + +| name | type | description | +|--------------|----------|------------------------------------------| +| `expiration` | `uint32` | Block after which the transaction cannot be included. | + +Transaction is invalid if: + +- `blockheight() > expiration` + ## `MaxFee` | name | type | description |