[geth]以太坊私链搭建

/ 3,104评论 / 14246阅读 / 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. Michaelsew说道:

    http://canadaph24.pro/# canada pharmacy online

  2. Marcelcrolf说道:

    https://mexicoph24.life/# mexico pharmacy

  3. RickyAlage说道:

    safe canadian pharmacy canadian pharmacies canada drugs

  4. Marcelcrolf说道:

    http://mexicoph24.life/# medication from mexico pharmacy

  5. RickyAlage说道:

    best india pharmacy reputable indian pharmacies п»їlegitimate online pharmacies india

  6. Michaelsew说道:

    https://canadaph24.pro/# canadian pharmacy

  7. Marcelcrolf说道:

    http://canadaph24.pro/# canadian online pharmacy

  8. StevenSen说道:

    buying from online mexican pharmacy: mexico pharmacy – mexico drug stores pharmacies

  9. RickyAlage说道:

    top online pharmacy india indian pharmacy fast delivery indian pharmacy paypal

  10. Tylerrogit说道:

    Всё о радиаторах отопления https://heat-komfort.ru/ – выбор радиатора, монтаж, обслуживание.

  11. Marcelcrolf说道:

    https://mexicoph24.life/# buying prescription drugs in mexico

  12. Michaelsew说道:

    http://canadaph24.pro/# online canadian pharmacy

  13. RickyAlage说道:

    mexican drugstore online Online Pharmacies in Mexico purple pharmacy mexico price list

  14. Marcelcrolf说道:

    http://indiaph24.store/# world pharmacy india

  15. RickyAlage说道:

    reputable indian online pharmacy indian pharmacy fast delivery world pharmacy india

  16. Marcelcrolf说道:

    http://canadaph24.pro/# canadian pharmacy world

  17. Michaelsew说道:

    https://mexicoph24.life/# buying prescription drugs in mexico online

  18. RickyAlage说道:

    pet meds without vet prescription canada canadian pharmacies canadian pharmacy prices

  19. oborudovan_tnSl说道:

    оборудование для ситуационного центра http://oborudovanie-situacionnyh-centrov.ru/ .

  20. Marcelcrolf说道:

    https://mexicoph24.life/# mexico pharmacy

  21. StevenSen说道:

    india pharmacy mail order: Cheapest online pharmacy – india online pharmacy

  22. Michaelsew说道:

    https://indiaph24.store/# buy prescription drugs from india

  23. RickyAlage说道:

    northwest canadian pharmacy Large Selection of Medications from Canada trustworthy canadian pharmacy

  24. Marcelcrolf说道:

    https://canadaph24.pro/# my canadian pharmacy review

  25. RickyAlage说道:

    buying from online mexican pharmacy pharmacies in mexico that ship to usa mexico pharmacy

  26. Marcelcrolf说道:

    https://mexicoph24.life/# mexican pharmacy

  27. Michaelsew说道:

    http://canadaph24.pro/# canadian pharmacy king reviews

  28. tişktok beğeni说道:

    Sosyal medya hesaplarınızı büyütmek artık çok kolay! Sosyal Mavi ile gerçek takipçi kazanın.

  29. RickyAlage说道:

    indianpharmacy com Generic Medicine India to USA reputable indian pharmacies

  30. Marcelcrolf说道:

    http://mexicoph24.life/# mexican rx online

  31. RickyAlage说道:

    world pharmacy india indian pharmacy india pharmacy mail order

  32. Marcelcrolf说道:

    https://canadaph24.pro/# best rated canadian pharmacy

  33. Michaelsew说道:

    https://indiaph24.store/# mail order pharmacy india

  34. RickyAlage说道:

    canadian pharmacy meds reviews canada discount pharmacy drugs from canada

  35. Marcelcrolf说道:

    https://indiaph24.store/# online pharmacy india

  36. RickyAlage说道:

    mexican border pharmacies shipping to usa Mexican Pharmacy Online mexican pharmaceuticals online

  37. Michaelsew说道:

    http://mexicoph24.life/# mexican mail order pharmacies

发表回复

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