• 搭建eos BP节点
 
环境搭建与配置
安装最新版本
$ wget https://github.com/eosio/eos/releases/download/v1.8.1/eosio-1.8.1-1.el7.x86_64.rpm $ sudo yum install ./eosio-1.8.1-1.el7.x86_64.rpm
 
设置一个合约目录(目前没有用到)
mkdir contracts cd contracts
 
启动keosd
keosd &
 
启动nodeos
执行以下命令 nodeos -e -p eosio \ --plugin eosio::producer_plugin \ --plugin eosio::chain_api_plugin \ --plugin eosio::http_plugin \ --plugin eosio::history_plugin \ --plugin eosio::history_api_plugin \ --access-control-allow-origin='*' \ --contracts-console \ --http-validate-host=false \ --verbose-http-errors >> nodeos.log 2>&1 &
 
tail -f nodeos.log查看启动日志:
1929001ms thread-0   producer_plugin.cpp:585       block_production_loo ] Produced block 0000366974ce4e2a... #13929 @ 2018-05-23T16:32:09.000 signed by eosio [trxs: 0, lib: 13928, confirmed: 0]
1929502ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366aea085023... #13930 @ 2018-05-23T16:32:09.500 signed by eosio [trxs: 0, lib: 13929, confirmed: 0]
1930002ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366b7f074fdd... #13931 @ 2018-05-23T16:32:10.000 signed by eosio [trxs: 0, lib: 13930, confirmed: 0]
1930501ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366cd8222adb... #13932 @ 2018-05-23T16:32:10.500 signed by eosio [trxs: 0, lib: 13931, confirmed: 0]
1931002ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366d5c1ec38d... #13933 @ 2018-05-23T16:32:11.000 signed by eosio [trxs: 0, lib: 13932, confirmed: 0]
1931501ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366e45c1f235... #13934 @ 2018-05-23T16:32:11.500 signed by eosio [trxs: 0, lib: 13933, confirmed: 0]
1932001ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000366f98adb324... #13935 @ 2018-05-23T16:32:12.000 signed by eosio [trxs: 0, lib: 13934, confirmed: 0]
1932501ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 00003670a0f01daa... #13936 @ 2018-05-23T16:32:12.500 signed by eosio [trxs: 0, lib: 13935, confirmed: 0]
1933001ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 00003671e8b36e1e... #13937 @ 2018-05-23T16:32:13.000 signed by eosio [trxs: 0, lib: 13936, confirmed: 0]
1933501ms thread-0 producer_plugin.cpp:585 block_production_loo ] Produced block 0000367257fe1623... #13938 @ 2018-05-23T16:32:13.500 signed by eosio [trxs: 0, lib: 13937, confirmed: 0]
 
校验钱包
cleos wallet list
控制台返回
Wallets: []
 
查看chain信息
 
 
  • 创建钱包
生成default钱包的密钥到指定文件
cleos wallet create --file wallet-file
 
 
导入私钥
cleos wallet import(输入私钥 )
private key: warn 2019-08-12T12:00:24.677 thread-0 wallet.cpp:223 save_wallet_file ] saving wallet to file /home/ec2-user/eosio-wallet/./default.wallet
imported private key for: xxxxxxxxx
 
导入成功后可使用cleos wallet keys命令查看
 
 
 
创世节点相关配置和脚本
cd ~
mkdir biosboot
cd biosboot
mkdir genesis
cd genesis
cd ~/biosboot
touch genesis.json
vi genesis.json
将下面的文本复制到genesis.json(注意,不需要做任何更改)
{ "initial_timestamp": "2018-06-08T08:08:08.888", "initial_key": "xxxxxx", "initial_configuration": { "max_block_net_usage": 1048576, "target_block_net_usage_pct": 1000, "max_transaction_net_usage": 524288, "base_per_transaction_net_usage": 12, "net_usage_leeway": 500, "context_free_discount_net_usage_num": 20, "context_free_discount_net_usage_den": 100, "max_block_cpu_usage": 200000, "target_block_cpu_usage_pct": 1000, "max_transaction_cpu_usage": 150000, "min_transaction_cpu_usage": 100, "max_transaction_lifetime": 3600, "deferred_trx_expiration_window": 600, "max_transaction_delay": 3888000, "max_inline_action_size": 4096, "max_inline_action_depth": 4, "max_authority_depth": 6 } }
 
 
cd ~/biosboot/genesis touch genesis_start.sh
genesis_start.sh内容如下:
#!/bin/bash DATADIR="./blockchain" if [ ! -d $DATADIR ]; then mkdir -p $DATADIR; fi nodeos \ --genesis-json $DATADIR"/../../genesis.json" \ --data-dir $DATADIR"/data" \ --blocks-dir $DATADIR"/blocks" \ --config-dir $DATADIR"/config" \ --access-control-allow-origin=* \ --contracts-console \ --http-validate-host=false \ --verbose-http-errors \ --enable-stale-production \ >> $DATADIR"/nodeos.log" 2>&1 & \ echo $! > $DATADIR"/eosd.pid"
 
chmod 755 genesis_start.sh ./genesis_start.sh
执行后可通过日志查看启动情况 tail -fn300 ./blockchain/nodeos.log
 
停止nodeos
vi stop.sh
 
#!/bin/bash DATADIR="./blockchain/" if [ -f $DATADIR"/eosd.pid" ]; then pid=`cat $DATADIR"/eosd.pid"` echo $pid kill $pid rm -r $DATADIR"/eosd.pid" echo -ne "Stoping Node" while true; do [ ! -d "/proc/$pid/fd" ] && break echo -ne "." sleep 1 done echo -ne "\rNode Stopped. \n" fi
chmod 755 stop.sh
./stop.sh
 
 
修改配置文件(重要)
配置文件中设置了公私钥、producer-name、主网节点等重要信息
/home/ec2-user/biosboot/genesis/blockchain/config/config.ini
signature-provider = EOSxxxxx=KEY:xxxxxx
producer-name = xxxxx # checkpoint =
# wasm-runtime =
chain-state-db-size-mb = 128000
reversible-blocks-db-size-mb = 2048
contracts-console = false
# actor-whitelist =
# actor-blacklist =
# contract-whitelist =
# contract-blacklist = # Track actions which match receiver:action:actor. Actor may be blank to include all. Receiver and Action may not be blank. (eosio::history_plugin)
# filter-on =
# https-client-root-cert =
# false: ignore cert errors (eosio::http_client_plugin)
http-validate-host = false verbose-http-errors = false
#在http返回中加入错误日志 https-client-validate-peers = 1
http-server-address = 0.0.0.0:8888
abi-serializer-max-time-ms = 2000
# https-server-address =
# https-certificate-chain-file =
# https-private-key-file = access-control-allow-origin = *
access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept
# access-control-max-age =
access-control-allow-credentials = false
#p2p-server-address = p2p.eoshenzhen.io:9876
#p2p-listen-endpoint = p2p.eoshenzhen.io:9876 p2p-server-address = 0.0.0.0:9876
#p2p-server-address = 120.197.130.119:9876
p2p-listen-endpoint = 0.0.0.0:9876
#read-mode=read-only
p2p-max-nodes-per-host = 70
agent-name = "eszbp"
allowed-connection = any
# peer-key = # peer-private-key =
max-clients = 25
connection-cleanup-period = 30
network-version-match = 0
sync-fetch-span = 100
#max-implicit-request = 1500
enable-stale-production = false
# Start this node in a state where production is paused (eosio::producer_plugin)
pause-on-startup = false
max-transaction-time = 30
max-irreversible-block-age = -1
keosd-provider-timeout = 5
txn-reference-block-lag = 0
#wallet-dir = "." #unlock-timeout = 900
# Plugin(s) to enable, may be specified multiple times
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::producer_plugin
plugin = eosio::producer_api_plugin
plugin = eosio::http_plugin
#plugin = eosio::producer_heartbeat_plugin
##heartbeat-period = 1500
#heartbeat-signature-provider = EOS7QW6YN5zXmKRBLVJ7zFCAPU6zggdHuqHW4wB4aVqu8ykRUwXL1=KEY:5JJtzsScTpHE8fNV84tJpv8w5DkqHm12k72dL5PZdoEutneNHN9
#heartbeat-contract = eosheartbeat
#heartbeat-permission = heartbeat
#heartbeat-oncall = telegram:sheldonpp
#
## localnet
#p2p-peer-address = 192.168.5.12:9876
#p2p-peer-address = 192.168.5.13:9877 #1 eoshuobipool
p2p-peer-address = peer2.eoshuobipool.com:18181
p2p-peer-address = 54.65.62.40:18181
#2 starteosiobp
p2p-peer-address = node1.starteos.io:9876
#p2p-peer-address = node2.starteos.io:9876
#3 eoslaomaocom
#p2p-peer-address = fullnode.eoslaomao.com:443
p2p-peer-address = mainnet.eoslaomao.com:443
#4 zbeosbp11111
p2p-peer-address = node1.zbeos.com:9876
p2p-peer-address = node2.zbeos.com:9876
#5 eosliquideos
p2p-peer-address = node2.liquideos.com:9876
#6 eosflytomars
p2p-peer-address = p2p.bitmars.one:8080
#7 eosiosg11111
p2p-peer-address = peer.eosio.sg:80
#8 bitfinexeos1
#p2p-peer-address = eos-bp.bitfinex.com:9876
#9 atticlabeosb
p2p-peer-address = 62.149.9.136:9876
#10 eosnewyorkio
p2p-peer-address = node1.eosnewyork.io:6987
#11 cochainworld
#p2p-peer-address = peer1.eoscochain.io:9877
#p2p-peer-address = peer2.eoscochain.io:9877
#12 jedaaaaaaaaa
p2p-peer-address = m.jeda.one:3322
#13 eoscannonchn
#p2p-peer-address = node1.eoscannon.io:59876
#14 eos42freedom
p2p-peer-address = seed1.eos42.io:9876
p2p-peer-address = seed2.eos42.io:9876
#15 eosbixinboot
p2p-peer-address = mars.fnp2p.eosbixin.com:443
#16 eoscanadacom
p2p-peer-address = peering.mainnet.eoscanada.com:9876
#17 eosbeijingbp
#p2p-peer-address = bp.eosbeijing.one:8080
p2p-peer-address = 18.182.194.107:8080
#18 eoshenzhenio
p2p-peer-address = p2p.eoshenzhen.io:9876
#19 eosauthority
p2p-peer-address = node869-mainnet.eosauthority.com:9393
#20 eosriobrazil
p2p-peer-address = br.eosrio.io:9876
#21 eosnationftw
p2p-peer-address = peer.eosn.io:9876
#22 eosswedenorg
p2p-peer-address = p2p.eossweden.se:9876
#23 eosdacserver
#p2p-peer-address = ro1.eosdac.io:49876
#24 teamgreymass
p2p-peer-address = seed.greymass.com:9876
#25 cypherglasss
p2p-peer-address = publicnode.cypherglass.com:9876
#26 eospaceioeos
#p2p-peer-address = p2p.mainnet.eospacex.com:88 # Stolen accounts blacklist
actor-blacklist = blacklistmee
actor-blacklist = ge2dmmrqgene
actor-blacklist = gu2timbsguge
actor-blacklist = ge4tsmzvgege
actor-blacklist = gezdonzygage
actor-blacklist = ha4tkobrgqge
# 18 - remove below entry from blacklist
#actor-blacklist = ha4tamjtguge
actor-blacklist = gq4dkmzzhege # 2
actor-blacklist = gu2teobyg4ge
actor-blacklist = gq4demryhage
actor-blacklist = q4dfv32fxfkx
actor-blacklist = ktl2qk5h4bor
actor-blacklist = haydqnbtgene
actor-blacklist = g44dsojygyge
actor-blacklist = guzdonzugmge
actor-blacklist = ha4doojzgyge
actor-blacklist = gu4damztgyge
actor-blacklist = haytanjtgige
actor-blacklist = exchangegdax
actor-blacklist = cmod44jlp14k
actor-blacklist = 2fxfvlvkil4e
actor-blacklist = yxbdknr3hcxt
actor-blacklist = yqjltendhyjp
actor-blacklist = pm241porzybu
actor-blacklist = xkc2gnxfiswe
actor-blacklist = ic433gs42nky
actor-blacklist = fueaji11lhzg
actor-blacklist = w1ewnn4xufob
actor-blacklist = ugunxsrux2a3
actor-blacklist = gz3q24tq3r21
actor-blacklist = u5rlltjtjoeo
actor-blacklist = k5thoceysinj
actor-blacklist = ebhck31fnxbi
actor-blacklist = pvxbvdkces1x
actor-blacklist = oucjrjjvkrom # 3
actor-blacklist = neverlandwal
actor-blacklist = tseol5n52kmo
actor-blacklist = potus1111111 # 4
actor-blacklist = craigspys211 # 5
actor-blacklist = eosfomoplay1 # 6
actor-blacklist = wangfuhuahua # 7
# Order 10 remove blacklist for this
#actor-blacklist = ha4timrzguge
actor-blacklist = guytqmbuhege # 8
actor-blacklist = huobldeposit # Ram lockers
#actor-blacklist = eosramfoodie
#actor-blacklist = eosbetfucker # 11
actor-blacklist = gm3dcnqgenes
actor-blacklist = gm34qnqrepqt
actor-blacklist = gt3ftnqrrpqp
actor-blacklist = gtwvtqptrpqp
actor-blacklist = gm31qndrspqr
actor-blacklist = lxl2atucpyos # AO-012
actor-blacklist = g4ytenbxgqge
actor-blacklist = jinwen121212
actor-blacklist = ha4tomztgage
actor-blacklist = my1steosobag
actor-blacklist = iloveyouplay
actor-blacklist = eoschinaeos2
actor-blacklist = eosholderkev
actor-blacklist = dreams12true
actor-blacklist = imarichman55 # AO-013
actor-blacklist = gizdcnjyg4ge # A0-014
actor-blacklist = gyzdmmjsgige # A0-015
actor-blacklist = guzdanrugene
actor-blacklist = earthsop1sys #A0-016 - missing? # A0-017
actor-blacklist = refundwallet
actor-blacklist = jhonnywalker
actor-blacklist = alibabaioeos
actor-blacklist = whitegroupes
actor-blacklist = 24cryptoshop
actor-blacklist = minedtradeos # A0-018
actor-blacklist = gizdkmjvhege # Feb 22
actor-blacklist = newdexmobapp
actor-blacklist = ftsqfgjoscma
actor-blacklist = hpbcc4k42nxy
actor-blacklist = 3qyty1khhkhv
actor-blacklist = xzr2fbvxwtgt
actor-blacklist = myqdqdj4qbge
actor-blacklist = shprzailrazt
actor-blacklist = qkwrmqowelyu
actor-blacklist = lhjuy3gdkpq4
actor-blacklist = lmfsopxpr324
actor-blacklist = lcxunh51a1gt
actor-blacklist = geydddsfkk5e
actor-blacklist = pnsdiia1pcuy
actor-blacklist = kwmvzswquqpb
actor-blacklist = guagddoefdqu
 
