Skip to content

Commit

Permalink
add "parallel channels" scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Otto committed May 24, 2022
1 parent 3269b37 commit f6d8796
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tests:
- destination3: 80000
- shortcut_destination: 20000
- long_route_destination: 20000
- parallel_channels_destination: 20000

# Define a set of policies that are to be used in the channel definitions below.
policies:
Expand Down Expand Up @@ -47,6 +48,9 @@ nodes:
long_route_destination:
policy: cheap

parallel_channels_destination:
policy: cheap

start:
policy: normal
channels:
Expand Down Expand Up @@ -86,6 +90,9 @@ nodes:
- capacity: 10000000
long_route_z:
- capacity: 100000
# the payment needs to be split into two parts, one for each parallel channel to the destination
parallel_channels_x:
- capacity: 1000000

node0_0:
policy: normal
Expand Down Expand Up @@ -396,3 +403,12 @@ nodes:
long_route_destination:
- capacity: 50000
remoteBalance: 40000

parallel_channels_x:
policy: cheap
channels:
parallel_channels_destination:
- capacity: 1000000
remoteBalance: 976000
- capacity: 1000000
remoteBalance: 976000

0 comments on commit f6d8796

Please sign in to comment.