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

/ 20,011评论 / 73026阅读 / 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. Jamesjer说道:

    ciprofloxacin generic: buy cipro without rx – antibiotics cipro

  2. I was more than happy to discover this page. I want to to thank you for your time just for this wonderful read!! I definitely appreciated every bit of it and I have you saved as a favorite to look at new information on your site.

  3. essay writer说道:

    Hi, I do believe this is a great blog. I stumbledupon it 😉 I may come back yet again since I book marked it. Money and freedom is the best way to change, may you be rich and continue to help other people.

  4. Jamesjer说道:

    paxlovid pill: п»їpaxlovid – Paxlovid buy online

  5. lehenga说道:

    You’ve made some good points there. I looked on the net for more info about the issue and found most people will go along with your views on this website.

  6. wedding dress说道:

    You are so interesting! I don’t believe I have read something like that before. So nice to discover someone with unique thoughts on this issue. Really.. many thanks for starting this up. This web site is something that is needed on the internet, someone with a bit of originality.

  7. Jamesjer说道:

    paxlovid generic: п»їpaxlovid – paxlovid for sale

  8. I blog often and I genuinely appreciate your information. This article has truly peaked my interest. I will bookmark your website and keep checking for new information about once per week. I subscribed to your RSS feed too.

发表回复

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