Bitcoin Forum
April 25, 2024, 02:02:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: .  (Read 1826 times)
unusedd (OP)
Donator
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
.
March 28, 2012, 08:58:11 AM
Last edit: June 11, 2017, 02:31:50 AM by fanquake
 #1

.
1714053730
Hero Member
*
Offline Offline

Posts: 1714053730

View Profile Personal Message (Offline)

Ignore
1714053730
Reply with quote  #2

1714053730
Report to moderator
1714053730
Hero Member
*
Offline Offline

Posts: 1714053730

View Profile Personal Message (Offline)

Ignore
1714053730
Reply with quote  #2

1714053730
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714053730
Hero Member
*
Offline Offline

Posts: 1714053730

View Profile Personal Message (Offline)

Ignore
1714053730
Reply with quote  #2

1714053730
Report to moderator
1714053730
Hero Member
*
Offline Offline

Posts: 1714053730

View Profile Personal Message (Offline)

Ignore
1714053730
Reply with quote  #2

1714053730
Report to moderator
1714053730
Hero Member
*
Offline Offline

Posts: 1714053730

View Profile Personal Message (Offline)

Ignore
1714053730
Reply with quote  #2

1714053730
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 28, 2012, 04:14:31 PM
 #2

0.6.0rc5 rewrites addr.dat completely, so it's likely to expose previously undetected corruptions it seems. We've seen several reports of such cases, and worked around some.

I can give you a build or the source code with a potential fix, but it seems unlikely to solve it. Would you like to try?


I do Bitcoin stuff.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
March 28, 2012, 05:53:58 PM
 #3

I would just delete addr.dat.  I don't have this problem, but I've had several corrupted address databases before, and deleting always works for me.

I would even suggest that as a good choice for the default behavior in the client.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 28, 2012, 07:55:17 PM
 #4

Deleting addr.dat indeed works, and if no better solution is found, that will indeed be the advise for people who get stuck.

Still, it shouldn't happen, and it's not very compatible with the idea of decentralization: deleting your addr.dat makes you boot off dns seeds and built-in seeds. This works very well, currently, but I don't like the idea of people depending on it and not maintaining their own peer databases.

I do Bitcoin stuff.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
March 28, 2012, 08:35:55 PM
 #5

Oh, of course.  But deleting the address list and pretending that you are a brand new node so that you can use the bootstrap mechanisms seems like a better approach than failing, whether silently or with a notice.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
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!