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
13 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
11 views

Difference between Bitcoin and omni layer

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 ...
0
votes
0answers
6 views

Is there any reference library or guidelines for redeeming a utxo and same have to send to regtest network using bitcoin-cli?

Could you please point out the library/guidelines responsible for giving "vin" or input parameter in the p2sh raw transaction and the same have to used by bitcoin-cli
0
votes
0answers
13 views

Invalid amount Error, when sending bitcoin through rpc in Laravel application

Need help for fixing this issue in my laravel app for sending bitcoin, I keep getting Invalid Amount error in my laravel.log. This is my BitcoinPayment.php, recieving bitcoin is working but not ...
1
vote
1answer
12 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
15 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
19 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
20 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 ...
-2
votes
0answers
16 views

bsv sync on the base of bitcoincore blockchain data

The bitcoincore 0.18 has synchronized the blockchain to the height of 478558. If I wanna sync bitcoinsv 0.2 on the base of bitcoincore blockchain data, how should I configure?
0
votes
2answers
33 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
14 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
23 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
0answers
26 views

I need some help in this area, buy-bitcoin shares [closed]

I have never done this before; and I would like to purchase some shares of bitcoin. Can someone please answer with a url that would tell me more information about purchasing bitcoin stocks? Any ...
0
votes
2answers
30 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
44 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
54 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
32 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
0answers
70 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
71 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
16 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
131 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
13 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 ...
1
vote
1answer
23 views

Consistenly getting Block magic mismatch error?

I have bitcoind running (0.18) in my ubuntu machine and it keeps shutting down due after getting this error: ERROR: ReadRawBlockFromDisk: Block magic mismatch for CDiskBlockPos(nFile=0, nPos=68821043)...
0
votes
1answer
20 views

EstimateSmartFee returning same amount, regardless of conf_target

