Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC getblockcount get wrong height #2245

Open
nanxin0366 opened this issue Apr 23, 2024 · 1 comment
Open

RPC getblockcount get wrong height #2245

nanxin0366 opened this issue Apr 23, 2024 · 1 comment

Comments

@nanxin0366
Copy link

The node is synchronizing normally; however, the RPC command getblockcount consistently returns 1649224 each time it is executed.
ela log :

024/04/23 13:18:17.703445 [INF] GID 37, [ConfirmBlock] block hash: f746bb5d225b6aad59cb5bc94a6966aa07916c30678c7f8aad58367938dc108a
2024/04/23 13:18:17.703500 [INF] GID 37, [ConfirmBlock] block height: 1654475
2024/04/23 13:18:17.712469 [INF] GID 37, [ConfirmBlock] block hash: a48a0e580e40c5485b23df598a923c580bf34d29e86fb7fcd3f1a57ea31a5cf9
2024/04/23 13:18:17.712522 [INF] GID 37, [ConfirmBlock] block height: 1654476
2024/04/23 13:18:17.721574 [INF] GID 37, [ConfirmBlock] block hash: 40ebe268a73296a2881820285d98fe058f583bbd1e6ec9336818a7709e9eeacf
2024/04/23 13:18:17.721626 [INF] GID 37, [ConfirmBlock] block height: 1654477
2024/04/23 13:18:17.729267 [INF] GID 37, [ConfirmBlock] block hash: 078ee5aa77ef2406a5d4e9f0027ceb1305f1ee5aae9984f539552fd4f15ae193
2024/04/23 13:18:17.729324 [INF] GID 37, [ConfirmBlock] block height: 1654478
2024/04/23 13:18:17.735487 [INF] GID 37, [ConfirmBlock] block hash: a506de3e9a85c15bfec79660575744f4a838481a0662262ea8288775971d4336
2024/04/23 13:18:17.735542 [INF] GID 37, [ConfirmBlock] block height: 1654479
2024/04/23 13:18:17.741692 [INF] GID 37, [ConfirmBlock] block hash: abd1dff55f9069239045cbb07ca0f51515e2243b917c9daa3e9123cc11773403
2024/04/23 13:18:17.741740 [INF] GID 37, [ConfirmBlock] block height: 1654480
2024/04/23 13:18:17.749223 [INF] GID 37, [ConfirmBlock] block hash: 1d08cf87e33b1bb9e9681c1faee977e19ae27fba437123f2494cc5e5e492d222
2024/04/23 13:18:17.749268 [INF] GID 37, [ConfirmBlock] block height: 1654481
2024/04/23 13:18:17.755929 [INF] GID 37, [ConfirmBlock] block hash: 93328ce5fe2dfc8308c41a777f4521ca5ebffe4ff83215dcff804d8016f97e71
2024/04/23 13:18:17.755962 [INF] GID 37, [ConfirmBlock] block height: 1654482
2024/04/23 13:18:17.762232 [INF] GID 37, [ConfirmBlock] block hash: 21e094f6c7850d98c64e6f4441ba8b87e2066517d67df6be4a7ec499e2724705
2024/04/23 13:18:17.762291 [INF] GID 37, [ConfirmBlock] block height: 1654483
2024/04/23 13:18:17.771306 [INF] GID 37, [ConfirmBlock] block hash: 2e8c08448a54ad965568f60d602dbe8b474a6b18ca616029b8356c10c013d2b6
2024/04/23 13:18:17.771367 [INF] GID 37, [ConfirmBlock] block height: 1654484
2024/04/23 13:18:17.780332 [INF] GID 37, [ConfirmBlock] block hash: ccd7bd0d93e6d811e8673d17707028b20365f52d21c1eeaa35cb244da7b6ece4
2024/04/23 13:18:17.780385 [INF] GID 37, [ConfirmBlock] block height: 1654485
2024/04/23 13:18:17.789296 [INF] GID 37, [ConfirmBlock] block hash: 7270fb206b2b7df2a656d4c2582796d3e5c637dc0cd92c73fce7d0671267c7df
2024/04/23 13:18:17.789359 [INF] GID 37, [ConfirmBlock] block height: 1654486
2024/04/23 13:18:17.798419 [INF] GID 37, [ConfirmBlock] block hash: 6162887e612074abc6ebd279861456cff8f99c69b8e949f76470f6c3d63c4149
2024/04/23 13:18:17.798476 [INF] GID 37, [ConfirmBlock] block height: 1654487
2024/04/23 13:18:17.808047 [INF] GID 37, [ConfirmBlock] block hash: a2198dfdf052f52e74afe2ba46f4f94bfebf415bd61542666772ccf86a274bcf
2024/04/23 13:18:17.808103 [INF] GID 37, [ConfirmBlock] block height: 1654488
2024/04/23 13:18:17.817451 [INF] GID 37, [ConfirmBlock] block hash: 18affff83de9f55fe9a8fe37b22e9d10dd20feed60bb657c421c2eaf430d4b77
2024/04/23 13:18:17.817792 [INF] GID 37, [ConfirmBlock] block height: 1654489
2024/04/23 13:18:17.827143 [INF] GID 37, [ConfirmBlock] block hash: a8e9840fe31ea557ac72210ddb2797f290ac413e02ed2f21ab5467d2f897097a
@bittrex-scott
Copy link

