diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-21 00:27:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-21 00:27:26 +0800 |
commit | c642094cac6ee6fb0215d7510cc57a719c2a2689 (patch) | |
tree | cca9371885a4f613b78bd37e9b1c4de213a4b26d /ethutil/rlp.go | |
parent | 3520771d68df1e9becfb29cc2f85d7042f3fb9d1 (diff) | |
download | dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.gz dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.bz2 dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.lz dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.xz dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.tar.zst dexon-c642094cac6ee6fb0215d7510cc57a719c2a2689.zip |
Added encoder interface
Diffstat (limited to 'ethutil/rlp.go')
-rw-r--r-- | ethutil/rlp.go | 4 |
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 } |