Commit Graph

9326 Commits

Author SHA1 Message Date
Richard Holland
708a567f10 hook_again test case 2023-01-13 10:04:49 +00:00
Richard Holland
8ede26b000 hook_pos testcase 2023-01-13 10:04:48 +00:00
Richard Holland
8a10898f23 float_sto_set testcase 2023-01-13 10:04:48 +00:00
Richard Holland
6be3f2d873 float_sto test complete 2023-01-13 10:04:47 +00:00
Richard Holland
c44e18728d most of float_sto done, some bug fixing still to do 2023-01-13 10:04:46 +00:00
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
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
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
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
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
08374421ce add KEYLET_HOOK_DEFINITION to util_keylet 2022-12-21 11:29:47 +00:00
Richard Holland
0ef979a17b change HookOn to uint256 2022-12-20 10:55:28 +00:00
Richard Holland
39ecdb6795 Add NetworkID field to Transaction common fields, enforced when network id > 1024 2022-12-19 16:48:40 +00:00
Richard Holland
05f961c77c first half of XPOP_HISTORY 2022-12-19 16:45:13 +00:00
Richard Holland
6e001cf0bf enforce cmdline quorum when provided 2022-12-18 13:34:04 +00:00
Richard Holland
fef1f53c8b add reward time to BalanceRewards amendment 2022-12-17 15:09:50 +00:00
Richard Holland
c118705a38 bug fix on ClaimReward tx template 2022-12-17 10:20:47 +00:00
Richard Holland
35bf8bef5a update featureBalanceRewards to operate on metdata (compiling not tested) 2022-12-17 09:33:14 +00:00
Richard Holland
979f44d080 bug fix 2022-12-16 19:56:54 +00:00
Richard Holland
81bcb621a7 ttINVOKE 2022-12-16 13:40:27 +00:00
Richard Holland
8a0635396a ttInvoke part 1 2022-12-16 13:40:23 +00:00
Richard Holland
44425f14f6 Balance Rewards amendment (compiling not tested) 2022-12-16 11:55:53 +00:00
Richard Holland
d48ac760d4 set earliest seq to 1 2022-12-16 11:54:37 +00:00
Richard Holland
9a826cc54e change min ledger seq to 3 2022-12-14 08:08:03 +00:00
Richard Holland
1b70420276 fix zero ips bug 2022-12-13 10:29:36 +00:00
Richard Holland
b0ebd8e3eb update to wasmedge 0.11 (untested) 2022-12-13 10:19:08 +00:00
Richard Holland
f467ce5fa6 change desired starting amendments to default yes 2022-12-12 15:39:23 +00:00
Richard Holland
f2d54f8427 change config filename defaults 2022-12-12 15:11:06 +00:00
Richard Holland
8a7fa7111d add wasms for hook tests 2022-12-12 13:49:50 +00:00