Commit Graph

13695 Commits

Author SHA1 Message Date
Denis Angell
d42d965908 clang-format 2023-01-24 09:14:52 +00:00
Denis Angell
776d1fb797 Merge branch 'develop-nonconan' into icv2-super 2023-01-23 22:10:45 -05:00
Scott Schurr
b19287c6d0 Add a unit test for invalid memos (#4287) 2023-01-23 22:04:35 -05:00
Scott Schurr
c50eb7773f RPC tooBusy response has 503 HTTP status if "ripplerpc": "3.0": (#4143)
Fixes #4005

Makes it possible for internal RPC Error Codes to associate
themselves with a non-OK (200) HTTP status code.  There are
quite a number of RPC responses in addition to tooBusy that
now have non-OK HTTP status codes.

The new return HTTP return codes are only enabled by including
"ripplerpc": "3.0" or higher in the original request.
Otherwise the historical value, 200, continues to be returned.
This ensures that this is not a breaking change.
2023-01-23 22:04:22 -05:00
RichardAH
5f12c22fbe featureDisallowIncoming: Opt-out of incoming Checks, PayChans, NFTokenOffers and Trustlines (#4336)
featureDisallowIncoming is a new amendment that would allow users to opt-out of incoming Checks, Payment Channels, NFTokenOffers, and trust lines. This commit includes tests.

Adds four new AccountSet Flags:
1. asfDisallowIncomingNFTOffer
2. asfDisallowIncomingCheck
3. asfDisallowIncomingPayChan
4. asfDisallowIncomingTrustline
2023-01-23 22:03:58 -05:00
Denis Angell
c49406d8c9 clang-format 2023-01-23 21:45:20 -05:00
Denis Angell
15a07d14f8 clang-format 2023-01-23 21:32:47 -05:00
Richard Holland
0aaf98c46e fix up some pre-existing sequence testcases 2023-01-23 13:19:47 +00:00
Richard Holland
039ce53c00 limit state modifications to 256 2023-01-23 12:36:07 +00:00
dangell7
f79b6c7193 fix test name 2023-01-23 12:23:15 +00:00
dangell7
3dd7fd4754 add pre test 2023-01-23 12:23:05 +00:00
dangell7
76779d379c fix no-line bug 2023-01-23 12:22:55 +00:00
dangell7
8a344a39e1 clang-format 2023-01-23 12:21:20 +00:00
dangell7
6569421524 add gateway feature 2023-01-23 12:21:10 +00:00
Richard Holland
beb0710d46 add max state object modification test to state_set unit test 2023-01-23 12:18:00 +00:00
Richard Holland
cbad4e53d2 add a hard cap to the number of modified state entries there can be in a set of hook executions 2023-01-23 10:29:55 +00:00
dangell7
63fa10412e fix test name 2023-01-23 03:35:13 -05:00
dangell7
cd748dec95 add pre test 2023-01-23 03:14:48 -05:00
dangell7
3cf5a3d3d1 fix no-line bug 2023-01-23 03:14:26 -05:00
dangell7
14c68f88ea clang-format 2023-01-23 02:43:52 -05:00
dangell7
8740108f99 add gateway feature 2023-01-23 02:27:17 -05:00
dangell7
d492ffd04e cleanup and fix rpc call test 2023-01-22 17:31:41 +00:00
dangell7
f49dce56b0 fix paychan marker 2023-01-22 17:31:16 +00:00
dangell7
ccb3f36245 update rpc call value/currency/issuer 2023-01-22 17:31:05 +00:00
dangell7
f6c64e1c80 fixup consequences test 2023-01-22 17:30:56 +00:00
dangell7
da7a99c231 fix consequences test 2023-01-22 17:30:43 +00:00
dangell7
f8342a7069 fix disallow XRP tests 2023-01-22 17:30:35 +00:00
dangell7
6f43313393 lint 2023-01-22 17:30:07 +00:00
dangell7
c008c1e951 fix disalllow XRP bug 2023-01-22 17:25:05 +00:00
dangell7
fb58424598 paychan tests tests; rpc, disallow & abusetl 2023-01-22 17:21:35 +00:00
dangell7
e12009d12c enable disallowXRP test (escrow) 2023-01-22 17:21:27 +00:00
dangell7
720930a8f6 update rpc auth + verify 2023-01-22 17:21:18 +00:00
dangell7
2c2b70f05e escrow tests cont. + lint/clean 2023-01-22 17:21:11 +00:00
dangell7
0c43377d6f cont. paychan tests 2023-01-22 17:20:33 +00:00
Richard Holland
a9c15ddbfc - 2023-01-22 17:20:21 +00:00
dangell7
0c1aedfe15 fix account_channels resp 2023-01-22 17:19:18 +00:00
dangell7
312c10e053 enable test w/ features 2023-01-22 15:25:53 +00:00
Richard Holland
456d1ebb0d unit tests need to be run against 200/50 reserves due to widespread hardcoding in rippled 2023-01-22 13:49:16 +00:00
Richard Holland
ad8e66f50d update test wasm binaries 2023-01-22 09:22:51 +00:00
Richard Holland
64329a0f20 update state_foreign_set unit test to test reserve exhaustion 2023-01-22 09:22:30 +00:00
Richard Holland
b51723269d enforce hook api signatures during hookset 2023-01-20 13:51:52 +00:00
dangell7
17193d12c7 cleanup and fix rpc call test 2023-01-20 00:40:20 -05:00
dangell7
4177d5b00f fix paychan marker 2023-01-19 23:40:39 -05:00
dangell7
fc55a7cd04 update rpc call value/currency/issuer 2023-01-19 23:40:17 -05:00
dangell7
d500fce743 fixup consequences test 2023-01-19 13:05:45 -05:00
dangell7
4db22471d8 fix consequences test 2023-01-19 13:03:47 -05:00
dangell7
c7dfc60571 fix disallow XRP tests 2023-01-19 12:57:17 -05:00
dangell7
4c633995f5 lint 2023-01-19 12:56:44 -05:00
dangell7
b99e445c56 fix disalllow XRP bug 2023-01-19 12:54:14 -05:00
dangell7
4e9d1fd575 paychan tests tests; rpc, disallow & abusetl 2023-01-19 09:40:32 -05:00