diff --git a/src/rpc/handlers/AccountChannels.h b/src/rpc/handlers/AccountChannels.h index 4461bb17..950291ae 100644 --- a/src/rpc/handlers/AccountChannels.h +++ b/src/rpc/handlers/AccountChannels.h @@ -76,7 +76,7 @@ public: std::optional destinationAccount; std::optional ledgerHash; std::optional ledgerIndex; - uint32_t limit = 50; + uint32_t limit = 200; std::optional marker; }; diff --git a/src/rpc/handlers/AccountLines.h b/src/rpc/handlers/AccountLines.h index 65e57358..f9098e37 100644 --- a/src/rpc/handlers/AccountLines.h +++ b/src/rpc/handlers/AccountLines.h @@ -76,7 +76,7 @@ public: std::optional peer; bool ignoreDefault = false; // TODO: document // https://github.com/XRPLF/xrpl-dev-portal/issues/1839 - uint32_t limit = 50; + uint32_t limit = 200; std::optional marker; }; diff --git a/src/rpc/handlers/BookOffers.h b/src/rpc/handlers/BookOffers.h index 13f1efac..5ef04171 100644 --- a/src/rpc/handlers/BookOffers.h +++ b/src/rpc/handlers/BookOffers.h @@ -49,7 +49,7 @@ public: { std::optional ledgerHash; std::optional ledgerIndex; - uint32_t limit = 50; + uint32_t limit = 60; std::optional taker; ripple::Currency paysCurrency; ripple::Currency getsCurrency; diff --git a/unittests/rpc/handlers/AccountChannelsTest.cpp b/unittests/rpc/handlers/AccountChannelsTest.cpp index 3eda6f4e..ffb921a7 100644 --- a/unittests/rpc/handlers/AccountChannelsTest.cpp +++ b/unittests/rpc/handlers/AccountChannelsTest.cpp @@ -387,7 +387,7 @@ TEST_F(RPCAccountHandlerTest, DefaultParameterTest) "ledger_hash":"4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652", "ledger_index":30, "validated":true, - "limit":50, + "limit":200, "channels":[ { "channel_id":"E6DBAFC99223B42257915A63DFC6B0C032D4070F9A574B255AD97466726FC321", @@ -613,7 +613,7 @@ TEST_F(RPCAccountHandlerTest, OptionalResponseField) "ledger_hash":"4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652", "ledger_index":30, "validated":true, - "limit":50, + "limit":200, "channels":[ { "channel_id":"E6DBAFC99223B42257915A63DFC6B0C032D4070F9A574B255AD97466726FC321", diff --git a/unittests/rpc/handlers/AccountLinesTest.cpp b/unittests/rpc/handlers/AccountLinesTest.cpp index e023f446..630f6317 100644 --- a/unittests/rpc/handlers/AccountLinesTest.cpp +++ b/unittests/rpc/handlers/AccountLinesTest.cpp @@ -433,7 +433,7 @@ TEST_F(RPCAccountLinesHandlerTest, DefaultParameterTest) "ledger_hash": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652", "ledger_index": 30, "validated": true, - "limit": 50, + "limit": 200, "lines": [ { "account": "rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun", @@ -629,7 +629,7 @@ TEST_F(RPCAccountLinesHandlerTest, OptionalResponseField) "ledger_hash": "4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A652", "ledger_index": 30, "validated": true, - "limit": 50, + "limit": 200, "lines": [ { "account": "rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun",