aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-21 00:27:26 +0800
committerobscuren <geffobscura@gmail.com>2014-03-21 00:27:26 +0800
commitc642094cac6ee6fb0215d7510cc57a719c2a2689 (patch)
treecca9371885a4f613b78bd37e9b1c4de213a4b26d /ethutil
parent3520771d68df1e9becfb29cc2f85d7042f3fb9d1 (diff)
downloadgo-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.gz
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.bz2
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.lz
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.xz
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.zst
go-tangerine-c642094cac6ee6fb0215d7510cc57a719c2a2689.zip
Added encoder interface
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/rlp.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethutil/rlp.go b/ethutil/rlp.go
index e633f5f1d..33ec0d359 100644
--- a/ethutil/rlp.go
+++ b/ethutil/rlp.go
@@ -9,6 +9,10 @@ import (
"math/big"
)
+type RlpEncodable interface {
+ RlpEncode() []byte
+}
+
type RlpEncoder struct {
rlpData []byte
}