Comments (3)
Ah, cool. I added this ASSERT some time back to catch an instance of a bug I've been tracking for some time. You can basically get rid of the problem by resync'ing your txdb/headers:
./bitc -z
.. and things will/should go smoothly afterwards.
Btw, were you running the top-of-trunk from bitc? IOW, when did you last sync-up your tree?
If that's ok with you, I'd like to debug this a bit and would like to confirm that you're seeing the same issue I was trying to track down when I added this ASSERT. I will ideally need the bitc binary+core dump (beware of the privacy implication, so feel free to say no).
The problem here is that it's possible that the last block we were sync'd at when we last shut down is now an orphan. So when it's time to compute from where we need to refresh the txdb, we find a height of 0 because that block is orphaned..
I know what needs to be done to address this issue (walk backwards from that orphan until we hit the current best chain and use this junction node as a valid sync point), but it's a bit annoying to code (lazy me), so if that proves to be the issue that'll be a good incentive to finally find the time to fixing this.
from bitc.
After running ./bitc -z, everything seems to be working again with the latest balance (0.0001 btc).
I can provide bitc binary+core dump. Please let me know how I can perform such operation, and, also, it would be great if you could share an email address, to which I will send the dump. Thanks for your prompt feedback.
from bitc.
Please send me the (gzipped?) binary & dump at the address in the LICENSE file. Thanks!
from bitc.
Related Issues (20)
- fix endianness issue
- Testnet function incompatible with bitcoin faucets HOT 1
- Fixes to compile for Raspbian (Pi) HOT 10
- Create a brew install formula
- clang: not found
- "Blocks" tab uses doesn't show year in date
- testnet address generation and handling HOT 1
- RPC interface
- Dependency issue in OSX Yosemite
- build issue on amd64 (debian testing)
- using too much ram :) HOT 1
- Errors during startup
- Can't find libstdc++
- PANIC: Expression 'buff_space_left(buf) == 0' not TRUE. Abort trap: 6 (core dumped) HOT 2
- Problem with compilation - unused function 'bitc_openssl_lock_fun' HOT 1
- Static build
- disable stack-protector on powerpc HOT 3
- split the core of HOT 2
- building on os x fails after recent changes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitc.