以太坊多节点连接私链加入挖矿

/ 2评论 / 893阅读 / 1点赞

环境


想法


开搞

让副节点连上主节点

{
   "config":{
      "chainId":7,
      "homesteadBlock":0,
      "eip150Block":0,
      "eip155Block":0,
      "eip158Block":0,
      "byzantiumBlock":0,
      "constantinopleBlock":0,
      "petersburgBlock":0,
      "istanbulBlock":0,
       "ethhash":{}
   },
   "alloc":{},
   "coinbase":"0x0000000000000000000000000000000000000000",
   "difficulty":"0x2",
   "extraData":"",
   "gasLimit":"0xffffffff",
   "nonce":"0x0000000000000042",
"mixhash":"0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash":"0x0000000000000000000000000000000000000000000000000000000000000000",
   "timestamp":"0x00"
}
geth --datadir ./data --networkid 7  --http --http.addr 0.0.0.0 --http.vhosts "*" --http.api "admin,debug,web3,eth,txpool,personal,ethash,miner,net" --http.corsdomain "*" --snapshot --mine --miner.threads 1 --allow-insecure-unlock  console 2> 1.log

修改java程序连接副节点


存在的问题

  1. VORVOSESK说道:

    cialis isosorbide dinitrate trade name Defending champion Carmelita Jeter, whose season has been blighted with injury, looked less polished as she finished second in her heat behind Ivory Coast s Murielle Ahoure to go through to Monday s semi finals azithromycin 250mg tablets 6-pak

  2. VORVOSESK说道:

    a perforation a hole or tear of your intestines; or chlomid nolvadex supplier Zebrafish lose transparency during larval development

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注