Commit Graph

51 Commits

Author SHA1 Message Date
Denis Angell
70bd7c2ce7 Reintroduce Clang-Format & Levelization (#171)
* clang-format

* levelization

* clang-format

* update workflow (#172)

* update workflow

* Update build-in-docker.yml

* fix from `clang-format`

* Update Enum.h
2023-11-01 14:12:24 +01:00
Richard Holland
090b64728e fix for https://github.com/Xahau/xahaud/issues/161 2023-10-28 14:01:05 +00:00
Denis Angell
1f052020cb Fixup Import Signers (#138)
* add guard and tests

* disable xpop array feature
2023-10-24 10:57:58 +02:00
Richard Holland
a6c86b5a9e fix for https://github.com/Xahau/xahaud/issues/144 2023-10-18 08:04:40 +00:00
Richard Holland
dae172ba22 fix for https://github.com/Xahau/xahaud/issues/143 2023-10-18 08:00:44 +00:00
Richard Holland
7bfc60c6ad fix for https://github.com/Xahau/xahaud/issues/141 2023-10-16 13:10:26 +00:00
Denis Angell
f341558735 fix import signers check (#136) 2023-10-09 22:26:00 +02:00
RichardAH
b4022c35b3 make account starting seq the parent close time to prevent replay attacks in reset networks (#131)
* make account starting seq the parent close time to prevent replay attacks in reset networks

* add tests for activation

---------

Co-authored-by: Denis Angell <dangell@transia.co>
2023-10-09 14:18:23 +02:00
Richard Holland
d9d7e49d7c fix for https://github.com/XRPL-Labs/xrpld-hooks/issues/69 https://github.com/Xahau/xahaud/issues/96 fix for weak tsh on uritoken, add redundant checks for various txn types 2023-10-02 08:48:12 +00:00
Richard Holland
dd6e21c38b more unit test fixes 2023-09-24 19:51:04 +00:00
Denis Angell
517c7a494b Fix warnings (#108)
* remove unused variable

* rewrite function for transparancy

* unnecessary move

* remove unused variable

* remove unused variables

* fix `nodiscard` warning and ogical-op-parentheses
2023-09-24 11:49:22 +02:00
Denis Angell
debf178546 Update Import Tests (#99)
* add fee multiplier

* add warn logs

* add unl sequence json

* add import sequence tests

* Update TER.cpp

* remove issuer xpop

* Update Import_test.cpp

* update max xpop

* update/add max & fee change tests

* fixup issuer/hook test
2023-09-19 11:26:16 +02:00
Richard Holland
7ebfa0b324 enforce gradient between ledgers 2MM and 30MM in B2M 2023-08-31 11:04:03 +00:00
Richard Holland
d4a6854835 add account index/counter and continue with xahaugenesis test cases 2023-08-17 14:28:34 +00:00
Richard Holland
0f83256ffa change deletable account disable logic, fix test cases 2023-08-17 12:31:28 +00:00
Richard Holland
129c25a90a add check in import preclaim for non-zero fee 2023-08-17 09:44:38 +00:00
Denis Angell
8aded497e7 update ledger header calc 2023-08-16 15:05:51 +02:00
Richard Holland
e5bf299e39 ensure that XahauGenesis amendment will effectively disable DeletableAccounts 2023-08-15 10:38:51 +00:00
Richard Holland
b19feb4dd4 fix ledger header update 2023-08-15 10:19:44 +00:00
RichardAH
8e28f74b5d Merge pull request #91 from Xahau/import-tests
Import tests
2023-08-15 12:15:09 +02:00
Richard Holland
ac009c63b1 Merge remote-tracking branch 'refs/remotes/origin/dev' into dev 2023-08-15 10:08:25 +00:00
Richard Holland
8262785c90 change B2M to include halvening logic 2023-08-15 09:47:48 +00:00
Denis Angell
786b559b05 fix bonus overflow 2023-08-11 06:16:50 -04:00
Denis Angell
d823050fb1 add bonus amount to -burn 2023-08-02 23:19:25 +02:00
Denis Angell
2c61c4a79d cleanup INITIAL_IMPORT_XRP 2023-08-01 20:17:14 +02:00
Richard Holland
6c65c6199a refactor Import for readability 2023-08-01 11:17:12 +00:00
Richard Holland
febdb1c9c2 fix ledger header accounting for genesismint/import 2023-08-01 08:38:21 +00:00
Denis Angell
55b28f9bf1 fixup lsfPasswordSpent and sfRegularKey 2023-07-21 11:36:26 +02:00
Denis Angell
a919e440ae fix error code and remove old code 2023-07-21 11:36:25 +02:00
Denis Angell
441bcdf001 fixup 2023-07-20 13:51:01 +02:00
Denis Angell
3ec852cf1c fixup SignersListSet and lsfPasswordSpent 2023-07-20 13:40:30 +02:00
Denis Angell
9285ab522d fixup SetRegularKey 2023-07-18 16:23:58 +02:00
Denis Angell
2b359408a8 refactor SignersListSet & SetRegularKey 2023-07-18 15:27:22 +02:00
Denis Angell
adf8120483 move sig check 2023-07-12 11:39:14 +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
4f86551fb3 bug fixes, ensure import invariant is correct 2023-07-11 13:19:21 +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
RichardAH
b64650af71 Merge pull request #70 from Xahau/governance_hook_l2
Governance hook l2
2023-06-26 15:10:46 +02: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
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
6baa95b190 swap function for header file 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
Richard Holland
48c1c21542 ensure import vl seq number is recorded and checked 2023-05-25 11:50:34 +00:00
Richard Holland
724cb4494f crash bug sfImportSequence 2023-05-23 10:15:36 +00:00