Description
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.