Add description for block manager.
async function getNextBlockNumber(): Promise<number>
Gets the number of the next block to be published.
Promise<number>: Number of the next block to be published.
async function enqueueStateUpdate( stateUpdate: StateUpdate ): Promise<void>
Adds a state update to the queue of updates to be added to the next block.
StateUpdate: State update to add to the queue.
Promise<void>: Promise that resolves once the state update has been added to the queue.
async function getPendingStateUpdates(): Promise<StateUpdate>
Gets the list of state updates that are pending for inclusion in the next block.
Promise<StateUpdate>: List of state updates queued for inclusion in the next block.