@nanxin0366 Did you solve this problem? I am having a similar issue I think. However, blocks are progressing slowly. My node is about 4 years behind on blocks and has been so for weeks.

2024-05-13 17:18:02.321 [INF] STAT: -> 1688576 [1688576 183.56.252.43:20338 (outbound) (80000 ela-v0.9.7), 1688576 43.134.73.205:20338 (outbound) (80000 ela-v0.9.7), 1688576 3.22.126.54:20338 (outbound) (80000 ela-v0.9.7), 1688576 154.53.63.107:20338 (outbound) (80000 ela-v0.$0 b8576 43.130.198.42:20338 (outbound) (80000 ela-v0.9.7), 1688576 139.180.185.109:20338 (outbound) (80000 ela-v0.9.7)]                      $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:11.460763 [INF] GID 220, ListenForRevert lastBlockTimestamp: 1715620587 localTimestamp: 1715620691 RevertToPOWNoBlockTime: 43200
2024/05/13 17:18:13.777717 [INF] GID 145, [ConfirmBlock] block hash: cbfb11c89bcdccadc2101f63fbe49439c57237309d6a1fe2144230cb7eeeae64     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:13.777813 [INF] GID 145, [ConfirmBlock] block height: 1688577
2024/05/13 17:18:14.369523 [INF] GID 145, [ConfirmBlock] block hash: cbfb11c89bcdccadc2101f63fbe49439c57237309d6a1fe2144230cb7eeeae64     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:14.369645 [INF] GID 145, [ConfirmBlock] block height: 1688577
2024/05/13 17:18:14.371181 [INF] GID 145, SaveBlock  1688577                                                                              $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:26.342004 [INF] GID 145, [ConfirmBlock] block hash: 6b1ac7c58ebfe770832670ab77f12fc037512d64a33dd1447cfd5877d96db77e     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:26.342086 [INF] GID 145, [ConfirmBlock] block height: 1688578
2024/05/13 17:18:26.806253 [INF] GID 145, [ConfirmBlock] block hash: 6b1ac7c58ebfe770832670ab77f12fc037512d64a33dd1447cfd5877d96db77e     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:26.806324 [INF] GID 145, [ConfirmBlock] block height: 1688578
2024/05/13 17:18:26.807769 [INF] GID 145, SaveBlock  1688578                                                                              $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:57.004364 [INF] GID 145, [ConfirmBlock] block hash: 387e753d4ad05a6d19ae73673e4f256cb6485968a6e6494fab3fe209d4b596ca     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:57.004522 [INF] GID 145, [ConfirmBlock] block height: 1688579
2024/05/13 17:18:57.749534 [INF] GID 145, [ConfirmBlock] block hash: 387e753d4ad05a6d19ae73673e4f256cb6485968a6e6494fab3fe209d4b596ca     $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024/05/13 17:18:57.749622 [INF] GID 145, [ConfirmBlock] block height: 1688579
2024/05/13 17:18:57.751142 [INF] GID 145, SaveBlock  1688579                                                                              $0 bash                                                                                      [dmz-docker-00 11.21 7.31 7.60]  05/13 17:18
2024-05-13 17:19:02.322 [INF] STAT: -> 1688579 [1688578 139.180.185.109:20338 (outbound) (80000 ela-v0.9.7), 1688578 183.56.252.43:20338 (outbound) (80000 ela-v0.9.7), 1688578 43.134.73.205:20338 (outbound) (80000 ela-v0.9.7), 1688578 3.22.126.54:20338 (outbound) (80000 ela-v$0 b88578 173.249.35.197:20338 (outbound) (80000 ela-v0.9.7), 1688578 43.130.198.42:20338 (outbound) (80000 ela-v0.9.7)]                      $0 bash                                                                                      [dmz-docker-00 12.18 7.88 7.76]  05/13 17:19
2024/05/13 17:19:11.461494 [INF] GID 220, ListenForRevert lastBlockTimestamp: 1715620722 localTimestamp: 1715620751 RevertToPOWNoBlockTime: 43200
2024-05-13 17:20:02.321 [INF] STAT: -> 1688579 [1688579 43.130.198.42:20338 (outbound) (80000 ela-v0.9.7), 1688579 139.180.185.109:20338 (outbound) (80000 ela-v0.9.7), 1688579 183.56.252.43:20338 (outbound) (80000 ela-v0.9.7), 1688579 43.134.73.205:20338 (outbound) (80000 ela$0 b63.235.198:20338 (outbound) (80000 ela-v0.9.7-3-g88316), 1688579 173.249.35.197:20338 (outbound) (80000 ela-v0.9.7)]                      $0 bash                                                                                      [dmz-docker-00 10.49 7.89 7.75]  05/13 17:20
2024/05/13 17:20:11.461653 [INF] GID 220, ListenForRevert lastBlockTimestamp: 1715620722 localTimestamp: 1715620811 RevertToPOWNoBlockTime: 43200
2024-05-13 17:21:02.321 [INF] STAT: -> 1688579 [1688579 43.130.198.42:20338 (outbound) (80000 ela-v0.9.7), 1688579 139.180.185.109:20338 (outbound) (80000 ela-v0.9.7), 1688579 183.56.252.43:20338 (outbound) (80000 ela-v0.9.7), 1688579 43.134.73.205:20338 (outbound) (80000 ela$0 b63.235.198:20338 (outbound) (80000 ela-v0.9.7-3-g88316), 1688579 173.249.35.197:20338 (outbound) (80000 ela-v0.9.7)]                      $0 bash                                                                                       [dmz-docker-00 7.69 7.53 7.63]  05/13 17:21
2024/05/13 17:21:11.462827 [INF] GID 220, ListenForRevert lastBlockTimestamp: 1715620722 localTimestamp: 1715620871 RevertToPOWNoBlockTime: 43200
2024-05-13 17:22:02.321 [INF] STAT: -> 1688579 [1688579 183.56.252.43:20338 (outbound) (80000 ela-v0.9.7), 1688579 43.134.73.205:20338 (outbound) (80000 ela-v0.9.7), 1688579 3.22.126.54:20338 (outbound) (80000 ela-v0.9.7), 1688579 154.53.63.107:20338 (outbound) (80000 ela-v0.$0 b8579 43.130.198.42:20338 (outbound) (80000 ela-v0.9.7), 1688579 139.180.185.109:20338 (outbound) (80000 ela-v0.9.7)]                      $0 bash                                                                                       [dmz-docker-00 5.55 6.96 7.43]  05/13 17:22
2024/05/13 17:22:11.464046 [INF] GID 220, ListenForRevert lastBlockTimestamp: 1715620722 localTimestamp: 1715620931 RevertToPOWNoBlockTime: 43200
2024/05/13 17:22:54.117930 [INF] GID 145, [ConfirmBlock] block hash: b95970e994a00a7a60dbbecca47ea562fe1363a85d5fa0bbdbbb43a2ea034023     $0 bash                                                                                       [dmz-docker-00 5.55 6.96 7.43]  05/13 17:22
2024/05/13 17:22:54.118116 [INF] GID 145, [ConfirmBlock] block height: 1688580
2024/05/13 17:22:54.678621 [INF] GID 145, [ConfirmBlock] block hash: b95970e994a00a7a60dbbecca47ea562fe1363a85d5fa0bbdbbb43a2ea034023     $0 bash                                                                                       [dmz-docker-00 5.55 6.96 7.43]  05/13 17:22
2024/05/13 17:22:54.678703 [INF] GID 145, [ConfirmBlock] block height: 1688580
2024/05/13 17:22:54.706718 [INF] GID 145, SaveBlock  1688580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants