Skip to content

Improve RPC performance by avoiding JSON serialization cost #229

@Hanssen0

Description

@Hanssen0

See CKB RPC, some RPC methods support verbosity = 0:

When verbosity is 0, it returns a 0x-prefixed hex string as the result. The string encodes the block serialized by molecule using schema table Block.

It should avoid extra JSON serialization and deserialization costs. Whether molecule deserialization will incur additional costs should be tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions