Bitcoin Forum
May 07, 2024, 03:19:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Node error : Assertion 'nIds != nNew' failed  (Read 274 times)
beep_boop (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2017, 06:02:59 PM
Last edit: October 08, 2017, 08:01:42 PM by beep_boop
 #1

Bitcoin client version: 0.15.0
Operating system: Raspian, kernel 4.9
Hardware: Raspberry Pi 3

I'm getting a new node set up and encountering an error I've never seen before. When I go to start up my node from the command line (I don't have the GUI installed) I get an error. The meaningful part seems to be: Assertion 'nIds != nNew' failed

I found this line in the bitcoin code: Assert(nIds != nNew); // this means nNew was wrong, oh ow
The comment isn't very helpful.

The full command line error output is: bitcoind: addrman.h.320: void CAddrMan::Serialize(Stream&)CAutoFile]: Assertion 'nIds != nNew' failed

If anyone knows what's going on or knows a solution I'd appreciate some advice!

1715051952
Hero Member
*
Offline Offline

Posts: 1715051952

View Profile Personal Message (Offline)

Ignore
1715051952
Reply with quote  #2

1715051952
Report to moderator
1715051952
Hero Member
*
Offline Offline

Posts: 1715051952

View Profile Personal Message (Offline)

Ignore
1715051952
Reply with quote  #2

1715051952
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715051952
Hero Member
*
Offline Offline

Posts: 1715051952

View Profile Personal Message (Offline)

Ignore
1715051952
Reply with quote  #2

1715051952
Report to moderator
1715051952
Hero Member
*
Offline Offline

Posts: 1715051952

View Profile Personal Message (Offline)

Ignore
1715051952
Reply with quote  #2

1715051952
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6587


Just writing some code


View Profile WWW
October 08, 2017, 07:45:04 PM
 #2

Delete the files peers.dat and banlist.dat which can be found in the Bitcoin Core datadir. Then start Bitcoin Core.

beep_boop (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2017, 08:01:24 PM
 #3


Delete the files peers.dat and banlist.dat which can be found in the Bitcoin Core datadir. Then start Bitcoin Core.

That did it, thank you!

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!