Skip to content

Instantly share code, notes, and snippets.

@sanket1729
Created December 22, 2018 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanket1729/45540848ed6247af78af51eed2d3ee62 to your computer and use it in GitHub Desktop.
Save sanket1729/45540848ed6247af78af51eed2d3ee62 to your computer and use it in GitHub Desktop.
sanket1729@sanket-ubuntu:~/bitcoin/src$ more ~/.bitcoin/bitcoin.conf
prune=2000
testnet=1
server=1
daemon=1
rpcuser=sanket1729
rpcpass=testing
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
sanket1729@sanket-ubuntu:~/bitcoin/src$ more ~/.lnd/lnd.conf
[Application Options]
debuglevel=trace
maxpendingchannels=10
debuglevel=debug
bitcoin.node=bitcoind
bitcoind.rpcuser=sanket1729
bitcoind.rpcpass=testing
bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332
bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333
[Bitcoin]
bitcoin.active=1
sanket1729@sanket-ubuntu:~/bitcoin/src$ ./bitcoind -daemon -testnet
Bitcoin server starting
sanket1729@sanket-ubuntu:~/bitcoin/src$ ~/go/bin/lnd --bitcoin.active --bitcoin.testnet
2018-12-22 01:13:41.883 [INF] LTND: Version: 0.5.1-beta commit=v0.5.1-beta-252-ge6623f98b38f279900aaedf6a6993f34c3a45337, build=production, logging=default
2018-12-22 01:13:41.883 [INF] LTND: Active chain: Bitcoin (network=testnet)
2018-12-22 01:13:41.883 [INF] CHDB: Checking for schema update: latest_version=7, db_version=7
2018-12-22 01:13:41.893 [INF] RPCS: password RPC server listening on 127.0.0.1:10009
2018-12-22 01:13:41.893 [INF] RPCS: password gRPC proxy started at 127.0.0.1:8080
2018-12-22 01:13:41.893 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2018-12-22 01:13:58.701 [INF] LNWL: Opened wallet
2018-12-22 01:13:58.780 [INF] LTND: Primary chain is set to: bitcoin
unable to create chain control: unable to connect to bitcoind: status code: 401, response: ""
2018-12-22 01:13:59.034 [INF] LTND: Shutdown complete
unable to connect to bitcoind: status code: 401, response: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment