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
0answers
8 views

Which parameters in the Bitcoin Core config file need to be set correctly prior to IBD?

The majority of the parameters in the Bitcoin Core config file can be changed during or after IBD (Initial Blockchain Download) with no complications. However, there are some parameters in the config ...
4
votes
1answer
272 views

Syncing bitcoin node with multiple cores

I'm syncing my node on 32 CPUs, and it's super slow. Obviously, syncing doesn't go in parallel. I wonder if there is any fundamental obstacle for "divide and conquer" way of doing it. So let's say ...
0
votes
0answers
12 views

Why does PHP call undefined on “listtransactions” RPC?

I'm trying to get a user's incoming transaction by running this RPC command in PHP: $list_tx = $bitcoin->listtransactions("*", 1, 0, false); $amount = $list_tx["amount"]; $address = $list_tx["...
1
vote
1answer
38 views

How do block explorer sites show information that is not available on Bitcoin Core?

As I understood in the following post How to get unspents for a specified bitcoin address?, we should use listunspent only on addresses that belong to our own wallet otherwise will return blank. But ...
0
votes
0answers
21 views

Can not connect to rpc server bitcoind 0.16

I have 2 server v0.18 and 0.16. They're nearly same config but I can't connect to v0.16 server via RPC though using command on it is still well eg bitcoin-cli -info. I have searched few configs and ...
0
votes
0answers
13 views

open source server for bitcoin wallet [on hold]

For my simple bitcoin wallet, I use the blockcypher.com api. There is a problem due to the limitation of the number of requests for api, so I need to make my "api blockcypher.com", which would be ...
1
vote
1answer
18 views

Fetch UTXO Bitcoin to address created by rpc importprivkey without rescan like other api

For few reasons, I must use rpc node to handle wallet at this time. In the near future, I will change the flow to use library to create addreses, store privatekey at database and create raw ...
0
votes
1answer
40 views

I'm running an antminer V9 solo on my local bitcoind 'pool' will i get paid?

I'm running an antminer V9 solo on my local bitcoind 'pool' plus an S5. Both are hashing away lovely, but only the S5 goes through bfgminer, the V9 is connected to my bitcoind 'pool' directly . My ...
0
votes
0answers
19 views

How do I provide a URL for the EasyBitcoin-PHP library?

I've tried initializing a connection like this: $bitcoin = new Bitcoin("user", "password", "HTTP", "localhost", "8332", "http://127.0.0.1:8332/wallets/$wallet_string"); This returns false, however ...
2
votes
1answer
27 views

Error after reindex

Hello after I got an db error.. I try to reindex my db. But I got this error: ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=75, nPos=117947311) So what can I do to fix it ? ...
1
vote
1answer
14 views

How used the getrawtransaction for fin the tx blockchain

How used the getrawtransaction to find the tx blockchain? inside the documentation says to use the -txindex, can you give me an example for the complete command please?
0
votes
1answer
28 views

What does the scriptSing contain when it is decoded with RPC framework?

I'm trying to get the wallet id from scriptSing and ScriptPubKey. When I decode the scriptSig, the result does not contain the address address. But when I decode the scriptPubKey, it contains the ...
1
vote
1answer
35 views

how do I use the getwalletinfo RPC?

I can't seem to get a firm grasp of how to use the getwalletinfo RPC in the cmd line as well as in PHP code, The documentation says getwalletinfo doesn't take any parameters, but I've seen ways to ...
0
votes
1answer
26 views

Correct way to use joinpsbt for manual coinjoin?

I am developing a feature in my app for "manual coinjoins" which follows this as inspiration: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#Manual_CoinJoin_Workflow I am not an ...
0
votes
0answers
14 views

Javascript REST API to connect the local bitcoin node

Is there any javascript API available to connect the local bitcoin node(regtest) for sending the transaction to the network(regtest)?
0
votes
1answer
60 views

How can I turn off the output of bitcoins?

I use bitcoin core v.0.17 on the server. How can I turn off the output of bitcoins through bitcoind or bitcoin-cli or bitcoin.conf?
0
votes
0answers
14 views

Could not open socket for incoming connections

I am fairly new to bitcoin and was trying to set up a local regtest network with four nodes in the same machine by having different configuration file for each node. However when I try to bring up a ...
1
vote
1answer
32 views

How can I start bitcoind without blockchain synchronization?

Suppose I make a locked wallet with 50000 pre-generated addresses. As long as I researched, only way I can collect those 50000 addresses using RPC and "getnewaddress". Feel free to correct me. I ...
1
vote
1answer
56 views

Bitcoin 0.18: how to send bitcoin from one address to another using Bitcoind?

To transfer bitcoin from one account to another address, we have used sendfrom method and which got deprecated in the latest version Bitcoin 0.18.0 Bitcoin sendfrom method On reading the document of ...
0
votes
1answer
19 views

Using importmulti to import a single address to keypool does not work

I create a wallet with private keys disabled. Then use importmulti like so: command curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importmulti", "params":[[{ "scriptPubKey": { "...
0
votes
0answers
18 views

Signing multisig raw transaction is returning error “JSON value is not a string as expected”

I am trying to sign a multisig unsigned raw transaction but keep getting "JSON value is not a string as expected", I am stumped and have tried many variations. Can anyone point out what I am doing ...
0
votes
1answer
33 views

Importing private key to bitcoin node is slow. Can it be faster?

I have launched the bitcoin node and synchronized it. The issue is that importing the private key forces the node to scan the blockchain for the operations with the key. Is there a way to import the ...
0
votes
1answer
16 views

Strange re-connection problem with python-bitcoinrpc

I am using https://github.com/jgarzik/python-bitcoinrpc to access the bitcoin core rpc. I have found a very strange re-connection problem. from bitcoinrpc.authproxy import AuthServiceProxy, ...
0
votes
0answers
16 views

Cannot connect to Bitcoin JSON-RPC Server [duplicate]

I have just started getting my hands dirty with Bitcoin and I have successfully setup a pruned node on a Linux server but I can't seem to connect to this node from my Dev environment. I keep getting ...
0
votes
1answer
22 views

spend a specifc UTXO

Is there any methods to pick a particular UTXO and send it to a particular address in bitcoin regtest mode using bitcoin-cli other than createrawtransaction and sendtoaddress
0
votes
2answers
57 views

How to get input address and amount from vin using bitcoin core rpc

I am trying to find details of every transaction using bitcoin core rpc. First, I using bitcoin-cli getblock to get the block data, then use bitcoin-cli getrawtransaction to get the transaction ...
0
votes
0answers
21 views

How can I seperate the RPC server from the -proxy option in regtest?

I'm using a SOCKS5 proxy for bandwidth throttling and custom latency. How do I run bitcoind such that only node connections go through the proxy, but JSON-RPC does not? The proxy is on localhost, and ...
0
votes
1answer
42 views

Bitcoin TX decode failed while sending to a the network(regtest)

I have created a signature manually (referring the signature output formats in bitcoin-cli). But i tried to send the same to the network I am getting error code: -22 error message: TX decode ...
4
votes
1answer
60 views

How long are orphaned or stale blocks kept in bitcoin core nodes memory?

If there was a chain reorg, for example: Blockchain: 0a---1a---2a---3a becomes... 0a---1a---2b---3b How long are blocks 2b and 3b kept in memory on the node? If I query the node for block 2b ...
0
votes
1answer
30 views

Bitcoin script (pay-to-pubkey-hash)

Example for 'pay-to-pubkey-hash' is quoted in Wiki bitcoin script. I have a doubt that 14 is for bytes to push. But the data to push is 20 bytes. Please anyone could explain to me? Script: 76 --> ...
0
votes
1answer
35 views

Bitcoind Node crashes after using -dbcache option

I've been trying to speed up my node sync by increasing the dbcache. However my node tends to crash overnight. My system is running ubuntu 18.04, 4GM of ram bitcoin core v0.18. I've tried bitcoind -...
1
vote
0answers
22 views

Difference between Bitcoin and omni layer [closed]

I am really confused on bitcoin core and omni core. I have several doubts, regards this, it is possible to use bitcoin node for omnicore. can we use the bitcoin address for usdt. if we can, how to ...
1
vote
1answer
20 views

How to scale JSON-RPC

I'm trying to scale getrawtransaction calls from bitcoind, without manually parsing the .dat files. I've tried: rpcworkqueue=512 (no difference) rpcthreads=128 (no difference) par=8 (no difference) ...
0
votes
0answers
19 views

`Fatal LevelDB error: Corruption: truncated block read` with txindex

I'm running bitcoind 0.18.0 with txindex. The indexes are stored on an SSD, and raw block data is stored on an external HDD. Out of the blue it crashed with a Fatal LevelDB error: Corruption: ...
1
vote
1answer
25 views

Can TREZOR sign transaction with input address beyond gap limit?

Suppose I use TREZOR with Electrum or Bitcoin Core HWI and significantly change the gap limit to, let's say, 100 000 addresses. I then receive BTC to my 999 999-th address and want to send them ...
2
votes
0answers
22 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...
0
votes
2answers
102 views

Can't reach remote bitcoin rpc server

I got vps with ubuntu 18.04 with ssh access and bitoind set up on it. This is my bitcoin.conf file: testnet=1 prune=35840 maxconnections=12 muxuploadtarget=20 daemon=1 server=1 rpcclienttimeout=5000 ...
0
votes
0answers
21 views

Method to create P2SH address

I am trying to create a htlc smart contract manually by writing a script and finding the hex using the btcc compiler. Now node A has to create a transaction using that hex and lock money in that p2sh ...
0
votes
1answer
41 views

Bitcoin Core `getaddressesbyaccount` method not found (-32601)

On macOS Mojave I have a full bitcoin node synced using bitcoind. I want to get the public address of the default account (i.e. the empty string ""). So I run bitcoin-cli getaddressesbyaccount "" ...
0
votes
2answers
73 views

Why bitcoind does not respect rpcbind for testnet?

For some reason testnet does not respect bitcoin.conf RPC configuration: admin@az-bitcoind:~$ sudo netstat -natp | grep 8332 tcp 0 0 10.18.0.1:8332 0.0.0.0:* LISTEN ...
0
votes
0answers
48 views

HTLC in blockchain regtest mode by creating transactions manually

I am trying to create a htlc smart contract manually by writing a script and finding the hex using the btcc compiler. Now node A has to create a transaction using that hex and lock money in that p2sh ...
0
votes
1answer
58 views

Bitcoin raw transaction with manually created redeem script

I am running bitcoin in regtest mode with 2 nodes bitcoinNode1 and bitcoinNode2.I have created a redeem script by writing the opcodes and converted into hex form using btcc. HP-ProBook-440-G4:~$ btcc ...
2
votes
1answer
40 views

Does assumevalid lower the security of Bitcoin?

Bitcoin's assumption was to download the blocks and verify it in order to prevent getting fooled. But by default, the assumevalid option is enabled in the software, which, as I understand it, makes ...
0
votes
0answers
14 views

Bitcoind implementation in online website

im new to this world and i would like to understand better. i have an online platform and i would like to recive bitcoin payments from end costumers directly to my wallet without using 3d party. i ...
2
votes
1answer
179 views

Bitcoin Core 0.18.0 in Docker container: Could not connect to the server

This is likely me not understanding how Docker works, but I've tried everything I can think of. I'm trying to start bitcoind in regtest mode inside a Docker container, then execute JSON-RPC commands ...
0
votes
1answer
18 views

bitcoind jsonrpc bumpfee not returning hash of newly created transaction

I'm trying to implement replace by fee functionality with bictoind (v18) and bumpfee rpc call described here It works by mean that new transaction is created with higher fee, but result should be: { ...
0
votes
1answer
104 views

How to properly use importmulti with coldcard wallet BIP84 xpub?

I have seen the HWI scripts but I am trying to do this while keeping my Coldcard airgapped. First I create a wallet in bitcoin core with private keys disabled. I dump the wallet summary onto the ...
0
votes
0answers
27 views

How to use bitcoind-rpc.js to create raw transaction?

I am using bitcoind-rpc in javascript but i couldn't use the function/api that require 2 or more arguments. For example, what is the proper format of the arguments needed for createRawTransactions? ...
2
votes
1answer
136 views

What does it mean if TXID and WTXID are the same?

I'm having a tough time understanding what exactly WTXID is and what it means when WTXID and TXID are the same (and vica versa). What I understand is that WTXID includes the witness data. Since non-...
1
vote
0answers
14 views

Switching between pruned and non-pruned blocksdir ok?

Is it ok to swap the nodes blocksdir upon restart without corrupting sth. cache etc.. I have two blocksdir: one locally pruned blocks, the other external with all blocks in blocks on usb drive. Id ...