package
1.2.17
Repository: https://github.com/hubmakerlabs/replicatr.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetAsBytes todo wat is dis?.
No description provided by the author

# Constants

Counter is the eventid.T prefix, value stores the average time of access (average of all access timestamps) and the size of the record.
CreatedAt creates an index key that contains the unix timestamp of the event record serial.
Event is the prefix used with a Serial counter value provided by badgerDB to provide conflict-free 8 byte 64-bit unique keys for event records, which follows the prefix.
Id contains the first 8 bytes of the ID of the event and the 8 byte Serial of the event record.
Kind contains the kind and datestamp.
No description provided by the author
Pubkey contains pubkey prefix and timestamp.
PubkeyKind contains pubkey prefix, kind and timestamp.
Tag is for miscellaneous arbitrary length tags, with timestamp and event serial after.
Tag32 contains the 8 byte pubkey prefix, timestamp and serial.
TagAddr contains the kind, pubkey prefix, value (index 2) of address tag (eg relay address), followed by timestamp and serial.
Version is the key that stores the version number, the value is a 16-bit integer (2 bytes) [ 255 ][ 2 byte/16 bit version code ].

# Variables

FilterPrefixes is a slice of the prefixes used by filter index to enable a loop for pulling events matching a serial.
KeySizes are the byte size of keys of each type of key prefix.

# Structs

No description provided by the author

# Type aliases

No description provided by the author