1

In the NXT documentation it says that the Peer protocol uses TCP. But looking through the code all I see is HTTP. Does NXT use HTTP or TCP for the Peer protocol?

3
  • IMO, NXT is out of topic here. Jun 3, 2015 at 12:09
  • @JonasSchnelli Community consensus has been that other crypto-currencies are on-topic, see e.g. A, B, C. nxt being very similar to Bitcoin in design makes it a decent fit here. Also, it already has almost seventy questions here. If you wish to weigh in on the discussion about the scope of the site, feel free to create a Bitcoin Meta post.
    – Murch
    Jun 3, 2015 at 12:59
  • Also see the first paragraph of our tour which states "With your help, we're working together to build a library of detailed answers to every question about Cryptocurrencies such as e.g. Bitcoin, Namecoin, Litecoin, Ripple, Zerocoin, Dogecoin, Ethereum, and NXT."
    – Murch
    Jun 3, 2015 at 13:05

1 Answer 1

2

I was able to answer my own question through the Nxt dev forum.

https://nxtforum.org/general/peer-protocol-tcp-or-http/msg181766/

Adding it here for others that may have the same question:

Up to version 1.4 Nxt used HTTP for peer communication. Starting with version 1.5 they are moving to WebSocket for peer communication

3
  • Link to the forum article
    – mystcoin
    Jun 4, 2015 at 5:59
  • Both HTTP and WebSocket protocols are built on top of TCP. Jun 7, 2015 at 19:57
  • I'm well aware of how the protocol stack works. But there is a difference in how an HTTP client and a TCP client work. That was the purpose of my question - to determine what approach they were using for the client
    – dbryson
    Jun 10, 2015 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.