• 搭建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查看启动日志:
  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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
  1. signature-provider = EOSxxxxx=KEY:xxxxxx
  2. producer-name = xxxxx
  3.  
  4. # checkpoint =
  5. # wasm-runtime =
  6. chain-state-db-size-mb = 128000
  7. reversible-blocks-db-size-mb = 2048
  8. contracts-console = false
  9. # actor-whitelist =
  10. # actor-blacklist =
  11. # contract-whitelist =
  12. # contract-blacklist =
  13.  
  14. # Track actions which match receiver:action:actor. Actor may be blank to include all. Receiver and Action may not be blank. (eosio::history_plugin)
  15. # filter-on =
  16. # https-client-root-cert =
  17. # false: ignore cert errors (eosio::http_client_plugin)
  18. http-validate-host = false
  19.  
  20. verbose-http-errors = false
  21. #在http返回中加入错误日志
  22.  
  23. https-client-validate-peers = 1
  24. http-server-address = 0.0.0.0:8888
  25. abi-serializer-max-time-ms = 2000
  26. # https-server-address =
  27. # https-certificate-chain-file =
  28. # https-private-key-file =
  29.  
  30. access-control-allow-origin = *
  31. access-control-allow-headers = Origin, X-Requested-With, Content-Type, Accept
  32. # access-control-max-age =
  33. access-control-allow-credentials = false
  34. #p2p-server-address = p2p.eoshenzhen.io:9876
  35. #p2p-listen-endpoint = p2p.eoshenzhen.io:9876
  36.  
  37. p2p-server-address = 0.0.0.0:9876
  38. #p2p-server-address = 120.197.130.119:9876
  39. p2p-listen-endpoint = 0.0.0.0:9876
  40. #read-mode=read-only
  41. p2p-max-nodes-per-host = 70
  42. agent-name = "eszbp"
  43. allowed-connection = any
  44. # peer-key =
  45.  
  46. # peer-private-key =
  47. max-clients = 25
  48. connection-cleanup-period = 30
  49. network-version-match = 0
  50. sync-fetch-span = 100
  51. #max-implicit-request = 1500
  52. enable-stale-production = false
  53. # Start this node in a state where production is paused (eosio::producer_plugin)
  54. pause-on-startup = false
  55. max-transaction-time = 30
  56. max-irreversible-block-age = -1
  57. keosd-provider-timeout = 5
  58. txn-reference-block-lag = 0
  59. #wallet-dir = "."
  60.  
  61. #unlock-timeout = 900
  62. # Plugin(s) to enable, may be specified multiple times
  63. plugin = eosio::chain_plugin
  64. plugin = eosio::chain_api_plugin
  65. plugin = eosio::producer_plugin
  66. plugin = eosio::producer_api_plugin
  67. plugin = eosio::http_plugin
  68. #plugin = eosio::producer_heartbeat_plugin
  69. ##heartbeat-period = 1500
  70. #heartbeat-signature-provider = EOS7QW6YN5zXmKRBLVJ7zFCAPU6zggdHuqHW4wB4aVqu8ykRUwXL1=KEY:5JJtzsScTpHE8fNV84tJpv8w5DkqHm12k72dL5PZdoEutneNHN9
  71. #heartbeat-contract = eosheartbeat
  72. #heartbeat-permission = heartbeat
  73. #heartbeat-oncall = telegram:sheldonpp
  74. #
  75. ## localnet
  76. #p2p-peer-address = 192.168.5.12:9876
  77. #p2p-peer-address = 192.168.5.13:9877
  78.  
  79. #1 eoshuobipool
  80. p2p-peer-address = peer2.eoshuobipool.com:18181
  81. p2p-peer-address = 54.65.62.40:18181
  82. #2 starteosiobp
  83. p2p-peer-address = node1.starteos.io:9876
  84. #p2p-peer-address = node2.starteos.io:9876
  85. #3 eoslaomaocom
  86. #p2p-peer-address = fullnode.eoslaomao.com:443
  87. p2p-peer-address = mainnet.eoslaomao.com:443
  88. #4 zbeosbp11111
  89. p2p-peer-address = node1.zbeos.com:9876
  90. p2p-peer-address = node2.zbeos.com:9876
  91. #5 eosliquideos
  92. p2p-peer-address = node2.liquideos.com:9876
  93. #6 eosflytomars
  94. p2p-peer-address = p2p.bitmars.one:8080
  95. #7 eosiosg11111
  96. p2p-peer-address = peer.eosio.sg:80
  97. #8 bitfinexeos1
  98. #p2p-peer-address = eos-bp.bitfinex.com:9876
  99. #9 atticlabeosb
  100. p2p-peer-address = 62.149.9.136:9876
  101. #10 eosnewyorkio
  102. p2p-peer-address = node1.eosnewyork.io:6987
  103. #11 cochainworld
  104. #p2p-peer-address = peer1.eoscochain.io:9877
  105. #p2p-peer-address = peer2.eoscochain.io:9877
  106. #12 jedaaaaaaaaa
  107. p2p-peer-address = m.jeda.one:3322
  108. #13 eoscannonchn
  109. #p2p-peer-address = node1.eoscannon.io:59876
  110. #14 eos42freedom
  111. p2p-peer-address = seed1.eos42.io:9876
  112. p2p-peer-address = seed2.eos42.io:9876
  113. #15 eosbixinboot
  114. p2p-peer-address = mars.fnp2p.eosbixin.com:443
  115. #16 eoscanadacom
  116. p2p-peer-address = peering.mainnet.eoscanada.com:9876
  117. #17 eosbeijingbp
  118. #p2p-peer-address = bp.eosbeijing.one:8080
  119. p2p-peer-address = 18.182.194.107:8080
  120. #18 eoshenzhenio
  121. p2p-peer-address = p2p.eoshenzhen.io:9876
  122. #19 eosauthority
  123. p2p-peer-address = node869-mainnet.eosauthority.com:9393
  124. #20 eosriobrazil
  125. p2p-peer-address = br.eosrio.io:9876
  126. #21 eosnationftw
  127. p2p-peer-address = peer.eosn.io:9876
  128. #22 eosswedenorg
  129. p2p-peer-address = p2p.eossweden.se:9876
  130. #23 eosdacserver
  131. #p2p-peer-address = ro1.eosdac.io:49876
  132. #24 teamgreymass
  133. p2p-peer-address = seed.greymass.com:9876
  134. #25 cypherglasss
  135. p2p-peer-address = publicnode.cypherglass.com:9876
  136. #26 eospaceioeos
  137. #p2p-peer-address = p2p.mainnet.eospacex.com:88
  138.  
  139. # Stolen accounts blacklist
  140. actor-blacklist = blacklistmee
  141. actor-blacklist = ge2dmmrqgene
  142. actor-blacklist = gu2timbsguge
  143. actor-blacklist = ge4tsmzvgege
  144. actor-blacklist = gezdonzygage
  145. actor-blacklist = ha4tkobrgqge
  146. # 18 - remove below entry from blacklist
  147. #actor-blacklist = ha4tamjtguge
  148. actor-blacklist = gq4dkmzzhege
  149.  
  150. # 2
  151. actor-blacklist = gu2teobyg4ge
  152. actor-blacklist = gq4demryhage
  153. actor-blacklist = q4dfv32fxfkx
  154. actor-blacklist = ktl2qk5h4bor
  155. actor-blacklist = haydqnbtgene
  156. actor-blacklist = g44dsojygyge
  157. actor-blacklist = guzdonzugmge
  158. actor-blacklist = ha4doojzgyge
  159. actor-blacklist = gu4damztgyge
  160. actor-blacklist = haytanjtgige
  161. actor-blacklist = exchangegdax
  162. actor-blacklist = cmod44jlp14k
  163. actor-blacklist = 2fxfvlvkil4e
  164. actor-blacklist = yxbdknr3hcxt
  165. actor-blacklist = yqjltendhyjp
  166. actor-blacklist = pm241porzybu
  167. actor-blacklist = xkc2gnxfiswe
  168. actor-blacklist = ic433gs42nky
  169. actor-blacklist = fueaji11lhzg
  170. actor-blacklist = w1ewnn4xufob
  171. actor-blacklist = ugunxsrux2a3
  172. actor-blacklist = gz3q24tq3r21
  173. actor-blacklist = u5rlltjtjoeo
  174. actor-blacklist = k5thoceysinj
  175. actor-blacklist = ebhck31fnxbi
  176. actor-blacklist = pvxbvdkces1x
  177. actor-blacklist = oucjrjjvkrom
  178.  
  179. # 3
  180. actor-blacklist = neverlandwal
  181. actor-blacklist = tseol5n52kmo
  182. actor-blacklist = potus1111111
  183.  
  184. # 4
  185. actor-blacklist = craigspys211
  186.  
  187. # 5
  188. actor-blacklist = eosfomoplay1
  189.  
  190. # 6
  191. actor-blacklist = wangfuhuahua
  192.  
  193. # 7
  194. # Order 10 remove blacklist for this
  195. #actor-blacklist = ha4timrzguge
  196. actor-blacklist = guytqmbuhege
  197.  
  198. # 8
  199. actor-blacklist = huobldeposit
  200.  
  201. # Ram lockers
  202. #actor-blacklist = eosramfoodie
  203. #actor-blacklist = eosbetfucker
  204.  
  205. # 11
  206. actor-blacklist = gm3dcnqgenes
  207. actor-blacklist = gm34qnqrepqt
  208. actor-blacklist = gt3ftnqrrpqp
  209. actor-blacklist = gtwvtqptrpqp
  210. actor-blacklist = gm31qndrspqr
  211. actor-blacklist = lxl2atucpyos
  212.  
  213. # AO-012
  214. actor-blacklist = g4ytenbxgqge
  215. actor-blacklist = jinwen121212
  216. actor-blacklist = ha4tomztgage
  217. actor-blacklist = my1steosobag
  218. actor-blacklist = iloveyouplay
  219. actor-blacklist = eoschinaeos2
  220. actor-blacklist = eosholderkev
  221. actor-blacklist = dreams12true
  222. actor-blacklist = imarichman55
  223.  
  224. # AO-013
  225. actor-blacklist = gizdcnjyg4ge
  226.  
  227. # A0-014
  228. actor-blacklist = gyzdmmjsgige
  229.  
  230. # A0-015
  231. actor-blacklist = guzdanrugene
  232. actor-blacklist = earthsop1sys
  233.  
  234. #A0-016 - missing?
  235.  
  236. # A0-017
  237. actor-blacklist = refundwallet
  238. actor-blacklist = jhonnywalker
  239. actor-blacklist = alibabaioeos
  240. actor-blacklist = whitegroupes
  241. actor-blacklist = 24cryptoshop
  242. actor-blacklist = minedtradeos
  243.  
  244. # A0-018
  245. actor-blacklist = gizdkmjvhege
  246.  
  247. # Feb 22
  248. actor-blacklist = newdexmobapp
  249. actor-blacklist = ftsqfgjoscma
  250. actor-blacklist = hpbcc4k42nxy
  251. actor-blacklist = 3qyty1khhkhv
  252. actor-blacklist = xzr2fbvxwtgt
  253. actor-blacklist = myqdqdj4qbge
  254. actor-blacklist = shprzailrazt
  255. actor-blacklist = qkwrmqowelyu
  256. actor-blacklist = lhjuy3gdkpq4
  257. actor-blacklist = lmfsopxpr324
  258. actor-blacklist = lcxunh51a1gt
  259. actor-blacklist = geydddsfkk5e
  260. actor-blacklist = pnsdiia1pcuy
  261. actor-blacklist = kwmvzswquqpb
  262. 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个区块开始同步
  1. info 2019-08-30T05:48:19.449 nodeos main.cpp:93 main ] nodeos version v1.8.1
  2. info 2019-08-30T05:48:19.449 nodeos main.cpp:94 main ] nodeos using configuration file /home/ec2-user/eosnode/config/config.ini
  3. info 2019-08-30T05:48:19.449 nodeos main.cpp:95 main ] nodeos data directory is /home/ec2-user/eosnode/data
  4. info 2019-08-30T05:48:19.449 nodeos controller.cpp:2255 startup ] Starting initialization from snapshot, this may take a significant amount of time
  5. info 2019-08-30T05:49:58.578 nodeos controller.cpp:685 init ] database initialized with hash: f6068f08c2a9cc0a6df3da868c9855110b7c4c34c40704323edf21c507a486e4
  6. info 2019-08-30T05:49:58.579 nodeos controller.cpp:2265 startup ] Finished initialization from snapshot
  7. info 2019-08-30T05:49:58.579 nodeos chain_plugin.cpp:982 plugin_startup ] starting chain in read/write mode
  8. 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
  9. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:538 plugin_startup ] start listening for http requests
  10. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/node/get_supported_apis
  11. info 2019-08-30T05:49:58.579 nodeos chain_api_plugin.cpp:77 plugin_startup ] starting chain_api_plugin
  12. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/abi_bin_to_json
  13. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/abi_json_to_bin
  14. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_abi
  15. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_account
  16. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_activated_protocol_features
  17. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_block
  18. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_block_header_state
  19. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_code
  20. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_code_hash
  21. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_currency_balance
  22. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_currency_stats
  23. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_info
  24. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_producer_schedule
  25. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_producers
  26. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_raw_abi
  27. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_raw_code_and_abi
  28. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_required_keys
  29. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_scheduled_transactions
  30. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_table_by_scope
  31. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_table_rows
  32. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/get_transaction_id
  33. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_block
  34. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_transaction
  35. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/push_transactions
  36. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/chain/send_transaction
  37. info 2019-08-30T05:49:58.579 nodeos producer_plugin.cpp:820 plugin_startup ] producer plugin: plugin_startup() begin
  38. 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.
  39. info 2019-08-30T05:49:58.579 nodeos producer_plugin.cpp:854 plugin_startup ] producer plugin: plugin_startup() end
  40. info 2019-08-30T05:49:58.579 nodeos producer_api_plugin.cp:93 plugin_startup ] starting producer_api_plugin
  41. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/add_greylist_accounts
  42. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/create_snapshot
  43. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_account_ram_corrections
  44. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_greylist
  45. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_integrity_hash
  46. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_runtime_options
  47. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_scheduled_protocol_feature_activations
  48. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_supported_protocol_features
  49. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/get_whitelist_blacklist
  50. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/pause
  51. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/paused
  52. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/remove_greylist_accounts
  53. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/resume
  54. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/schedule_protocol_feature_activations
  55. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/set_whitelist_blacklist
  56. info 2019-08-30T05:49:58.579 nodeos http_plugin.cpp:625 add_handler ] add api url: /v1/producer/update_runtime_options
  57. info 2019-08-30T05:49:58.579 nodeos net_plugin.cpp:1851 connect ] host: peer2.eoshuobipool.com port: 18181
  58. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 54.65.62.40 port: 18181
  59. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.starteos.io port: 9876
  60. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: mainnet.eoslaomao.com port: 443
  61. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.zbeos.com port: 9876
  62. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node2.zbeos.com port: 9876
  63. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node2.liquideos.com port: 9876
  64. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.bitmars.one port: 8080
  65. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosio.sg port: 80
  66. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 62.149.9.136 port: 9876
  67. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node1.eosnewyork.io port: 6987
  68. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: m.jeda.one port: 3322
  69. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed1.eos42.io port: 9876
  70. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed2.eos42.io port: 9876
  71. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: mars.fnp2p.eosbixin.com port: 443
  72. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peering.mainnet.eoscanada.com port: 9876
  73. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: 18.182.194.107 port: 8080
  74. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.eoshenzhen.io port: 9876
  75. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: node869-mainnet.eosauthority.com port: 9393
  76. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: br.eosrio.io port: 9876
  77. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosn.io port: 9876
  78. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: p2p.eossweden.se port: 9876
  79. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: seed.greymass.com port: 9876
  80. info 2019-08-30T05:49:58.580 nodeos net_plugin.cpp:1851 connect ] host: publicnode.cypherglass.com port: 9876
  81. 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
  82. 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]
  83. info 2019-08-30T05:50:28.579 nodeos net_plugin.cpp:1851 connect ] host: node2.liquideos.com port: 9876
  84. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosio.sg port: 80
  85. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: node1.eosnewyork.io port: 6987
  86. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: seed2.eos42.io port: 9876
  87. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: node869-mainnet.eosauthority.com port: 9393
  88. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: br.eosrio.io port: 9876
  89. info 2019-08-30T05:50:28.580 nodeos net_plugin.cpp:1851 connect ] host: peer.eosn.io port: 9876
  90. 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. java后端开发面经 数据库相关

    小姐姐:怎么理解感情中的付出和回报? 你答:有这样一个故事,讲的是一个小男孩和一个小女孩,这个小男孩呢,用很多好玩石头,而这个小女孩呢,有好多好吃的糖果,有一天,他们相互约定:小男孩用所有的石头交互小 ...

  2. ES6中。类与继承的方法,以及与ES5中的方法的对比

    // 在ES5中,通常使用构造函数方法去实现类与继承 // 创建父类 function Father(name, age){ this.name = name; this.age = age; } F ...

  3. DFS树求割点问题

    时间复杂度:O(n玄学)总之不大 代码实现(好麻烦,蓝题变紫题) #include<iostream> #include<string.h> #include<algor ...

  4. 持续集成高级篇之Jekins参数传入与常见任务

    系列目录 有的童鞋可能已经发现,PipeLine项目与自由式项目相比,可配置的项少了很多,比如说环境变量定义,所有步骤完成后执行动作,拉git代码库等.其实这些功能并没有缺,而是配置的方式不一样了,以 ...

  5. 设计模式(C#)——04原型模式

    推荐阅读:  我的CSDN  我的博客园  QQ群:704621321       在软件开发过程中,我们习惯使用new来创建对象.但是当我们创建一个实例的过程很昂贵或者很复杂,并且需要创建多个这样的 ...

  6. unity编辑器扩展_08(创建自定义窗口)

    代码: using UnityEngine;using UnityEditor; public class MyWidow : EditorWindow{    [MenuItem("Win ...

  7. JS之clientWidth、offsetWidth等属性介绍

    一.clientXXX 属性 代码演示 // css 部分 <style> .test{ width:100px; height:100px; border:1px solid red; ...

  8. C#开发学习人工智能的第一步

    前言 作为一个软件开发者,我们除了要学会复制,黏贴,还要学会调用API和优秀的开源类库. 也许,有人说C#做不了人工智能,如果你相信了,那只能说明你的思想还是狭隘的. 做不了人工智能的不是C#这种语言 ...

  9. 2019 Multi-University Training Contest 6

    A.Salty Fish upsolved 题意 偷苹果,每个节点上有\(a[i]\)个苹果,在某些位置有摄像机,看管子树里距离不超过\(k[i]\)的节点,损坏摄像机有\(c[i]\)代价,求最大收 ...

  10. manacher --- 暂 旧版本

    #include<bits/stdc++.h> using namespace std; ; ]; int n; ]; void manacher() { memset(len, , si ...