Commit Graph

9058 Commits

Author SHA1 Message Date
Richard Holland
ec78ef7ddb tsh tests / update setregularkey tsh 2022-05-09 08:13:50 +00:00
Richard Holland
92e1e6f3ab leb128 overflow fix 2022-05-06 10:20:12 +00:00
Richard Holland
67188dd121 guard logging again 2022-05-06 09:23:20 +00:00
Richard Holland
70fa3bf690 fix sethook logging (i.e. yuck) 2022-05-06 09:12:19 +00:00
Richard Holland
87a31e3cf1 improve the interface to guard checker 2022-05-06 08:59:46 +00:00
Richard Holland
636715fd20 refactor, guard_check, compiling but crash on validateGuards stream output (probably need a proxy class) 2022-05-05 18:38:47 +00:00
Richard Holland
b189908c10 fix overly zealous guard check 2022-04-28 15:16:45 +00:00
Richard Holland
4b3be856ea edge case bug 2022-04-26 14:11:43 +00:00
Richard Holland
c99370e9f0 todo: strict codesec and export checks when hook cleaner developed 2022-04-21 12:25:51 +00:00
Richard Holland
90d14368e6 building 2022-04-21 12:17:01 +00:00
Richard Holland
8861467437 large refactor for weak/strong tsh, not compiling 2022-04-21 11:24:59 +00:00
Richard Holland
3439888aef tsh collect call, compiling not tested 2022-04-19 12:04:27 +00:00
Richard Holland
d59c1cac7f reorder log codes 2022-04-19 08:24:13 +00:00
Richard Holland
bc2ad5bd8c more log codes 2022-04-14 12:53:41 +00:00
Richard Holland
611ddbb7fa bug fix 2022-04-14 10:01:12 +00:00
Richard Holland
5bd1432426 crash bug fix 2022-03-28 16:04:31 +00:00
Richard Holland
3aa1e1ef07 fix crash bug tn2 2022-03-25 13:49:36 +00:00
Richard Holland
fd5e02df08 fee test and bug fix 2022-03-21 13:34:32 +00:00
Richard Holland
9b82113d25 merged to 1.9.0-b1
re-added the copy assignment constructor for STArray
2022-03-21 11:27:14 +00:00
Richard Holland
ee539fdea7 fix fee rpc to allow tx_blob 2022-03-21 10:17:26 +00:00
Richard Holland
7b834714c2 add transactional stakeholder code, not compiling 2022-03-18 13:55:54 +00:00
Richard Holland
1bde126fbe add hook_hash to ledger_entry rpc 2022-03-14 11:41:24 +00:00
Richard Holland
a63f1ba53e block delete account if hooks and hook state are installed on account 2022-03-14 11:17:07 +00:00
Richard Holland
a81f91e97a add account_namespace rpc call for iterating hook state objects 2022-03-14 11:03:25 +00:00
Richard Holland
f4f7e8b487 ensure hook chain fee calc only includes txns that the hook/s will fire on 2022-03-12 08:06:40 +00:00
Richard Holland
46130fe14f add sfHookNamespaces array to account root 2022-03-11 13:02:10 +00:00
Nik Bougalis
1a8eb5e6e3 Set version to 1.9.0-b1 2022-03-09 15:52:30 -08:00
Michael Legleux
6a8180c967 Use 3.16 as min cmake 2022-03-09 15:51:39 -08:00
Richard Holland
918472fa47 fix owner dir for lthook and ownercount for lthook 2022-03-07 10:46:28 +00:00
Richard Holland
dde00a9d12 fix directory iterator bug 2022-03-07 09:19:45 +00:00
Richard Holland
579306f4cd add featureExpandedSignerList 2022-03-07 09:19:24 +00:00
Michael Legleux
a01cadbfd5 Move Beast & fix #include paths 2022-03-04 14:16:59 -08:00
CJ Cobb
11ca9a946c Add successor information to clio ETL messages
* Allow clio to ask for object successors and predecessors from rippled
* Add lower_bound and last_below to SHAMap
2022-03-04 13:38:48 -08:00
natenichols
90326bf756 Proxy validation_quorum when in reporting mode 2022-03-04 13:38:48 -08:00
Edward Hennis
0623a40f02 Refactor to fix levelization:
* Remove Application & Database dependency in PerfLog. Replace it with
  a callback passed into the constructor.
* Fixes the circular dependency between ripple/nodestore and ripple/basics
2022-03-01 14:32:14 -08:00
Ikko Ashimine
a529b218f3 Fix typo in ReportingETL.cpp
respresent -> represent
2022-03-01 14:32:14 -08:00
Mark Travis
c0cb389b20 Fallback to normal sync if fast loading is not possible:
If fast loading is enabled but the last persisted ledger is not
entirely on disk, the server would fail to start without manual
intervention by the server operator.

This commit allows the server to detect this scenario and attempt
to automatically recover.
2022-03-01 11:29:07 -08:00
Mark Travis
8f82b62e0d Use CIDR notation for admin and secure_gateway 2022-03-01 11:27:50 -08:00
Mark Travis
dc213a4fab Make gateway_balances admin-only in reporting mode 2022-03-01 11:27:34 -08:00
Mark Travis
06e87e0f6a Fix deletion of orphan nodestore directories:
Orphaned nodestore directories should only be deleted
if the proper nodestore directories are confirmed to
exist.
2022-03-01 11:25:03 -08:00
John Freeman
c2a08a1f26 Simplify the Job Queue:
This is a refactor aimed at cleaning up and simplifying the existing
job queue.

As of now, all jobs are cancelled at the same time and in the same
way, so this commit removes the per-job cancellation token. If the
need for such support is demonstrated, support can be re-added.

* Revise documentation for ClosureCounter and Workers.
* Simplify code, removing unnecessary function arguments and
  deduplicating expressions
* Restructure job handlers to no longer need to pass a job's
  handle to the job.
2022-03-01 11:25:03 -08:00
Scott Schurr
df02eb125f Prefer using a local Sandbox over using the Context's view 2022-03-01 11:25:03 -08:00
Howard Hinnant
0c13676d5f Restrict access to the virtual functions move and copy
* These are meant to be used by detail::STVar only and
  are otherwise error-prone to call.
2022-03-01 11:25:03 -08:00
Howard Hinnant
74e6ed1af3 Improve the readability of STBase-derived types
* Increase the visibility of each type's API.
* No functional changes.
2022-03-01 11:25:03 -08:00
Richard Holland
0f620f4e53 Merge remote-tracking branch 'ripple/develop' into develop 2022-02-18 13:43:00 +00:00
Richard Holland
e0fa4b4f1f fix emission insertion 2022-02-18 10:30:45 +00:00
Richard Holland
34957bb7ec change sfcodes in etxn_details to match https://github.com/ripple/rippled/pull/4089 2022-02-18 10:07:22 +00:00
Richard Holland
de58b028d9 fix hook and cbak definition detection bug 2022-02-18 09:36:32 +00:00
Richard Holland
059722f4fc relax some conditions for beta 2022-02-17 17:36:28 +00:00
Richard Holland
457fc23cfb add type checking to hook and cbak on sethook, untested, compiling 2022-02-17 15:23:41 +00:00