Skip to content

nooschain v0.1.0


nooschain / identity/nonce-manager / consumeNonce

Function: consumeNonce()

consumeNonce(trx, ownerType, ownerId, nonce): Promise<void>

Defined in: identity/nonce-manager.ts:66

Consumes a logical identity nonce as deterministic consensus state. Nonces belong to the user/node/system identity, not a raw public key, so key rotation cannot reopen replay windows.

Parameters

trx

ChainDatabase

ownerType

IdentityOwnerType

ownerId

string

nonce

string | number | bigint

Returns

Promise<void>

Audience-first NOOSChain documentation.