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

sendrawtransaction and txn-mempool-conflict

couldn't connect to server: EOF reached (code 1)