Compare commits

..

64 Commits

Author SHA1 Message Date
RichardAH
c2e3fd4666 Merge branch 'dev' into hook-api-unittest 2026-02-15 20:26:38 +10:00
tequ
8989b763ff clang-format 2026-01-28 14:18:02 +09:00
tequ
a81476a175 Avoid creating HookAPI instances on every hook API call
Add api() method to HookContext that lazily initializes a single
HookAPI instance, eliminating repeated instantiation overhead.
Simplify call sites to use hookCtx.api().xxx() directly.
2026-01-28 14:09:01 +09:00
RichardAH
6638b08ab0 Merge branch 'dev' into hook-api-unittest 2026-01-28 13:17:22 +10:00
tequ
96aa775f31 Merge branch 'dev' into hook-api-unittest 2026-01-07 17:56:54 +09:00
tequ
048c4cfd7b Merge branch 'dev' into hook-api-unittest 2025-12-24 12:23:09 +09:00
tequ
c5cf0cf32c Merge branch 'dev' into hook-api-unittest 2025-12-17 10:03:08 +09:00
tequ
c2f948173d refactor emit 2025-12-03 15:15:19 +09:00
tequ
df357438d7 add state tests 2025-12-03 13:43:02 +09:00
tequ
59e5650521 add sto_erase tests 2025-12-02 22:10:32 +09:00
tequ
a875fd36b3 fix build error 2025-12-02 14:33:53 +09:00
tequ
5dfbadc100 Merge remote-tracking branch 'upstream/dev' into hook-api-unittest 2025-12-02 13:23:01 +09:00
tequ
e28c1db0ef fix header 2025-11-29 00:40:58 +09:00
tequ
e9011d0433 refactor sto_emplace test 2025-11-28 20:03:24 +09:00
tequ
d0eb251c1e add sto_validate test 2025-11-28 16:47:06 +09:00
tequ
88b993257b add sto_subfield test 2025-11-28 16:37:35 +09:00
tequ
6806fa063e add sto_subarray test 2025-11-28 16:24:55 +09:00
tequ
0502f12ee3 add hook_skip test 2025-11-28 15:48:19 +09:00
tequ
181090278f add hook_hash test 2025-11-28 15:35:35 +09:00
tequ
255a516a29 Merge branch 'dev' into hook-api-unittest 2025-11-28 14:44:34 +09:00
tequ
df5b6c9528 add sto_emplace tests 2025-11-25 18:13:07 +09:00
tequ
15a4497adf add xpop_slot test 2025-11-25 14:14:58 +09:00
tequ
71d52585ce add meta_slot test 2025-11-25 13:17:27 +09:00
tequ
6b0271c2a8 add ledger_keylet test 2025-11-25 12:47:25 +09:00
tequ
4f9794461e add tests for fixEtxnFeeBase 2025-11-25 12:05:49 +09:00
tequ
abac045e20 Merge remote-tracking branch 'upstream/dev' into hook-api-unittest 2025-11-25 11:54:30 +09:00
tequ
641197d4dd add util tests 2025-11-24 15:06:39 +09:00
tequ
3d4ca8417a add slot tests 2025-11-24 15:06:30 +09:00
tequ
bb96e63e2e refactor pattern tests 2025-11-24 01:22:19 +09:00
tequ
be9cf1c8f6 add tests 2025-11-24 00:35:44 +09:00
tequ
8e5ea9a44b remove un-needed header 2025-11-23 11:26:46 +09:00
tequ
f1b64e1f28 add etxn_fee_base test 2025-11-20 20:34:42 +09:00
tequ
a0d46f0f85 move createApplyContext to private 2025-11-20 20:10:40 +09:00
tequ
1a1b1bae83 add emit tests 2025-11-20 19:27:19 +09:00
tequ
0e9946e186 add HookAPI_test.cpp 2025-11-20 16:20:20 +09:00
tequ
10bddc173a fix 2025-11-20 15:14:38 +09:00
tequ
a2e3ac4f66 fix 2025-11-12 16:44:20 +09:00
tequ
6704f2b8b6 Merge branch 'dev' into hook-api-unittest 2025-11-12 16:19:34 +09:00
tequ
11d0c3486c fix comment 2025-10-24 17:11:07 +09:00
tequ
bf7ea28b3d Merge remote-tracking branch 'upstream/dev' into hook-api-unittest 2025-10-24 16:54:31 +09:00
tequ
010951e8d7 fix gcc build error 2025-10-06 17:02:01 +09:00
tequ
19032e5a2b use uint256 instead ripple::base_uint<256> 2025-10-06 14:28:06 +09:00
tequ
c83bfe1987 add slot_type API 2025-10-06 13:49:07 +09:00
tequ
bc7a28f6af add sto_float API 2025-10-06 13:01:46 +09:00
tequ
3db217058b add emit tests 2025-10-06 11:30:08 +09:00
tequ
bf9765753f refactor 2025-09-29 16:48:19 +09:00
tequ
cf59180660 add util_raddr, util_accid 2025-09-29 13:55:23 +09:00
tequ
4ff8d688e2 add sto APIs 2025-09-29 13:38:05 +09:00
tequ
e3c4644151 float_sto_set 2025-09-29 12:50:03 +09:00
tequ
a62bac3fcd add meta_slot, xpop_slot 2025-09-29 12:25:41 +09:00
tequ
27e4e4b510 add slot APIs 2025-09-29 12:18:01 +09:00
tequ
962fdbceb6 sort HookAPI.cpp 2025-09-29 11:31:00 +09:00
tequ
2466289a1e add util_verify, util_sha512h 2025-09-29 11:17:16 +09:00
tequ
7b79e7d390 state_foreign, state_foreign_set 2025-09-23 18:35:48 +09:00
tequ
4d33603f39 ledger_last_time 2025-09-23 16:17:15 +09:00
tequ
3f65b57997 ledger Hook APIs 2025-09-23 14:53:50 +09:00
tequ
22c71a9801 fix to const params 2025-09-23 14:33:03 +09:00
tequ
0290b73a9e hook Hook APIs 2025-09-23 14:28:28 +09:00
tequ
cf9eef03e5 Merge remote-tracking branch 'upstream/dev' into hook-api-unittest 2025-09-23 13:14:30 +09:00
tequ
dfd93e9ab2 etxn APIs 2025-09-06 17:08:29 +09:00
tequ
ed68a53f6c otxn Hook APIs 2025-09-06 03:59:19 +09:00
tequ
6e49f7d1b1 add float APIs 2025-09-06 02:42:34 +09:00
tequ
4a36ca527e refactor 2025-09-05 21:12:17 +09:00
tequ
c732609f46 Hook API Unit Testing 2025-09-05 19:55:46 +09:00
3 changed files with 3 additions and 27 deletions