Running 18.0 on Testnet, fully synced at 1541869 blocks. bitcoin-cli estimatesmartfee 10 { "feerate": 0.00001014, "blocks": 10 } bitcoin-cli estimatesmartfee 50 { "feerate": 0.00001014, "...
0
votes
2answers
62 views

How can I accept Bitcoin as a payment without a 3rd party gateway

I want to create a website where users can pay with Bitcoin. However I want to create my own payment gateway because I do not want to rely on services like BitPay. I want a unique BTC address for ...
0
votes
0answers
28 views

How to delete .dat files? 'rm' command fails with “bad message”

rm: cannot remove '/home/[user]/btc/bitcoin-core/blocks/blk01253.dat': Bad message The same error message when I tried running bitcoind -reindex Info: OS: Ubuntu Bitcoind version: 0.18 External ...
0
votes
1answer
28 views

How to get block headers from block hash using P2P API?

I have been experimenting with getheaders and one thing I can't seem to figure out is how to get a header for a specific hash, because getheaders doesn't provide this feature. According to the ...
6
votes
1answer
44 views

Why does getheaders P2P API return more than getblocks?

I've been reading through the Bitcoin P2P protocol documentation as well as experimenting with Bitcore library but confused about one thing. So getblocks seems to return inventory objects, which are ...
2
votes
1answer
35 views

Bitcoin Core What default values should I pass for some positional RPC params in sendtoaddress

I am trying to use the sendtoaddress rpc method of bitcoin core. From the documentation I read that I can pass "estimate_mode" parameter to estimate a fee. However as I believe json rpc follows ...
0
votes
2answers
56 views

Bitcoin core How do I get the transaction fee while using sendtoaddress

I have a bitcoin core running on testnet, so for suppose I have a wallet balance of 1BTC and I have to send it to an addressx, so how can I know the amount of transaction fee so that I can subtract it ...
1
vote
1answer
48 views

How to handle multiple transactions from the same account(address)?

I am new to bitcoin so please bear my question. To understand the IN's and OUT's of this crypto world, i am creating a dummy bank to have a better understanding of the system. So I have a bitcoin ...
0
votes
1answer
25 views

LND How to reset pending_open_channels?

I am using LND (most recent version 0.6.1-beta) and I have a lot of pending channels in state pending_open_channels which are stuck for many days (perhaps because of low fee and full mempool) so I ...
1
vote
1answer
71 views

bitcoind connection refused error with curl

my bitcoin.conf: server=1 rpcauth=myusername:e2aa83d74a55b7addfe070367546e72d$953dda2b7e2d5a151a7ef0e82ed50a734bf4c4ac55289fede8bd340489d5af0f rpcallowip=46.101.245.27clientip address datadir=/mnt/...
0
votes
0answers
25 views

what broke (and how do I fix it)?: I can mine testnet (via cgminer and bfgminer-0.5.5) on bitcoind-0.17, but not on bitcoin-0.18

I haven't changed any configuration, merely upgraded bitcoind. Working: the following scenario where machine 'A' has the ASIC, and bfgminer, and machine 'B' is running bitcoind-0.17 on testnet: ...
0
votes
0answers
15 views

Display IP address that bitcoin core bitcoind has discovered

Per the bitcoin wiki, bitcoind will auto-discver it's own IP address by default. However when I run bitcoin-cli getnetworkinfo the only address that is shown under "localaddresses" is the onion ...
0
votes
2answers
46 views

How to ./configure a built for Raspberry Pi?

I want to use this guide to set up a headless bitcoin core full node and came across the line: ./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" ...
0
votes
1answer
25 views

How do I start a bitcoind server in deprecated mode for multiple functions

I have a bitcoind server running bitcoin-core version 0.17. Now since I need to use deprecated RPC methods I need to start the bitcoind server in deprecated mode, so I am already able to run it to ...
0
votes
1answer
32 views

Understanding bitcoin-cli commands walletlock and walletpassphrase

I am trying to understand two commands listed in the following link. 1. walletpassphrase Stores the wallet decryption key in memory for <timeout> seconds. 2. walletlock Removes the wallet ...
0
votes
0answers
28 views

How to communicate with encrypted bitcoin wallet using bitcoin-core in NodeJS

I have a full node running in my local system and I am using this library named bitcoin-core to communicate with the bitcoind server. Now I have encrypted my wallet with a passphrase so I understand ...
1
vote
2answers
41 views

How do I install a specific version of bitcoin-core

I need to run bitcoind version 0.17, however the latest available version is 0.18, if I follow the instructions from this link it installs the latest version. The below links lists the packages for ...
0
votes
0answers
24 views

New block watcher

guys. I need to create bitcoin watcher, which will subscribe to new block event of bitcoin node and make some operations with mined transactions. For starting node I use bitcoind -testnet -datadir=/...
1
vote
0answers
36 views

Enable dustRelayFee behavior on testnet to get error code 64: dust

Crafting and sending an utxo of 1 satoshi does works and get mined on testnet without error. However on mainnet the error code 64: dust arise. I understand the basic idea that you are not able to ...
0
votes
1answer
27 views

bitcoind rest api tx endpoint

i am having a trouble with bitcoind REST API endpoint for retrieving transaction info. According to the documentation it should return confirmations among the retrieved data. But my bitcoind do not ...
0
votes
0answers
25 views

I can not enable wallet, how can I enable it? already deleted disablewallet=1 from conf

how can I enable wallet in my node. I put disablewallet=1 but now I want to enable wallet, I deleted that line... but I get no wallet... how can I get a wallet_
0
votes
1answer
28 views

What happened? $litecoin-cli getnewaddress is missing, Litecoin v0.17.1 how to getnewaddress?

I install bitcoind and litecoind... oh yes im on command line, setting up a node. prune the blockchain Litecoin is ready I want to generate newaddress to test and litecoin-cli does not show ...
0
votes
1answer
33 views

Understanding default bitcoin wallet in bitcoind

I am new to block-chain, so please bear with my questions. I need to understand the basics of a bitcoin-wallet. So I have setup a bitcoin full node using bitcoind in running in testnet mode. As I ...
0
votes
1answer
25 views

How to get number of transaction confirmation from bitcoind?

I have a question, How can I get the number of transaction confirmation by using bitcoind? for example: https://live.blockcypher.com/btc-testnet/tx/...
0
votes
0answers
16 views

add mysql dependency configure.ac bitcoin

i am working on bitcoin code, my aim is to move blockchain data to relational db but i am not able to resolve mysql dependency for different platform, platform includes mac and ubuntu. I have tried ...