forked from LBRYCommunity/lbry-sdk
41 lines
810 B
Python
41 lines
810 B
Python
import enum
|
|
|
|
|
|
@enum.unique
|
|
class DB_PREFIXES(enum.Enum):
|
|
claim_to_support = b'K'
|
|
support_to_claim = b'L'
|
|
|
|
claim_to_txo = b'E'
|
|
txo_to_claim = b'G'
|
|
|
|
claim_to_channel = b'I'
|
|
channel_to_claim = b'J'
|
|
|
|
claim_short_id_prefix = b'F'
|
|
effective_amount = b'D'
|
|
claim_expiration = b'O'
|
|
|
|
claim_takeover = b'P'
|
|
pending_activation = b'Q'
|
|
activated_claim_and_support = b'R'
|
|
active_amount = b'S'
|
|
|
|
repost = b'V'
|
|
reposted_claim = b'W'
|
|
|
|
undo_claimtrie = b'M'
|
|
|
|
HISTORY_PREFIX = b'A'
|
|
TX_PREFIX = b'B'
|
|
BLOCK_HASH_PREFIX = b'C'
|
|
HEADER_PREFIX = b'H'
|
|
TX_NUM_PREFIX = b'N'
|
|
TX_COUNT_PREFIX = b'T'
|
|
UNDO_PREFIX = b'U'
|
|
TX_HASH_PREFIX = b'X'
|
|
|
|
HASHX_UTXO_PREFIX = b'h'
|
|
db_state = b's'
|
|
UTXO_PREFIX = b'u'
|
|
HASHX_HISTORY_PREFIX = b'x'
|