Show / Hide Table of Contents

    Class PeerSettings

    Peer settings class.

    Inheritance
    System.Object
    PeerSettings
    Implements
    IPeerSettings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Catalyst.Core.Lib.P2P
    Assembly: Catalyst.Core.Lib.dll
    Syntax
    public sealed class PeerSettings : IPeerSettings

    Constructors

    | Improve this Doc View Source

    PeerSettings(IConfigurationRoot)

    Set attributes

    Declaration
    public PeerSettings(IConfigurationRoot rootSection)
    Parameters
    Type Name Description
    IConfigurationRoot rootSection

    Properties

    | Improve this Doc View Source

    BindAddress

    Declaration
    public IPAddress BindAddress { get; }
    Property Value
    Type Description
    System.Net.IPAddress
    | Improve this Doc View Source

    DnsServers

    Declaration
    public IPEndPoint[] DnsServers { get; }
    Property Value
    Type Description
    System.Net.IPEndPoint[]
    | Improve this Doc View Source

    NetworkType

    Declaration
    public NetworkType NetworkType { get; }
    Property Value
    Type Description
    NetworkType
    | Improve this Doc View Source

    PayoutAddress

    Declaration
    public string PayoutAddress { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    PeerId

    Declaration
    public PeerId PeerId { get; }
    Property Value
    Type Description
    PeerId
    | Improve this Doc View Source

    Port

    Declaration
    public int Port { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    PublicIpAddress

    Declaration
    public IPAddress PublicIpAddress { get; }
    Property Value
    Type Description
    System.Net.IPAddress
    | Improve this Doc View Source

    PublicKey

    Declaration
    public string PublicKey { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    SeedServers

    Declaration
    public IList<string> SeedServers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>

    Implements

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