Stack Exchange Network

Stack Exchange network consists of 174 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 [bitcoind]

This tag should be used for questions related to bitcoind, the command-line software for Bitcoin Core. It stands for "Bitcoin Daemon" where a daemon is any computer process which runs in the background ("service" in Windows terminology).

0
votes
1answer
15 views

find a CTransaction from a prevout in Bitcoin source code

I'm trying to come up with this function: CTransaction getTxFromPrevout(COutPoint prevo); The idea being... when a new transaction is about to be validated, it will go through all of it's tx.vin[i]....
0
votes
0answers
4 views

What is the proper way to find transaction fees estimation based on amount and confirmations in litecoin or bitcoin

Helli , I am creating one Altcoin from Litecoin source and after changing all confrontational changes things are working fine.Like mining and transfer and all Now while I am doing transaction which ...
0
votes
1answer
21 views

generate/generatetoaddress what are this two rpc methods used for?

can anyone explain what are this rpc methods used for: 1.generate https://bitcoincore.org/en/doc/0.16.3/rpc/generating/generate/ from the introduction of generate mehod: Mine up to nblocks blocks ...
0
votes
1answer
23 views

update to 0.17.0 broke several rpc api calls that worked under 0.16.3, how to migrate correcty my code?

After updating from bitcoin core 0.16.3 to 0.17 I've found several rpc calls are now broken, and I'm not sure on how to migrate/update my code (php). Things broken so far: getbalance : does not ...
0
votes
1answer
21 views

Transaction still unspendable with CLTV

Previously I generated tx with CHECKLOCKTIMEVERIFY Here is the transaction https://tchain.btc.com/bb1415c166fd9f767c06d34d539f4b110ef4445f74a76c5ffad1ded33032e872 It lock funds before block 1442909. ...
0
votes
0answers
23 views

How to create CLTV transaction with bitcoin-cli?

Is the a simple way to create tx with CLTV (CHECKLOCKTIMEVERIFY) using bitcoin-cli ? If not, anyway I can create redeemscript myself according to wiki https://en.bitcoin.it/wiki/Script But how to ...
0
votes
0answers
8 views

Chromapolis is good or not bad?

Chromapolis is a blockchain platform for decentralized applications where blockchain data is stored in a relational database.
2
votes
2answers
20 views

Security implications of bitcoin.conf location

I'm setting up and hardening a dedicated headless bitcoind and lightning daemon and wanted to have a discussion about location of the bitcoin.conf. Item #1: Bitcoind defaults to using ~/.bitcoin/...
0
votes
1answer
14 views

How to send coinpot to coinbase

Can I send my crytocurrency in coinpot bitcoincore bitcoincash, mooncash, ect to my coinbase wallet? How is this done?
0
votes
1answer
12 views

how to calculate max spendable from all wallet

Using latest bitoind, any way to calculate max spendable from wallet with some amount of outputs? For example i need to send all wallet amount to 2 outputs and set mining fee enough to get ...
2
votes
1answer
27 views

Bitcoin 0.17 No public key shown (validateaddress)

I want to generate multisignature address with person, which I didn't know. Someone send me a public key. Then I do: bitcoin-cli getnewaddress "" legacy Ok, I got ...
0
votes
1answer
16 views

Connection Refused

I am running bitcoind in unbuntu 16.04. And a web server running in docker container. When I excuted curl in container bash curl --user user:pass --data-binary '{"jsonrpc":"1.0","method":"...
0
votes
1answer
39 views

Converting xpub key to core format

I am experiencing some major issues which I honestly can't understand. When I am generating a wallet from Electrum the public key looks like this: ...
0
votes
0answers
7 views

Bitcoind v0.17 multiple instance for testing

Previously for regtesting I used multiple instances of bitcoind by specifying the data directory. Previously: Start Instances bitcoind -daemon -datadir="/home/vagrant/.bitcoin2" bitcoind -daemon ...
0
votes
0answers
28 views

Connect to bitcoind with python-bitcoinrpc: 401 unauthorized

I'm running D:\Bitcoin\daemon\bitcoind on my Windows 10 system with command line parameters -server=1 -conf=D:\Bitcoin\bitcoin.conf -datadir=D:\Bitcoin\blockchain, and I have in my bitcoin.conf: ...
0
votes
0answers
20 views

lightning daemon rejects bitcoind RPC variables in lnd.conf

I run lnd and bitcoind under their own users, but on the same physical machine. This means lnd has trouble accessing the bitcoind .cookie, so I'm trying to configure lnd to use RPC. When I use the ...
0
votes
1answer
37 views

fundrawtransaction causing bitcoind 0.17 to crash

I've updated to bitcoincore 0.17 and I'm trying to create a raw transaction to be signed on an offline wallet. I'm creating a raw transaction with createrawtransaction with no inputs and the desired ...
0
votes
1answer
23 views

What is the difference between chainstate and blocks folder?

Is the blocks and chainstate folder store the same blocks data ? How can we read those data using code and display that on the web frontend like the blockchain explorer websites
0
votes
0answers
10 views

How can i list down blockchain data?

NOTE: I have already setup the full node I want to list down all transactions that occur on the bitcoin network (blockchain data) ? Is there is any django library that allow me to list down all the ...
1
vote
1answer
24 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
votes
1answer
33 views

Scammed by bitcoin mining [closed]

This Instagram account managed to scam me into sending bitcoin to the miner she said would make me money. I explained I was a novice and she said she would help me through the process, she then ...
0
votes
1answer
23 views

Account system is deprecated. Now, how can we set a “from account” when using the “sendmany” function?

Currently I have been faced with a problem from the update of Bitcoin Core. As you may know, in the recent update, Bitcoin Core deprecated the concept of account belonging to each node. Hence, I ...
0
votes
1answer
33 views

Web wallet making direct RPC calls to bitcoin node

Is it good idea to make direct RPC call's to node computer to generate web wallet addresses here is what i am trying to implement i want to create new web wallet based on bitcoin and want to allow ...
1
vote
1answer
14 views
0
votes
1answer
26 views

Please help - Bitcoin Conf file in the wrong directory

I am running a full node using Bitcoin Core GUI on Windows 10. The conf file is in my bitcoin data directory, instead of being in the appdata/roaming folder. But Bitcoin-qt points to it by default and ...
1
vote
2answers
40 views

how to calculate Entropy from series of outcome?

I want to generate my own private key with dice and/or other very entropic phenomenon. But how can I calculate if my data have a good entropy ? I mean if I throw dice in a certain way too much time ...
0
votes
1answer
28 views

bitcoin compile (.undefined reference to **')

I'm getting error after make command like, undefined reference to `BlockAssembler::BlockAssembler(CChainParams const&)' and in last Makefile:774: recipe for target 'all-recursive' failed make:...
1
vote
2answers
41 views

Bitcoind does not like ECDSA (r, s) pair produced by OpenSSL

I am writing transactions manually and have stumbled across a rather bizarre situation. Only one in a few of the transactions I broadcast to bitcoind is accepted, otherwise I get a REJECT_NONSTANDARD ...
0
votes
0answers
24 views

Unable to create a raw transaction from a segwit address

I'm using bitcoin core to handle receiving and sending btc on our payment system. The following is the abridged version of our script: bitcoin-cli importaddress 3PK472dtKHTrPus7TGvXVdV6EwvxAufgUj ...
0
votes
0answers
31 views

How to get notify of unconfirmed transaction using bitcore node or bitcoin rpc?

I run a node on my own server ,and i am using the bus.on('bitcoind/addresstxid') event. When there is a new unconfirmed transaction that sent from an P2SH address, i don't get a notification on ...
0
votes
0answers
21 views

Bitcoind block height keeps resetting

I am using a forked version of the original bitcoin repo https://github.com/btcdrak/bitcoin/tree/v0.13.2-addrindex Tag -> v0.13.2-addrindex I don't see any other error messages around this time, but ...
1
vote
0answers
19 views

UTXO are not being listed while they have conf over 100 (btcd + simnet)

I am using BTCD and while in Simnet, I generated 104 block (Best block : 104) But when I listed utxos, transaction from block 3 and 4 (which have 102 and 101 confirmations) don't be listed. So balance ...
1
vote
1answer
33 views

blockexplorer is not fully synced [closed]

I am working with a cryptocurrency which is a fork of bitcoin. In my blockexplorer it shows 91% synced and I cant see any latest blocks.
0
votes
1answer
30 views

Noob: new to bitcoin, bitcoind will not run on Windows 10

I just heard about Bitcoin, it looks huge, and am trying to get it to work and see how it works. I live in a very rural community and we do not have Internet yet, I had to do some dirty deeds to get ...
2
votes
1answer
56 views

Bitcoin core gives wrong previous Tx

I run my own bitcoin core node: MacOS version v0.16.3 (64-bit) I want to analyse tx: 3170cd6c0d49c1c851d640547b5533b62e40071c376feeb83a0a40bce5195802 The first input (key ...
2
votes
1answer
51 views

LoadBlockIndexDB: transaction index disabled

I'm trying to run bitcoind on a Raspberry Pi 3 but I'm stuck on an error. The raspberry has a Hdd for storage with a fully indexed blockchain that was synced on my laptop and than copied to the Hdd (...
3
votes
1answer
37 views

How is bitcoind “shy” when exchanging `version` packets?

This is more of a technical/programming question. I am referring to this line of code: https://github.com/bitcoin/bitcoin/blob/be992701b018f256db6d64786624be4cb60d8975/src/net_processing.cpp#L1699 ...
1
vote
1answer
59 views

How can I simulate ProofOfStake (PoS) for a testnet (clone of Pivx)?

After the end of PoW blocks, I am unable to mine using PoS. Here is my setup. 1) Server with the following config file. server=1 daemon=1 listen=1 rpcuser=user rpcpassword=password 2) Two clients ...
0
votes
0answers
24 views

I try to update bitcoind to version 17.00 but i get version 0.13.1

On a Rasperry PI 3 I have done this step: wget https://bitcoin.org/bin/bitcoin-core-0.17.0/bitcoin-0.17.0-arm-linux-gnueabihf.tar.gz tar -xvzf bitcoin-0.17.0-arm-linux-gnueabihf.tar.gz sudo rm -r /...
2
votes
2answers
67 views

Bitcoin core incorrect balance?

So I have ubuntu 16x running bitcoin core. Its a full node and fully synched. Run with bitcoind --daemon as suggested. Using a particular address from my wallet, whenever I send money to the address ...
1
vote
1answer
53 views

Transaction Malleability, How can I change signature?

I'm kind of desperate as I can't follow some ideas that I don't understand. I hope you can help me. Thank you in advance It's all about Segwit Question 1) It says that when bob makes a transaction ...
1
vote
1answer
44 views

How to send bitcoin programatically using API? Bitcoin Transaction. (Without Setting Node) [closed]

Want to send BTC from one address to another address without using JSON-RPC. Followed and used: https://bitcore.io/api/ https://www.npmjs.com/package/bitcoin-transaction/v/1.1.1 2nd:bitcoin-...
1
vote
1answer
27 views

Bitcoin node synchronization speed up [duplicate]

I'm running a docker image with a bitcoin node (version v0.16.3.0-g49e34e288) and it's taking more than week to synchronize, having only synchronized 54% of the blockchain. I'm running it with the "...
1
vote
1answer
18 views

Ethereum alternative to bitcoind

A client have payment system that uses bitcoind wallet / daemon. I know he can expand to litecoin / dogecoin by just copy litecoind / dogecoind then console commands are almost the same. I am ...
0
votes
1answer
315 views

Cannot mine Genesis / First Block (PIVX Fork / Clone)

Whatever I do, I am unable to mine the 1st block after the genesis block. All the while, I have assumed that I have mined the Genesis block, and I am unable to mine the 1st block using "setgenerate ...
0
votes
0answers
12 views

How to reduce Bitcoin blockchain volume on server [duplicate]

Is it possible to reduce bitcoin blockchain volume with pruning option
1
vote
1answer
29 views

Fixing “Block not found on disk” rpc error

I have a full node with txindex enabled that I've been trying to use for an electrum server. However, whether I use ElectrumX or Electrs, I hit the same error on initial indexing of "Block not found ...
1
vote
1answer
26 views

Get real fee per transaction

I am trying to get real fee per trasnaction. So I have an account whit balance 0.06940000 and have a second account with balance 0.00000000. To get current fee I have run the command bitcoin-cli ...
1
vote
1answer
44 views

Estimate smart fee returns an error

I am trying to get current fee for per transaction. So running command bitcoin-cli estimatesmartfee 6 i am getting response lookl ike this { "errors": [ "Insufficient data or no feerate found"...
1
vote
1answer
26 views

Can not indentify accounts

I am trying to get balance of accounts and when running bitcoin-cli listaccounts I am getting the data look like this { "":0.81234545 } I wanted to know what is the "" and 0.81234545 and where my ...