Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bitcore]

For questions about BitPay's BitCore, an alternative full node

13
votes
1answer
1k views

What is the origin of insecure 64-bit nonces in signatures in the Bitcoin chain?

In Biased Nonce Sense: Lattice Attacks against Weak ECDSA Signatures in Cryptocurrencies Joachim Breitner and Nadia Heninger use a lattice based algorithm to recover private keys from signatures in ...
6
votes
2answers
236 views

What would be the fastest way to query for a certain txid to get its inputs?

I am working in an artistic/visualization project that analyses Bitcoin transactions. I have a Bitcore instance with insight API and from a Python script I query through the REST API so the queries ...
5
votes
1answer
321 views

Performance and modularity of Bitcore vs Toshi

I have been reading about both, BitPay's Bitcore and Coinbase Toshi, and although they both claim to be highly scalable I could not find information in order to compare them in terms of performance ...
5
votes
2answers
787 views

Connect already running bitcoind with bitcore for bitcoin explorer

I want to create a bitcoin explorer using bitcoind. I am using bitcore and insight API for this purpose. I am already running bitcoind in my local system . I want to connect this running bitcoind ...
5
votes
1answer
970 views

Cannot create a transaction

I am trying to create a transaction on the bitcoin testnet, using bitcore: Error Message : SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data Here is my code: var ...
4
votes
3answers
421 views

Synchronize mempool between 3 nodes