设置完成后启动nodeos
vi start.sh
#!/bin/bash DATADIR="./blockchain" if [ ! -d $DATADIR ]; then mkdir -p $DATADIR; fi nodeos \ --data-dir $DATADIR"/data" \ --blocks-dir $DATADIR"/blocks" \ --config-dir $DATADIR"/config" \ --access-control-allow-origin=* \ --contracts-console \ --http-validate-host=false \ --verbose-http-errors \ --enable-stale-production \ >> $DATADIR"/nodeos.log" 2>&1 & \ echo $! > $DATADIR"/eosd.pid"
chmod 755 start.sh
./start.sh
 
查看节点信息
cleos get info
{ "server_version": "14185431", "chain_id": "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906", "head_block_num": 9631012, "last_irreversible_block_num": 9630681, "last_irreversible_block_id": "0092f3d9e4dd07d48d30da36b28127a6ee2e7c0ae9e0dce4dcf66b2e562448ae", "head_block_id": "0092f5246cf421886a4e08945fa445598323a37cd6e586e41d6c6645215f37da", "head_block_time": "2018-08-05T22:16:39.000", "head_block_producer": "eosauthority", "virtual_block_cpu_limit": 200000000, "virtual_block_net_limit": 1048576000, "block_cpu_limit": 200000, "block_net_limit": 1048576, "server_version_string": "v1.8.1", "fork_db_head_block_num": 9631012, "fork_db_head_block_id": "0092f5246cf421886a4e08945fa445598323a37cd6e586e41d6c6645215f37da" }
 
