0018 XLS-18d Standard For Bootstrapping XRPLD Networks #42
RichardAH
started this conversation in
XLS Proposals
Replies: 1 comment
-
|
@RichardAH should this spec be moved into PR and kept in the repo or should it be closed? Note that this does not mean that the spec has been accepted/implemented/finalized. I will move it to PR by copy-pasting the existing draft if there is no response in the next week. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Warning: DRAFT do not use until out of draft.
This procedure is experimental and additions amendments or recommendations based on experience to this standard draft are welcome.
Problem Definition
Xrpld/rippled[1] is the software that processes, achieves consensus upon and serves the decentralised public XRP Ledger, as well as numerous other public and private ledgers.From time to time a decentralised network may stall, fork, or otherwise fail to achieve consensus because of a bug, network instability, unreliable nodes or operators, a deliberate attack, or any combination of these. In this event the bootstrapping procedure to return the network to normal operation is important and should be followed correctly to avoid (further) forks and halts.
Terminology
Validatorrefers to a rippled instance configured to publish validations of ledgers.UNLrefers to a list of validator public keys that the network has collectively agreed are allowed to validate ledgers.Noderefers to a validator currently listed in the network'sUNL.Procedure — Cold Start
Cold start describes a situation in which none of the validators in a network are currently running. This situation can arise because they crashed, were terminated automatically or were terminated manually (or any combination of these.)
leader. The remaining nodes will be referred to asfollowers.leaderrun rippled from your terminal in the foreground with the following flags:./rippled --valid --quorum 1 --load./rippled --net --quorum 1followersand on theleaderyou may monitor whether or not ledgers are closing correctly using:./rippled ledger closedIn particular ensure the ledger index is incrementing and the ledgers are validated.
leaderterminate the foreground rippled process. (Ctrl + C)leaderrun rippled normally as a daemon.leaderin the second terminal continue to monitor the last closed ledger until validation is consistently achieved, as per 4.followernode.followerand start rippled normally.Troubleshooting
Small networks may require the
quorumsize to be permanently overridden for network stability. To do this modify the control script that runs rippled to include--quorum Xwhere X is the number of nodes in your UNL less 1.Other cases TBD
Beta Was this translation helpful? Give feedback.
All reactions