aboutsummaryrefslogtreecommitdiffstats
path: root/core/types/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/types/common.go')
-rw-r--r--core/types/common.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/types/common.go b/core/types/common.go
new file mode 100644
index 000000000..ba88b77e1
--- /dev/null
+++ b/core/types/common.go
@@ -0,0 +1,11 @@
+package types
+
+import (
+ "math/big"
+
+ "github.com/ethereum/go-ethereum/state"
+)
+
+type BlockProcessor interface {
+ Process(*Block) (*big.Int, state.Messages, error)
+}