-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated ledger
fields
#3214
Labels
Comments
intelliot
added a commit
to XRPLF/xrpl.js
that referenced
this issue
Jan 9, 2020
Per XRPLF/rippled#3214 The following fields are deprecated and may be removed without further notice: accepted, hash (use ledger_hash instead), seqNum (use ledger_index instead), totalCoins (use total_coins instead).
intelliot
added a commit
to XRPLF/xrpl.js
that referenced
this issue
Jul 26, 2021
Per XRPLF/rippled#3214 The following fields are deprecated and may be removed without further notice: accepted, hash (use ledger_hash instead), seqNum (use ledger_index instead), totalCoins (use total_coins instead).
ckeshava
pushed a commit
to ckeshava/rippled
that referenced
this issue
Jul 20, 2022
ckeshava
pushed a commit
to ckeshava/rippled
that referenced
this issue
Jul 20, 2022
Hello,
Two fields |
I don't know if it's intended, but if that's how it currently is, then I see no strong reason to change it. |
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Jul 10, 2023
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Sep 22, 2023
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
ckeshava
added a commit
to ckeshava/rippled
that referenced
this issue
Sep 25, 2023
Remove deprecated fields from the ledger command: * accepted * hash (use ledger_hash instead) * seqNum (use ledger_index instead) * totalCoins (use total_coins instead) Update SHAMapStore unit tests to use `jss:ledger_hash` instead of the deprecated `hash` field. Fix XRPLF#3214
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The JSON format for ledger objects (as returned by the
ledger
method among others) could probably stand to be better-unified a la transactions but for starters, we could at least remove some of the redundant fields that have been deprecated for years:Given that we've had that statement up since probably 2015 if not earlier, I think we'd be justified in removing the mentioned fields even without having full "API versioning" in place. Anyone who's still using them at this point is almost certainly doing something highly inadvisable if whatever they're doing even still works with all the amendments to the protocol since then.
The text was updated successfully, but these errors were encountered: