dbkeys

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ObjectTypeDBSchemaVersion = byte(iota) + 'A'
	ObjectTypeChainRecord
	ObjectTypeCommitteeRecord
	ObjectTypeDistributedKeyData
	ObjectTypeState
	ObjectTypeTrie
	ObjectTypeBlock
	ObjectTypeNodeIdentity
	ObjectTypeBlobCache
	ObjectTypeBlobCacheTTL
	ObjectTypeTrustedPeer
	ObjectTypeConsensusJournal
)

Variables

This section is empty.

Functions

func MakeKey

func MakeKey(objType byte, keyBytes ...[]byte) []byte

MakeKey makes key within the partition. It consists of one byte for object type and arbitrary byte fragments concatenated together

Types

This section is empty.

Jump to

Keyboard shortcuts

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