Update today, add hook writing guide
This commit is contained in:
+13
-8
@@ -4,7 +4,7 @@
|
||||
Basic Types of Plugins
|
||||
======================
|
||||
|
||||
While PluGeth has been designed to be versatile and customizable, when learning the project it can be helpful to think of plugins as being of four different archetypes.
|
||||
While PluGeth has been designed to be versatile and customizable, when learning the project it can be helpful to think of plugins as being of four different archetypes.
|
||||
|
||||
.. contents:: :local:
|
||||
|
||||
@@ -17,12 +17,12 @@ These plugins provide new json rpc methods to access several objects containing
|
||||
Subcommand
|
||||
------------
|
||||
|
||||
A subcommand redifines the total behavior of Geth and could stand on its own. In contrast with the other plugin types which, in general, are meant to capture and manipulate information, a subcommand is meant to change to overall behavior of Geth. It may do this in order to capture information but the primary fuctionality is a modulation of geth behaviour.
|
||||
A subcommand redifines the total behavior of Geth and could stand on its own. In contrast with the other plugin types which, in general, are meant to capture and manipulate information, a subcommand is meant to change to overall behavior of Geth. It may do this in order to capture information but the primary fuctionality is a modulation of geth behaviour.
|
||||
|
||||
Tracers
|
||||
-------
|
||||
|
||||
Tracers rely on historic data recompiled after execution to give insight into a transaction.
|
||||
Tracers rely on historic data recompiled after execution to give insight into a transaction.
|
||||
|
||||
**placeholder for eventual discusion of LiveTracers**
|
||||
|
||||
@@ -30,13 +30,18 @@ Tracers rely on historic data recompiled after execution to give insight into a
|
||||
Subscriptions
|
||||
-------------
|
||||
|
||||
Subscriptions provide real time notification of data from the EVM as it processes transactions.
|
||||
Subscriptions provide real time notification of data from the EVM as it processes transactions.
|
||||
|
||||
.. NOTE:: Plugins are not limited to a singular functionality and can be customized to operate as hybrids of the above. See `blockupdates`_ as an example.
|
||||
.. NOTE:: Plugins are not limited to a singular functionality and can be customized to operate as hybrids of the above. See `blockupdates`_ as an example.
|
||||
|
||||
.. todo:: Austin: I don't love this page. The informations is too
|
||||
shallow.
|
||||
.. todo:: Austin: I don't love this page. The informations is too
|
||||
shallow.
|
||||
|
||||
Reply: I'd be inclined to add links out to the tutorial page for each
|
||||
of the types. I think it's useful to have brief descriptions of each
|
||||
type in one place, but putting each of the tutorials all on one page
|
||||
is a bit much. It might also be a good idea to link to real plugins
|
||||
that exemplify each type, though we won't have one of each type yet.
|
||||
|
||||
|
||||
.. _blockupdates: https://github.com/openrelayxyz/plugeth-plugins/tree/master/packages/blockupdates
|
||||
|
||||
|
||||
Reference in New Issue
Block a user