校验
chain_id是否为aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906,必须为这个值才说明同步到了主网
server_version_string 版本号为v1.8.1
多执行几次命令查看head_block_num是否一直在增长,增长说明是在不断同步主网区块(现在高度为7000多万)
 
 
 
  • 注册EOS BP(EOS Block Producer)
cleos -u https://mainnet.eoscannon.io system regproducer xxx EOSxxx https://www.xxx.com 702
注意702表示地区编码,必须为数字
 
注册完成可在https://eospark.com/上搜索xxxx,相关信息如下:
 
设置相关信息:
将bp.json放在官网
https://www.xxxx.com/bp.json
{ "producer_account_name": "xxxxx", "producer_public_key": "EOSxxxxx", "org": { "candidate_name": "xxxx", "website": "https://www.xxxx.com", "code_of_conduct":"", "email":"contact@mail.xxxx.com", "branding":{ "logo_256":"https://www.xxxx.com/beekuaibao-256*256.png", "logo_1024":"https://www.xxxx.com/beekuaibao-1024*1024.png", "logo_svg":"https://www.xxxx.com/beekuaibao-300*300.svg" }, "location": { "name": "Singapore", "country": "SG", "latitude": 1.369004, "longitude": 103.851561 }, "social": { "twitter": "https://twitter.com/xxxx", "facebook": "https://www.facebook.com/xxx" } }, "nodes": [ { "location": { "name": "Singapore", "country": "SG", "latitude": 1.369004, "longitude": 103.851561 }, "node_type": "full", "api_endpoint": "", "ssl_endpoint": "" } ] }
 
参考
 
投票
cleos -u https://mainnet.eoscannon.io system voteproducer prods xxxx xxxxx
 
 
  • EOS节点奖励
奖励规则
eos有21个出块节点和n个候选节点,每年增发eos比例为5%,其中20%用于节点奖励,80%用于基金池。
20%的节点奖励中有25%用于21个出块节点奖励,75%由所有节点按照投票权重占比来分配的。
如果某个备用节点的得票奖励不足100个EOS,则无法得到奖励。
 
认领奖励
查询余额
cleos -u https://mainnet.eoscannon.io get account xxxx
 
申领奖励
 
先新建一对公私钥,然后自定义claim权限
cleos -u https://mainnet.eoscannon.io set account permission xxxxx claim EOSxxxxxx active -p xxxxx@active
 
cleos -u https://mainnet.eoscannon.io set action permission xxxx eosio claimrewards claim -p xxxxx@active
 
使用claim权限申领
cleos -u https://mainnet.eoscannon.io system claimrewards xxxx -p xxxxx@claim
 
 
 
定时任务申领奖励
1、编写脚本(使用go编写,相对于执行执行命令,多了重试机制并提供了多个endpoint)
 
 
2、build脚本,在mac上build的二进制文件在aws的服务器上无法执行,于是在aws上配置了go、git环境。
环境配置好后执行go build main.go 生成二进制可执行文件main;
vi reward_clain.sh执行main文件并输出日志到log中
#!/bin/sh cd /home/ec2-user/biosboot/genesis/claim_reward ./main >> claim_reward.log &
 
3、将脚本放入crontab中
crontab -e
00 02 * * * nohup sh /home/ec2-user/biosboot/genesis/claim_reward/claim_reward.sh
设置UTC时间每日凌晨2点(北京时间10点)执行
 
 
 
  • 出块节点
如果投票进入前21名成为超级节点,则要负责出块,出块的前提是追平最新区块。
如果从第一个区块开始同步会非常慢,现在最新区块为7000多万,我们的机器同步了半个月才4000多万。
 
那么快捷方式呢?有!可以通过snapshot快速同步。关键步骤如下:
 
1、前往snapshots提供网站下载
网址1:
这里有个坑:2019年8月30日前后下载的snapshot版本是V1.7.1,而我本机安装的是最新版V1.8.1,
node启动起来后chain_id一直不对,head_block_num始终为1。
 
网址2
这个上面是最新的1.8版本
 
下载后解压放入snapshots目录
tar -zxvf snapshot-76607475.bin.tar.gz
 
2、停掉node节点
ps -ef | grep nodeos
杀掉对进程
 
