elective-stereophonic
elective-stereophonic
Peer vs. Public Peer singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: Peer vs. Public Peer  (Read 579 times)

cayenne

  • Sr. Member
  • ****
  • Karma: +10/-2
  • Offline Offline
  • Posts: 253
    • View Profile
Peer vs. Public Peer
« on: April 30, 2014, 06:42:12 pm »

What's the difference between a peer and a public peer?
When I'm running 1.0.0 (or the next/latest version) of NRS,
am I a peer in other persons' peer lists, or do I have to be a
public peer?
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3463
    • View Profile
    • Blockchain Twitter
Re: Peer vs. Public Peer
« Reply #1 on: April 30, 2014, 06:46:32 pm »

If I have it correct, the peer is your computer with an open client ready to forge a block. The public peers are nodes which support the blockchain of Nxt.
Logged

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Peer vs. Public Peer
« Reply #2 on: April 30, 2014, 11:17:55 pm »

all the peers you are connected to see your IP/DNSname in their peer list, just like you see all the IP/DNSnames of who all you are connected to.

there is a special icon in the client that identifies certain "well known peers" that are seeded in your config file
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: Peer vs. Public Peer
« Reply #3 on: May 01, 2014, 10:18:31 am »

Public peers are those that can be reached at their IP address, i.e. they accept incoming connections. Normally a public peer is supposed to announce its address, but even if it doesn't, an attempt is made to connect to the address the peer requests are seen as coming from, and if successful, this IP is treated as if the peer announced it.

When peers exchange their known peer addresses with each other, they only exchange the addresses of public peers, i.e. those that are known to be reachable (and also not blacklisted).
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322
 

elective-stereophonic
elective-stereophonic
assembly
assembly