Skip to main content

Questions tagged [cache]

Uses of caching in Bitcoin related software projects (e.g. Bitcoin Core) and how they can be used to speed up builds

Filter by
Sorted by
Tagged with
3 votes
1 answer
322 views

I am currently working on a script that parses every BTC transaction from the beginning of the blockchain. My goal is to record summaries about each transaction in database, after synthesizing it. ...
Lev's user avatar
  • 75
0 votes
0 answers
53 views

I am trying to initialize a fully functional working mainnet node. The initial download with bitcoind works fine until the cache reaches around 600MiB. After which it crashes. The entire 600MiB is ...
Sumitava Biswas's user avatar
6 votes
1 answer
359 views

Bitcoin Core has a cache for transactions that aren't in the node's mempool but could be in other mempools, and so are cached for improved compact block reconstruction. This cache holds up to 100 ...
Vojtěch Strnad's user avatar
3 votes
2 answers
2k views

Help, with bitcoin core : AFTER the Rescan : 1 - rescan 2 - response output, on the debug file out: 3 - FlushStateToDisk: write coins cache to disk (coins, kB) completed (s) , OK 4 - Imported mempool ...
signbertrand's user avatar
1 vote
1 answer
112 views

-maxsigcachesize= Limit sum of signature cache and script execution cache sizes to What is this? What is a sigcache? What happens if it is set low and Can it have a bad effect?
Ben Muircroft's user avatar
1 vote
1 answer
123 views

There is a signature cache in Bitcoin, which is used to cache the result of signature verification to avoid extra signature verification. What data is stored in the signature cache? Is it stored in ...
GoneV's user avatar
  • 195
2 votes
1 answer
357 views

In the debug.log file of BitCoin Core, the cache configuration is described as follows. Cache configuration: Using 2.0 MiB for block index database Using 8.0 MiB for chain state database Using ...
GoneV's user avatar
  • 195
1 vote
0 answers
66 views

Please correct me if I am wrong. Bitcoin uses levelDB to store UTXO set. LevelDB has a default 8MB block cache, and the Bitcoin also has a dbcache(default 450MB). What is the relationship between the ...
GoneV's user avatar
  • 195
4 votes
0 answers
180 views

The source code is as follows: //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 450; //! -dbbatchsize default (bytes) static const int64_t nDefaultDbBatchSize = 16 << 20; //...
GoneV's user avatar
  • 195
5 votes
1 answer
2k views

In contrast to this question about running Bitcoind in a low-memory environment, I have an opposite use-case. I want to run a bitcoind full node (no wallet) on a Linux server with lots of memory but ...
intelfx's user avatar
  • 153
6 votes
1 answer
490 views

The UTXO set is stored on the disk, but some UTXOs are also stored in the cache. When validating a transaction, you need to query the UTXO pointed to by the input of the transaction. First, you go to ...
GoneV's user avatar
  • 195
2 votes
1 answer
77 views

I am already using ccache to speed up recompilation when building Bitcoin Core PRs. Are there any other ways of speeding up the process?
Michael Folkson's user avatar
3 votes
1 answer
1k views

What is in the Bitcoin Core LevelDB dbcache? Is it full records or metadata? This question was asked on IRC by Anonymous.
Michael Folkson's user avatar
1 vote
2 answers
367 views

What is ccache? Can you provide some guidance on when to use it for building Bitcoin Core PRs and how to use it?
Michael Folkson's user avatar
2 votes
1 answer
5k views

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 -...
nakamoto_connection's user avatar
4 votes
1 answer
2k views

Is there an optimal bitcoin.conf setting file I should use when running a bitcoin core full node? I have a very beefy system with 16 core processor, 32gb ram, and nvme hard drive. I wan't to be able ...
Patoshi パトシ's user avatar
17 votes
2 answers
10k views

I have a Raspberry Pi with 925 MB of memory. Bitcoin Core, operating as a full node, uses between 600-900 MB. How can I reduce bitcoind's memory usage? I tried setting maxmempool to its minimum ...
Geremia's user avatar
  • 5,001
7 votes
3 answers
7k views

Bitcoin is very disk-intensive and that slows it down. It seems to flush data to disk often thus preventing proper caching. With the datadir on a RAMdisk it is much faster. Is it possible to increase ...
kermit's user avatar
  • 2,049
8 votes
1 answer
267 views

I´m asking this because a possible attack would be to send an flooding number of orphan transactions, which will never be redeemed. Then clients would have to cache them, increasing storage ...
SDL's user avatar
  • 589