View File

@@ -1,24 +0,0 @@
name: Guard Checker Build
on:
push:
pull_request:
jobs:
guard-checker-build:
strategy:
fail-fast: false
matrix:
include:
- run-on: ubuntu-latest
- run-on: macos-latest
runs-on: ${{ matrix.run-on }}
name: Guard Checker Build - ${{ matrix.run-on }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Build Guard Checker
run: |
cd src/ripple/app/hook
make guard_checker

View File

@@ -60,7 +60,7 @@ git-subtree. See those directories' README files for more details.
- [Xrpl Documentation](https://xrpl.org)
- [Xahau Documentation](https://xahau.network/)
- [Hooks Technical Documentation](https://xrpl-hooks.readme.io/)
- **Explorers**: Explore the Xahau Network using various explorers:
- **Explorers**: Explore the Xahau ledger using various explorers:
- [xahauexplorer.com](https://xahauexplorer.com)
- [xahscan.com](https://xahscan.com)
- [xahau.xrpl.org](https://xahau.xrpl.org)

View File

@@ -62,11 +62,11 @@ For these complaints or reports, please [contact our support team](mailto:bugs@x
### The following type of security problems are excluded
1. **In scope**. Only bugs in software under the scope of the program qualify. Currently, that means `xahaud` and `xahau-lib`.
2. **Relevant**. A security issue, posing a danger to user funds, privacy or the operation of the Xahau Network.
2. **Relevant**. A security issue, posing a danger to user funds, privacy or the operation of the Xahau Ledger.
3. **Original and previously unknown**. Bugs that are already known and discussed in public do not qualify. Previously reported bugs, even if publicly unknown, are not eligible.
4. **Specific**. We welcome general security advice or recommendations, but we cannot pay bounties for that.
5. **Fixable**. There has to be something we can do to permanently fix the problem. Note that bugs in other peoples software may still qualify in some cases. For example, if you find a bug in a library that we use which can compromise the security of software that is in scope and we can get it fixed, you may qualify for a bounty.
6. **Unused**. If you use the exploit to attack the Xahau Network, you do not qualify for a bounty. If you report a vulnerability used in an ongoing or past attack and there is specific, concrete evidence that suggests you are the attacker we reserve the right not to pay a bounty.
6. **Unused**. If you use the exploit to attack the Xahau Ledger, you do not qualify for a bounty. If you report a vulnerability used in an ongoing or past attack and there is specific, concrete evidence that suggests you are the attacker we reserve the right not to pay a bounty.
Please note: Reports that are lacking any proof (such as screenshots or other data), detailed information or details on how to reproduce any unexpected result will be investigated but will not be eligible for any reward.