How to flush bitcoind cache?

How to flush bitcoind cache?

I have been working with a bitcoin full node trying to implement a personal blockchain explorer using RPC API calls to populate an external database.

After trying to gather some statistics on RPC call speeds I noticed that there seems to be some form of caching. Not sure if this is cached on the daemon side or with the levelDB.

My goal is to compare a getRawTransaction call for each transaction vs a batch getRawTransaction call, however caching makes it quite difficult to gather stats.

Is there anyway to flush cache with bitcoind?

https://ift.tt/2PKeNy1

Comments

Popular posts from this blog

Is there any python library could be used to decodescript in output

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

How to discover startup flags or command-line options for bitcoind?