Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------------------------------------------------------------------------------------------------------
- # Start excc daemon
- # -------------------------------------------------------------------------------------------------------------------
- exccd --testnet -u rpcuser -P rpcpass --notls --miningaddr TsWKKMgZNVzyLksz6LPMGVZzkjX2YBSYBtg
- # -------------------------------------------------------------------------------------------------------------------
- # Start wallet daemon
- # -------------------------------------------------------------------------------------------------------------------
- exccwallet --testnet -u rpcuser -P rpcpass --noservertls --noclienttls
- # -------------------------------------------------------------------------------------------------------------------
- # Set up database
- # -------------------------------------------------------------------------------------------------------------------
- docker run --name excc-mining-postgres -e POSTGRES_USER=miningcore -e POSTGRES_PASSWORD=miningcore -p 5432:5432 -d postgres
- psql -h localhost -U miningcore -d miningcore -c "GRANT ALL PRIVILEGES ON DATABASE miningcore TO miningcore;"
- psql -h localhost -U miningcore -d miningcore -f "src/MiningCore/Persistence/Postgres/Scripts/createdb.sql"
- # -------------------------------------------------------------------------------------------------------------------
- # Open listening port for mining pool
- # -------------------------------------------------------------------------------------------------------------------
- sudo ufw allow 3052
- # -------------------------------------------------------------------------------------------------------------------
- # Build and run mining pool
- # -------------------------------------------------------------------------------------------------------------------
- ./src/MiningCore/linux-build.sh
- dotnet ./build/MiningCore.dll --config ./examples/exchangecoin_pool.json
- # -------------------------------------------------------------------------------------------------------------------
- # Start miner
- # -------------------------------------------------------------------------------------------------------------------
- ./gominer -o stratum+tcp://$IP_ADDR:3052 -m "TsfA5gShNNHAafNaoNQeZTiGkwGhuG7PMWf" -n ""
Add Comment
Please, Sign In to add comment