Add BTX support

This commit is contained in:
David B
2018-08-20 23:08:10 +00:00
committed by David
parent a52b65e459
commit a5137f7100
9 changed files with 56 additions and 1 deletions

1
bitcore-cli.ps1 Executable file
View File

@@ -0,0 +1 @@
docker exec -ti btcpayserver_bitcored bitcore-cli -datadir="/data" $args

3
bitcore-cli.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker exec -ti btcpayserver_bitcored bitcore-cli -datadir="/data" "$@"

View File

@@ -52,7 +52,7 @@ Environment variables:
LETSENCRYPT_EMAIL: A mail will be sent to this address if certificate expires and fail to renew automatically (eg. me@example.com)
NBITCOIN_NETWORK: The type of network to use (eg. mainnet, testnet or regtest. Default: mainnet)
LIGHTNING_ALIAS: An alias for your lightning network node if used
BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btg, grs, ftc, via, doge, mona, none. Default: btc)
BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btx, btg, grs, ftc, via, doge, mona, none. Default: btc)
BTCPAYGEN_CRYPTO2: Second supported crypto currency (Default: empty)
BTCPAYGEN_CRYPTON: N th supported crypto currency where N is maximum at maximum 9. (Default: none)
BTCPAYGEN_REVERSEPROXY: Whether to use or not a reverse proxy. NGinx setup HTTPS for you. (eg. nginx, traefik, none. Default: nginx)

View File

@@ -0,0 +1,34 @@
version: "3"
services:
bitcored:
restart: unless-stopped
container_name: btcpayserver_bitcored
image: dalijolijo/docker-bitcore:0.15.2
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcore_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "btx"
NBXPLORER_BTXRPCURL: http://bitcored:43782/
NBXPLORER_BTXNODEENDPOINT: bitcored:39388
links:
- bitcored
volumes:
- "bitcore_datadir:/root/.bitcore"
btcpayserver:
environment:
BTCPAY_BTXEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "btx"
volumes:
bitcore_datadir:

View File

@@ -6,6 +6,9 @@ services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: prune=50000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=50000
bgoldd:
environment:
BITCOIN_EXTRA_ARGS: prune=50000

View File

@@ -6,6 +6,9 @@ services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: prune=25000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=25000
bgoldd:
environment:
BITCOIN_EXTRA_ARGS: prune=25000

View File

@@ -6,6 +6,9 @@ services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: prune=5000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=5000
bgoldd:
environment:
BITCOIN_EXTRA_ARGS: prune=5000

View File

@@ -6,6 +6,9 @@ services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: prune=100000
bitcored:
environment:
BITCOIN_EXTRA_ARGS: prune=100000
bgoldd:
environment:
BITCOIN_EXTRA_ARGS: prune=100000

View File

@@ -46,6 +46,11 @@ namespace DockerGenerator
LNDFragment = "bitcoin-lnd"
},
new CryptoDefinition()
{
Crypto = "btx",
CryptoFragment = "bitcore",
},
new CryptoDefinition()
{
Crypto = "btg",
CryptoFragment = "bgold",