philip-morlier
b3f1d35171
functional test plugin.
...
This PR will also include the stand alone tests.
2023-06-22 01:05:10 -07:00
philip-morlier
fee25089a9
Added HookTester back into main.
2023-06-14 22:24:08 -07:00
philip-morlier
1bf1a5634e
Merge remote-tracking branch 'origin/develop' into feature/old-consensus-engine
2023-06-13 22:52:01 -07:00
philip-morlier
d8d864768a
Updated mod and sum to reflect v1.2.0
...
Also changed the injection and hook from hooktester to blockchain().
2023-06-12 13:37:29 -07:00
philip-morlier
7434ccb8c8
Initial commit of stand alone consensus engine work.
2023-06-12 09:52:46 -07:00
philip-morlier
7f1b5c5f9b
Progress made on 3/24/23
2023-03-24 16:05:39 -07:00
Austin Roberts
b45c9e8e03
Add OnShutdown hook
...
This will allow plugins to clean up resources that need to be
properly shutdown before Geth terminates.
2022-07-29 15:34:45 -05:00
philip-morlier
411a43e378
updated cmd/geth/plugin_hooks.go and plugins/plugin_loader.go to reflect changes re core.logger, updated go.mod and go.sum to address dependency issues
2021-09-09 12:51:13 -07:00
Austin Roberts
d9d51dd345
update plugeth-utils version
2021-08-31 15:29:09 -05:00
Austin Roberts
6e4c285ed1
Add state update hooks
2021-07-12 14:45:42 -05:00
Austin Roberts
4dd3527541
Fix tracer loading
2021-06-25 23:27:09 -05:00
Austin Roberts
03808de29a
Refactor plugin system
...
When the plugin loader itself had to know the types in the arguments
and return values of the plugin functions, it was very difficult to
avoid import loops, given that the types were often defined in the
same package that needed to invoke the plugins.
Under this model, the plugin loader has much less knowledge of the
plugins themselves, and within each package we define functions to
interact with the plugins.
2021-06-25 22:46:17 -05:00