Commit c642094c authored by obscuren's avatar obscuren

Added encoder interface

parent 3520771d
...@@ -9,6 +9,10 @@ import ( ...@@ -9,6 +9,10 @@ import (
"math/big" "math/big"
) )
type RlpEncodable interface {
RlpEncode() []byte
}
type RlpEncoder struct { type RlpEncoder struct {
rlpData []byte rlpData []byte
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment