当我运行/目标/释放下的./奇偶校验时,它会自动连接到公共Ethereum块链。(它开始与实际900,000个区块的Ethereum区块链同步。)
我想连接到我已经创建的本地Ethereum区块链。
问:,我如何使奇偶连接到我的本地Ethereum区块链?
我有一个正在进行中的当地Ethereum区块链。
我将我的服务器运行为:
geth --rpc --datadir "/Users/avatar/Library/MyEthereumEbloc" --dev --unlock 0
--minerthreads 1 --targetgaslimit "994712388"
--ipcpath "/Users/avatar/Library/MyEthereumEbloc/geth.ipc" --bootnodes
enode://8cc3166d6e3ca794d95a00ba7d42127bffe5cd08a89d08ff6adfd
2f552b7309702110ee3f10996cdeca0b792922e1cc257
c4f9f6fd62eb2c2987231e39e5761f@78.120.155.145:3000
--port 3000 --networkid "23444" console
我把我的客户作为:
geth --datadir "/Users/avatar/Library/MyEthereumEbloc"
--dev attach ipc:/Users/avatar/Library/MyEthereumEbloc/geth.ipc
谢谢你的宝贵帮助。
发布于 2016-10-10 03:35:44
有两种方法可以:
在1.2及以上版本中,使用geth的导出特性以及奇偶校验的导入: mkfifo /tmp/chain.rlp && geth export /tmp/chain.rlp &tmp 1&奇偶导入/tmp/chain.rlp
基本上,您必须使用您的私有链运行geth节点,并启动连接到您的网络并同步它的奇偶校验节点。
由于奇偶性1.3有一个名为SnapSync的特性,但我怀疑它是否可以与geth一起使用。
更详细信息:\x{e76f} https://github.com/ethcore/parity/wiki/Importing%20a%20chain%20from%20Geth
https://ethereum.stackexchange.com/questions/9092
复制相似问题