decred.org/dcrdex@v1.0.5/dex/testing/dgb/harness.sh (about) 1 #!/usr/bin/env bash 2 export SYMBOL="dgb" 3 export DAEMON="digibyted" 4 export CLI="digibyte-cli" 5 export RPC_USER="user" 6 export RPC_PASS="pass" 7 export ALPHA_LISTEN_PORT="20785" 8 export BETA_LISTEN_PORT="20786" 9 export ALPHA_RPC_PORT="20766" 10 export BETA_RPC_PORT="20767" 11 export ALPHA_WALLET_SEED="edGAHPVc4cRuwjrBbayutFB36X8hFLFSJxZXoQf2kd3LaUSFLBgH" 12 export BETA_WALLET_SEED="edvbnynKLpXwBvs8xNM1HiffweUS5FHSLYkTXYnUKShQSWJb2CV2" # dumpwallet and get hdseed 13 export ALPHA_MINING_ADDR="dgbrt1qk96nh49y26ls0czacapwa8p5s5wurkm0y7wd97" 14 export BETA_MINING_ADDR="dgbrt1q04mpmzm569rc3d4vs7uqjjj59jwkq7gv9drdsz" 15 # Gamma is a named wallet in the alpha wallet directory. 16 export GAMMA_WALLET_SEED="einJtvSQJxNGPQWKAwmRWEZ95ifc9C5uqJZZejAKoJvpanEg3azV" 17 export GAMMA_ADDRESS="dgbrt1q46scevzm9hu06y0pnl8v2fxmll9v8k3e3lnd43" 18 # Delta is a named wallet in the beta wallet directory. 19 export DELTA_WALLET_SEED="ehA5EC6mbNvGCJ4HqtjNc822ojnU2bGRLoc3cZipoYFFYT7tYrq4" 20 export DELTA_ADDRESS="dgbrt1qdgzj8guegzuyfupcvy3vjlpfxpv8rgruqtkndf" 21 # Signal that the node needs to restart after encrypting wallet 22 export RESTART_AFTER_ENCRYPT="1" 23 # $1 is the node to create with. $2 is the wallet name 24 export NEW_WALLET_CMD="./\$1 createwallet \$2" 25 export BLOCKS_TO_MINE=120 # it chokes with high diff if you mine much more, but if you stop at 100, nothing much is mature it seems 26 export EXTRA_ARGS="-disabledandelion=1 -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -nodiscover -nodnsseed" # -onlynet=ipv4 -nodiscover 27 28 # Background watch mining by default: 29 # 'export NOMINER="1"' or uncomment this line to disable 30 # 31 # TODO: Cannot presently continuously mine on simnet but when we can comment 32 # this out. 33 NOMINER="1" 34 35 # Run the harness 36 ../btc/base-harness.sh