Skip to content

RLP constants renaming #723

@OlivierBBB

Description

@OlivierBBB

The constants

RLP_PREFIX_INT_SHORT    128
RLP_PREFIX_INT_LONG     183

carry the wrong name, it should be

RLP_PREFIX_BYTE_ARRAY_SHORT    128
RLP_PREFIX_BYTE_ARRAY_LONG     183
RLP_PREFIX_LIST_SHORT          192
RLP_PREFIX_LIST_LONG           247

The constants 128 and 183 feature in the RLP-ization of byte arrays, e.g. of address ∈ B_{20}. Also the RLP-ization of integers is a special case of the RLP-ization of byte arrays, via the BE: N -> B function integers to byte arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions