util

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0, ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SameShardID added in v0.1.1

func SameShardID(id *uint256.Int, hashValue []byte) *uint256.Int

SameShardID creates ID that resides in the same shard. By taking first 4 bytes from id and last 28 bytes from the hashValue.

func SameShardIDBytes added in v0.1.1

func SameShardIDBytes(id *uint256.Int, hashValue []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL