forked from megashurik/sentinel
first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# basic settings
|
||||
txindex=1
|
||||
testnet=1 # TESTNET
|
||||
logtimestamps=1
|
||||
|
||||
# optional indices
|
||||
txindex=1
|
||||
addressindex=1
|
||||
timestampindex=1
|
||||
spentindex=1
|
||||
|
||||
# JSONRPC
|
||||
server=1
|
||||
rpcuser=dashrpc
|
||||
rpcpassword=abcdefghijklmnopqrstuvwxyz0123456789ABCDEF10
|
||||
rpcallowip=127.0.0.1
|
||||
@@ -0,0 +1,2 @@
|
||||
# run Dash-Sentinel every minute
|
||||
* * * * * cd /home/YOURUSERNAME/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -evx
|
||||
|
||||
mkdir ~/.dashcore
|
||||
|
||||
# safety check
|
||||
if [ ! -f ~/.dashcore/.dash.conf ]; then
|
||||
cp share/dash.conf.example ~/.dashcore/dash.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user