通过geth检查时,我的以太坊余额返回0,但是根据以太链,它具有一个值 [英] My ethereum balance returns 0 when checked via geth, but according to etherchain it has a value

查看:325
本文介绍了通过geth检查时,我的以太坊余额返回0,但是根据以太链,它具有一个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到与此处,但解决方案无济于事(因此请不要标记此帖子)。

I have the exact same problem as described here but the solution doesn't help (so don't flag this post).

我认为我的连接正常,而不是其他帖子。至少当我输入 net.peerCount 时得到的数字大于0。

Instead of the other post, I think my connectivity works fine. At least I get a number higher than 0 when I enter net.peerCount.

此外,我还等了24小时以上以太网。

Furthermore I waited 24h+ connected to the ether network.

我想念什么?我在做什么错?

What am I missing? What am I doing wrong?

当我键入 geth attach 时,它告诉我块中的参数:0(星期四,1970年1月1日,欧洲中部时间01:00:00)...也许这是问题所在?我的操作系统时间是正确的。

When I type geth attach it tells me that the parameter at block: 0 (Thu, 01 Jan 1970 01:00:00 CET)... maybe this is the problem? My OS time is correct.

推荐答案

如果 eth.blockNumber 返回0那么您就不会同步到区块链。块编号应与 https://ethstats.net/ 匹配,目前大约为4,100,000

If eth.blockNumber returns 0 then you are not synced to blockchain. The block number should match https://ethstats.net/ which is approximately 4,100,000 right now

因此您没有与网络同步。

So you are not synced with the network.

要检查的内容:


  • 您正在运行最新的客户端吗?

  • 您是否正在连接到正确的网络,并且不是测试网?

  • 您是否在阻止对等流量的网络上?以太坊流量看起来很像bittorrent流量,很多工作场所都阻止它

  • 您的同行( admin.peers )是什么样的?他们有他们的最新客户吗?什么是块编号?

  • Are you running the latest client?
  • Are you connecting to the right network and not testnet?
  • Are you on a network which blocks peer-to-peer traffic? Ethereum traffic looks a lot like bittorrent traffic and a lot of workplaces block it
  • What do your peers (admin.peers) look like? Do they have the latest clients? What are their block numbers?

您可以尝试以较高的详细程度运行geth

You can try running geth in higher verbosity

LOGGING AND DEBUGGING OPTIONS:
  --verbosity value         Logging verbosity: 0=silent, 1=error, 2=warn, 3=info, 4=core, 5=debug, 6=detail (default: 3)

希望这会有所帮助!如果全部失败,您可以使用Infura这样的公共以太坊节点- https://infura.io/#how-to

Hope this helps! If all fails you can use a public ethereum node like Infura - https://infura.io/#how-to

这篇关于通过geth检查时,我的以太坊余额返回0,但是根据以太链,它具有一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