loomchain icon indicating copy to clipboard operation
loomchain copied to clipboard

Make it possible to disable use of auxiliary EVM store (aka receipts_db)

Open enlight opened this issue 5 years ago • 2 comments

Everything currently being written to receipts_db isn't necessary for consensus, so it should be possible to disable all writes to this DB on certain nodes. The receipts are only really needed on the nodes that handle queries from users.

enlight avatar Sep 18 '19 06:09 enlight

Can we just set maxReceipts to 0?

pathornteng avatar Sep 18 '19 07:09 pathornteng

Dunno, but it's not just receipts we need to disable, everything else that's stored in that DB needs to be disabled too, bloom filters, tx hash index, etc.

enlight avatar Sep 18 '19 07:09 enlight