Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KeyLedgertreeRoot is root of Ledgertree. KeyLedgertreeRoot = "LEDGERTREE_ROOT" // KeyLedgertreeLastnodehash is the Last node hash of Ledgertree. KeyLedgertreeLastnodehash = "LEDGERTREE_LASTNODEHASH" // KeyLedgertreeSize is the size of Ledgertree. KeyLedgertreeSize = "LEDGERTREE_SIZE" // KeyShardHeight is shard height. KeyShardHeight = "SHARD_HEIGHT_%d" // KeyStorageShardheight is shard height of storage node. KeyStorageShardheight = "STORAGE_SHARDHEIGHT" // KeyNodeCursor is node cursor. KeyNodeCursor = "NODE_CURSOR" )
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
BytesToInt64 transform the byte array to int64.
func GetShardHeightKey ¶
GetShardHeightKey returns the shard key by given shard.
func RedirectLog ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.