nimbus-eth1/nimbus/db
jangko baf508f6ae
move stateDB from VMState to chainDB
previously, every time the VMState was created, it will also create
new stateDB, and this action will nullify the advantages of cached accounts.

the new changes will conserve the accounts cache if the executed blocks
are contiguous. if not the stateDB need to be reinited.

this changes also allow rpcCallEvm and rpcEstimateGas executed properly
using current stateDB instead of creating new one each time they are called.
2021-10-28 18:57:08 +07:00
..
access_list.nim EIP2929 implementation 2021-01-11 14:56:42 +07:00
accounts_cache.nim move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
capturedb.nim rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
db_chain.nim move stateDB from VMState to chainDB 2021-10-28 18:57:08 +07:00
geth_db.nim allow nimbus to read geth database 2020-06-18 13:16:25 +07:00
select_backend.nim Add a first, simple, content network test (#760) 2021-07-15 15:12:33 +02:00
state_db.nim rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
storage_types.nim Eip225 clique/PoA consensus protocol 2021-06-17 08:03:57 +01:00