update bitcoin.conf

This commit is contained in:
Elyan 2024-02-18 02:50:31 -08:00
parent 438f3be826
commit c7bf7962bb
2 changed files with 28 additions and 2 deletions

View File

@ -1,5 +1,31 @@
signet=1
[signet]
daemon=1
# Custom Signet challenge
# we would add our custom signet parameters here(currently generic parameters are used)
signetchallenge=5121<PUBKEY>51ae
#rpcauth=would be provided when needed
txindex=1
server=1
fallbackfee=0.00000001
paytxfee=0.00001000
maxtxfee=1.0
mintxfee=0.00000001
minrelaytxfee=0.00000001
rpcbind=0.0.0.0:38332
rpcallowip=0.0.0.0/0
whitelist=0.0.0.0/0
# Basic Network
listen=1
bind=127.0.0.1
# ZeroMQ notification settings
zmqpubrawblock=tcp://0.0.0.0:28332
zmqpubrawtx=tcp://0.0.0.0:28333
zmqpubhashblock=tcp://0.0.0.0:28334

View File

@ -12,7 +12,7 @@ echo "started"
# Generate mew address and keys
ADDR=$(./src/bitcoin-cli -regtest getnewaddress '' bech32)
PRIVKEY=$(./src/bitcoin-cli -regtest dumpprivkey $ADDR)
PUBKEY=$(./src/bitcoin-cli -regtest getaddressinfo $ADDR | jq -r .pubkey)
PUBKEY=$(./src/bitcoin-cli -regtest getaddressinfo $ADDR | jq -r .scriptPubKey)
# Calculate script length and keys
LENX2=$(printf $PUBKEY | wc -c)