Skip to content

Instantly share code, notes, and snippets.

@akirattii
Created May 18, 2017 07:33
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 akirattii/554f8be9fceba2db60b21a3852a6aff5 to your computer and use it in GitHub Desktop.
Save akirattii/554f8be9fceba2db60b21a3852a6aff5 to your computer and use it in GitHub Desktop.
bitcoind memo: set `walletnotify` to bitcoin.conf
# /root/.bitcoin-config/bitcoin.testnet.conf
testnet=1
rpcuser=rpc
rpcpassword=rpc
server=1
printtoconsole=1
rpcallowip=0.0.0.0/0
rpcthreads=50
rpctimeout=300
txindex=1
addrindex=1
# Every time you receive funds, below `curl` command is called. `%s` is txid:
walletnotify=curl http://172.18.0.1:4000/test/index/%s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment