Hot answers tagged

19 votes
Accepted

How to run bitcoind in a low memory environment

The largest consumers of memory are: The memory pool (reduce with -maxmempool, or disable entirely with -blocksonly if you don't care about unconfirmed transactions). The UTXO cache (reduce with -...
user avatar
5 votes

How to run bitcoind in a low memory environment

Followed your parameter: bitcoind -blocksonly=1 -dbcache=50 -maxorphantx=10 -maxmempool=100 & Now I have only 286M memory used with bitcoind running.
user avatar
5 votes
Accepted

Bitcoind Node crashes after using -dbcache option

You are allocating far too much dbcache. If you allocate 4000 MB to the dbcache, you will use up all of your RAM and it will crash. Your operating system needs RAM, Bitcoin Core itself needs RAM ...
user avatar
  • 62.4k
4 votes
Accepted

When the UTXO in the cache is full, what strategy is used to replace one UTXO with another in the cache?

The UTXO set cache is not a fixed size and the limit isn't a hard limit. New entries can be added to the cache without regards for the maximum cache size. In fact, the cache object itself doesn't even ...
user avatar
  • 62.4k
3 votes

What is the optimal Bitcoin Core 0.17 settings in bitcoin.conf settings for running a full node with a very beefy system?

dbcache is the only significant performance influencing option. Performance may be improved somewhat by increasing receive and send buffer sizes. You don't specify exactly what application's you're ...
user avatar
  • 7,519
3 votes
Accepted

What is in the Bitcoin Core LevelDB dbcache? Is it full records or metadata?

The Bitcoin Core documentation describes dbcache as the cache for the UTXO database. Wikipedia describes a cache as a: software component that stores data so that future requests for that data can be ...
user avatar
3 votes
Accepted

What is the data structure of the signature cache in Bitcoin?

The signature cache is basically a set of public key, message hash, and signature tuples. When there is a valid pubkey, message hash, and signature combination, all of those are hashed together with ...
user avatar
  • 62.4k
3 votes
Accepted

What do these memory configurations in debug.log of BitCoin Core represent?

The block index and chain state databases are LevelDB databases. LevelDB has its own caching and cache management. So 2 MiB is being allocated for the block index's LevelDB database cache, and 8 MiB ...
user avatar
  • 62.4k
3 votes

What should I do about these messages in Bitcoin-core's debug-log?

These messages may be confusing, but there is nothing wrong. Let me go over them: FlushStateToDisk: write coins cache to disk (coins, kB) completed (s) , OK This means that the contents of the ...
user avatar
1 vote
Accepted

What is maxsigcachesize?

Bitcoin Core caches the outcome of script and signature validations, so that when they are reoccur, they don't need to be repeated. A common case for this reoccurrence is the fact that typical ...
user avatar
1 vote
Accepted

Are there any other ways of speeding up the building of Bitcoin Core PRs other than ccache?

Will Clark answered this question on IRC. You can reduce the time it takes to run ./configure by using ./configure -q -C. -q is quiet and -C removes terminal printing and uses a cache (like ccache). ...
user avatar
1 vote
Accepted

What is ccache? When should I use it when building and reviewing Bitcoin Core PRs?

The tool ccache helps store intermediate compilation results, so if you changes branches often, and rebuild, it can significantly speed up doing so. To use it, you install ccache for your platform. ...
user avatar

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