Three bitcore nodes (version of bitcoind is quite old - 0.12.1) are deployed to the servers on different cloud platforms. All instances have the same bitcoin.conf files (except of rpcallowip, rpcuser ...
3
votes
1answer
151 views

Confused by various apis scriptPubKey

I am really confused and I am having trouble even asking this question in a coherent manner (as I am trying to describe things that other people have renamed multiple times in different instances) so ...
3
votes
1answer
373 views

Insight-api: Websocket “tx” event - which variables?

the Insight API has a websocket and publishes TX events as described here: https://github.com/bitpay/insight-api (see bottom of this page) The documentation says the names are: tx: new transaction ...
3
votes
2answers
2k views

Trezor issue - “The bitcore server does not reply. Cannot connect to wallet”

I bought a Trezor, installed everything, and sent some BTC to my wallet. Everything was working correctly. Then today, after not using the Trezor for a few days, I tried to connect and am unable to. ...
3
votes
1answer
211 views

bitcored fastsync

Is any way to sync bitcore daemon faster? Options: -h, --help output usage information -V, --version output the version number -c, --config <dir> Specify the directory with ...
3
votes
1answer
685 views

Trying to understand how bitcore-node stores the data in the DB

I'm looking into the data and source of bitcore-node ( http://bitcore.io/ ), I'm a bit confused how all the information is stored in the database, probably it's in a similar way to others block ...
3
votes
1answer
737 views

Using bitcore to create a transaction with two addresses and change address

I'm playing around with bitcore transactions and multi-sig transactions and was wondering how to send a transaction to more than one address, and keep the change. Currently when I try to send the ...
3
votes
1answer
1k views

Installing insight blockchain explorer - is bitcore mandatory?

What I have: bitcoind on Linux running. What I want: to have insight api+ui local website running. Earlier it was possible to add insight querying your bitcoind. Now it seems they made some bitcore ...
3
votes
2answers
269 views

Bitcore-p2p: Peer.connect does not work

I'm trying to run a simple script to connect to a Bitcoin peer, like this one: var bitcore = require('bitcore-lib') var p2p = require('bitcore-p2p') var Peer = p2p.Peer; var peer = new Peer({host: '...
3
votes
0answers
83 views

Incoming block handler is never called when using bitcore

I want to get blocks on my node with bitcore. For example, I'm using peermanager.js and I get transactions: var handleTx = function(info) { var tx = info.message.tx.getStandardizedObject(); ...
2
votes
1answer
623 views

How to decode raw transaction which has 00 in '#TxIn' slot?

These are two raw transactions I got from Testnet, using bitcoind -testnet. ...
2
votes
2answers
2k views

How to Get UTXO using bitcore-lib?

I am using this library to make a wallet service that runs on a web browser. I use the library and browserify it so its compatible with the rest of my jquery. Now this tells me how to make and sign a ...
2
votes
1answer
522 views

Bitcore full node list with Wallet service enabled?

Is there any Bitcore full node list out there? I wanted that in order to use the Wallet Service while not being dependant on only one server. edit: quote on their website: You should now be able ...
2
votes
3answers
861 views

Litecoin litecore-lib receive UTXO and current balance

I have coded NodeJS script for bitcoin for send all balance from by address to some other one. Now I want to do this for the litecoin. For bitcoin I have used bitcore-lib and bitcore-explorers libs to ...
2
votes
1answer
234 views

How much transaction fees are taken by bitcore for API use?

If I am using the API of bitcore.io and create transactions, how much transaction fees are taken by Bitcore? I couldn't find any description in their documentation.
2
votes
1answer
440 views

Can Bitcore decode a raw tx?

I have a serialised transaction in raw hex format that I want decoded in JavaScript. Can Bitcore do that for me?
2
votes
1answer
258 views

Bitcoin HD wallet forwarder without depending on a 3rd party?

I want to setup a REST API service that does 3 simple things. Ask it to generate a new address (ideally from a BIP32 xpub key tree) Notify my server application when a deposit and confirmation X ...
2
votes
1answer
1k views

Bitcore.io Create a raw tx hex (signed) to push to the blockchain

I am trying to push a raw transaction to blockr.io testnet using bitcore (current latest version 0.12.9) for node.js https://github.com/bitpay/bitcore I have constructed my transaction like so: var ...
2
votes
3answers
798 views

Bitcore Testnet API

Does anyone know if Bitcore offer a testnet API to play around with? I'm implementing an Escrow system using the API and Node.js and don't particularly want to use real Bitcoins. Thanks.
2
votes
1answer
538 views

Using Bitcore API for Escrow

Has anyone experience using the Bitcore API for Escrow purposes with node.js? I assume, you'd need to create a new a address, then somehow create a new transaction using the newly created address, ...
2
votes
0answers
191 views

How to change checking processes - bitcore-node

We are trying to set up bitcore-node to work with other cryptocurrency core. Lets say that everything in core is pretty much the same like in bitcoin core so everything should work. After resolving ...
2
votes
0answers
194 views

SegWit with BitCore-Lib

How to create a SegWit address and transaction using bitcore-lib?
2
votes
0answers
158 views

What hardware and bandwidth requirements would a server need to fulfill to run Bitcore?

What's the cost of running Bitcore on AWS or DigitalOcean? I know I'd need about 128gb of hardrive space, but I'm not sure how much the typical bandwidth costs would be, and how much RAM or cores I ...
1
vote
2answers
588 views

is there any API like blockchain.info and bitcore with tutorial?

is there? I'm finding it hard for starters to look it up without tutorials via the net, blockchain.info tutorial(on youtube and a single one) seems to be good but getting API key on blockchain.info is ...
1
vote
2answers
84 views

'01' at the end of signatures

I am confused about the end marker at the end of signatures (in my case, individual sigs for a Tx that spends a P2SH) in pybitcointools: pybitcointools: ...
1
vote
1answer
261 views

Create a transaction from addresses A and B sending to address C

Related: Using bitcore to create a transaction with two addresses and change address I would like to create a transaction from addresses A and B sending to address C In the above question I get a ...
1
vote
2answers
44 views

What kind of messages are those used by Bitcore

When creating a transaction proposal with Bitcore, the options include a "message" field, both for the transaction and the single outputs. Are these messages those used by the Bitcoin network peers (...
1
vote
1answer
121 views

Blockchain.info returns “None Standard Script Output” when submitting a transaction?

I dont know what is wrong var insight = new Insight('https://insight.bitpay.com','livenet'); insight.getUnspentUtxos('1MkZVyKqNB5jpJDpfhp4TkDikFwdQM44he', function(err, utxos) { if (err) { ...
1
vote
1answer
88 views

How does BitCore work?

There are different sets of libraries in https://github.com/bitpay/bitcore Node - A full node with extended capabilities using Bitcoin Core (what is the role of this node ? As i can see this code in ...
1
vote
1answer
251 views

bitcoin address from xpub key

I want to create bitcoin address from extended public key, without exposing private key but did not get any success till now. Do someone know how to do it? I am using bitcore-lib package
1
vote
1answer
301 views

How to create a P2SH address with bitcore-lib

I was looking to create custom P2SH addresses from redeemScripts ( they start with 3...) using bictore-lib. If anyone can direct me to the right code in their module, I can't find it.
1
vote
1answer
124 views

Can you explain this JS code?

Can someone explain this JS code to me please? Maybe line by line? I am trying to understand and learn from it. Is this code creating a raw transaction based on an existing redeemScript? Or is it ...
1
vote
1answer
140 views

Check number of active peers a node has

I saw here that you can run bitcoin-cli getinfo to see the total number of connections that a node you're running is connected to. Is there a way to get this information remotely? For example, say I ...
1
vote
1answer
80 views

Transaction fee in Bitcored

Does the transaction fee of bitcored or bitcoind change everyday? Am I required to set transaction fee of bitcoind by using settxfee method?
1
vote
2answers
328 views

Permission problem installing bitcore

I have tried to install bitcore.io on a clean and upgraded Ubuntu 16.04.3 (64 bits) but always get permission errors. I have already created a user and password for bitcore: sudo useradd -r -m ...
1
vote
1answer
445 views

Insight API: txs json shows only 10 tx?

I have an Insight API Server running, it's fully synced and working. I would like to get a json to receive every tx within a block. On https://github.com/bitpay/insight-api it says I have to use: ...
1
vote
1answer
373 views

how to get realtime new transaction data in nodejs from bitcore

I want to run a private node, and use it to receive realtime unconfirmed transactions data into my nodejs script. How do I go about this?
1
vote
1answer
856 views

Bitcore = “Error: More than one instance of bitcore-lib found”

These two lines (and nothing more), create an error: var exp = require('bitcore-explorers'); var btc = require('bitcore-lib'); Error: More than one instance of bitcore-lib found. Please make sure to ...
1
vote
0answers
35 views

How can I set the rpc user credentials in Insight to connect to a custom node?

Bitpay has done brilliant work in creating the bitcore libraries pack. I am stuck trying to find the file in which we can add the rpc user name and password for connecting to a custom node inside the ...
1
vote
1answer
62 views

Bitcore vs bitcoin

Currently bitpay has provided the complete code for the webwallet+blockchain explorer + bitcore running can we use same thing for the bitcoin blockchain ? or the system that bitpay has developed will ...
1
vote
0answers
13 views

how do i change my bitcoin cleint application?

I recently downloaded the bitcoin (--testnet) blockchain data using Bitcore(I thought it was the Orginal client) for some development purpose. but now, I like to move to bitcoin core client. Should I ...
1
vote
0answers
151 views

Unable to get balance with bitcore lib

Using latest version of bitcore lib , want to check balance for making tx but once I include var explorers =require('bitcore-explorers'); after var bitcore =require('bitcore-lib'); Error: More ...
1
vote
0answers
55 views

Bitcoincashjs generates dust output with 0 amount

I am using bitcoincashjs (Bitcore fork) library to make BCH transaction (actually it is an exchange with ChangeNow API). Source wallet has only one UTXO: [ { "address":"bitcoincash:...
1
vote
0answers
104 views

Bitcoin network information pubkeyhash privatekey

I am trying to set up a https://github.com/bitpay/bitcore Insight node but for a forked coin of Bitcoin. To complete the task I need to modify the following information but with the forks version. ...
1
vote
0answers
177 views

What type of database does Bitcore use?

What type of database does Bitcore use to store the blockchain data? I can't find information on it. Does it use leveldb?