Commit Graph

13695 Commits

Author SHA1 Message Date
Richard Holland
7d375c93fc state_foreign_set unit test passing 2023-01-13 10:04:45 +00:00
Richard Holland
10118aa61b preliminary version of state_foreign_set unit test 2023-01-13 10:04:44 +00:00
Richard Holland
8629a29ec7 fix foreign state namespace bug 2023-01-13 10:04:42 +00:00
Richard Holland
3fb1d27aa9 ledger_last_hash test 2023-01-13 10:04:41 +00:00
Richard Holland
77c76c044e ledger_nonce test 2023-01-13 10:04:40 +00:00
Richard Holland
f1c5cf99be ledger_last_time test 2023-01-13 10:04:39 +00:00
Richard Holland
34347384c0 ledger_seq unit test 2023-01-13 10:04:37 +00:00
Richard Holland
2c77a4d3dc state_foreign 2023-01-13 10:04:31 +00:00
Richard Holland
b5cdeb5812 first half of state_foreign unit test 2023-01-13 09:56:38 +00:00
Richard Holland
3c045736bc unit test for state 2023-01-13 09:51:08 +00:00
John Freeman
0ce15e0e35 Update BUILD.md (#4383)
Help readers of BUILD.md by moving the crash course to the top
2023-01-11 21:03:38 -08: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
John Freeman
b0e0f319a1 Make NodeToShardRPC a manual test (#4379)
Right now it is flaky, which creates noise in our automated testing.
2023-01-05 18:28:37 -06:00
John Freeman
2233f585f8 Update build instructions (#4376)
Document minimum compiler version; how to choose compiler; how to fix missing `std::result_of`; how to create Conan profile.
2023-01-05 18:27:53 -06:00
Scott Schurr
61d8c7a85b Add a unit test for invalid memos (#4287) 2023-01-04 15:45:19 -08:00
Scott Schurr
6f8750316c 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-03 09:24:45 -08: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
Chenna Keshava B S
c11472ed0b Remove inacessible code paths and outdated data format wchar_t 2022-12-23 13:10:10 +00:00
seelabs
eb6d770981 Support for boost 1.80.0:
Boost intrusive renamed the `comp()` function -> `get_comp()`
2022-12-23 13:09:30 +00:00
Michael Legleux
72ec634a25 Pin postgres, zlib, krb5, libuv and cassandra to stable versions 2022-12-23 13:07:07 +00:00
Ikko Ashimine
6b9c2826fc Fix typo in detail/Node.h
minumum -> minimum
2022-12-23 13:06:50 +00:00
seelabs
0913a3c596 Allow gcc 12 compilation:
Compiling with gcc 12 on manjaro (arch variant) had compilation errors
without adding an additional include file.
2022-12-23 13:06:30 +00:00
RichardAH
3284ab1804 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
2022-12-23 13:04:49 +00:00
CJ Cobb
167a7b3a5b 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-23 12:51:54 +00:00
Scott Determan
3c1f84f09e 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-23 12:51:41 +00:00
Scott Determan
74f1228d4a 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-23 12:51:28 +00:00
Gregory Popovitch
d46664df0f Prevent unnecessary shared_ptr copies by accepting a value in SHAMapInnerNode::setChild (#4266)
* Do a move instead of a copy in `SHAMapInnerNode::setChild`

* Create the value directly in the call
2022-12-23 12:50:33 +00:00
Elliot Lee
c912b939d6 Set version to 1.10.0-rc1 2022-12-23 12:50:28 +00:00
Scott Determan
9fc1a786dc Improve move semantics in Expected (#4326)
* Improve move semantics in Expected:

This patch unconditionally moves an `Unexpected<U>` value parameter as
long as `U` is not a reference. If `U` is a reference the code should
not compile. An error type that holds a reference is a strange use-case,
and an overload is not provided. If it is required in the future it can
be added.

The `Expected(U r)` overload should take a forwarding ref.

* Replace enable_if with concepts in Expected
2022-12-23 12:48:55 +00:00
Ed Hennis
63f80ea033 Don't try to read SLE with key 0 from the ledger:
* May resolve #4341
2022-12-23 12:48:44 +00:00
Richard Holland
8682d40eca reminder 2022-12-23 11:35:58 +00:00
Richard Holland
68f0e4baf5 make reward hook work with gov hook voted reward value 2022-12-22 13:36:07 +00:00
Richard Holland
e8e4bf7bf3 make ttINVOKE much more flexible 2022-12-22 11:42:59 +00:00
Richard Holland
7aa49cdf19 ensure that emitted txns don't need to specify network id 2022-12-21 22:29:18 +00:00
John Freeman
fda9e9a7ee Fix Doxygen workflow (#4372) 2022-12-21 10:41:16 -08:00
Richard Holland
4b2b6a871a update defs.json 2022-12-21 18:14:12 +00:00
Richard Holland
8b298ab3c0 more gov hook bug fixes 2022-12-21 14:37:15 +00:00
Richard Holland
171568ded7 gov hook updates, tested initial distribution some voting 2022-12-21 14:07:15 +00:00
Richard Holland
0a6708c673 allow small data as int64 again on state api 2022-12-21 12:31:39 +00:00
Richard Holland
42da01d87c xpop_history bug 2022-12-21 11:43:57 +00:00
Richard Holland
4c8542ad06 add headers for hook compilation 2022-12-21 11:38:56 +00:00