Skip to content

nooschain v0.1.0


nooschain / tx-gossip/propagation-state / hasSeenTransactionFromPeer

Function: hasSeenTransactionFromPeer()

hasSeenTransactionFromPeer(db, args): Promise<boolean>

Defined in: tx-gossip/propagation-state.ts:78

Returns whether this node has already seen a transaction from a peer.

Parameters

db

ChainDatabase

args

peerId

string

transactionHash

string

Returns

Promise<boolean>

Audience-first NOOSChain documentation.