Commit Graph

59 Commits

Author SHA1 Message Date
Denis Angell
03569dbb11 add correct imports 2024-05-14 12:03:07 +02:00
Denis Angell
fc0be9c416 Merge branch 'dev' into strict-builds 2024-03-25 09:13:55 +01:00
Denis Angell
a3852763e7 Fix: Namespace Delete (OwnerCount) (#296)
* fix ns delete owner count
* add a new success code and refactor success checks, limit ns delete operations to 256 entries per txn
---------
Co-authored-by: Richard Holland <richard.holland@starstone.co.nz>
2024-03-25 08:37:08 +11:00
Denis Angell
e6b362c832 Merge branch 'dev' into strict-builds 2024-03-22 13:38:51 +01:00
RichardAH
7cd8f0a03a ZeroB2M amendment (#293)
* ZeroB2M amendment

Co-authored-by: Denis Angell <dangell@transia.co>
2024-03-22 10:49:35 +11:00
Denis Angell
e801ead39d fix more headers 2024-03-18 14:52:00 +01:00
RichardAH
4ad697069f Fix xahau v1audit (#250) 2023-12-27 14:53:38 +01:00
Denis Angell
475b6f7347 Amendment: Fix Xahau v1 (#231)
* FXV1: Meta Amount (#225)

* FXV1: Optional Offer Sequence (#224)

* FXV1: Patch Hooks OwnerDir (#236)

* FXV1:  Fix `Import` Quorum (#235)

* FXV1: Namespace Limit (#220)

* FXV1: allow duplicate entries in genesis mint transactor (#239)

* FXV1: Fix URIToken (#243)

* lite fixes for tsh issues (#244)

Co-authored-by: RichardAH <richard.holland@starstone.co.nz>
2023-12-21 16:21:17 +01:00
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