Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
7308801
chore: add one_way channel flag
quake Dec 1, 2025
ac2a2f7
feat: add trampoline_onion
quake Dec 2, 2025
af91b83
chore: check add tlc direction
quake Dec 11, 2025
90689ff
chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20
dependabot[bot] Nov 27, 2025
c2b9cf5
chore(deps): bump serde from 1.0.219 to 1.0.228
dependabot[bot] Nov 27, 2025
a9ba56b
chore(deps): bump bitflags from 2.9.2 to 2.10.0
dependabot[bot] Nov 27, 2025
bfb6414
chore(deps): bump serde_json from 1.0.142 to 1.0.143
dependabot[bot] Nov 27, 2025
c7c7ce2
chore(deps): bump wasm-bindgen-test from 0.3.50 to 0.3.55
dependabot[bot] Nov 27, 2025
1ab282c
chore(deps): bump hyper from 1.6.0 to 1.8.1
dependabot[bot] Nov 27, 2025
3bb1705
chore(deps): bump log from 0.4.27 to 0.4.29
dependabot[bot] Dec 7, 2025
c655f72
Deprecate Invoice Attribute FinalHtlcTimeout instead of delete it
jjyr Nov 27, 2025
6b19462
chore(deps): bump anyhow from 1.0.99 to 1.0.100
dependabot[bot] Dec 7, 2025
0759a08
fix: handle funding transaction signing failure
Dec 12, 2025
4f04a48
Update crates/fiber-lib/src/fiber/tests/network.rs
doitian Dec 13, 2025
401dcc6
refactor(cch): refactor lnd trackers
Nov 11, 2025
4b5e901
feat: add metrics for LND tracker
Nov 13, 2025
f8dfede
feat: monitor fiber store changes for cch
Nov 13, 2025
d3ea098
Update issue templates
chenyukang Sep 17, 2025
7716645
Update feature_request.md
chenyukang Sep 17, 2025
2ccdf3f
Add design issue template
chenyukang Sep 17, 2025
e7979be
Add 'design' label to project design issue template
chenyukang Sep 17, 2025
6d6d296
Update .github/ISSUE_TEMPLATE/design.md
chenyukang Sep 19, 2025
179819e
fix merge conflicts
chenyukang Dec 17, 2025
e386ef6
add node feature and invoice feature
chenyukang Dec 17, 2025
b3773ca
Invoice status will not update from Receive to Open
chenyukang Dec 16, 2025
63612e3
chore: rename to forwarding_tlc
quake Nov 21, 2025
ca87009
chore: refactoring
quake Dec 15, 2025
035f4dd
chore: set forwarding tlc
quake Dec 15, 2025
878a6e7
fix
quake Dec 16, 2025
92e3c17
chore: rebase
quake Dec 16, 2025
530dc85
chore: fix test
quake Dec 16, 2025
81701a2
chore: update rpc
quake Dec 16, 2025
ff033ff
chore: update migration check
quake Dec 16, 2025
9af1cc3
chore: update comment
quake Dec 16, 2025
027f568
Fix panick when start peer filter actor
jjyr Dec 15, 2025
835a63f
Merge branch 'develop' into oneway-channel
chenyukang Dec 17, 2025
35eddab
more on trampoline_routing
chenyukang Dec 17, 2025
0d52876
add more test for trampoline routing
chenyukang Dec 17, 2025
72cc9f3
Fix unit test for trampoline
chenyukang Dec 17, 2025
9e2a377
more on test
chenyukang Dec 17, 2025
1e03214
fix fee issue
chenyukang Dec 18, 2025
4cbdbcc
more on trampoline routing test
chenyukang Dec 18, 2025
3b188b7
debug test
chenyukang Dec 19, 2025
0f706ea
Merge branch 'develop' into quake/oneway-channel
chenyukang Dec 22, 2025
e9cfa6d
resolve conflicts
chenyukang Dec 22, 2025
841db90
two onion packet layer
chenyukang Dec 23, 2025
8429802
error handling for trampoline routing
chenyukang Dec 23, 2025
05bd31a
Merge branch 'develop' into quake/oneway-channel
chenyukang Dec 23, 2025
946d578
resolve conflicts
chenyukang Dec 23, 2025
9c7424c
code cleanup and fix test
chenyukang Dec 23, 2025
793de0e
code refactor onion packet
chenyukang Dec 24, 2025
a615058
code refactor for tlc ops for trampoline onion packet
chenyukang Dec 24, 2025
7d5edf2
merge develop
chenyukang Dec 24, 2025
3688006
add comments for is_trampoline_hop
chenyukang Dec 25, 2025
22994fa
resolve develop conflicts
chenyukang Dec 26, 2025
bda834b
clippy bless
chenyukang Dec 26, 2025
1573bb8
add trampoline hops parameters
chenyukang Dec 29, 2025
26d14a9
more parameters for trampoline routing
chenyukang Dec 29, 2025
d3748ee
renaming fields for trampoline forwarding
chenyukang Dec 30, 2025
a413edd
add more test for trampoline hops
chenyukang Dec 30, 2025
6a1975e
merge develop and resolve conflicts
chenyukang Dec 30, 2025
91ecf08
refactor trapoline routing and testing
chenyukang Dec 31, 2025
5a4e188
Merge branch 'develop' into quake/oneway-channel
chenyukang Dec 31, 2025
0c087d8
remove unused fields for trampoline routing
chenyukang Dec 31, 2025
6883635
fix fee in trampoline routing
chenyukang Jan 1, 2026
b881231
add SendPaymentData builder
chenyukang Jan 3, 2026
1111a1a
fix expiry limit for trampoline forwarding
chenyukang Jan 4, 2026
3af5fec
testing trampoline routing with keysend
chenyukang Jan 4, 2026
0a4ae2e
merge develop
chenyukang Jan 14, 2026
0f02a83
trampoline forwarding hops will create payment sessions
chenyukang Jan 14, 2026
bd82ba5
fix fee bugs in trampoline routing
chenyukang Jan 14, 2026
2eae307
add more tests for trampoline routing payments
chenyukang Jan 14, 2026
bd37794
Merge branch 'develop' into quake/oneway-channel
chenyukang Jan 15, 2026
df56818
fix start script
chenyukang Jan 15, 2026
03aa736
Merge branch 'develop' into quake/oneway-channel
chenyukang Jan 15, 2026
2a3fa32
code refactor for trampoline routing
chenyukang Jan 15, 2026
311bee8
fix unstable e2e test
chenyukang Jan 15, 2026
38287ab
merge develop and resolve conflicts
chenyukang Jan 16, 2026
e9cb382
support basic mpp for trampoline routing
chenyukang Jan 16, 2026
4325f70
code refactoring
chenyukang Jan 16, 2026
e59a178
fix unstable test case
chenyukang Jan 17, 2026
c33a831
set mpp options for trampoline hops
chenyukang Jan 17, 2026
67cf50b
add unit test for one-way
chenyukang Jan 19, 2026
f4e959c
add one_way for channel rpc
chenyukang Jan 20, 2026
5f1fd66
fix one_way tlc check and test
chenyukang Jan 20, 2026
eefc387
Merge branch 'develop' into quake/oneway-channel
chenyukang Jan 20, 2026
4bfe0d8
set enable status for graph according to is_one_way
chenyukang Jan 20, 2026
86040e1
Merge branch 'develop' into quake/oneway-channel
chenyukang Jan 21, 2026
dcacda2
Fix build release warning
chenyukang Jan 21, 2026
91a57a5
Fix trampoline routing fee with no max_fee_amount specified
chenyukang Jan 21, 2026
a86176e
add trampoline notes
chenyukang Jan 21, 2026
14745f2
add trampoline routing spec
chenyukang Jan 21, 2026
091efa4
add more tests for trampoline
chenyukang Jan 22, 2026
52682c2
add test for trampoline fee
chenyukang Jan 22, 2026
413c762
add trampoline with mpp
chenyukang Jan 22, 2026
c4cf240
Fix payment hash algorithm issue in trampoline routing
chenyukang Jan 23, 2026
4e19fac
Merge branch 'develop' into quake/oneway-channel
chenyukang Jan 23, 2026
b24c0fa
merge develop
chenyukang Jan 23, 2026
cea1331
fix routing fee issues
chenyukang Jan 24, 2026
60f4307
merge develop
chenyukang Jan 24, 2026
41162d9
new trampoline routing fees
chenyukang Jan 24, 2026
9a19178
fix trampoline routing fee tests
chenyukang Jan 24, 2026
8096fcc
remove unused parameters in trampoline routing
chenyukang Jan 24, 2026
3de051f
update doc
chenyukang Jan 24, 2026
6e10cd7
trampoline forwarding hop will check fee
chenyukang Jan 24, 2026
8577a2e
code refactoring
chenyukang Jan 25, 2026
2f1e640
code refactoring
chenyukang Jan 25, 2026
33741a3
add more tests for fee
chenyukang Jan 25, 2026
870c142
more testing on trampoline feature check
chenyukang Jan 25, 2026
19f6ccb
update specs for trampoline routing
chenyukang Jan 26, 2026
92e6553
add unit test for gossip actor
chenyukang Jan 26, 2026
fe89f5c
add udt unit test for trampoline routing
chenyukang Jan 26, 2026
160c1f5
Fix wasm target build and test
chenyukang Jan 26, 2026
477c4f5
Fix route fee issues
chenyukang Jan 27, 2026
270a56b
merge develop
chenyukang Jan 28, 2026
0f2be1d
review comments feedback
chenyukang Feb 2, 2026
c6e1ea0
resolve conflicts
chenyukang Feb 2, 2026
f8f5d04
Merge branch 'develop' into quake/oneway-channel
chenyukang Feb 2, 2026
c0e027a
fix unstable ci test
chenyukang Feb 2, 2026
86acc50
fix clippy
chenyukang Feb 2, 2026
254d565
forbide payself with trampoline routing
chenyukang Feb 2, 2026
8697183
add migration
chenyukang Feb 3, 2026
f65507b
Merge branch 'develop' into quake/oneway-channel
chenyukang Feb 3, 2026
1e4fcd3
fix migration
chenyukang Feb 3, 2026
dc5507f
resolve conflicts
chenyukang Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Unittests for wasm32-unknown-unknown
on:
push:
branches: develop
workflow_dispatch:
pull_request:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]

