diff options
| author | Adam Soltys <[email protected]> | 2023-02-06 16:48:13 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-06 16:48:13 -0800 |
| commit | 9c667055c6367e1b2e239686e72f52995679a47e (patch) | |
| tree | 0b1d4aee51ec2d4e92d08a9d1404ba4e2ecd462a /sampledata/bitcoin | |
| parent | 15294844dbc8e73b4d1e92008a7eebc6b86b9ec5 (diff) | |
| parent | 6f5602d112b68adb7452abf3047f20c32e7725b6 (diff) | |
| download | coinos-server-9c667055c6367e1b2e239686e72f52995679a47e.tar.gz coinos-server-9c667055c6367e1b2e239686e72f52995679a47e.zip | |
Merge branch 'master' into test
Diffstat (limited to 'sampledata/bitcoin')
| -rw-r--r-- | sampledata/bitcoin/bitcoin.conf | 22 | ||||
| -rwxr-xr-x | sampledata/bitcoin/transaction.sh | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sampledata/bitcoin/bitcoin.conf b/sampledata/bitcoin/bitcoin.conf new file mode 100644 index 00000000..3aa44186 --- /dev/null +++ b/sampledata/bitcoin/bitcoin.conf @@ -0,0 +1,22 @@ +regtest=1 +testnet=0 +dnsseed=0 +upnp=0 + +[regtest] +fallbackfee=0.00002 +server=1 +txindex=1 + +rpcuser=admin1 +rpcpassword=123 +rpcallowip=0.0.0.0/0 +rpcbind=0.0.0.0 +rpcwallet=coinos + +wallet=coinos +wallet=external +walletnotify=/home/bitcoin/.bitcoin/transaction.sh %s %w + +zmqpubrawblock=tcp://0.0.0.0:18506 +zmqpubrawtx=tcp://0.0.0.0:18507 diff --git a/sampledata/bitcoin/transaction.sh b/sampledata/bitcoin/transaction.sh new file mode 100755 index 00000000..e44789d1 --- /dev/null +++ b/sampledata/bitcoin/transaction.sh @@ -0,0 +1,2 @@ +#!/bin/sh +wget -O- --post-data='{"txid": "'$1'", "wallet": "'$2'"}' --header='Content-Type:application/json' 'http://app:3119/bitcoin' |
