You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the config file rippled.cfg the [amendments] stanza does not behave as documented.
The documentation says: "Use the [amendments] stanza to list amendments you want to vote for."
But the code says: "Use the [amendments] stanza to set the amendments that are considered to be already enabled."
From ./src/ripple/app/misc/impl/AmendmentTable.cpp:
for (auto const& a : parseSection(enabled))
{
if (auto s = add(a.first, sl))
{
JLOG(j_.debug()) << "Amendment " << a.first << " is enabled.";
if (!a.second.empty())
s->name = a.second;
s->supported = true;
s->enabled = true;
}
}
It seems like putting an amendment in the [amendments] stanza might actually prevent your server from voting for it (because your server will think that it is already enabled).
Or is there something that checks that the "enabled" amendments are not in conflict with the amendments that the ledger says are enabled?
In my opinion, the documentation describes the intended/expected behavior. The current behavior (if it's what I think it is) is a bug and should be fixed.
Steps to Reproduce
Add/use the [amendments] stanza in rippled.cfg
Expected Result
Per the docs, the server should vote in favor of the amendments listed
Actual Result
Based on a reading of the code, it appears that the server will assume that the amendments listed are already enabled
Environment
Any version of rippled including 1.6.0 (latest stable) and 1.7.0-b1
The text was updated successfully, but these errors were encountered:
Issue Description
In the config file
rippled.cfg
the[amendments]
stanza does not behave as documented.The documentation says: "Use the [amendments] stanza to list amendments you want to vote for."
But the code says: "Use the [amendments] stanza to set the amendments that are considered to be already enabled."
From
./src/ripple/app/misc/impl/AmendmentTable.cpp
:It seems like putting an amendment in the [amendments] stanza might actually prevent your server from voting for it (because your server will think that it is already enabled).
Or is there something that checks that the "enabled" amendments are not in conflict with the amendments that the ledger says are enabled?
In my opinion, the documentation describes the intended/expected behavior. The current behavior (if it's what I think it is) is a bug and should be fixed.
Steps to Reproduce
Add/use the [amendments] stanza in rippled.cfg
Expected Result
Per the docs, the server should vote in favor of the amendments listed
Actual Result
Based on a reading of the code, it appears that the server will assume that the amendments listed are already enabled
Environment
Any version of rippled including 1.6.0 (latest stable) and 1.7.0-b1
The text was updated successfully, but these errors were encountered: