Skip to content

nooschain v0.1.0


nooschain / chain/transaction-executor / executeBlockInTransaction

Function: executeBlockInTransaction()

executeBlockInTransaction(database, height, options?): Promise<ExecuteBlockResult>

Defined in: chain/transaction-executor.ts:332

Executes every transaction linked to a block in canonical order.

Each transaction runs under savepoints so deterministic failures become transaction status rows while the block continues. SMT writes are buffered and flushed before the block state root/hash are finalized, all inside the outer transaction for crash safety.

Parameters

database

ChainDatabase

height

string | number | bigint

options?

BlockExecutionOptions = {}

Returns

Promise<ExecuteBlockResult>

Audience-first NOOSChain documentation.