I setup a 0.3.80 node from scratch and after a few minutes, i instructed it to only connect to my v0.12.0.0-ga14f2d7 node.
This is what happened.
It stops downloading randomly and i have to manually restart it many times.
If you don't do it, it takes forever.
Looks like code on bitcoin 0.12 is penalizing old nodes using old versions.
NMC 0.3.80 not syncronizing if connected only to a 0.12 node
NMC 0.3.80 not syncronizing if connected only to a 0.12 node
- Attachments
-
- Captura de pantalla 2016-05-14 17.08.07.png (154.67 KiB) Viewed 5904 times
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: NMC 0.3.80 not syncronizing if connected only to a 0.12
What are you restarting many times? 0.3.80 or 0.12?johnc wrote:I setup a 0.3.80 node from scratch and after a few minutes, i instructed it to only connect to my v0.12.0.0-ga14f2d7 node.
This is what happened.
It stops downloading randomly and i have to manually restart it many times.
If you don't do it, it takes forever.
Looks like code on bitcoin 0.12 is penalizing old nodes using old versions.
How long is "forever" roughly speaking?
What happens if you have 0.12 connect to 0.3.80 rather than 0.3.80 connecting to 0.12?
What is the ban score of the other peers that Namecoin Core lists?
According to https://bitcoin.org/en/developer-reference#getpeerinfo , the ban score has to reach 100 for a peer to be banned. How long does it take for a Namecoin 0.3.80 client during a syncup to reach this score?
According to https://bitcoin.org/en/release/v0.12.0 , Bitcoin 0.12.0 made bans persistent across restarts unless the "cleanbanned" or "setban" RPC call is used to unban the peer. So it's plausible that this problem got worse because Namecoin Core 0.11.x users upgraded to 0.12.x or 0.13.x. According to https://web.archive.org/web/20160418010 ... _arguments , bans last 24 hours by default.
In a Twitter thread at https://twitter.com/biolizard89/status/ ... 3202836480 , a user reported that Namecoin 0.3.80 took "about 24 hours" to sync on May 1, 2016. This is significantly longer than I've seen in the past, for either Namecoin 0.3.80 or Namecoin Core.
Re: NMC 0.3.80 not syncronizing if connected only to a 0.12
Maybe i need to whitelist this peer or something, but it's basically downloading 20mb and stopping for an hour, then downloading another 20mb and stopping. So around 3+ days.
I restarted 0.3.80 many times, and it starts downloading some mb and stops again.
I acknowledge it's not a big problem. If you connect to the internet it goes way faster, but it also stops randomly and takes an hour to restart, that's why it takes 24+hours. (if you manually shut it down and restart it it may continue if it connect to new peers).
This is possibly because the other nodes are programmed to only upload so much to a peer every hour.
So it's not like my node it's banned, it just gets 20 ban score while the other nodes have 0. No problem here, it's just difficult to stomach for new users.
I restarted 0.3.80 many times, and it starts downloading some mb and stops again.
I acknowledge it's not a big problem. If you connect to the internet it goes way faster, but it also stops randomly and takes an hour to restart, that's why it takes 24+hours. (if you manually shut it down and restart it it may continue if it connect to new peers).
This is possibly because the other nodes are programmed to only upload so much to a peer every hour.
So it's not like my node it's banned, it just gets 20 ban score while the other nodes have 0. No problem here, it's just difficult to stomach for new users.
-
- Posts: 2001
- Joined: Tue Jun 05, 2012 6:25 am
- os: linux
Re: NMC 0.3.80 not syncronizing if connected only to a 0.12
Interesting, thanks for the info.johnc wrote:Maybe i need to whitelist this peer or something, but it's basically downloading 20mb and stopping for an hour, then downloading another 20mb and stopping. So around 3+ days.
I restarted 0.3.80 many times, and it starts downloading some mb and stops again.
I acknowledge it's not a big problem. If you connect to the internet it goes way faster, but it also stops randomly and takes an hour to restart, that's why it takes 24+hours. (if you manually shut it down and restart it it may continue if it connect to new peers).
This is possibly because the other nodes are programmed to only upload so much to a peer every hour.
So it's not like my node it's banned, it just gets 20 ban score while the other nodes have 0. No problem here, it's just difficult to stomach for new users.
I'm curious, how long does a recent Namecoin Core (0.12 branch or 0.12.99 master) take to sync? It should be a lot faster in theory, but I'm curious whether the assumptions in that theory match reality.