AddressTTL class
TTL values for addresses
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
- addressTTL → const Duration
- The expiration time of addresses.
- connectedAddrTTL → const Duration
- The ttl used for the addresses of a peer to whom we're connected directly. This is basically permanent, as we will clear them + re-add under a TempAddrTTL after disconnecting.
- ownObservedAddrTTL → const Duration
- Used for our own external addresses observed by peers. Deprecated: observed addresses are maintained till we disconnect from the peer which provided it
- permanentAddrTTL → const Duration
- The ttl for a "permanent address" (e.g. bootstrap nodes).
- recentlyConnectedAddrTTL → const Duration
- Used when we recently connected to a peer. It means that we are reasonably certain of the peer's address.
- tempAddrTTL → const Duration
- The ttl used for a short-lived address.