Introduce the ExpandedSignerList amendment:

The amendment increases the maximum sign of an account's signer
list from 8 to 32.

Like all new features, the associated amendment is configured with
a default vote of "no" and server operators will have to vote for
it explicitly if they believe it is useful.
This commit is contained in:
Richard Holland
2022-04-11 10:21:56 +00:00
committed by manojsdoshi
parent 04bd5878f1
commit 01c37fed69
24 changed files with 506 additions and 215 deletions

View File

@@ -20,6 +20,7 @@
#include <ripple/basics/Slice.h>
#include <ripple/beast/unit_test.h>
#include <ripple/json/to_string.h>
#include <ripple/protocol/Rules.h>
#include <ripple/protocol/STAmount.h>
#include <ripple/protocol/STParsedJSON.h>
#include <ripple/protocol/STTx.h>
@@ -27,7 +28,6 @@
#include <ripple/protocol/TxFormats.h>
#include <ripple/protocol/UintTypes.h>
#include <ripple/protocol/messages.h>
#include <memory>
#include <regex>
@@ -1591,8 +1591,10 @@ public:
});
j.sign(keypair.first, keypair.second);
Rules defaultRules{{}};
unexpected(
!j.checkSign(STTx::RequireFullyCanonicalSig::yes),
!j.checkSign(STTx::RequireFullyCanonicalSig::yes, defaultRules),
"Transaction fails signature test");
Serializer rawTxn;