[英]creating a private ethereum blockchain network for private application use
[英]Issue on creating a Mist connection to a private blockchain (ethereum)
再会!
我正在尝试将 Mist 连接到我在以太坊上创建的私有区块链。 我一直在按照以下确切顺序执行以下步骤。
geth --datadir=./mychain/ init ./genesis.json
geth --datadir=./mychain
链:- geth --datadir=./mychain
澄清 :-
mychain是一个空文件夹,我希望将区块链数据存储到其中。 我在Windows系统中执行所有这些操作。
第一个命令成功运行并显示“成功写入创世状态”。 第二个命令似乎停止并说“IPC 端点已打开”而没有任何错误。 但是当我尝试打开 Mist 时,它说无法运行以太坊,因为有另一个节点正在运行。
我对调试的发现:- 在创世区块中,我提到了 chainID 为 1990 并且在输出中的第二个命令中调用了相同的值。 所以我确定创世区块已经启动。 但是,当我检查 Mist 文件夹中的 node.log 文件时,我注意到 Mist 正在寻找 chainID = 1。不确定这是否是问题,但我无法让 Mist 连接到我的私人网络。
我将不胜感激在这个问题上的任何帮助。
谢谢
Mist 有自己的命令行参数来指定数据位置、密钥存储等。如果你自己启动geth
,你需要添加--rpc
选项,或者如果你想使用--node-datadir
选项Mist 的嵌入式版本。
$ ./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.