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).

Filter by
Sorted by
Tagged with
0
votes
1answer
108 views

Cant start bitcoind - “Block files have previously been pruned”

I installed bitcoin, following this instructions. I mostly used it with bitcoin-qt -testnet options, even made a few transactions in testnet. I am using the pruned mode. Now I want to run the ...
1
vote
1answer
492 views

Script evaluated without error but finished with a false/empty top stack element

I'm trying to spend coins from this tx https://tchain.btc.com/ad7a1ed858eecdd146d9c932779aecae4b33f068d29cf794fad6de20f5a5d449 The scriptpubkey is simple: 1 OP_CHECKSEQUENCEVERIFY OP_DROP ...
2
votes
2answers
99 views

Error while send transaction: Data push larger than necessary

Looks like transaction decodes fine. But when I use sendrawtransaction I got Data push larger than necessary What's wrong with this tx? bitcoin-cli -testnet decoderawtransaction ...
1
vote
0answers
100 views

Bitcoind zmqpubrawtx notification - Filter out mempool transactions

Bitcoind's zmqpubrawtx seems to notify the subscriber of any transactions that have been accepted to the mempool or included in a block. Is there any easy way to filter out the mined transactions so ...
2
votes
1answer
80 views

Cant spend input with non-standart redeemscript (OP_CSV)

I'm playing with OP_CHECKSEQUENCEVERIFY. Here is my transaction that I'm trying to spend: https://tchain.btc.com/e79d469698915aa6724288ae3a4141a31706d081f39fb7fd0b956a73a9044b22 which has the ...
0
votes
1answer
106 views

Is my Tor bitcoind node seen by new normal nodes?

I've finished the setup of a bitcoind node behind Tor like in method 1 of this guide I'd like to be as helpful as possible to the network and especially new nodes trying to sync. Are new nodes able ...
0
votes
4answers
129 views

running bitcoind for the first time - can't interact. keep getting command not found

running ps yields: 31793 pts/0 11:04:46 bitcoind but commands like bitcoind getblocktemplate yields: bash: bitcoind: command not found... I've attempted to add the src folder to my global ...
0
votes
1answer
94 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
368 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
142 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
130 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
94 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
512 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
53 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 ...
3
votes
1answer
148 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
1k 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":"...
3
votes
1answer
806 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
247 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
167 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
525 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
506 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
212 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
103 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
33 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
306 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
169 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
94 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
39 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
75 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
66 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
187 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
41 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
252 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
133 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
106 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
21 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
2k 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
151 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
47 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
311 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
37 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
22 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
351 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
22 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
135 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
157 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
63 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
1k 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
71 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
2k 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 ...