Created
August 6, 2018 13:38
-
-
Save jplanc/c83f0bf99abf09fa2dfd6efa09ca524f to your computer and use it in GitHub Desktop.
Binance node instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Install git, docker | |
yum install git docker | |
### Pull in latest eos repo | |
git clone https://github.com/EOSIO/eos.git --recursive --depth 1 | |
### Build docker image | |
cd eos/Docker | |
docker build . -t eosio/eos --build-arg symbol=EOS | |
### Place your config.ini | |
mkdir /root/data-dir | |
cat >/root/data-dir/config.ini <<'EOF' | |
chain-state-db-size-mb = 24576 | |
get-transactions-time-limit = 3 | |
block-log-dir = "blocks" | |
http-server-address = 0.0.0.0:8888 | |
p2p-listen-endpoint = 0.0.0.0:9876 | |
p2p-server-address = :9876 | |
allowed-connection = any | |
log-level-net-plugin = info | |
max-clients = 100 | |
connection-cleanup-period = 30 | |
network-version-match = 0 | |
sync-fetch-span = 2000 | |
enable-stale-production = false | |
required-participation = 33 | |
plugin = eosio::chain_plugin | |
plugin = eosio::chain_api_plugin | |
plugin = eosio::history_api_plugin | |
filter-on = inancecleos:transfer: | |
filter-on = heztanrqgene:transfer: | |
plugin = eosio::db_size_api_plugin | |
p2p-peer-address = publicnode.cypherglass.com:9876 | |
p2p-peer-address = p2p1.bp2.io:4444 | |
p2p-peer-address = node0.eosblocksmith.io:9876 | |
p2p-peer-address = p2p.mainnet.eospace.io:88 | |
p2p-peer-address = eos-mainnet-p2p.activeeos.com:9876 | |
p2p-peer-address = fn001.eossv.org:443 | |
p2p-peer-address = p2p.eosdetroit.io:3018 | |
p2p-peer-address = fullnode.eoslaomao.com:443 | |
p2p-peer-address = api2.eostribe.io:9115 | |
p2p-peer-address = p2p.saltblock.io:19876 | |
p2p-peer-address = peer1.mainnet.helloeos.com.cn:80 | |
EOF | |
### Download genesis json file | |
wget -P genesis/ https://raw.githubusercontent.com/CryptoLions/EOS-MainNet/master/genesis.json | |
### Start the nodeos container | |
docker run --name nodeos -v /root/genesis:/genesis -v /root/data-dir:/opt/eosio/bin/data-dir -p 8888:8888 -p 9876:9876 -t eosio/eos nodeosd.sh --genesis-json /genesis/genesis.json --http-alias=127.0.0.1:8888 --http-alias=127.0.0.1:9876 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment