aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/rlp.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-11 22:23:38 +0800
committerobscuren <geffobscura@gmail.com>2014-08-11 22:23:38 +0800
commita760ce05b948e89bc564af20599dcf95698ac0eb (patch)
treee9a1f0161521bc895de45e683ba6904a0d4923f9 /ethutil/rlp.go
parent2e5d28c73f1d97865def3ffe8c7ad0a4819f15f3 (diff)
downloaddexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.gz
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.bz2
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.lz
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.xz
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.tar.zst
dexon-a760ce05b948e89bc564af20599dcf95698ac0eb.zip
Updated chain for filtering
Diffstat (limited to 'ethutil/rlp.go')
-rw-r--r--ethutil/rlp.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/ethutil/rlp.go b/ethutil/rlp.go
index cf7f97ffd..17ff627eb 100644
--- a/ethutil/rlp.go
+++ b/ethutil/rlp.go
@@ -2,15 +2,16 @@ package ethutil
import (
"bytes"
- _ "encoding/binary"
"fmt"
- _ "log"
- _ "math"
"math/big"
)
-type RlpEncodable interface {
+type RlpEncode interface {
RlpEncode() []byte
+}
+
+type RlpEncodeDecode interface {
+ RlpEncode
RlpValue() []interface{}
}