2024-11-20 11:15:34 +00:00
|
|
|
# eth
|
|
|
|
# Copyright (c) 2019-2024 Status Research & Development GmbH
|
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
2019-02-05 12:01:10 +00:00
|
|
|
const
|
2024-05-26 07:58:24 +00:00
|
|
|
BLOB_START_MARKER* = byte(0x80)
|
|
|
|
LIST_START_MARKER* = byte(0xc0)
|
2019-02-05 12:01:10 +00:00
|
|
|
|
|
|
|
THRESHOLD_LIST_LEN* = 56
|
|
|
|
|
|
|
|
LEN_PREFIXED_BLOB_MARKER* = byte(BLOB_START_MARKER + THRESHOLD_LIST_LEN - 1) # 183
|
|
|
|
LEN_PREFIXED_LIST_MARKER* = byte(LIST_START_MARKER + THRESHOLD_LIST_LEN - 1) # 247
|