Skip to content

Commit

Permalink
script: Giantnode paths fix
Browse files Browse the repository at this point in the history
Changelog-Fixed: Fixed regtest directory location for giantnode script.
  • Loading branch information
ShahanaFarooqui committed Oct 20, 2024
1 parent 2cb5906 commit 98a62eb
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions contrib/giantnode.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@

args = parser.parse_args()

nodes = (LightningRpc('/tmp/l1-regtest/regtest/lightning-rpc'),
LightningRpc('/tmp/l2-regtest/regtest/lightning-rpc'),
LightningRpc('/tmp/l3-regtest/regtest/lightning-rpc'))

nodes = (LightningRpc('/tmp/l1-regtest/regtest/lightning-rpc'),
LightningRpc('/tmp/l2-regtest/regtest/lightning-rpc'),
LightningRpc('/tmp/l3-regtest/regtest/lightning-rpc'))
nodes = (LightningRpc('/tmp/l1/regtest/lightning-rpc'),
LightningRpc('/tmp/l2/regtest/lightning-rpc'),
LightningRpc('/tmp/l3/regtest/lightning-rpc'))

# Convenient aliases
l1 = nodes[0]
Expand All @@ -59,9 +55,9 @@
print("""
Bookkeeper is running on l1, will slow things down! Run this:
echo 'disable-plugin=bookkeeper' >> /tmp/l1-regtest/regtest/config
echo 'disable-plugin=bookkeeper' >> /tmp/l2-regtest/regtest/config
echo 'disable-plugin=bookkeeper' >> /tmp/l3-regtest/regtest/config
echo 'disable-plugin=bookkeeper' >> /tmp/l1/regtest/config
echo 'disable-plugin=bookkeeper' >> /tmp/l2/regtest/config
echo 'disable-plugin=bookkeeper' >> /tmp/l3/regtest/config
stop_ln
start_ln 3
""")
Expand Down

0 comments on commit 98a62eb

Please sign in to comment.