plugeth/plugins
Austin Roberts bc14d12fd7 Use the statedb database to get Tries
The old approach of getting state tries involved instantiating a
new state database and using it to instantiate a trie. What we didn't
realize was that state database needed to have Close() called on it,
which we didn't offer a way for plugins to do, resulting in memory
leaking.

This approach reuses the primary trie database associated with the
blockchain object, albeit a bit indirectly. This will allow access
to recent tries that are stored in memory, where previously only
tries that had been committed to disk were accessible.
2023-12-06 16:10:17 -06:00
..
interfaces Merge feature/merge-v1.10.18-attempt-two 2022-05-25 13:07:38 -07:00
test-plugin Added PluginEIPCheck to test plugin 2023-10-23 18:41:19 -07:00
wrappers Use the statedb database to get Tries 2023-12-06 16:10:17 -06:00
hooktester.go Add plugin hook tester 2021-08-25 14:00:27 -05:00
plugin_loader.go Add genesis block hook 2023-10-02 13:20:54 -05:00