Coder Social home page Coder Social logo

Comments (12)

jtobey avatar jtobey commented on June 12, 2024

I've committed a workaround that may let you load the home page, but there is still a bug in how Abe computes chain statistics. Please paste the output of this query:

SELECT COUNT(1), COUNT(block_height), COUNT(block_satoshi_seconds), COUNT(block_total_ss)
  FROM block;

And this one:

SELECT c.chain_name, b.block_height, b.block_nTime,
       b.block_total_seconds, b.block_total_satoshis,
       b.block_satoshi_seconds, b.block_hash,
       b.block_total_ss, c.chain_id, c.chain_code3,
       c.chain_address_version, c.chain_last_block_id
  FROM chain c
  JOIN block b ON (c.chain_last_block_id = b.block_id)
 ORDER BY c.chain_name;

If you'd like me to try to reproduce the problem, I obviously want to get it right the first time, so let me know the exact version you used (as shown by "git rev-parse HEAD" if cloned from github) and the dbtype (MySQL, etc.). I could also use your full list of block hashes in the order loaded:

SELECT block_hash FROM block ORDER BY block_id;

This will be long, so send it by pastebin or email. If you can not provide it, please give the exact version of bitcoind you used.

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

emailed you the files

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

did you ever figure out what it was?

from bitcoin-abe.

jtobey avatar jtobey commented on June 12, 2024

I have not had time yet to look.

On Sat, Nov 17, 2012 at 10:01 PM, grimd34th [email protected]:

did you ever figure out what it was?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-10481986.

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

i've rented a seperate box, threw the latest bitcoin and abe on it
i'll report back with results

from bitcoin-abe.

jtobey avatar jtobey commented on June 12, 2024

If you need a working instance quickly, I suggest you go back to v0.6 or
Sept. 15 (fc10484). I think those
versions predate this bug.

-John

On Sun, Nov 18, 2012 at 4:35 PM, grimd34th [email protected] wrote:

i've rented a seperate box, threw the latest bitcoin and abe on it
i'll report back with results


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-10491994.

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

its more or less for research not necessity

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

loaded absolutely fine on the other server

from bitcoin-abe.

jtobey avatar jtobey commented on June 12, 2024

Thanks for the update. I still suspect you have found a bug, unless the first 91844 block hashes are the same on both servers. The bug relates to orphaned blocks and blocks stored out of sequence. These arise from network latency during bitcoind operation, so they are not generally reproducible across bitcoind databases. The hash list you sent me will let me test this idea.

from bitcoin-abe.

jtobey avatar jtobey commented on June 12, 2024

I believe this is fixed in 3d5a832.

I was wrong about network latency being involved. The bug affects blocks that contain a previously loaded coinbase transaction, and the first such block is 91842. That and all later blocks would display incorrectly.

I am not sure why it would succeed on your other server. Did you use an older version of Abe software as I suggested?

from bitcoin-abe.

grimd34th avatar grimd34th commented on June 12, 2024

i gave up on it, and i no longer have that server

from bitcoin-abe.

jtobey avatar jtobey commented on June 12, 2024

OK, thanks for the reply. I haven't tested the fix with BTC, but Namecoin has a similar block that now works, and your query output points to a problem around the first such Bitcoin block. Closing.

from bitcoin-abe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.