Skip to content

nooschain v0.1.0


nooschain / tx-gossip/mempool-admission / checkMempoolAdmission

Function: checkMempoolAdmission()

checkMempoolAdmission(args): Promise<MempoolAdmissionResult>

Defined in: tx-gossip/mempool-admission.ts:26

Validates whether a signed transaction can enter the local mempool.

The check is deliberately stricter than "does the shape parse": it verifies protocol support, duplicate/finalized status, signatures, permissions, and nonce expectations through the normal transaction validator. The returned reason is operational metadata for logs/API responses and is not consensus state.

Parameters

args

db

ChainDatabase

protocolVersion?

number

transaction

SignedTransaction

Returns

Promise<MempoolAdmissionResult>

Audience-first NOOSChain documentation.