public-pool/.env.example

39 lines
964 B
Plaintext
Raw Permalink Normal View History

# bitcoin node running in your private network 192.168.1.0/24
2023-06-10 11:57:49 -04:00
BITCOIN_RPC_URL=http://192.168.1.100
# bitcoin node running undockered on the same PC
# needs to add rpcallowip=172.16.0.0/12 to your bitcoin.conf
#BITCOIN_RPC_URL=http://host.docker.internal
2023-06-10 11:57:49 -04:00
BITCOIN_RPC_USER=
BITCOIN_RPC_PASSWORD=
BITCOIN_RPC_PORT=8332
BITCOIN_RPC_TIMEOUT=10000
2023-07-17 00:18:03 -04:00
# You can use this instead of BITCOIN_RPC_USER and BITCOIN_RPC_PASSWORD
BITCOIN_RPC_COOKIEFILE=
2023-10-15 15:47:38 -06:00
# Enable in bitcoin.conf with
# zmqpubrawblock=tcp://*:3000
# BITCOIN_ZMQ_HOST="tcp://192.168.1.100:3000"
2023-08-13 23:26:06 -04:00
API_PORT=3334
STRATUM_PORT=3333
2023-07-17 00:18:03 -04:00
#optional telegram bot
2023-07-25 09:26:52 -04:00
#TELEGRAM_BOT_TOKEN=
2023-07-17 00:18:03 -04:00
#optional discord bot
2023-07-25 09:26:52 -04:00
#DISCORD_BOT_CLIENTID=
#DISCORD_BOT_GUILD_ID=
#DISCORD_BOT_CHANNEL_ID=
2023-07-17 00:18:03 -04:00
2023-07-25 09:26:52 -04:00
#optional
2023-07-17 00:18:03 -04:00
DEV_FEE_ADDRESS=
2023-07-25 09:26:52 -04:00
# mainnet | testnet
2023-08-09 09:29:15 -04:00
NETWORK=mainnet
2023-08-13 23:26:06 -04:00
API_SECURE=false
# Default is "public-pool", you can change it to any string it will be removed if it will make the block or coinbase script too big
POOL_IDENTIFIER="public-pool"