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 [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
76 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
1answer
133 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
97 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
74 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. ...
2
votes
2answers
52 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
193 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
29 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
81 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 ...
1
vote
2answers
321 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":"...
1
vote
1answer
246 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
1answer
149 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
115 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 ...
1
vote
1answer
153 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
-1
votes
1answer
103 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
116 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
66 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
23 views

Is it okay to run regtest for dev purposes while simultaneously running a node on mainnet (bitcoind)?

Hope it won't mess anything up on my mainnet node.
0
votes
1answer
145 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 ...
0
votes
1answer
84 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:...
2
votes
2answers
81 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 ...
1
vote
0answers
34 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 ...
0
votes
1answer
52 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
58 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
131 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
39 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 ...
2
votes
2answers
143 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
75 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
56 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
20 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 ...
-1
votes
1answer
1k 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 ...
1
vote
1answer
72 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
42 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
130 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
34 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 ...
1
vote
1answer
17 views

How can I check where my bitcoins have gone to in my app? [closed]

help I need to know where to go search my bitcoins after they entered my account on my bitcoin app...so far its two day still nothing showing....
1
vote
1answer
194 views

RPC Command to send from multiple accounts to one account (default - “”) in same wallet

I have small amounts in multiple accounts in the same wallet. I want to send all of them to default account (usually named as ""). Is their any RPC command available for this scenario? Thanks in ...
1
vote
0answers
21 views

Is there a “print to file” parameter or its equivalent for bitcoin-cli; so that results from the daemon are recorded

Is there any way to "print to file" the queried results of the bitcoin-cli. This would be most helpful in my basic cross platform integration of a program I am making with QB64.
1
vote
1answer
38 views

Set transaction fee

I am using the bitcoind API to send transactions from my account to user accounts. I have found, that the sendtoaddress method uses address,amount and comment to send transactions, but I need to set ...
0
votes
1answer
106 views

RPC command sendfrom is giving Transaction too large error

I made discord bot for fun with tips, soak and rains of altcoin. When I try to send large amount through the same bot. It is giving me "Transaction too large" error. I found the reason here: ...
-1
votes
3answers
54 views

Should I run crypto node for my trading platform?

I wanted to create a cryptocurrency trading platform where people can deposit cryptocurrency and trade them with other altcoins and finally withdraw it. Tell me do I need to run full crypto node to ...
4
votes
3answers
727 views

Does running pruning node make the initial sync faster?

Does running bitcoind with -prune option make the initial blockchain sync faster or not? I know it makes it smaller on disk, but is it faster? I keep reading conflicting information online - some ...
0
votes
1answer
58 views

Create wallet address on user registration for trading platform

I am creating a crypto-trading platform . I wanted to know how to create wallet address dynamically for all new registered user and also create new address for every transaction. I am using bitcoind ...
1
vote
1answer
708 views

How do I interact with Bitcoin Core from NodeJS? [closed]

I am new to the Bitcoin world. I have installed Bitcoin Core on a Windows machine and am running the full node. I want to develop a nodejs app that would be running on the same machine interacting ...
2
votes
0answers
84 views

libwallycore error installing LND on Ubuntu 18.04

I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command: checking byteswap.h, usability... no checking ...
1
vote
0answers
54 views

Ubuntu Bitcoin Core Node Upgrade - Keeps starting v0.16.0

I have done this: sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install bitcoin-qt But whenever I start bitcoin-qt from my console, it starts up 0.16.0. How can I fix ...
3
votes
1answer
101 views

Regarding CVE-2018-17144 and test cases

Regarding the serious bug found (CVE-2018-17144) I am note sure if I understand the full scope of it correctly. As far as I understand, any block containing a double-spend of a transaction output ...
1
vote
0answers
29 views

How to find reward of total bitcoin?

I have been developing an application for few coins to get details of the coin, it's more like https://masternodes.online/, where we need to show the ROI, Nodes, required, Minimum Worth of a bitcoin, ...
0
votes
1answer
300 views

Raw Transaction Fee - 256: absurdly-high-fee error [duplicate]

I'm running the following codes, respectively. bitcoin-cli -testnet createrawtransaction ''' [ { "txid":"751b6361cd8d621de00466363120e5da2176c3cc092cb3f0b7373b02591372d2", "vout" : ...
0
votes
1answer
93 views

What applications of clients use bitcoin JSON-RPC?

As far as I understood, the Bitcoin JSON-RPC is one of the ways (if not the only way) in which applications can be built that can access the bitcoin wallet. So, the RPC server here gives that access ...
0
votes
1answer
73 views

Manually create a transaction to spend the output of a P2SH tx

I want to manually create a transaction to spend the output of a P2SH tx, but I don't know where the redeem script should be placed in the new transaction? I followed an online tutorial Building a ...