Comments (8)
Here is the fix:
rm -r ../.insight/testnet/*
This could cause some down time on the livenet...
from insight-api.
thanks for sharing.
from insight-api.
Is there any way to handle leveldb updates better in such a way that this can't happen? I don't have experience with this but I read that updates are atomic. Should they have something like autocommit off and a commit added?
from insight-api.
No sure why it happened in the first place, never saw that error. If you
could reproduce it and details the steps for reproduce it we could try to
solve it.
On Thu, Apr 24, 2014 at 10:03 AM, James Calfee [email protected]:
Is there any way to handle leveldb updates better in such a way that this
can't happen? I don't have experience with this but I read that updates are
atomic. Should they have something like autocommit off and a commit added?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-41276876
.
Matías Alejo Garcia
Skype/Twitter: @EMATIU
Roads? Where we're going, we don't need roads!
from insight-api.
Are atomic updates the default? It was likely caused by a Ctrl+C while the initial block chain sync was occurring.
from insight-api.
They should be in level db. Even in batch updates:
https://code.google.com/p/leveldb/
On Thu, Apr 24, 2014 at 12:41 PM, James Calfee [email protected]:
Are atomic updates the default? It was likely caused by a Ctrl+C while the
initial block chain sync was occurring.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-41295383
.
Matías Alejo Garcia
Skype/Twitter: @EMATIU
Roads? Where we're going, we don't need roads!
from insight-api.
Thanks for the link. That is what I was looking at.
As I become familiar with the LevelDB API I will do a quick scan to see if any extra API calls are involved in making this work especially in regard to multiple level DB databases. That would perhaps save a lot of code like error detection and error correction code I am seeing. I'm sure you are probably doing just this.
Thanks for Insight! I'm enjoying the code. I'll let you know if I find anything.
from insight-api.
awesome, thanks!
On Sun, Apr 27, 2014 at 8:54 AM, James Calfee [email protected]:
Thanks for the link. That is what I was looking at.
As I become familiar with the LevelDB API I will do a quick scan to see if
any extra API calls are involved in making this work especially in regard
to multiple level DB databases. That would perhaps save a lot of code like
error detection and error correction code I am seeing. I'm sure you are
probably doing just this.Thanks for Insight! I'm enjoying the code. I'll let you know if I find
anything.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/54#issuecomment-41494615
.
Matías Alejo Garcia
Skype/Twitter: @EMATIU
Roads? Where we're going, we don't need roads!
from insight-api.
Related Issues (20)
- Request multiple transactions by list of txid
- Documentation for /api/utils/estimatefee HOT 1
- Setting up with an existing bitcoin full-node
- UTXO returns spent outputs
- Cannot broadcast transaction with huge amounts of inputs HOT 1
- Confirmation number for sent BCH transaction does not increase HOT 2
- Help. Blocks.js : 400 Bad Request Altcoin HOT 6
- "Invalid argument" instead of "invalid checksum" HOT 1
- Method not found. Code:-32601 HOT 7
- why sync not continue after 81% (446128 blocks height)
- How can I distinguish testnet and mainnet?
- what is p2p transform port?
- what is p2p transform port?
- Large block of the Bitcoin Cash
- Block Height Differences in insight
- Wrong estimate fee HOT 4
- Endpoint to get mempool txs HOT 1
- DdzFFzCqrht18zRUyie7z3PtuD3DzYs4f2fpGyme6ybojcqyovvhPsaDuSjhwmPYitRsenEcVAw6jh9XNxA2WP6Mvh22ZX9qNP5HQ5ix
- How to setup insight-api with bitcoin sv. Any kind of help is highly appreciated. HOT 1
- which repo to use? HOT 1
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 insight-api.