Bitcoin Forum
May 02, 2024, 02:39:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Selected Wrong chaintip on: February 08, 2023, 09:25:40 AM
NOTE!! This Question and the results/test that are made was using litecoin node but I believe the technical part that causes "the problem" is the same as the Bitcoin Core

I have a Litecoin node (0.16.3) started on Testnet. Without any connection and addnode options started, When it got full synced as a last block its showing 2391641.
But with "getchaintips" rpc I am getting two different chaintips

Code:
[
  {
    "height": 2656160,
    "hash": "5b7ec12aa2c2e16028c0b6a85ec2b4644ab594b2d1aeaed4a2a596fae2173bc9",
    "branchlen": 395187,
    "status": "headers-only"
  },
  {
    "height": 2391641,
    "hash": "eaaf8d4d27c5ce9b282e9ff870793382e14345436fac74ea40907320e50603db",
    "branchlen": 0,
    "status": "active"
  }
]

My question is why the active chain is the chain with block 2391641 (second) instead of 2656160 (first).
My suggestions are something related to the core version and because mine version is old that is why I am connecting to this chain. Not sure about that.
With RPC "getpeerinfo" I am getting list of peers with different "startingheight" value (some of them 2656160 - and others 2391641).
The interesting is that
Code:
peers with "startingheight" - 2391641 have "version": 70015
peers with "startingheight" - 2656160 have "version" 70016

And Also what is the smartest way to make it connecting to the chain with tip 2656160 with some configurations or something else (accepting also changes in the core code) Thanks.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!