Show / Hide Table of Contents

Class AppProtocolVersionOptions

Various options for a Swarm's AppProtocolVersion.

Inheritance
Object
AppProtocolVersionOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Net
Assembly: Libplanet.Net.dll
Syntax
public class AppProtocolVersionOptions

Properties

| Improve this Doc View Source

AppProtocolVersion

The application protocol version to comply.

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

DifferentAppProtocolVersionEncountered

The callback triggered when a node encounters an AppProtocolVersion that is different from AppProtocolVersion that is signed by a trusted party, that is, one of TrustedAppProtocolVersionSigners. Does nothing by default.

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

TrustedAppProtocolVersionSigners

The set of PublicKeys to trust when a node encounters a Message with an AppProtocolVersion that is different from AppProtocolVersion. Any Message with an untrusted AppProtocolVersion is ignored by the node. Set to an empty set of PublicKeys by default, i.e. not to trust any Message with a different AppProtocolVersion.

Declaration
public IImmutableSet<PublicKey> TrustedAppProtocolVersionSigners { get; set; }
Property Value
Type Description
IImmutableSet<PublicKey>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium