import { hash } from '@liskhq/lisk-cryptography' ; export const EMPTY_VALUE = Buffer . alloc ( 0 ) ; export const EMPTY_HASH = hash ( EMPTY_VALUE ) ; export const LEAF_HASH_PREFIX = Buffer . from ( '00' , 'hex' ) ; export const BRANCH_HASH_PREFIX = Buffer . from ( '01' , 'hex' ) ; export const NODE_HASH_SIZE = 32 ; export const DEFAULT_KEY_LENGTH = 38 ; export const enum NodeSide { LEFT = 0 , RIGHT = 1 }