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
2 votes
1 answer
1k views

bitcoind crashing due to insufficient memory?

EDIT 3 Bumping my VPS to 1GB of physical RAM stopped the crashing issue... UNTIL said VPS ran out of disc space. I added prune=10240 to my ~/.bitcoin/bitcoin.conf file such that the blockchain file ...
1 vote
2 answers
2k views

Setting up the bitcoind to run at startup Ubuntu 17.04

I've created a bitcoin.service file as found here: https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service However i've modified it as i build bitcoin-core from source to the ...
1 vote
1 answer
838 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 there any RPC command available for this scenario?
0 votes
1 answer
1k views

Transactions confirmed on Blockchain but nothing received to my Blockchain wallet

I need some info/help. I have sent some Bitcoins to my Blockchain wallet. They have all be confirmed and done with. But it has been 2 days now and nothing has shown on my wallet. This is the ...
1 vote
1 answer
391 views

What are the issues of running lightning daemon with pruning node?

Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind?
2 votes
1 answer
2k views

Can't connect to Bitcoind remotely

I am running a Bitcoin Cash node on my server, and starting it like this: start bitcoind.exe --server=1 --rpcuser=user --rpcpassword=password --rest=1 --rpcport=8332 --datadir=F:\Bitcoin --bind=10.1....
0 votes
0 answers
19 views

Cannot build bitcoin source on macOS

I am following https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md guide for installing bitcoin from source(master branch) on my mac. After installing the minimal dependencies and ./...
2 votes
1 answer
761 views

How to get total number of transactions from bitcoin core wallet using rpc

I'm trying to implement paginations using : https://chainquery.com/bitcoin-api/listtransactions I want to have reverse listing (oldest first), so I need to get total number of transaction returned ...
1 vote
1 answer
95 views

How to move sync's data to another partition after run Bitcoind for a while?

I have download a new bitcoin package from official site. And then I ran it with daemon mode also with default configuration (Default means not bitcoin.conf file was created in ~/.bitcoin/.bitcoin....
0 votes
1 answer
105 views

Error getting bitcoin block to process from DB

i am installing a full node on a linux server and i'm trying to connect to bitcoin with BIFROST(https://github.com/stellar/go/tree/master/services/bifrost) but i am getting the error below which ...
2 votes
1 answer
583 views

When I exit SSH session bitcoind goes down

I'm using Ubuntu 12.04. I've tested several scripts that try to get bitcoind running on startup but none have worked out for me. I'm getting a little bit desperate because I can't even get bitcoind ...
1 vote
1 answer
941 views

Can't connect to Bitcoin RPC on DigitalOcean server

I am running bitcoind on a DigitalOcean droplet with public IP address e.g. 1.1.1.1. I would like to connect to it via RPC from another DigitalOcean droplet with public IP address e.g. 2.2.2.2. Both ...
0 votes
2 answers
458 views

Successfully compile bitcoin without errors, but get 'Abort trap: 6' when I run /.bitcoind on Mac OSX

I compile bitcoin successfully without errors, but get 'Abort trap: 6' when I run /.bitcoind /bitcoin/src > ./bitcoind Abort trap: 6 Building with master branch lastest commit: https://github.com/...
2 votes
2 answers
82 views

Bitcoin core sync stuck with an error "peer=X is stalling block download"

I have installed bitcoin core (23.0) on a virtual machine (Debian GNU/Linux 10, x86_64) and tried to start the testnet initial block download. Unfortunately,a few days ago blockchain sync is stuck on ...
0 votes
1 answer
29 views

How can I take a "snapshot" of the bitcoin blockchain and analyze it?

What I want to do: Download the copy of bitcoin blockchain Select from it all those addresses that have bitcoins (> 0.05 BTC) and they have not been active for > 7 days Display statistics on ...
1 vote
1 answer
651 views

Failed to start lnd.service: Unit bitcoind.service not found. (lnd installation)

I installed my bitcoind and lnd correctly. I put my datadir=/mnt/vdb to bitcoind.conf file and it allows me to start bitcoind with this command: bitcoind -daemon. As a final step, I want to learn lnd ...
1 vote
2 answers
286 views

How to re-connect to `bitcoind -printtoconsole` after socket timeout?

I started bitcoind with the option -printtoconsole to check for errors and my terminal ssh connection was timed out during the night - probably because my computer was in hibernation. I see that the ...
0 votes
1 answer
14 views

When trying to run the make command I get the following error, I am working with M1 Machine for Mac

xxxxxxx@xxxx-MacBook-Pro bitcoin % make -j 1 Making all in src CXX bitcoind-bitcoind.o clang: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-...
2 votes
1 answer
1k views

Bitcoind is not syncing, why?

My log was stuck on this for 30 minutes: 2019-12-09T22:33:17Z txindex is enabled at height 0 2019-12-09T22:33:17Z txindex thread exit 2019-12-09T22:33:17Z Bound to [::]:8333 2019-12-09T22:33:17Z ...
2 votes
1 answer
408 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 (...
1 vote
2 answers
585 views

Bitcoind gui client, wallet client with peer preference, node manager

first time user here so politely point out any thing I have done wrong. I am looking for three things, but first let me explain the situation and use case: I am using bitcond full node on a headless ...
2 votes
1 answer
32 views

What can cause bitcoind to take a long time to shutdown?

I just installed Bitcoin Core on a new machine and completed IBD using dbcache ~24000. It took ~40 mins to shutdown for the first time (after running for about 24 hours and completing the IBD). I'm ...
0 votes
1 answer
1k views

Running a bitcoind docker

Thanks to the bitcoin.stack community I have successfully launched a bitcoind docker with an external volume which has the block data Currently its in 100% sync but I am facing an issue to get ...
0 votes
2 answers
34 views

bitcoind syncing headers but not blocks

I have bitcoind version 23.0 running on a machine in regtest mode. I then start another instance on another machine and perform addnode "x.x.x.x:xxxx" "add" to connect to the first ...
0 votes
0 answers
16 views

Outbound connections restricted to Tor but the proxy for reaching the Tor network is not provided

Following bitcoin.conf worked fine (version 22.0) to route all traffic over Tor but throws error after upgrade to version 23.0. assumevalid=0 disablewallet=1 dns=0 dnsseed=0 maxconnections=20 onlynet=...
0 votes
1 answer
101 views

Bitcoind Testnet time/timereceived constantly changing?

I've got a small question: over a week ago I did some transactions on the Bitcoin testnet as I am developing a new GUI header for full nodes. When continuing development today, I noticed that when ...
1 vote
1 answer
612 views

False error notifcation (double spent) 'code' => -4, 'message'

Now and than I seem to get a consistent false error notification. Error message: Request error: array ( 'code' => -4, 'message' => 'Error: The transaction was rejected! This might happen if some ...
0 votes
1 answer
204 views

Issues with stopping bitcoind after 22.0 update

My setup was originally Bitcoin core 0.21.0, with IBD done long time back. Now for some experimental purposes, I turned on txindex in bitcoin.conf and reindexing was happening for hours. In mid of it, ...
0 votes
1 answer
38 views

Specification of Bitcoin RPC getbalances

I would like to track balances using address, but I have a few questions. If I don't use the rescan option, will the balance be incorrect? Why is the balance off when I check it against an external ...
3 votes
1 answer
42 views

Bitcoin node gets stuck on a stale tip

o7 I'm having a issue with my node. I'm running it on a 2017 mba, and randomly it'll get stuck on a stale tip and apparently can't find the active branch, as it'll try for hours until manually ...
5 votes
2 answers
917 views

bitcond and bitcoin-Qt system configuration and bandwidth requirements

What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
0 votes
1 answer
457 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 ...
6 votes
1 answer
2k views

Get notified of incoming Bitcoin transaction, as soon as it broadcasted

After a few weeks of searching for an answer, I decided to ask here. I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an ...
1 vote
1 answer
187 views

Monitor a bunch of addresses for deposits

I have a situation where I create one address per user through GetNewAddress(User.Id) So, in the end, I have a lot of addresses to monitor, to see if any user has deposited money. I can do something ...
0 votes
1 answer
339 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 vote
1 answer
540 views

What was the bug for the Bitcoin value overflow in 2010?

In 2010, there was an incident of value overflow on Bitcoin. I am not a developer, but I want to know what the bug was in more detail. #1 is the only answer I found online, and #2-3 are my attempts to ...
0 votes
1 answer
115 views

Running bitcoind regtest with docker containers

I am running bitcoind regtest locally with the method from this article https://medium.com/ssde/how-to-use-docker-to-setup-multiple-bitcoin-test-nodes-on-your-own-mac-phase-i-8c6e5442c189. However, ...
2 votes
1 answer
570 views

bitcoind starting and then quickly shutting down automatically

Lenovo E460, 8GB RAM, Fedora 26, bitcoin core command line version 0.16.0, All blocks completely downloaded on a flash drive with 256GB capacity. I rebooted my machine today without stopping the ...
3 votes
2 answers
5k views

bitcoind error "mempool min fee not met" preventing me from sending btc on blockchain

When I want to send btc in block chain this message is appearing: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error #-26: 66: mempool min fee not met, code=-26). Who ...
0 votes
1 answer
59 views

How do I use bitcoind to spend from private key but not store it

I understand that I need to import a private key in order to spend bitcoins, would it be possible to generate/use an address without storing or the server having the private keys in the server Ive ...
0 votes
1 answer
73 views

Getbalance amount 0 aftering generating blocks with bitcoin-cli

After starting bitcoind bicoind -regtest -daemon then i load one of the wallets i created bitcoin-cli -regtest loadwallet "wallet-name". The wallet loads fine but no matter how many blocks i ...
0 votes
1 answer
54 views

How to serialize the CBlock Class in C++ and print the hex to terminal?

I have tried to serialize as follows without success: bitcoin tag v22.0 from github. In the file src/miner.cpp and the function function std::unique_ptr<CBlockTemplate> BlockAssembler::...
2 votes
1 answer
168 views

Wallet for btc bot

Which bitcoin wallet should I use to manipulate it programmatically? I don't want to use heavy bitcoin-core. But as I understand there are different kinds of bitcoin's thin clients: some outsource ...
0 votes
1 answer
422 views

Manage multiple users wallets for web wallet service

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried ...
0 votes
1 answer
48 views

Is it possible to forward signed transaction using bitcoind prune mode?

Summary: Is it possible to perform createrawtranscation , signrawtransaction and sendrawtransaction rpc call using bitcoin in prune mode? Detail : I want to implement an API that performs p2p BTC ...
0 votes
0 answers
14 views

bitcoin TransactionBuilder is not a constructor

I'm trying to send bitcoin with the bitcoinjs-lib library and I get the following error: TypeError: bitcoin.TransactionBuilder is not a constructor at sendmoney (/Users/....../bitcoin.js:53:18) at ...
0 votes
0 answers
24 views

Why my node1 can's sync from the other node through RPC command "addnode IP:port onetry"?

I'm using bitcoin core 22.0 to start two nodes in two different containers in the same VMware ubuntu18.04, with network mode using Host-Only(I will talk about the reason later). What my aim to do so ...
0 votes
1 answer
100 views

Transaction net gain/loss

I have a TXid in my wallet that contains multiple transactions (multiple sends and receives). From what I read these are transactions the network creates facilitate splitting/combining multiple inputs/...
0 votes
1 answer
126 views

Keeping wallet addresses outside bitcoin core

I'm trying to build a good security for my online bitcoin based application. Is something like this possible? send_bitcoin(address) create_address() sweep_balances() + | | ...
4 votes
1 answer
982 views

How do I prevent Bitcoin from synchronizing?

I have a script that uses Bitcoin's RPC interface and takes a lot of CPU to run, and I don't want Bitcoin to be verifying blocks while I do it. Is there a config setting or an RPC call I can use to ...

1
2 3 4 5
45