diff options
author | Determinant <[email protected]> | 2020-08-03 17:16:53 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-08-03 17:16:53 -0400 |
commit | c73ba009031126e16da6999468851b33f93e8005 (patch) | |
tree | 961111c84794cf3807946d073bcef36ec8ba6025 /consensus/consensus.go | |
parent | 746a107e2a7bb1f66049240d320e29d0a0536eae (diff) |
allow using extra binary data in a block for state transition
Diffstat (limited to 'consensus/consensus.go')
-rw-r--r-- | consensus/consensus.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/consensus/consensus.go b/consensus/consensus.go index 93fc9dc..603a3e9 100644 --- a/consensus/consensus.go +++ b/consensus/consensus.go @@ -114,6 +114,8 @@ type Engine interface { // Close terminates any background threads maintained by the consensus engine. Close() error + + ExtraStateChange(block *types.Block, statedb *state.StateDB) error } // PoW is a consensus engine based on proof-of-work. |