Documentation ¶
Overview ¶
* * @file * @copyright defined in go-seele/LICENSE
Index ¶
Constants ¶
View Source
const (
// HashLength the leghth of hash
HashLength = 32
)
Variables ¶
This section is empty.
Functions ¶
func ConvertInt64ToBytes ¶
ConvertInt64ToBytes Converts a int64 value into a byte array
func Deserialize ¶
Deserialize wrapper decode
func SerializePanic ¶
func SerializePanic(in interface{}) []byte
SerializePanic serialize the input data to byte array. Panics on error, e.g. unsupported data type for RLP encoding.
Types ¶
type Address ¶
type Address [addressIDBits / 8]byte
Address we use public key as node id
func GenerateRandomAddress ¶
func HexToAddress ¶
func NewAddress ¶
NewAddress converts a byte slice to a Address
Click to show internal directories.
Click to hide internal directories.