首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >关于Ropsten设置

关于Ropsten设置
EN

Ethereum用户
提问于 2017-06-15 10:36:22
回答 1查看 797关注 0票数 2

我使用geth version1.6.5...Trying来使用以下命令来设置Ropsten ..。

代码语言:javascript
复制
 geth --networkid=3 --syncmode=fast --cache=1024 console

它显示了以下命令

代码语言:javascript
复制
  INFO [06-15|15:54:39] Starting peer-to-peer node               instance=Geth/v1.6.5-stable-cf87713d/linux-amd64/go1.8.1
  INFO [06-15|15:54:39] Allocated cache and file handles         database=/home/toshiba/.ethereum/geth/chaindata cache=1024 handles=1024
  INFO [06-15|15:54:56] Initialised chain configuration          config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 10 EIP158: 10 Metropolis: <nil> Engine: unknown}"
  INFO [06-15|15:54:56] Disk storage enabled for ethash caches   dir=/home/toshiba/.ethereum/geth/ethash count=3
  INFO [06-15|15:54:56] Disk storage enabled for ethash DAGs     dir=/home/toshiba/.ethash               count=2
  INFO [06-15|15:54:56] Initialising Ethereum protocol           versions="[63 62]" network=3
 INFO [06-15|15:54:56] Loaded most recent local header          number=1121759 hash=bdf4d6…ebcdec td=747686182747507
 INFO [06-15|15:54:56] Loaded most recent local full block      number=0       hash=419410…ca4a2d td=1048576
 INFO [06-15|15:54:56] Loaded most recent local fast block      number=1121676 hash=80f4d5…3ed841 td=747645006524095
 INFO [06-15|15:54:56] Starting P2P networking 
 INFO [06-15|15:54:58] UDP listener up                          self=enode://2fc98df1f0e5f3baaa527c2acd579e3d76772681ccc00f4e479a688d519416e003693db537aa37a2aac7fe22ca781f11c8b95654dc960266262edea3b0a99d42@[::]:30303
 INFO [06-15|15:54:58] RLPx listener up                         self=enode://2fc98df1f0e5f3baaa527c2acd579e3d76772681ccc00f4e479a688d519416e003693db537aa37a2aac7fe22ca781f11c8b95654dc960266262edea3b0a99d42@[::]:30303
INFO [06-15|15:54:58] IPC endpoint opened: /home/toshiba/.ethereum/geth.ipc 
Welcome to the Geth JavaScript console!

instance: Geth/v1.6.5-stable-cf87713d/linux-amd64/go1.8.1
coinbase: 0x124e0fc135b5137c113d385487b56da143a9b66e
 at block: 0 (Thu, 01 Jan 1970 05:30:00 IST)
datadir: /home/toshiba/.ethereum
modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

当使用命令eth.blockNumber检查区块号时,它返回zero..since,我没有下载任何完整的块.

我也在使用Mist版本0.8.10.我也可以验证在Mist中下载的块。

我应该能够用这个Mist的Ropsten设置测试我的dapps吗?

是否需要完整的节点才能运行dapps??

我试过从命令中省略同步模式,它会自动转到快速模式?那么我如何下载完整的节点呢?

如有任何建议请

EN

回答 1

Ethereum用户

回答已采纳

发布于 2017-11-15 09:05:19

如果您试图使用命令eth.blockNumber验证通过控制台下载的块数,“加载最近的本地完整块”将始终显示“0”,这并不意味着您的块没有被下载。它只会显示正确的块,一旦所有的块被下载。

请参考此以获得更多信息。

https://medium.com/@crissimrobert/a-guide-to-ropsten-testnet-setup-f8952d615417

票数 0
EN
页面原文内容由Ethereum提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://ethereum.stackexchange.com/questions/18039

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档