github.com/deso-protocol/core@v1.2.9/scripts/nodes/n0_test (about)

     1  DATE=`date +%Y%m%d-%H:%M:%S-%N`
     2  
     3  # Seeds. This is the account corresponding to the public key below.
     4  # * Mnemonic:
     5  #   * verb find card ship another until version devote guilt strong lemon six
     6  # * DeSo public keys:
     7  #   * BC1YLg7Bk5sq9iNY17bAwoAYiChLYpmWEi6nY6q5gnA1UQV6xixHjfV
     8  #   * tBCKVERmG9nZpHTk2AVPqknWc1Mw9HHAnqrTpW1RnXpXMQ4PsQgnmV
     9  # * Bitcoin burn addresses:
    10  #   * mhziDsPWSMwUqvZkVdKY92CjesziGP3wHL
    11  #   * 13UkvpJXdLWE4p68n4MAK6zQntQ1RHixyM
    12  
    13  rm /tmp/main.*.log
    14  
    15  # "-gcflags=”all=-N -l" was added to get GoLand debugger (Delve) to work, see
    16  # https://blog.jetbrains.com/go/2019/02/06/debugging-with-goland-getting-started/
    17  #
    18  # "If you are running with Go 1.10 or newer, you need to add ` -gcflags=”all=-N -l” `
    19  # to the ` go build ` command."
    20  
    21  (cd ../../ && go build -o backend -gcflags="all=-N -l" main.go && ./backend \
    22    --glog-v=0 \
    23    --glog-vmodule="*api*=0,*bitcoin_manager*=2,*balance*=0,*frontend*=0,*peer*=0,*addr*=0,*network*=0,*utils*=0,*connection*=0,*main*=0,server*=0,*mempool*=0,*miner*=0,*blockchain*=0,*block_producer*=1" \
    24    --add-ips=localhost:19000 \
    25    --testnet=true  \
    26    --api-port=18001 \
    27    --protocol-port=18000 \
    28    --txindex \
    29    --num-mining-threads=1 \
    30    --miner-public-keys=BC1YLjJ3FNgo1Q8NU9sEzK3B2obeuq9GvzYr1GnAJgpsVnYCuczcYBe \
    31    --block-producer-seed='essence camp ghost remove document vault ladder swim pupil index apart ring' \
    32    --starter-deso-seed='road congress client market couple bid risk escape artwork rookie artwork food' \
    33    --data-dir=/tmp/n0_test \
    34    --access-control-allow-origins=http://localhost:4200,http://localhost:80,http://localhost:18002 \
    35    --secure-header-allow-hosts=localhost:4200 \
    36    --secure-header-development=true \
    37    --block-cypher-api-key=092dae962ea44b02809a4c74408b42a1 \
    38    --min-satoshis-for-profile=0 \
    39    --show-processing-spinners=true )