nooschain / chain/mempool / removeTransactions
Function: removeTransactions()
removeTransactions(
transactionHashes,database?):Promise<void>
Defined in: chain/mempool.ts:139
Removes transactions from the mempool by deleting entries from the mempool_transactions table based on the provided transaction hashes.
Parameters
transactionHashes
string[]
An array of transaction hashes to remove from the mempool.
database?
ChainDatabase = db
The database instance to use for the operation.
Returns
Promise<void>
A promise that resolves when the transactions have been removed from the mempool.