3、删除data目录下的blocks、state
 
4、以snapshot的方式启动nodeos,脚本如下,执行即可
#!/bin/bash EOSBP_DIR="/home/ec2-user/eosnode" if [ ! -d $EOSBP_DIR ]; then mkdir -p $EOSBP_DIR; fi nodeos \ --snapshot $EOSBP_DIR"/data/snapshots/snapshot-76607475.bin" \ --data-dir $EOSBP_DIR"/data" \ --config-dir $EOSBP_DIR"/config" \ >> $EOSBP_DIR"/nodeos.log" 2>&1 & \ echo $! > $EOSBP_DIR"/eosd.pid"
 
5、验证
可以看到nodeos.log中的日志如下,可以看到nodeos在初始化snapshot并从第76607475个区块开始同步
info  2019-08-30T05:48:19.449 nodeos    main.cpp:93                   main                 ] nodeos version v1.8.1
info 2019-08-30T05:48:19.449 nodeos main.cpp:94 main ] nodeos using configuration file /home/ec2-user/eosnode/config/config.ini
info 2019-08-30T05:48:19.449 nodeos main.cpp:95 main ] nodeos data directory is /home/ec2-user/eosnode/data
info 2019-08-30T05:48:19.449 nodeos controller.cpp:2255 startup ] Starting initialization from snapshot, this may take a significant amount of time
info 2019-08-30T05:49:58.578 nodeos controller.cpp:685 init ] database initialized with hash: f6068f08c2a9cc0a6df3da868c9855110b7c4c34c40704323edf21c507a486e4
info 2019-08-30T05:49:58.579 nodeos controller.cpp:2265 startup ] Finished initialization from snapshot
info 2019-08-30T05:49:58.579 nodeos chain_plugin.cpp:982 plugin_startup ] starting chain in read/write mode
info 2019-08-30T05:49:58.579 nodeos chain_plugin.cpp:986 plugin_startup ] Blockchain started; head block is #76607475, genesis timestamp is 2018-06-08T08:08:08.888
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:538 plugin_startup ] start listening for http requests
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/node/get_supported_apis
info 2019-08-30T05:49:58.579 nodeos chain_api_plugin.cpp:77 plugin_startup ] starting chain_api_plugin
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/abi_bin_to_json
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/abi_json_to_bin
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_abi
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_account
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_activated_protocol_features
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_block
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_block_header_state
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_code
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_code_hash
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_currency_balance
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_currency_stats
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_info
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_producer_schedule
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_producers
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_raw_abi
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_raw_code_and_abi
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_required_keys
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_scheduled_transactions
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_table_by_scope
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_table_rows
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_transaction_id
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_block
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_transaction
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_transactions
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/send_transaction
info 2019-08-30T05:49:58.579 nodeos producer_plugin.cpp:820 plugin_startup ] producer plugin: plugin_startup() begin
info 2019-08-30T05:49:58.579 nodeos producer_plugin.cpp:842 plugin_startup ] Launching block production for 1 producers at 2019-08-30T05:49:58.579.
info 2019-08-30T05:49:58.579 nodeos producer_plugin.cpp:854 plugin_startup ] producer plugin: plugin_startup() end
info 2019-08-30T05:49:58.579 nodeos producer_api_plugin.cp:93 plugin_startup ] starting producer_api_plugin
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/add_greylist_accounts
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/create_snapshot
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_account_ram_corrections
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_greylist
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_integrity_hash
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_runtime_options
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_scheduled_protocol_feature_activations
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_supported_protocol_features
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_whitelist_blacklist
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/pause
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/paused
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/remove_greylist_accounts
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/resume
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/schedule_protocol_feature_activations
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/set_whitelist_blacklist
info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/update_runtime_options
info 2019-08-30T05:49:58.579 nodeos net_plugin.cpp:1851 connect ] host: peer2.eoshuobipool.com port: 18181
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 54.65.62.40 port: 18181
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.starteos.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: mainnet.eoslaomao.com port: 443
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.zbeos.com port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node2.zbeos.com port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node2.liquideos.com port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.bitmars.one port: 8080
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosio.sg port: 80
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 62.149.9.136 port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.eosnewyork.io port: 6987
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: m.jeda.one port: 3322
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed1.eos42.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed2.eos42.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: mars.fnp2p.eosbixin.com port: 443
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peering.mainnet.eoscanada.com port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 18.182.194.107 port: 8080
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.eoshenzhen.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node869-mainnet.eosauthority.com port: 9393
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: br.eosrio.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosn.io port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.eossweden.se port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed.greymass.com port: 9876
info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: publicnode.cypherglass.com port: 9876
info 2019-08-30T05:49:58.800 nodeos transaction_context.cp:103 deadline_timer ] Using 11us deadline timer for checktime: min:3us max:13us mean:6us stddev:2us
info 2019-08-30T05:50:15.264 nodeos producer_plugin.cpp:421 on_incoming_block ] Received block c65aec441fcb5448... #76608000 @ 2019-08-29T18:04:26.500 signed by zbeosbp11111 [trxs: 44, lib: 76607674, conf: 0, latency: 42348764 ms]
info 2019-08-30T05:50:28.579 nodeos net_plugin.cpp:1851 connect ] host: node2.liquideos.com port: 9876
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosio.sg port: 80
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: node1.eosnewyork.io port: 6987
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: seed2.eos42.io port: 9876
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: node869-mainnet.eosauthority.com port: 9393
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: br.eosrio.io port: 9876
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosn.io port: 9876
info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: publicnode.cypherglass.com port: 9876
 
执行cleos get info
确认chain_id为aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906,且head_block_num在不断增加并渐渐追平最新区块。
 
可对比此网站查看是否追平最新区块
 
{ "server_version": "14185431", "chain_id": "aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906", "head_block_num": 76697940, "last_irreversible_block_num": 76697605, "last_irreversible_block_id": "04925005805fd1c7e7df5ceb72a880dcaa4ea765295f608eae30e75bae25a2ee", "head_block_id": "049251543734211cce2619bc5a23a5e102bd964645b1244582572f601c5e5a1b", "head_block_time": "2019-08-30T06:35:59.000", "head_block_producer": "okcapitalbp1", "virtual_block_cpu_limit": 200000000, "virtual_block_net_limit": 1048576000, "block_cpu_limit": 199553, "block_net_limit": 1048136, "server_version_string": "v1.8.1", "fork_db_head_block_num": 76697940, "fork_db_head_block_id": "049251543734211cce2619bc5a23a5e102bd964645b1244582572f601c5e5a1b" }
 
 
Done!
 
 
 
 
  • 相关文档
 
 
白皮书
 
github
 
eos数据服务查询
 
eos现有区块快照
 
搭建一个私有的EOS集群
 
EOS多节点环境配置(搭建自己的EOS主网)
 
eos节点列表
 
通过cleos 进行注册BP
 
快速搭建 EOS 主网见证人节点(BP)
 
 
 

eos bp节点 超级节点搭建的更多相关文章

  1. NGK.IO超级节点是我们掌握的下一个财富密码吗?

    从日前NGK.IO发布的新闻中,我们捕捉到了一个非常重要的信息,那就是反复被提到的"超级节点".很多人都对这个"超级节点"一头雾水,这个"超级节点&q ...

  2. EOS多主机多节点环境配置

    本文使用了四台同网段的主机,第一台做为eosio创世用户使用,另外三台做为出块者节点使用,最终实现了EOS多主机多节点的配置.最后EOSIO创世用户不再出块,由选举出来的各个节点轮流出块,下面将介绍具 ...

  3. RabbitMQ-rabbitmqctl多机多节点和单机多节点集群搭建(五)

    准备 1.准备3台物理机 我这里通过本地机和2台虚拟模拟我是mac通过(Parallel Desktop 实现) 2.按照签名的liux安装步骤在3台机器都安装rabiitMq 3.将任意一节点的co ...

  4. NGK新加坡峰会:超级节点和开源代码为DeFi生态带来新曙光!

    据伦敦金融时报以及纽约商业报等多家媒体报道的消息,1月31日,2021 NGK区块链峰会于新加坡正式开幕,全球多位区块链研究所专家线上受邀出席参会,NGK灵石技术研发Clifton先生,法国区块链专家 ...

  5. NGK公链:在规则明确的环境下运行超级节点机制

    首先要跟大家明确的一点是,21个超级节点是投票选举出来的,并不是系统在创立之初就已经确定好了的.那么相信大家也一定很好奇,这21个超级节点是通过什么方式产生? NGK.IO对分布式超级节点使用了一个自 ...

  6. 如何成为NGK超级节点?

    NGK这个 "超级节点" 到底是什么?什么是超级节点呢? 区块链网络中的每一个节点,其实就是存储数据的每一台电脑或者服务器终端.节点要完成新区块的生产.交易的验证与记帐.因此节点之 ...

  7. KubeSphere单节点(all-in-one)平台搭建记录

    KubeSphere单节点(all-in-one)平台搭建记录 目录 KubeSphere单节点(all-in-one)平台搭建记录 一.主机准备 1.1 主机配置 1.2 环境准备 二.下载kube ...

  8. DOM节点关系,节点关系

    DOM节点关系 定义 节点中的各种关系可以用传统的家族关系来描述,相当于把文档树比喻成家谱. 属性 [nodeType.nodeName.nodeValue] 每个节点都有这三个属性,且节点类型不同, ...

  9. SQL SERVER 2000 遍历父子关系数据的表(二叉树)获得所有子节点 所有父节点及节点层数函数

    ---SQL SERVER 2000 遍历父子关系數據表(二叉树)获得所有子节点 所有父节点及节点层数函数---Geovin Du 涂聚文--建立測試環境Create Table GeovinDu([ ...

随机推荐

  1. 汇总VSCode中比较好用的插件

    使用vscode编辑器两年的时间,总结出前端一些比较方便的插件 1. Auto Close Tag 自动添加HTML / XML关闭标签 2. Auto Complete Tag 自动完成标签 3 A ...

  2. Selenium Webdriver元素定位的八种常用方式【转】

    在使用selenium webdriver进行元素定位时,通常使用findElement或findElements方法结合By类返回的元素句柄来定位元素.其中By类的常用定位方式共八种,现分别介绍如下 ...

  3. 台式机主机u盘安装centos7报错及注意事项

    利用UltraISO制作U盘启动安装台式机CentOS7系统:流程及报错解决 一.制作U盘 1.首先打开UltraISO软件,尽量下载最新版的 2.点击工具栏中的第二个打开镜像文件工具,如图红色方框标 ...

  4. Mybatis框架(9)---Mybatis自定义插件生成雪花ID做为表主键项目

    Mybatis自定义插件生成雪花ID做为主键项目 先附上项目项目GitHub地址 spring-boot-mybatis-interceptor 有关Mybatis雪花ID主键插件前面写了两篇博客作为 ...

  5. Example With JdbcDaoSupport

    By extended the JdbcDaoSupport, set the datasource and JdbcTemplate in your class is no longer requi ...

  6. Oracle面对“数据倾斜列使用绑定变量”场景的解决方案

    1.背景知识介绍 2.构造测试用例 3.场景测试 4.总结 1.背景知识介绍     我们知道,Oracle在传统的OLTP(在线事务处理)类系统中,强烈推荐使用绑定变量,这样可以有效的减少硬解析从而 ...

  7. 《阿里巴巴Java开发手册1.4.0》阅读总结与心得(一)

    前言 下面是阿里对<阿里巴巴 Java 开发手册>(下称<手册>)的介绍: 凝聚了阿里集团很多同学的知识智慧和经验,这些经验甚至是用血淋淋的故障换来的,希望前车之鉴,后车之师, ...

  8. java实现查找PDF关键字所在页码及其坐标

    1.因为最近有这方面的需求,用过之后记录一下. 2.此功能跟PDF中Ctrl+F性质一样,如果PDF中为图片形式的不支持定位到关键字. import com.itextpdf.awt.geom.Rec ...

  9. tomcat部署项目,war包问题

    tomcat部署项目后,war包是否能删除 答案是能删除的,前提是先停掉tomcat后才能删除 1)在tomcat中webapps目录下上传war包后,对war包自动解压 2)war包不能在tomca ...

  10. 动态数组& allocator

    问题来源 在编写程序的时候,对数组."二维数组"的分配的删除掌握的不是很清楚,不能正确的进行定义初始化. 以及在使用vector的时候,如何正确的定义及初始化 注意!!! 尽量使用 ...