jobs:
Expand All @@ -18,21 +18,14 @@ jobs:
with:
toolchain: stable
override: true

- name: Install wasm-pack
run: cargo install wasm-pack

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Setup test runner
run: |
cd ./.github/wasm-test-runner
npm install
- name: Run tests (without async-trait)
run: |
export WORKING_DIR=$(pwd)
cd ./.github/wasm-test-runner
node ./index.js

make wasm-test

4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,7 @@ update-migrate-check: install-migration-check
.PHONY: benchmark-test
benchmark-test:
cargo criterion --features bench

.PHONY: wasm-test
wasm-test:
export WORKING_DIR=$(shell pwd) && cd ./.github/wasm-test-runner && npm install && node ./index.js
547 changes: 371 additions & 176 deletions crates/fiber-lib/src/fiber/channel.rs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crates/fiber-lib/src/fiber/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub mod feature_bits {
declare_feature_bits_and_methods! {
GOSSIP_QUERIES, 1;
BASIC_MPP, 3;
TRAMPOLINE_ROUTING, 5;
// more features, please note that base bit must be defined as increasing odd numbers
}
}
Expand All @@ -88,6 +89,7 @@ impl Default for FeatureVector {
let mut feature = Self::new();
feature.set_gossip_queries_required();
feature.set_basic_mpp_required();
feature.set_trampoline_routing_required();

// set other default features here
// ...
Expand Down
Loading
Loading