Commit Graph

12806 Commits

Author SHA1 Message Date
Denis Angell
8b6efee476 clang-format 2023-01-24 17:33:05 -05:00
Denis Angell
a0ce24d4e3 precision paychan test 2023-01-24 17:13:10 -05:00
Denis Angell
10c94831e9 update insuficient funds error 2023-01-24 17:12:45 -05:00
Denis Angell
250ed22922 nit 2023-01-24 16:56:13 -05:00
Denis Angell
8a8c980be7 nit 2023-01-24 16:29:55 -05:00
Denis Angell
139d57921a nit 2023-01-24 05:50:17 -05:00
Denis Angell
a145dd7379 todo: fix this failing test 2023-01-24 05:44:51 -05:00
Denis Angell
3b5e4b7e33 add transfer rate 2023-01-24 05:43:35 -05: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
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
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
dangell7
1da0cd9753 enable disallowXRP test (escrow) 2023-01-19 09:39:42 -05:00
dangell7
231647d156 update rpc auth + verify 2023-01-19 09:38:39 -05:00
dangell7
2b335ab1ca escrow tests cont. + lint/clean 2023-01-18 03:19:29 -05:00
dangell7
dafba0fb10 cont. paychan tests 2023-01-17 18:17:36 -05:00
dangell7
ca5436fc73 fix account_channels resp 2023-01-17 16:00:46 -05:00
dangell7
3f922eb8c5 enable test w/ features 2023-01-16 06:26:08 -05:00
dangell7
b3559f1f88 add paychan tests 2023-01-14 23:13:35 -05:00
dangell7
99e830606d change error type 2023-01-14 23:13:24 -05:00
dangell7
87fe411483 escrow tests 2023-01-10 04:51:39 -05:00
dangell7
0999033ec0 tests 2023-01-09 02:48:47 -05:00
dangell7
77cecaf187 comment unused variable 2023-01-09 02:48:28 -05:00
dangell7
5bff2ad2b9 fix amount bug 2023-01-09 02:48:15 -05:00
dangell7
4f94f07b2b add ic signClaim 2023-01-01 22:46:57 -05:00
dangell7
3c0aaab21b add IC to tecUNFUNDED 2023-01-01 22:46:18 -05:00
dangell7
2bad9bde04 change check from xrp to native + error handle 2023-01-01 22:45:46 -05:00
dangell7
cbee151d2d fix: format error 2022-12-27 21:29:41 -05:00
dangell7
e899147a4e erge branch 'icv2-super' of github.com:Transia-RnD/rippled into icv2-super 2022-12-27 19:48:30 -05:00
dangell7
24c51a51a6 update error handling & fix xrp issue 2022-12-27 19:45:24 -05:00
Denis Angell
c463bd8ccc Merge branch 'develop' into icv2-super 2022-12-27 19:28:48 -05:00
CJ Cobb
df1300fb37 Catch transaction deserialization error in doLedgerGrpc (#4323)
* Allow clio to extract ledgers with transactions that can no longer be
  deserialized. The problem transactions will be skipped.
2022-12-13 17:09:53 -08:00
Scott Determan
648d6c3e2f Fix clang 15 warnings: (#4325)
Clang warned about the code removed in this patch with the warning:
```
warning: out-of-line definition of constexpr static data member is
redundant in C++17 and is deprecated [-Wdeprecated]
```
2022-12-13 16:21:22 -08:00
Scott Determan
47ffc392d7 Work around gdb bug by changing a template parameter: (#4332)
There's a bug in gdb where unsigned template parameters cause issues with
RTTI. This patch changes a template parameter from `size_t` to `int` to
work around this gdb bug.
2022-12-13 16:13:54 -08:00