-
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
Stand-alone mode ignores reserves voting on fresh ledger (Version: 1.7.0-b10) #3734
Comments
I have a similar bug on testnet: https://testnet.xrpl.org/accounts/rpShuzUW3HWR26GBuhBBq6dKwwHeiGy6fS |
That's not a bug, that's working as designed. The payments in question are getting |
@mDuo13 thanks o/ |
@mDuo13 well, I sent 11 XRP and try to sent to another address and I had the same problem... |
The reduced prices for reserves were implemented as default votes, not as default values. You'd need to close a couple ledgers until the first flag ledger gets closed, there should likely be a vote from the standalone validator in there that reduces fees. I assume this is intended behavior? |
Hi @MarkusTeufelberger, well I want to receive a transaction in some wallet address and when I recognize the value I send to another central wallet address. |
Your Testnet problem is unrelated to this issue. Please read https://xrpl.org/reserves.html or get support elsewhere. |
note: this issue applies not only to standalone mode; even if you change reserves in config (example below), you still need to wait for a flag ledger (~15 min at the rate that Mainnet closes ledgers) for the settings to take effect.
|
You can change the configured defaults using the mostly undocumented configuration sections
The delay using fee |
I can change the code so that Do we want to keep the mostly undocumented configuration sections @intelliot @ximinez @mDuo13 Let me know what you think. |
In fact, no I don't. My intent is to push some changes commits to #4319 which will basically do away with those settings, and read from |
Issue Description
When starting a new ledger in stand-alone mode, the server uses the hard-coded default reserve settings of 200 XRP base + 50 XRP incremental reserve, ignoring the configured
[voting]
stanza.This issue causes transactions that send, say, 21 XRP to a fresh account to result in
tecNO_DST_INSUF_XRP
when run against a server in stand-alone mode instead of succeeding, when they would be fine against mainnet/testnet/etc. I also have not figured out if there is a way to adjust and test different fee/reserve settings in stand-alone mode at all.Steps to Reproduce
Add the following stanza to your
rippled.cfg
:This is supposed to bring the recommended votes in line with the current mainnet values of 20 XRP / 5 XRP.
Start
rippled
in stand-alone mode:(The
--start
is optional but causes supported amendments to be enabled from the start rather than waiting 2 weeks; it would make sense to apply fee voting settings the same way.)Use
server_info
to check the reserve settings of the current ledger:Optionally, close the ledger 256 times to give Fee Voting a chance to take effect:
Use
server_info
to check the reserve settings of the current ledger:Check for a
FeeSettings
object usingledger_entry
orledger_data
:Expected Result
Server info (at step 3 or at least step 5) shows
"reserve_base_xrp": 20
and"reserve_inc_xrp": 5
.Ledger's
FeeSettings
object indicates the reserve settings per the vote.Actual Result
Server info shows that the base reserve is still the hard-coded value of 200 XRP:
Ledger has no FeeSettings object.
Environment
Arch Linux x86_64
rippled v1.7.0-b10, self-compiled (unit tests passing)
The text was updated successfully, but these errors were encountered: