Commit Graph

9917 Commits

Author SHA1 Message Date
Richard Holland
ba8b5a8cbe add overflow protection to sethook fee calculation 2023-07-17 11:20:15 +00:00
Denis Angell
c36683a825 XRPLF review of XLS34 (#69)
* add amendment guard for sfTransferRate

* make `sfTransferRate` optional

* split tests into existing / xls34

* make variables `const`

* clang-format

* chage error code

* guard optional `sfTransferRate`

* rename tests

* Guard Optional sfTransferRate

* clang-format

* fixup tests
2023-07-17 12:12:36 +02:00
Richard Holland
c96d1386a1 add additional checks to emit, fix incorrect sfSignature -> sfTxnSignature 2023-07-17 10:09:04 +00:00
Richard Holland
53a7408f18 make import starting bonus based on fee object where it exists. compiling not tested. this is the final feature going in, feature freeze at this commit. 2023-07-17 09:04:02 +00:00
Richard Holland
e9fc4ced98 update URIToken to support setting a sell offer during minting 2023-07-13 13:00:23 +00:00
Denis Angell
a3e2f4257b add test 2023-07-12 11:40:25 +02:00
Denis Angell
7b8d5fc5b8 update tests 2023-07-12 11:40:11 +02:00
Denis Angell
adf8120483 move sig check 2023-07-12 11:39:14 +02:00
Denis Angell
623778d1a9 fix tests 2023-07-12 11:39:08 +02:00
Richard Holland
4ae13f2bea guard changes with HooksUpdate1 amendment 2023-07-12 08:13:34 +00:00
Richard Holland
152780b218 bug fixes 2023-07-12 08:02:04 +00:00
Richard Holland
076b8e3e11 example burn2mint xls20->uritoken 2023-07-11 21:06:48 +00:00
Richard Holland
96af8735ba add sfHookEmissions to metadata, compiling untested 2023-07-11 19:58:45 +00:00
Denis Angell
728d2b4683 update tests 2023-07-11 16:38:56 +02:00
Denis Angell
4f7fed3708 move sig check 2023-07-11 16:38:54 +02:00
Denis Angell
08e7059b8c fix tests 2023-07-11 16:38:51 +02:00
Richard Holland
4f86551fb3 bug fixes, ensure import invariant is correct 2023-07-11 13:19:21 +00:00
Richard Holland
f06124e8c7 add xpop_slot hookapi (compiling, untested) 2023-07-11 09:56:36 +00:00
Richard Holland
234d811ce3 add issuer field to ttIMPORT, ensure that import pays a fee in every case except a first import against an account that doesn't exist and where the import doesn't specify an Issuer 2023-07-11 08:33:38 +00:00
Richard Holland
a3e940844d fix signerlist import crashbug 2023-07-09 12:18:35 +00:00
Richard Holland
fc6f8dde94 initial code for HooksUpdate1, unfinished, compiling 2023-07-04 14:05:45 +00:00
Richard Holland
d6ce1add8b require ttUNL_REPORT that seeks to add ImportVLKey contain a key listed in the validator's config, untested 2023-07-04 10:12:10 +00:00
Richard Holland
338b646a3d build for v3 2023-07-03 09:31:55 +00:00
Richard Holland
ecf78bd818 more xahaugenesis debugging 2023-06-27 13:50:07 +00:00
Richard Holland
111f7d20ba update xahauGenesis amendment activation code 2023-06-27 10:03:54 +00:00
Richard Holland
11391d91b2 initial versions of genesis hooks 2023-06-27 10:03:28 +00:00
Richard Holland
b38c2c14dc fix import test after merge 2023-06-26 13:27:51 +00:00
RichardAH
b64650af71 Merge pull request #70 from Xahau/governance_hook_l2
Governance hook l2
2023-06-26 15:10:46 +02:00
Richard Holland
2211d6f851 Revert "patch: m1/llvm4"
This reverts commit 41461bdddc.
2023-06-26 12:58:53 +00:00
Richard Holland
0bf51e257b add accountids to unlreport 2023-06-26 11:42:43 +00:00
Richard Holland
29e733cab3 UNLReport ImportVLKey voting working 2023-06-26 08:53:26 +00:00
Denis Angell
afde76bd11 update tests 2023-06-22 04:19:12 +00:00
Denis Angell
e07a99153a seperate if statement 2023-06-22 04:03:18 +00:00
Richard Holland
d70ec5d2e4 change UNLReport to also run consensus on import_vl_keys, change gensisMint to also allow Governance flags and marks to be set on account root, compiling, not tested 2023-06-19 13:09:14 +00:00
Denis Angell
b13e515698 fee must be 0 2023-06-18 21:00:10 +00:00
Denis Angell
ea02919a0c fix test env autofill 2023-06-17 00:15:32 +00:00
Denis Angell
de03278927 cont tests.. 2023-06-15 23:01:10 +00:00
Denis Angell
9d40dce759 add sequence/fee check 2023-06-15 23:01:10 +00:00
Denis Angell
0bec0515b6 import test cont... 2023-06-15 23:01:10 +00:00
Denis Angell
6baa95b190 swap function for header file 2023-06-15 23:01:10 +00:00
Denis Angell
df4891c4a7 update no autofill (change autosign) 2023-06-15 23:01:10 +00:00
Denis Angell
51e8a1b222 fixup signer sle 2023-06-15 23:01:09 +00:00
Denis Angell
f42d9124df setup import test 2023-06-15 23:01:09 +00:00
Denis Angell
41461bdddc patch: m1/llvm4 2023-06-15 23:01:09 +00:00
Richard Holland
e397107ce9 change the UNLReport to one pk per txn, to allow consensus over the set 2023-06-15 14:09:57 +00:00
Richard Holland
034318b158 remove xpop_history, make ttUNL_REPORT well ordered 2023-06-15 13:32:26 +00:00
Richard Holland
95bef7ced3 UNLReport working 2023-06-15 09:45:11 +00:00
Richard Holland
c33e64fa3d Add UNLReport obj/pseudo txn. Tracks which validators were online and validating last 256 ledgers. 2023-06-12 12:31:00 +00:00
Richard Holland
1ae08afb02 genesis mint working 2023-06-05 12:08:59 +00:00
Richard Holland
01e298befe Merge branch 'genesis_amendment' into governance_hook_l2 2023-06-05 09:53:20 +00:00