我试图在Vagrant中设置一个本地节点(trusty64,geth1.7.1-稳定器):
geth --identity "test_remote" --datadir "./geth_data_remote" --trace "./geth_data_remote/trace.txt" --dev并得到以下错误:
19:00:20.199679 /var/www/vhosts/localhost/htdocs/geth_data_remote/geth/chaindata::同步/var/www/vhosts/localhost/htdocs/geth_data_remote/geth/chaindata:无效参数19:00:20.199749当前:同步/var/www/vhosts/localhost/htdocs/geth_data_remote/geth/chaindata:无效参数
在本地(OSX10.12.6,geth1.6.7-稳定),它工作得很好,这就是为什么我不能解决这个问题。有人有线索吗?
附注:如果我没有指定目录,它也能工作,但对我来说仍然是非常重要的。
发布于 2017-12-01 14:00:25
由于您使用的是“迷航”,所以您似乎正在尝试在共享文件夹上设置datachain,该文件夹位于您的系统上,并且格式不正确。
将--datadir ./geth_data_remote改为--datadir ~/geth_data_remote,它将工作。
https://ethereum.stackexchange.com/questions/28035
复制相似问题