mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-28 19:55:20 +08:00
add Dockerfile that can run net-test scripts, add 500 logging to faucet.sh, add fallback fee
This commit is contained in:
@@ -43,6 +43,7 @@ http_401() {
|
||||
http_500() {
|
||||
local ERR="$1"
|
||||
local ERR_LEN=${#ERR}
|
||||
log "500 error: ${ERR}"
|
||||
printf "HTTP/1.0 500 Internal Server error\r\nContent-Length: $ERR_LEN\r\nContent-Type: text/plain\r\n\r\n$ERR"
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ start_bitcoind() {
|
||||
logln "ok"
|
||||
|
||||
log "Starting bitcoind..."
|
||||
bitcoind -conf="$BITCOIN_CONF" >"$BITCOIN_LOGFILE" 2>&1 &
|
||||
bitcoind -fallbackfee=0.0002 -conf="$BITCOIN_CONF" >"$BITCOIN_LOGFILE" 2>&1 &
|
||||
local BITCOIN_PID=$!
|
||||
logln "PID $BITCOIN_PID"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user