IdentifyOptions class

Options for configuring the identify service.

Constructors

IdentifyOptions({String? protocolVersion, String? userAgent, bool disableSignedPeerRecord = false, MetricsTracer? metricsTracer, bool disableObservedAddrManager = false})
Creates a new set of identify options.
const

Properties

disableObservedAddrManager → bool
Whether to disable the observed address manager. This also effectively disables the NAT emitter and EvtNATDeviceTypeChanged.
final
disableSignedPeerRecord → bool
Whether to disable populating signed peer records on the outgoing Identify response. If true, ONLY sends the unsigned addresses.
final
hashCode → int
The hash code for this object.
no setterinherited
metricsTracer → MetricsTracer?
The metrics tracer to use for collecting metrics.
final
protocolVersion → String?
The protocol version string that will be used to identify the family of protocols used by the peer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userAgent → String?
The user agent this node will identify itself with to peers.
final

Methods

copyWith({String? protocolVersion, String? userAgent, bool? disableSignedPeerRecord, MetricsTracer? metricsTracer, bool? disableObservedAddrManager}) → IdentifyOptions
Creates a copy of these options with the given changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited