Giter Club home page Giter Club logo

Comments (17)

braydonf avatar braydonf commented on May 21, 2024

This looks like the output from block.toObject(), which doesn't include the hash (since it's a computed property). We may either want to add the hash to the toObject() result, or have the API responses for v1 include a custom JSON format.

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

Transaction doesn't either, and it sure would be nice to have the addresses base58enc there in the txs too.

Whats the release schedule look like on this project - I was hoping to use it for developing a personal project. Should I look into insight-api instead? I hesitate to do that because it won't support my latest node version according to the docs (out of order blocks).

Alternatively, I can enhance this myself with these missing pieces... What about the events API - is that fully functional? Any project status page would be helpful.

from bitcore-node.

alexanderkent avatar alexanderkent commented on May 21, 2024

Sorry for an off-topic question but how were you able to sync the blockchain? What version of bitcore are you using? Thanks.

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024
npm install
npm start

I'm sure I got a slew of errors or such on the install that I had to google and install dependencies or tweak the command line. I can't recall specifics. If you're having an issue, maybe post the issue and we can help.

from bitcore-node.

alexanderkent avatar alexanderkent commented on May 21, 2024

Unfortunately that didn't work for me. The initial sync runs to about 60% and crashes every time #72

I've tried on three different computers, i7, SSD, 36GB memory etc. I tried with bitcoin core 0.10.0 and 0.10.1 and the older 0.9 version. Any suggestions?

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

Oh, it hasn't completed yet. Ha. Probably won't. It's taking forever. I've started investigating insight instead

from bitcore-node.

alexanderkent avatar alexanderkent commented on May 21, 2024

I was under the impression that Bitcore-node is the new / eventual replacement for Insight. How many % did yours sync?

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

I'm moving the heavy lifting onto another machine right now. It got to about 36% on my raspberry pi and an old desktop. Throwing it on an i7 now to see if I can get it to go 100%, then I'll look into the code to tweak it to my liking. Alternatively, I may just go with insight since it's good out of the box. @braydonf - any timeframe details available for this replacing insight-api?

from bitcore-node.

carnesen avatar carnesen commented on May 21, 2024

I don't know the internal timeline for this, but I wouldn't hold my breath.
The two main contributors to this project are no longer employed at BitPay,
and there's indication that the intent is to turn bitcore-node into its own
full node of sorts, which is IMO significantly more difficult than an
insight-api-like web service layer on top of bitcoind. See
#57, for example.

On Sat, May 30, 2015 at 2:39 PM Dana Hanna [email protected] wrote:

I'm moving the heavy lifting onto another machine right now. It got to
about 36% on my raspberry pi and an old desktop. Throwing it on an i7 now
to see if I can get it to go 100%, then I'll look into the code to tweak it
to my liking. Alternatively, I may just go with insight since it's good out
of the box. @braydonf https://github.com/braydonf - any timeframe
details available for this replacing insight-api?


Reply to this email directly or view it on GitHub
#74 (comment).

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

Thanks @carnesen. Yeah, a wrapper for bitcoind's library, not a true full node in js. Definitely sounds like someone's baby that they're probably not going to finish now. Thanks.

@kentdome mine got stuck at:
0000000000000948161fcdb06d515c124a9d8589afa57f138f8be9f8d0d8b8ea 128296 vel 0 b/s 35.75557252504083% synced
However, after a restart it's continuing on past that spot. I'm going to try and get it to 100%, then see if I can tweak the code to have the right fields, then do some benchmarks for this vs Insight.

from bitcore-node.

braydonf avatar braydonf commented on May 21, 2024

Hey, sorry for getting off-topic to this issue. But yes, as @carnesen has mentioned, there is intention to run Bitcoin Core code in a Node.js process, and we're currently working on making progress in that area.

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

Thanks, to refocus this actual issue for anyone scrolling down:

Objects are missing ids/hashes

Previously diagnosed:

This looks like the output from block.toObject(), which doesn't include the hash (since it's a computed property). We may either want to add the hash to the toObject() result, or have the API responses for v1 include a custom JSON format.

I may try and tackle this if my instance ever completely syncs. The speed in which it initial syncs is very concerning.

from bitcore-node.

alexanderkent avatar alexanderkent commented on May 21, 2024

Any luck with the sync?

from bitcore-node.

braydonf avatar braydonf commented on May 21, 2024

Please take a look at chainlib-bitcoin, which we can integrate with bitcore-node, the sync should be working.

from bitcore-node.

thesoftwarejedi avatar thesoftwarejedi commented on May 21, 2024

@kentdome I did not ever get it to sync, and instead switched to using insight-api with RPC syncing.

from bitcore-node.

braydonf avatar braydonf commented on May 21, 2024

Spawned an issue at Bitcore: bitpay/bitcore#1308

from bitcore-node.

braydonf avatar braydonf commented on May 21, 2024

Fixed in: bitpay/bitcore#1311

from bitcore-node.

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.