Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
8 votes

How to tell bitcoind to use more memory and CPU

It will by default use all CPU cores available. However, if the database cache is too small, your node will spend its time fetching and writing database entries from/to disk, rather than verification ...
Pieter Wuille's user avatar
6 votes
Accepted

Is it possible to share blockchain data between multiple nodes?

I don't think this is possible; you'd have multiple node instances trying to read/write a single data directory. This is not the intended operation, you'd likely end up with corrupt data. If you ...
chytrik's user avatar
  • 18.3k
6 votes
Accepted

Is Bitcoin Core storage compatible across different machine architecture?

The database format is supposed to be compatible across architectures.
Pieter Wuille's user avatar
6 votes

Can a raspberry pi zero run bitcoin core 0.16.1 and sync up without downloading the entire blockchain?

You can't avoid downloading the block chain with Bitcoin Core or any other full node. That is inherent to their functioning. You don't have to store it, however, if you enable pruning. This would ...
Nate Eldredge's user avatar
6 votes
Accepted

bitcoind no such file or directory when trying to execute on Ubuntu for Raspberry Pi 4

Edit: you’re using the wrong architecture bitcoind binary, gnueabihf means armv7 hard float, which is 32-bit. There are 3 possibilities: Download the correct Bitcoin binary for arm64 architecture (...
leshik's user avatar
  • 96
4 votes
Accepted

Can you run a bitcoin lightning node on a raspberry pi zero?

Will a bitcoin lightning node run on a raspberry pi zero? This probably depends on what you are doing on the node, how much traffic it gets, etc. I have one running on a Raspberry Pi 3B with ...
JBaczuk's user avatar
  • 7,408
4 votes
Accepted

Efficient way to migrate a pruned node

Copying .bitcoin folder should work. Make sure bitcoind is not running (try ps -ef | grep bitcoin) before you attempt to copy. Also make sure bitcoin.conf is same in both places Also, change the ...
dark knight's user avatar
  • 2,017
4 votes

How does bitcoind choose its data directory?

Unless explicitly told otherwise, the datadir is always placed in /home/$USER/.bitcoin, there is no logic for automatically using any location other than this. The configuration file is always in the ...
Claris's user avatar
  • 15.4k
3 votes

Install bitcoin core on raspberry pi 3

It does work. Yes you need an external HD for the blockchain data (unless you want to run a pruned node) and Raspian is fine. In my opinion the best tutorial for setting up a full node on RP3 is ...
Britt Kelly's user avatar
3 votes

How does bitcoind choose its data directory?

One of the ways of pointing to your data directory is making a change to your bitcoin.conf file (it's usually located in ~/.bitcoin/bitcoin.conf path) Add the line: datadir = /...
Tony Sanak's user avatar
  • 1,689
3 votes

How does bitcoind choose its data directory?

When you start bitcoind, you can specify a non-default data directory: $ bitcoind datadir=/your/custom/filepath This will override the option set in the bitcoin.conf file, if there is one set there....
chytrik's user avatar
  • 18.3k
3 votes
Accepted

My lightning node is unreachable and lightning-rpc': Connection refused

The first error you are seeing might be related to a previous peer that is no longer reachable. The type of the error (Failed to connect 10 socket: Network is unreachable) suggests that it is using a ...
cdecker's user avatar
  • 9,508
3 votes

Why is initial block download slow on Raspberry Pi 4 with SSD?

My best guess is: The RPi4 CPU is just way slower than the laptop CPU. They're both old designs (the RPi4 CPU from 2015, the laptop CPU from 2013), but the RPi4 one is significantly lower-power, and ...
Pieter Wuille's user avatar
3 votes
Accepted

UTXOs set size for small node

Bitcoin Core adds outputs to the UTXO cache either when they are newly created, or when they’re spent by inputs in transactions the node learns about. Whenever the node’s dbcache is full, it flushes ...
Murch's user avatar
  • 75.7k
2 votes

How to update my RaspNode? no GUI only CLI

You should uninstall the installed version first completely with sudo apt-get remove bitcoind before manually building the binaries from source. Make sure that you backup your wallet (and eventually ...
Tarator's user avatar
  • 188
2 votes
Accepted

Can a raspberry pi zero run bitcoin core 0.16.1 and sync up without downloading the entire blockchain?

Like others have answered, you don't need to store the entire blockchain, in your bitcoin.conf file, you can just specify the number of blocks to keep and the old blocks will be pruned. I was doing ...
ooomid's user avatar
  • 354
2 votes
Accepted

Step by Step instructions on installing Bitcoin Core 0.14 on Raspberry Pi Zero and 1/2/3?

This is a guide I used to install a full node on a Raspberry Pi 3B with 1GB of RAM. You have to compile the code and therefore need a RAM swap on an external HDD. Make sure it is mounted correctly, or ...
bomben's user avatar
  • 518
2 votes

Could the $25/£16 Raspberry Pi computer be used to run mining equipment?

Reading this in 2017 with a chuckle. The Pi is pretty much the defacto controller due to its low cost and energy use. I have one running an ASIC over USB with cgminer, compiled on the Pi. Some of ...
Alan Corey's user avatar
2 votes
Accepted

Is it actually possible to install Bitcoin full node on a Raspberry Pi 3B+?

I have a Bitcoin full node perfectly running on my raspberry pi 3B (of course, without mining). The biggest constraint in the installation of bitcoin core (though there are also other implementation ...
dcfg's user avatar
  • 404
2 votes

Where can I find a usefull log if bitcoind stopped for no apparent reason?

That sounds like it's going out of memory and is killed by the system. Especially on a low-memory device like an RPi3 this seems very likely. For information on how to reduce bitcoind memory usage, ...
Pieter Wuille's user avatar
2 votes

EXCEPTION: 15dbwrapper_error

Your database is corrupted. This probably means the RPi overheated, or its storage is crappy. This is not unusual for RPi class hardware. To recover, you'll need to reindex.
Pieter Wuille's user avatar
2 votes

Only 10 connections on my raspberry pi full node

bind=127.0.0.1 Binding the p2p port to localhost means that it can not accept incoming connections from anywhere other than software on your own machine. listen=1 #enable download of new data This ...
Claris's user avatar
  • 15.4k
2 votes

Why is initial block download slow on Raspberry Pi 4 with SSD?

I can think of two possible reasons: One, the CPU in the PI is much slower. The M92p uses an x86_64 CPU architecture, while the Pi uses an ARM CPU. CISC processors use more power, but are much faster ...
Murch's user avatar
  • 75.7k
2 votes

I Can't Get Inbound Connections to My Node

I was unaware that Uncomplicated Firewall ufw was installed on my Raspberry Pi. When I ran the command below I found the following. sudo ufw status verbose Status: active Logging: on (low) Default: ...
jctbtc's user avatar
  • 141
1 vote

What role has bitcoin-init as a process?

With the order, I will try to response to your question. According to this thread I assume that the daemon process bitcoind has been renamed to bitcoin-init but I am not sure if I understood that ...
vincenzopalazzo's user avatar
1 vote
Accepted

How to ./configure a built for Raspberry Pi?

You can follow the instructions for Debian at the build docs: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md For Berkely DB, specifically: Berkeley DB It is recommended to use ...
JBaczuk's user avatar
  • 7,408
1 vote

Remote SSH connection to Raspibolt Lightning Network Node

About your specific setup we would need more information to trouble-shoot but here are some general network debugging steps I take - Start at the lowest level RPIs come with SSH enabled by default ...
PW Kad's user avatar
  • 171
1 vote

How to completely remove Bitcoin Lightning from Raspberry Pi

I don't know which Lightning Network node your are running but since you are talking about bitcoin core and not btcd I assume you run c-lightning. There you should be able to remove everything with ...
Rene Pickhardt's user avatar
1 vote

Is it still possible to do cpu mining for experimenting?

Yes it is technically feasible to solo mine with a rpi3. The 'fastest' miner you could run would be minerd. However, there is a slim-to-none chance you will ever mine a block on the bitcoin mainnet, ...
lastcanal's user avatar
  • 616
1 vote

Bitcoin full node installation on Raspberry Pi3 not working

Looks like libboost is not installed? Try: apt install libboost-all-dev -y Then rebuild: ./autogen.sh; ./configure; make
Luke Mlsna's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible