mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-18 21:35:24 +01:00
docs: preserve MINING_ADDRESS across docker-compose sessions
Export MINING_ADDRESS before docker-compose up to ensure it's retained for subsequent operations, fixing block generation errors due to missing mining addresses.
This commit is contained in:
parent
9651ee6372
commit
d740e95c08
@ -80,7 +80,8 @@ $ docker exec -i -t alice bash
|
||||
alice $ lncli --network=simnet newaddress np2wkh
|
||||
|
||||
# Recreate "btcd" node and set Alice's address as mining address:
|
||||
$ MINING_ADDRESS=<alice_address> docker-compose up -d btcd
|
||||
$ export MINING_ADDRESS=<alice_address>
|
||||
$ docker-compose up -d btcd
|
||||
|
||||
# Generate 400 blocks (we need at least "100 >=" blocks because of coinbase
|
||||
# block maturity and "300 ~=" in order to activate segwit):
|
||||
|
Loading…
Reference in New Issue
Block a user