Commit Graph

12766 Commits

Author SHA1 Message Date
Richard Holland
1fa87c21be add emitnonce support to various transactors, object ids to various tx formats 2022-06-13 16:17:22 +00:00
Richard Holland
e89475e76c https://github.com/XRPL-Labs/xrpld-hooks/issues/42 2022-06-09 11:35:34 +00:00
Richard Holland
12f1609796 add noduplicate to _g 2022-06-07 15:32:31 +00:00
Richard Holland
82e908e853 update peggy for v2 2022-06-07 12:07:56 +00:00
Richard Holland
cb3edacd63 fix variable emit details size in example hooks 2022-06-07 11:23:58 +00:00
Richard Holland
d31ff6eb6e notary example updated and working on v2 2022-06-07 09:44:33 +00:00
Richard Holland
d6011350ee misc example changes to support v2 2022-06-07 09:43:19 +00:00
Richard Holland
e3c792e68b emitdetails bug 2022-06-07 09:42:27 +00:00
Richard Holland
d26f6ff995 remove old example and test dirs 2022-06-06 14:07:33 +00:00
Richard Holland
5f74392bcb begin rework for js tests and hook examples 2022-06-06 14:05:17 +00:00
Richard Holland
d452f9ca5a missing whitelist function 2022-06-06 12:55:24 +00:00
Richard Holland
3f7eaa5f7c fix multiplier bug, multipliers lower than 1 are necessary 2022-06-03 09:18:10 +00:00
Richard Holland
df111bc279 wce calc error 2022-06-02 19:53:57 +00:00
Richard Holland
0fe9fd2f81 division safety, seperate leb functions to signed and unsigned 2022-06-02 15:09:33 +00:00
Richard Holland
6571af7490 reprogram the guard_check function to fix several issues including worst case execution computation 2022-06-02 12:48:01 +00:00
Richard Holland
c87fa5210b add ledger_keylet hookapi 2022-06-02 08:35:16 +00:00
Richard Holland
848097ffac update hook api 2022-05-30 10:49:22 +00:00
Richard Holland
f225003091 testcases for xfl log and root 2022-05-30 10:29:37 +00:00
Richard Holland
869b66f06f impl missing float funcs that were documented but not implemented 2022-05-30 10:17:19 +00:00
Richard Holland
26f6f21635 better guard debugging 2022-05-27 11:04:16 +00:00
Richard Holland
e9e407bbf2 more test rig 2022-05-27 11:03:56 +00:00
Richard Holland
4ea852b819 crash bug vector reserve 2022-05-26 10:58:23 +00:00
Richard Holland
273ab6510b better testing rig 2022-05-26 10:26:54 +00:00
Richard Holland
4a8d904ed6 weak tsh bug fix 2022-05-26 09:48:02 +00:00
Richard Holland
cd9af3e58d clean up hook/cbak type detection 2022-05-24 08:53:34 +00:00
Richard Holland
513f87ca70 crash bug 2022-05-23 12:14:57 +00:00
Richard Holland
7216df5829 start updating example hooks 2022-05-23 10:19:57 +00:00
Richard Holland
f74cc56acd state reserve counting 2022-05-23 10:19:44 +00:00
Richard Holland
88d747a7f7 hooks--NFT support 2022-05-20 09:25:41 +00:00
Richard Holland
4244a5a245 Merge remote-tracking branch 'ripple/develop' into develop 2022-05-20 08:05:08 +00:00
Richard Holland
37da7b23f3 correctly bill parameters during sethook create mode, update tests 2022-05-19 11:49:58 +00:00
Richard Holland
74eff62713 fix owner reserves, fee api 2022-05-19 10:40:31 +00:00
Richard Holland
5f4f2baa58 collect call logic bug 2022-05-17 12:35:23 +00:00
Richard Holland
f1a8b086b5 fix reference bug, add aaw test 2022-05-16 12:22:56 +00:00
Richard Holland
003bb9f63b fix txmeta issues 2022-05-16 11:42:25 +00:00
Richard Holland
b01bbcae5c mock txmeta and pass to weakly executed hooks, add meta_slot to access this data 2022-05-16 10:18:01 +00:00
manojsdoshi
25474343a9 Set version to 1.9.1-rc1 2022-05-11 18:21:14 -07:00
Nik Bougalis
670bc22cfa Set version to 1.9.1-b1 2022-05-10 13:34:16 -07:00
Scott Schurr
80bda7cc48 Introduce fixNFTokenDirV1 amendment:
o Fixes an off-by-one when determining which NFTokenPage an
  NFToken belongs on.
o Improves handling of packed sets of 32 NFTs with
  identical low 96-bits.
o Fixes marker handling by the account_nfts RPC command.
o Tightens constraints of NFTokenPage invariant checks.

Adds unit tests to exercise the fixed cases as well as tests
for previously untested functionality.
2022-05-10 13:34:12 -07:00
Devon White
dac080f1c8 Advance ripple.app.rdb 2022-05-10 13:34:12 -07:00
Devon White
767dd4ff3f Address failures in DatabaseDownloader unittest 2022-05-10 13:34:12 -07:00
Richard Holland
01c37fed69 Introduce the ExpandedSignerList amendment:
The amendment increases the maximum sign of an account's signer
list from 8 to 32.

Like all new features, the associated amendment is configured with
a default vote of "no" and server operators will have to vote for
it explicitly if they believe it is useful.
2022-05-10 13:34:12 -07:00
Ed Hennis
04bd5878f1 Track total trustlines and avoid duplications 2022-05-10 13:34:12 -07:00
Ed Hennis
e836375d99 Don't load trust lines that can't participate in path finding
* "A path is considered invalid if and only if it enters and exits an
  address node through trust lines where No Ripple has been enabled for
  that address." (https://xrpl.org/rippling.html#specifics)
* When loading trust lines for an account "Alice" which was reached
  via a trust line that has the No Ripple flag set on Alice's side, do
  not use or cache any of Alice's trust lines which have the No Ripple
  flag set on Alice's side. For typical "end-user" accounts, this will
  return no trust lines.
2022-05-10 13:34:12 -07:00
Scott Schurr
aa4a5b7fe9 Adjust log levels to reflect actual severity (fixes #3996) 2022-05-10 13:34:12 -07:00
Mark Travis
5aedb0e07a Allow server to stabilize after online delete health check failure 2022-05-10 13:34:12 -07:00
greg7mdp
dfe69f1b76 Fix strict aliasing test failures with newer MSVC compilers 2022-05-10 13:34:12 -07:00
greg7mdp
87d06a2571 Check triggers cmake error unnecessarily 2022-05-10 13:34:12 -07:00
Nik Bougalis
7ca1f78446 Ensure that rngfill returns the requested amount of randomness:
One of the two versions of the `rngfill` function accepts a pointer
to a buffer and a size (in bytes). The function aims to fill the
provided `buffer` with `size` random bytes. It does this in chunks
of 8 bytes, for long as possible, and then fills any left-over gap
one byte at a time.

To avoid an annoying and incorrect warning about a potential buffer
overflow in the "trailing write", commit 78bc2727f7
used a `#pragma` to instruct the compiler to not generate the incorrect
diagnostic. Unfortunately, this change _also_ eliminated the trailing
write code, which means that, under some cases, the `rngfill` function
would generate between 1 and 7 fewer random bytes than requested.

This problem would only manifest on builds that do not define `__GNUC__`
which, as of this writing, means MSVC.
2022-05-10 13:34:12 -07:00
Richard Holland
0bb38809be preliminary support for "second execution as weak" feature 2022-05-10 11:39:05 +00:00