Show / Hide Table of Contents

    Interface IMempoolRepository<T>

    Namespace: Catalyst.Abstractions.Mempool.Repositories
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IMempoolRepository<T> : IRepositoryWrapper<T>, IRepository<T, string> where T : class, IMempoolItem
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    CreateItem(TransactionBroadcast)

    Declaration
    bool CreateItem(TransactionBroadcast transactionBroadcast)
    Parameters
    Type Name Description
    TransactionBroadcast transactionBroadcast
    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
    Type Description
    System.Collections.Generic.IEnumerable<TransactionBroadcast>
    | Improve this Doc View Source

    ReadItem(ByteString)

    Declaration
    T ReadItem(ByteString signature)
    Parameters
    Type Name Description
    ByteString signature
    Returns
    Type Description
    T
    | Improve this Doc View Source

    TryReadItem(ByteString)

    Declaration
    bool TryReadItem(ByteString signature)
    Parameters
    Type Name Description
    ByteString signature
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network