簡體   English   中英

以太坊薄霧與本地專用網絡連接

[英]Ethereum Mist connect with local private network

系統信息

Geth Version: 1.7.3-stable

Git Commit: 4bb3c89d44e372e6a9ab85a8be0c9345265c763a

Operating System: linux

預期行為

將Mist連接到本地專用網絡

實際行為

我輸入命令:

geth --datadir ~/private_network init ~/private_network/genesis.json

geth --datadir ~/private_network --networkid 3131 --ipcpath ~/private_network/geth.ipc console 2>~/private_network/console.log

並且我運行Mist,但是即使我殺死使用端口30303的進程,也出現錯誤“地址已在使用中”,我得到的結果是相同的

回溯

〜/ .ethereum / testnet / geth / ethash count = 3

INFO [12-16 | 12:05:37]為ethash DAG啟用了磁盤存儲dir =〜/ .ethash count = 2

INFO [12-16 | 12:05:37]初始化以太坊協議版本=“ [63 62]” network = 3

INFO [12-16 | 12:05:37]已加載最新的本地標頭號= 797369哈希= 81c88e…3044c5 td = 587702682055345

INFO [12-16 | 12:05:37]加載的最新本地完整塊號= 0哈希= 419410…ca4a2d td = 1048576

INFO [12-16 | 12:05:37]已加載最近的本地快速塊編號= 761870哈希值= 08735b…e597b9 td = 571350456833753

INFO [12-16 | 12:05:37]加載的本地事務日記帳事務= 0丟棄= 0

INFO [12-16 | 12:05:37]升級鏈索引類型= bloombits百分比= 79

INFO [12-16 | 12:05:37]重新生成的本地交易日記帳交易= 0帳戶= 0

INFO [12-16 | 12:05:37]啟動P2P網絡致命:啟動協議棧出錯:監聽udp:30303:綁定:地址已在使用中

您正在連接到Ropsten網絡(network = 3)。 你在你的網絡ID通入霧中使用--network選項,並使用提供給您的.ipc文件的路徑--rpc

$ ./Mist.exe --network 3131 --rpc ~/private_network/geth.ipc

完整的命令行選項:

 $ ./Mist.exe --help Usage: Mist.exe --help [Mist options] [Node options] Mist options: --mode, -m App UI mode: wallet, mist. [string] [default: "mist"] --node Node to use: geth, eth [string] [default: null] --network Network to connect to: main, test [string] [default: null] --rpc Path to node IPC socket file OR HTTP RPC hostport (if IPC socket file then --node-ipcpath will be set with this value). [string] --swarmurl URL serving the Swarm HTTP API. If null, Mist will open a local node. [string] [default: "http://localhost:8500"] --gethpath Path to Geth executable to use instead of default. [string] --ethpath Path to Eth executable to use instead of default. [string] --ignore-gpu-blacklist Ignores GPU blacklist (needed for some Linux installations). [boolean] --reset-tabs Reset Mist tabs to their default settings. [boolean] --logfile Logs will be written to this file in addition to the console. [string] --loglevel Minimum logging threshold: info, debug, error, trace (shows all logs, including possible passwords over IPC!). [string] [default: "info"] --syncmode Geth synchronization mode: [fast|light|full] [string] --version, -v Display Mist version. [boolean] --skiptimesynccheck Disable checks for the presence of automatic time sync on your OS. [boolean] Node options: - To pass options to the underlying node (eg Geth) use the --node- prefix, eg --node-datadir Options: -h, --help Show help [boolean] 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM