Merge pull request #8466 from weiliy/docs-fix-mining-address

docs: preserve MINING_ADDRESS across docker-compose sessions
This commit is contained in:
Oliver Gugger 2024-02-08 02:41:20 -06:00 committed by GitHub
commit 17f5798726
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):