Skip to content

Microblock data missing from event emitter while syncing #2668

Closed
@zone117x

Description

@zone117x

While syncing with an existing network (as in not just running against a private-testnet miner), the /new_microblocks endpoint is never called. The current payload in /new_block doesn't contain enough information to process microblock data.

Specifically, the following information about each transaction in/new_block is not available and there's no way for the API to derive it:

{
  microblock_sequence: number;
  microblock_hash: string;
  microblock_parent_hash: string;
}

It also might not be possible for the API to derive a microblock transaction tx_index (just the logical ordering of txs within a microblock), depending on how the current tx_index property is being set in the /new_block payload.

This is a blocker for microblock support, and also a blocker for testing the API's handling of real micro-orphaning behavior in a mainnet/testnet network.

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