24 lines
250 B
Go
24 lines
250 B
Go
package state
|
|
|
|
import (
|
|
"math/rand"
|
|
"time"
|
|
|
|
ethcmn "github.com/ethereum/go-ethereum/common"
|
|
)
|
|
|
|
type (
|
|
kvPair struct {
|
|
key, value []byte
|
|
}
|
|
|
|
code struct {
|
|
hash ethcmn.Hash
|
|
blob []byte
|
|
}
|
|
)
|
|
|
|
func init() {
|
|
rand.Seed(time.Now().UnixNano())
|
|
}
|