Commit Graph

13695 Commits

Author SHA1 Message Date
Richard Holland
ed974de37b slot_subarray test, fix get_free_slot bug 2022-12-01 11:42:01 +00:00
Richard Holland
5d19a162f6 slot_size test 2022-11-29 11:37:56 +00:00
Richard Holland
7f72ef014b slot_set bug fixes, slot_set test 2022-11-29 11:25:28 +00:00
Richard Holland
b3de176b56 remove slot_id, trace_slot, redundant apis 2022-11-29 09:39:04 +00:00
Elliot Lee
ffd453f7dd Set version to 1.10.0-rc1 2022-11-28 14:12:16 -08:00
Scott Determan
518fb6d208 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-11-28 14:01:54 -08:00
Elliot Lee
093055c039 README - add link to ripple-server mailing list (#3890) 2022-11-28 13:57:38 -08:00
Ed Hennis
b7ac73c8e4 Don't try to read SLE with key 0 from the ledger:
* May resolve #4341
2022-11-28 13:55:29 -08:00
J. Scott Branson
004ec2d201 Update Linux Build Instructions (#4018)
* Removed a reference to the default number of workers varying based on whether a node has validation enabled. Workers default to the number of processor cores + 2: https://github.com/ripple/rippled/blob/develop/src/ripple/core/impl/JobQueue.cpp#L166

* Protobuf v2 and Ubuntu 16.04 are no longer supported.

* Updated protobuf version as v3 is now supported, fixed typos, automatically sent number of processors when building boost & rippled.
2022-11-28 13:49:38 -08:00
Richard Holland
070e6032f1 two more slot api tests 2022-11-28 12:00:04 +00:00
Richard Holland
36a500e95b unit test for slot 2022-11-28 10:43:38 +00:00
Richard Holland
a76cb3b9c5 fix util_keylet test 2022-11-27 09:03:30 +00:00
Richard Holland
1855635cf8 util_verify test cases 2022-11-25 15:34:46 +00:00
Richard Holland
380e6a850a add test for util_keylet, bug fixes 2022-11-25 13:42:35 +00:00
Richard Holland
bdc87cb33b add uint256 support to various keylets in util_keylet 2022-11-24 16:39:35 +00:00
Richard Holland
aea437ca76 sto_ api tests finished 2022-11-22 13:27:29 +00:00
Richard Holland
3b44333a98 sto_subfield and subarray tests (not working yet) 2022-11-22 11:49:24 +00:00
Richard Holland
2f85e56b4d sto_erase now overloads sto_emplace, sto_validate test 2022-11-22 11:10:42 +00:00
Richard Holland
91447e7c21 sto_emplace test working 2022-11-22 10:06:56 +00:00
Richard Holland
854ae819aa sto_emplace testcase 2022-11-21 13:50:21 +00:00
Richard Holland
2273ed9d3e add unit test for util_sha512h, fix bounds check on read buffer 2022-11-18 15:09:51 +00:00
Richard Holland
e2286ef565 unit test for util_raddr 2022-11-18 14:51:26 +00:00
Richard Holland
c8e1824a2b remove hook_namespace api, add unit test for util_accid 2022-11-18 14:20:15 +00:00
Richard Holland
67614182b4 unit tests for hook_account, hook_hash 2022-11-18 12:09:09 +00:00
Richard Holland
1161dc6479 float_mulratio test + bug fix 2022-11-17 10:24:06 +00:00
Richard Holland
d5590d23d1 remove float_exponent test 2022-11-11 15:12:45 +00:00
Richard Holland
1457ecf976 prune float_mantissa_set, float_exponent_set, float_sign_set, these are not needed, use float_set 2022-11-11 14:54:42 +00:00
Richard Holland
771af44e09 fix multiplication by using cpp_int 2022-11-11 13:44:11 +00:00
Richard Holland
467d8bd3ee replace float_exponent with macro 2022-11-07 17:00:41 +00:00
Richard Holland
ec1fb35ad4 more float testing and bug fixes 2022-11-07 13:53:32 +00:00
Richard Holland
5b6bb6a11b more float api testing, some rewrites of float routines, currently division is broken 2022-11-04 13:46:10 +00:00
Richard Holland
19c6e262b2 more hookapi float test cases 2022-11-03 11:09:26 +00:00
Richard Holland
4d739368c6 float_sum test 2022-11-01 13:34:48 +00:00
Richard Holland
c09f91f36e rewrite float_root, fix bug in float_sum, start of float unit tests 2022-11-01 13:23:42 +00:00
Richard Holland
82e9601712 sethook structure testing done, move on to hook api testing 2022-10-25 12:51:40 +00:00
Richard Holland
44513d3fc5 minor bug fixes with hook grants, grants testcases 2022-10-25 11:03:34 +00:00
Richard Holland
239c5bbf62 parameter and grants testing 2022-10-21 13:01:54 +00:00
Richard Holland
e4c3b14b1e further improve parameter management on update operation 2022-10-21 08:18:29 +00:00
Richard Holland
9ba518f0da fix hso update, to make it more intuitive 2022-10-20 15:31:14 +00:00
Richard Holland
15fd4b11c2 fix update hook bug 2022-10-20 12:15:54 +00:00
Richard Holland
8ebf358c9a nsdelete and delete test cases 2022-10-20 09:25:32 +00:00
Richard Holland
0f72472980 fix for https://github.com/XRPL-Labs/xrpld-hooks/issues/59 2022-10-20 08:37:15 +00:00
manojsdoshi
ebbf4b64a5 Set version to 1.10.0-b2 2022-10-14 13:15:44 -07:00
Scott Schurr
649ab872ff Add featureImmediateOfferKilled for tfImmediateOrCancel offers:
Fixes #4115; https://github.com/ripple/rippled/issues/4115
2022-10-14 12:54:59 -07:00
Scott Schurr
7e9e9104ea Rename SHAMapStoreImp::stopping() to healthWait() 2022-10-14 12:54:59 -07:00
greg7mdp
3726f8bf31 Release TaggedCache object memory outside the lock 2022-10-14 12:54:59 -07:00
Ed Hennis
e37dc710cf Improve timing of NodeToShardRPC unit test to reduce false failures 2022-10-14 12:54:59 -07:00
Richard Holland
ba24a3e72c more glassbox tests 2022-10-14 14:37:51 +00:00
Richard Holland
071d584cb0 start adding glassbox tests 2022-10-14 11:15:09 +00:00
Ed Hennis
5d38e4cfbf Work around soci build issues 2022-10-13 15:44:49 -07:00