Interface IPeer
Namespace: Catalyst.Abstractions.P2P.Models
Assembly: Catalyst.Abstractions.dll
Syntax
public interface IPeer : IDocument, IAuditable
Properties
| Improve this Doc View SourceBlackListed
Gets the blacklisting state of the peer.
Declaration
bool BlackListed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The black listing flag. |
InactiveFor
Gets the inactive for.
Declaration
TimeSpan InactiveFor { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The inactive for. |
IsAwolPeer
Gets a value indicating whether this instance is awol peer.
Declaration
bool IsAwolPeer { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LastSeen
Gets the last seen.
Declaration
DateTime LastSeen { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The last seen. |
PeerId
Gets the peer identifier.
Declaration
PeerId PeerId { get; }
Property Value
Type | Description |
---|---|
PeerId | The peer identifier. |
Reputation
Gets the reputation.
Declaration
int Reputation { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The reputation. |
Methods
| Improve this Doc View SourceTouch()
Declaration
void Touch()