Show / Hide Table of Contents

    Interface IPeerIdValidator

    Validates the PeerId object

    Namespace: Catalyst.Abstractions.P2P
    Assembly: Catalyst.Abstractions.dll
    Syntax
    public interface IPeerIdValidator

    Methods

    | Improve this Doc View Source

    ValidatePeerIdFormat(PeerId)

    Validates the peer.

    Declaration
    bool ValidatePeerIdFormat(PeerId peerId)
    Parameters
    Type Name Description
    PeerId peerId

    The Peer Id PeerId

    Returns
    Type Description
    System.Boolean

    [true] if valid [false] if invalid

    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network