[geth]以太坊私链搭建

/ 5,746评论 / 25212阅读 / 4点赞

环境


注:


私链搭建

{
   "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
INFO [01-15|10:34:55.186] Maximum peer count                       ETH=50 LES=0 total=50
INFO [01-15|10:34:55.186] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
WARN [01-15|10:34:55.188] Sanitizing cache to Go's GC limits       provided=1024 updated=611
INFO [01-15|10:34:55.188] Set global gas cap                       cap=50,000,000
INFO [01-15|10:34:55.188] Allocated cache and file handles         database=/home/ubuntu/eth/rungeth/data/geth/chaindata cache=16.00MiB handles=16
INFO [01-15|10:34:55.213] Writing custom genesis block 
INFO [01-15|10:34:55.217] Persisted trie from memory database      nodes=1 size=149.00B time="45.27µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [01-15|10:34:55.218] Successfully wrote genesis state         database=chaindata hash=6ef04e..bd9488
INFO [01-15|10:34:55.218] Allocated cache and file handles         database=/home/ubuntu/eth/rungeth/data/geth/lightchaindata cache=16.00MiB handles=16
INFO [01-15|10:34:55.231] Writing custom genesis block 
INFO [01-15|10:34:55.232] Persisted trie from memory database      nodes=1 size=149.00B time="40.785µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [01-15|10:34:55.232] Successfully wrote genesis state         database=lightchaindata hash=6ef04e..bd9488

使用remix远程连接私链并部署合约


操作命令


常见问题

      "byzantiumBlock":0,
      "constantinopleBlock":0,
  1. Diplom_dpsr说道:

    купить диплом в волгодонске http://www.vm-tver.ru .

  2. The next time I read a blog, Hopefully it does not disappoint me just as much as this particular one. After all, Yes, it was my choice to read, nonetheless I really thought you’d have something helpful to talk about. All I hear is a bunch of complaining about something that you can fix if you were not too busy searching for attention.

  3. Diplom_amsr说道:

    купить диплом в кызыле https://vm-tver.ru .

  4. JoshuaJopup说道:

    Real Madrid midfielder Rodrigo https://rodrygo.prostoprosport-ar.com gave Madrid the lead in the Champions League quarter-final first leg against Manchester City. The meeting takes place in Madrid. Rodrigo scored in the 14th minute after a pass from Vinicius Junior.

  5. bolt scaffolding说道:

    You made some respectable points there. I looked on the internet for the issue and found most people will go along with with your website.

  6. DichaelDuh说道:

    Ежегодно в середине сентября проводится Тюменский инновационный форум «НЕФТЬГАЗТЭК».
    Форум посвящен устройству способов инноваторского продвижения отраслей топливно-энергетического комплекса, обсуждению а также изысканию ответов, образованию наилучших обстоятельств для развития инноваторских проектов. Ежегодный тюменский форум представляетсобой влиятельной дискуссионной площадкой по развитию нефтегазовой ветви в России, имеет большой авторитет и своевременность, созвучен корпоративной стратегии продвижения инновационного курса в Российской Федерации
    https://neftgaztek.ru/

  7. Ismaelenriz说道:

    Ежегодно в середине сентября проходит Тюменский инновационный форум «НЕФТЬГАЗТЭК».
    Форум посвящен устройству мнтодов инновационного роста секторов топливно-энергетического комплекса, обсуждению и изысканию заключений, образованию наилучших условий для формирования инноваторских проектов. Ежегодный тюменский форум представляетсобой влиятельной дискуссионной площадкой по продвижению нефтегазовой ветви в России, имеет высокий статус и актуальность, созвучен корпоративной стратегии развития инновационного курса в Российской Федерации
    https://neftgaztek.ru/

  8. I always seem to give up what I want when others want. . Not a good thing, no. Might be an honorable trait, but not “good”. The only time I would call this good is IF and only if those you always put before yourself practice the same as you.. . Too much of anything, including love, sharing and all the other positives is not healthy. Life is about balance. Give and take, share and receive etc.. . It is wonderful that you put others before yourself, but you must take into account hat you are somebody too and you are to get your share no matter what that share is at the time. Sometimes we have to put ourselves first OR we find ourselves asking the question in which you have here. We could later find ourselves resentful, unappreciated and disrespected for example. We could accidentally become a doormat to even those that do not realize they are taking advantage.

  9. It’s not that I want to copy your web site, but I really like the style. Could you let me know which theme are you using? Or was it especially designed?

  10. A very informationrmative article and lots of really honest and forthright comments made! This certainly got me thinking about this issue, cheers all.

  11. Preferably, when you gain knowledge, are you able to mind updating your website with an increase of information? It is very ideal for me.

  12. Spot on with this write-up, I truly suppose this web site wants way more consideration. I’ll in all probability be once more to read far more, thanks for that info.

  13. Horace说道:

    Hey there! I’ve been following your site for a long time now and
    finally got the bravery to go ahead and give you a shout out from Austin Texas!
    Just wanted to mention keep up the excellent work!

  14. Diplomi_scMa说道:

    купить диплом техникума school5-priozersk.ru .

  15. Hey dude, what kind of wordpress theme are you using? i want it to use on my blog too ,   

  16. Diplomi_llMa说道:

    купить диплом провизора купить диплом провизора .

  17. Diplomi_rjMa说道:

    купить диплом магистра https://school5-priozersk.ru/ .

  18. Diplomi_dlMa说道:

    купить диплом кандидата наук http://school5-priozersk.ru .

  19. Diplomi_mfMa说道:

    купить свидетельство о разводе https://www.school5-priozersk.ru .

  20. I just added this web site to my rss reader, great stuff. Can’t get enough!

  21. Diplomi_lcMa说道:

    купить дипломы о высшем образовании цена купить дипломы о высшем образовании цена .

  22. kong scaffolding说道:

    There is noticeably a lot of money comprehend this. I assume you’ve made certain nice points in functions also.

  23. My partner and i wished much more coming from this information. I discovered it in Google along with wished it will be better

  24. Diplomi_jvKt说道:

    купить диплом автомеханика http://www.school-10-lik.ru .

  25. Diplomi_kxKt说道:

    купить диплом провизора http://www.school-10-lik.ru .

发表回复

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