Richard Holland
a56034b47c
Fix FeeUint64->XRPAmount mismatch after merge
2023-04-06 12:43:12 +00:00
Richard Holland
a5ca117ff6
Merge remote-tracking branch 'ripple/develop' into dev
2023-04-06 09:36:24 +00:00
Richard Holland
4228946747
fix for fyeo-45 ( #48 )
2023-03-14 12:14:58 +00:00
Richard Holland
7c364377fe
fix for fyeo-44 ( #47 )
2023-03-14 11:58:15 +00:00
Richard Holland
94d3d5a6bb
fix for fyeo-43 ( #46 )
2023-03-14 11:04:52 +00:00
Richard Holland
8f02b24cc4
fix for fyeo-42 ( #45 )
2023-03-14 10:44:00 +00:00
Richard Holland
f732d724a2
fix for fyeo-41 ( #44 )
2023-03-14 10:30:27 +00:00
Richard Holland
5f5a947d6c
additional fixes for #8 #10 and #14
2023-02-17 11:20:03 +00:00
Howard Hinnant
a82ad5ba76
Use Number for IOUAmount and STAmount arithmetic
...
* Guarded by amendment fixUniversalNumber
* Produces slightly better accuracy in some computations.
2023-02-07 15:43:28 -08:00
Ed Hennis
e4b17d1cf2
XRPFees: Fee setting and handling improvements (#4247 )
...
* Introduces amendment `XRPFees`
* Convert fee voting and protocol messages to use XRPAmounts
* Includes Validations, Change transactions, the "Fees" ledger object,
and subscription messages
* Improve handling of 0 drop reference fee with TxQ. For use with networks that do not want to require fees
* Note that fee escalation logic is still in place, which may cause the
open ledger fee to rise if the network is busy. 0 drop transactions
will still queue, and fee escalation can be effectively disabled by
modifying the configuration on all nodes
* Change default network reserves to match Mainnet
* Name the new SFields *Drops (not *XRP)
* Reserve SField IDs for Hooks
* Clarify comments explaining the ttFEE transaction field validation
2023-02-02 16:20:35 -08:00
Richard Holland
45d4949b90
ensure emitted txns are preflighted correctly
2023-01-19 10:05:04 +00:00
Richard Holland
1d91f9c9e4
still better security against fake emitted txns being applied, preliminary preflight checking on emit
2023-01-18 09:58:10 +00:00
Richard Holland
1c3c9cd91f
better protection against relaying or accepting emitted transactions
2023-01-17 11:29:27 +00:00
Richard Holland
e0533cae8d
fix hook_pos bug
2023-01-13 10:04:51 +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
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
35bf8bef5a
update featureBalanceRewards to operate on metdata (compiling not tested)
2022-12-17 09:33:14 +00:00
Richard Holland
44425f14f6
Balance Rewards amendment (compiling not tested)
2022-12-16 11:55:53 +00:00
Richard Holland
e4aa7db5cb
increase size of hook state to 256 bytes, parameters too, change the reserve requirement to 1:1 for hook state, allow weak execution on rollback if hook_again was specified, add further state_set tests
2022-12-11 13:03:08 +00:00
Richard Holland
e99ffe29a3
https://github.com/XRPL-Labs/xrpld-hooks/issues/51
2022-09-19 12:48:09 +00:00
Richard Holland
27167bb866
[FOLD] First round of review changes
2022-08-29 10:25:22 +00:00
Richard Holland
8dd5490fb6
try to suppress emitted txns being sent over network
2022-06-21 09:42:30 +00:00
Richard Holland
4ea852b819
crash bug vector reserve
2022-05-26 10:58:23 +00:00
Richard Holland
4a8d904ed6
weak tsh bug fix
2022-05-26 09:48:02 +00:00
Richard Holland
4244a5a245
Merge remote-tracking branch 'ripple/develop' into develop
2022-05-20 08:05:08 +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
Richard Holland
0bb38809be
preliminary support for "second execution as weak" feature
2022-05-10 11:39:05 +00:00
Richard Holland
7dbfa071b1
split nonce into two apis, modify etxn_fee, add ledger_last_time, various other fee fixes
2022-05-09 13:01:54 +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
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
Nik Bougalis
70779f6850
Introduce NFT support (XLS020)
2022-04-06 13:29:48 -07:00
Richard Holland
5bd1432426
crash bug fix
2022-03-28 16:04:31 +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
7b834714c2
add transactional stakeholder code, not compiling
2022-03-18 13:55:54 +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
4ea9187352
bugs in state update
2022-02-11 12:54:57 +00:00
Richard Holland
f185f6418e
state change update to persist changes between hook executions in the same otxn, not compiling
2022-02-08 14:00:39 +00:00
Richard Holland
249c127890
fix create->install fallthrough bug
2022-02-07 12:52:13 +00:00
Richard Holland
7928363c24
empty hook bug fixes
2022-02-07 12:14:13 +00:00
Richard Holland
7ef0af3474
remove debug printfs
2022-01-20 10:47:12 +00:00
Richard Holland
ec22906e78
forward porting part 1
2022-01-11 13:33:23 +00:00
Richard Holland
3697f7b69c
Merge remote-tracking branch 'ripple/develop' into develop
2022-01-11 10:12:22 +00:00
Richard Holland
b33c91f761
Hooks-chaining alpha
...
This is a squash of 241 commits from https://github.com/XRPL-Labs/xrpld-hooks/tree/hooks-chaining
Ready for forward porting to rippled 1.8.3
2022-01-11 10:06:38 +00:00
Edward Hennis
aaa601841c
Logging & minor optimizations:
...
* Log load fee values (at debug) received from validations.
* Log remote and cluster fee values (at trace) when changed.
* Refactor JobQueue::isOverloaded to return sooner if overloaded.
* Refactor Transactor::checkFee to only compute fee if ledger is open.
2021-12-14 17:47:38 -08:00