-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Motivation
We need TransactionPoolService class, which will take care of communicating with the storage class and remove and save transactions from and into the pending transactions list. It will serve as a facade in front of the storage classes.
Description
Create a TransactionPoolService class that implements the TransactionPoolService interface.
Create the following methods:
- saveTransaction(address: string, tx: Transaction): Promise;
- onConsensusResult(): Promise
- getPendingCount(address: string): Promise;
- resetState(): Promise;
Add unit tests for each method
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request