Denis Angell
aa3a402f09
add uritoken helpers
2023-11-21 12:20:34 +01:00
Denis Angell
fac568c949
Update SetHookTSH_test.cpp
2023-11-20 11:04:51 +01:00
Denis Angell
ab54d3c6e1
add tsh tests
2023-11-19 19:38:55 +01:00
Denis Angell
5447c4010d
Add features to server_definitions ( #190 )
...
* add features to `server_definitions`
* clang-format
* Update RPCCall.cpp
* only return features without params
* clang-format
* include features in hashed value
* clang-format
* rework features addition to server_defintions to be cached at flag ledgers
* fix clang, duplicate hash key
---------
Co-authored-by: Richard Holland <richard.holland@starstone.co.nz >
2023-11-16 23:38:13 +01:00
RichardAH
98833e4934
Fix server version ( #195 )
...
* modify the way server_version int is built to include build number
* clang
* Update BuildInfo_test.cpp
* clang-format
* Update BuildInfo_test.cpp
* clang-format
* Update BuildInfo_test.cpp
---------
Co-authored-by: Denis Angell <dangell@transia.co >
2023-11-16 16:20:32 +01:00
Denis Angell
4ada3f85bb
fix: uritoken destination & amount preflight check ( #188 )
...
* fix: uritoken destination & amount
* Update URIToken.cpp
* add lsfBurnable flag
* make uritoken patch a fix amendment
* clang-format
2023-11-10 10:42:57 +01:00
Denis Angell
43cb255337
Update Workflow ( #193 )
2023-11-09 19:01:50 +01:00
Denis Angell
195904574c
Change TER response codes from _XRP to _NATIVE. ( #184 )
...
* Change `_XRP` response codes to `_NATIVE`
* Update ServerDefinitions_test.cpp
2023-11-09 12:25:09 +01:00
Denis Angell
91f9e424a3
Server Definitions Cleanup ( #174 )
...
* update server-definitions + test
* Update ServerDefinitions.cpp
* clang-format
2023-11-06 11:01:37 +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
Denis Angell
c54377eb7a
add uritoken delete test
2023-10-27 10:46:19 +02:00
Denis Angell
e48e4db9e6
Fix TxQ tests ( #151 )
2023-10-25 02:38:12 +02:00
Denis Angell
97cac67bba
Patch import ( #150 )
...
* add index test
* remove comment
* remove warn env
2023-10-24 23:14:19 +02:00
Richard Holland
5fcebdabc5
replace vecFromAcc with HBB compiler-friendly version
2023-10-24 17:32:04 +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
263c6342cf
fix for https://github.com/Xahau/xahaud/issues/149
2023-10-20 13:21:30 +00:00
Denis Angell
adf30fb819
XRP -> XAH (#134 )
...
* `XRP` -> `XAH`
* update rpc
* fix badCurrency
* revert consensus update
* `xah` -> `native` in rpc commands
* Update Consensus.h
2023-10-19 12:11:12 +02:00
Denis Angell
a2c41016b0
add ticket tests ( #129 )
2023-10-18 10:10:49 +02:00
Denis Angell
251a79e897
add claim reward flag ( #139 )
2023-10-18 10:09:47 +02:00
Denis Angell
d734fe600b
Fix tests re: xahau genesis ( #135 )
...
* Update AccountTxPaging_test.cpp
* fix failing tests
* fix failing tests
* Update Import_test.cpp
2023-10-18 10:06:29 +02: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
Denis Angell
58dec112f5
make tsh test dynamic ( #128 )
2023-10-02 14:14:06 +02:00
Denis Angell
23250a7985
Misc tests ( #127 )
...
* add issuer != source test
* add destination can be genesis test
* add issuer != source test
* add wrong network error code
* add wrong network id rpc test
2023-10-02 14:13:44 +02:00
Denis Angell
74cdfc4228
Genesis Mint TSH ( #126 )
...
* remove console logs
* env config no warnings
* add genesis mint tsh
2023-10-01 21:39:59 +02:00
Richard Holland
fcae641049
fix ledgerclosed test
2023-09-29 14:10:28 +00:00
Richard Holland
bff711b0ab
fix lgr rpc tests
2023-09-29 13:41:58 +00:00
Richard Holland
21b5002419
Merge branch 'dev' of github.com:Xahau/xahaud into dev
2023-09-29 13:11:21 +00:00
Richard Holland
985c8d7dce
txq test fixes
2023-09-29 13:11:12 +00:00
Denis Angell
ea25183858
Cleanup tests ( #125 )
...
* fix test
* remove debug statements
2023-09-29 15:10:43 +02:00
Denis Angell
d9f2401713
add compound interest test ( #124 )
...
* add compound interest test
* clang-format
2023-09-29 13:50:28 +02:00
Richard Holland
28b8be7d8e
limited testing of multiple vl key behaviour
2023-09-29 11:48:40 +00:00
Denis Angell
a08f21d900
Byzantine example ( #123 )
2023-09-29 11:49:43 +02:00
Richard Holland
2337156d67
genesis mint tests finished, added cap per mint
2023-09-29 09:43:44 +00:00
Richard Holland
cb86237c10
add networkid to genesis ledger, more genesismint tests
2023-09-29 08:11:13 +00:00
Richard Holland
607b581406
Merge branch 'dev' of github.com:Xahau/xahaud into dev
2023-09-28 20:53:56 +00:00
Richard Holland
6dc86a9611
more genesismint tests
2023-09-28 20:53:45 +00:00
Denis Angell
797681f33b
UNL Report Tests (Update) ( #121 )
...
* unl report tests
* remove unused test
* fix Cmake
* remove logs
2023-09-28 19:25:12 +02:00
Denis Angell
d08fe26f84
Account index tests ( #120 )
...
* fix `sfImportSequence` & decrease account count
* add account count test
* add import account delete test
* add account index for payment
* add guards
* revert decrease account count on delete
2023-09-28 19:24:41 +02:00
Richard Holland
150749291f
start of genesis mint tests
2023-09-28 12:45:54 +00:00
Denis Angell
6102b4ba2e
genesis mint test structure
2023-09-28 09:12:06 +00:00
Richard Holland
0f04ada876
change default reward rate in tests to the correct updated value
2023-09-28 08:35:23 +00:00
Denis Angell
32b7cbe910
Reward hook tests ( #117 )
...
* fix warning
* reorder variables/functions
* add reward hook tests
2023-09-28 09:54:40 +02:00
Denis Angell
522cfe9d6a
CTID sync rippled ( #114 )
...
* clang-format
* add `'` seperator to hex constants
fix bad seperator
clang-format
* remove impossible validation
add parenthesis
* pre-increment `it`
* add leading 0
* use boost_regex
* add leading 0
* `const` after declare variable
* clang-format
* add extra check on std::optional
* move guard
* add test
* update test to match
* rename `txnIDfromIndex` -> `txnIdFromIndex`
* update test to match guard
* fix test naming
---------
Co-authored-by: Richard Holland <richard.holland@starstone.co.nz >
2023-09-26 15:46:19 +02:00
Denis Angell
e44eeec631
Update reward.c hook ( #111 )
...
* fix include
* fix include
* update invariant
* update comment
* Update reward.c
* Update reward.c
* Update reward.c
2023-09-25 11:46:40 +02:00
Richard Holland
b7055927b2
add non-gov distributions
2023-09-25 08:55:21 +00:00
Richard Holland
3502e016e9
legacy tests passing
2023-09-24 22:19:47 +00:00
Richard Holland
f9a43f262c
more test cases fixes
2023-09-24 20:49:27 +00:00
Richard Holland
dd6e21c38b
more unit test fixes
2023-09-24 19:51:04 +00:00
Richard Holland
d7e4ba8254
fix various tests
2023-09-24 18:09:53 +00:00