mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-19 09:30:41 +00:00
Added encoder interface
This commit is contained in:
parent
3520771d68
commit
c642094cac
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ import (
|
|||
"math/big"
|
||||
)
|
||||
|
||||
type RlpEncodable interface {
|
||||
RlpEncode() []byte
|
||||
}
|
||||
|
||||
type RlpEncoder struct {
|
||||
rlpData []byte
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue