Nous::PeerInfo
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(ip : String, port : Int32, gossip_port : Int32, last_seen : Time, fitness : Float64 = 0.0, node_id : String | Nil = nil, genome_hash : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
fitness
Sourcegenome_hash
Sourcegossip_port
Sourceip
Sourcelast_seen
Sourcenode_id
Sourceport
Source