Interface IMempoolRepository<T>
Assembly: Catalyst.Abstractions.dll
Syntax
public interface IMempoolRepository<T> : IRepositoryWrapper<T>, IRepository<T, string> where T : class, IMempoolItem
Type Parameters
Methods
|
Improve this Doc
View Source
CreateItem(TransactionBroadcast)
Declaration
bool CreateItem(TransactionBroadcast transactionBroadcast)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeleteItem(String[])
Declaration
bool DeleteItem(params string[] transactionSignatures)
Parameters
Type |
Name |
Description |
System.String[] |
transactionSignatures |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetAll()
Declaration
IEnumerable<TransactionBroadcast> GetAll()
Returns
|
Improve this Doc
View Source
ReadItem(ByteString)
Declaration
T ReadItem(ByteString signature)
Parameters
Type |
Name |
Description |
ByteString |
signature |
|
Returns
|
Improve this Doc
View Source
TryReadItem(ByteString)
Declaration
bool TryReadItem(ByteString signature)
Parameters
Type |
Name |
Description |
ByteString |
signature |
|
Returns
Type |
Description |
System.Boolean |
|