mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-01 00:55:50 +00:00
Update to match style guide.
This commit is contained in:
@@ -7,14 +7,22 @@ labels:
|
|||||||
---
|
---
|
||||||
# EnableAmendment
|
# EnableAmendment
|
||||||
|
|
||||||
An `EnableAmendment` [pseudo-transaction](pseudo-transaction-types.html) marks a change in status of an [amendment](amendments.html) to the XRP Ledger protocol, including:
|
An `EnableAmendment` pseudo-transaction marks a change in the status of a proposed amendment when it:
|
||||||
|
|
||||||
- A proposed amendment gained supermajority approval from validators.
|
- Gains supermajority approval from validators.
|
||||||
- A proposed amendment lost supermajority approval.
|
- Loses supermajority approval.
|
||||||
- A proposed amendment has been enabled.
|
- Is enabled on the XRP Ledger protocol.
|
||||||
|
|
||||||
**Note:** You cannot send a pseudo-transaction, but you may find one when processing ledgers.
|
<!-- TODO: Move to propose amendments tutorial.
|
||||||
|
|
||||||
|
A server only enables amendments when these conditions are met:
|
||||||
|
|
||||||
|
- A previous ledger includes an `EnableAmendment` pseudo-transaction with the `tfGotMajority` flag enabled.
|
||||||
|
- The previous ledger in question is an ancestor of the current ledger.
|
||||||
|
- The previous ledger in question has a close time that is at least two weeks before the close time of the latest flag ledger.
|
||||||
|
- There are no `EnableAmendment` pseudo-transactions for this amendment with the `tfLostMajority` flag enabled in the consensus ledgers between the `tfGotMajority` pseudo-transaction and the current ledger.
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
## Example {{currentpage.name}} JSON
|
## Example {{currentpage.name}} JSON
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user