UNPKG

ntrnetwork

Version:

Transledger peer to peer wire communication

229 lines (157 loc) 9.64 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) (modification: no type change headlines) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [2.8.50] - 2020-09-01 - added a universal listener with channel 0. Listen to all channels [2.8.50]: https://github.com/Interblockchain/internodes/compare/v2.8.34...v2.8.50 ## [2.8.34] - 2018-11-09 - Modified the default number of peers to 7 [2.8.34]: https://github.com/Interblockchain/internodes/compare/v2.8.33...v2.8.34 ## [2.8.33] - 2018-11-09 - simplified the logs by default [2.8.33]: https://github.com/Interblockchain/internodes/compare/v2.8.32...v2.8.33 ## [2.8.32] - 2018-11-09 - added the ip to the received message and broadcasted message logs - Added a new transactionID to the AUDIT messages - simplified the logs by default [2.8.32]: https://github.com/Interblockchain/internodes/compare/v2.8.31...v2.8.32 ## [2.8.31] - 2018-11-08 - Added a new console log indicating when the sockets listen - includes thge nodeID and version - fixed the broadcaster publish member to set the right discriminant and call back [2.8.31]: https://github.com/Interblockchain/internodes/compare/v2.8.30...v2.8.31 ## [2.8.30] - 2018-11-08 - changed the message discriminent from ip address to nodeID [2.8.30]: https://github.com/Interblockchain/internodes/compare/v2.8.29...v2.8.30 ## [2.8.29] - 2018-11-08 - fixed the debug switch [2.8.29]: https://github.com/Interblockchain/internodes/compare/v2.8.28...v2.8.29 ## [2.8.28] - 2018-11-07 - added ip address and nodeID to each message - added a new message filter for AUDIT messages - Added a nodeID to each peer. - fixed the debug switch [2.8.28]: https://github.com/Interblockchain/internodes/compare/v2.8.27...v2.8.28 ## [2.8.27] - 2018-11-06 - Added new documentation about message types - Fixed the message.js encoder - decoder to include the interblockchain channel ID for testnet and alpha - Added environment variables [2.8.27]: https://github.com/Interblockchain/internodes/compare/v2.8.26...v2.8.27 ## [2.8.26] - 2018-11-05 - Added new documentation about message types - Fixed the message.js encoder - decoder to include the interblockchain channel ID for testnet and alpha - Added environment variables [2.8.26]: https://github.com/Interblockchain/internodes/compare/v2.8.25...v2.8.26 ## [2.8.25] - 2018-11-01 - Added new illustration to README [2.8.25]: https://github.com/Interblockchain/internodes/compare/v2.8.24...v2.8.25 ## [2.8.24] - 2018-11-01 - Fixed that status send by nodes [2.8.24]: https://github.com/Interblockchain/internodes/compare/v2.8.23...v2.8.24 ## [2.8.23] - 2018-11-01 - Fixed seveal bugs for the AUDIT protocol code - added internal code documentation [2.8.23]: https://github.com/Interblockchain/internodes/compare/v2.8.22...v2.8.23 ## [2.8.22] - 2018-11-01 - Fixed seveal bugs for the AUDIT protocol code - added internal code documentation [2.8.22]: https://github.com/Interblockchain/internodes/compare/v2.8.21...v2.8.22 ## [2.8.21] - 2018-11-01 - Debugged the AUDIT message transmission following a bug report about the fix. [2.8.21]: https://github.com/Interblockchain/internodes/compare/v2.8.18...v2.8.21 ## [2.8.19] - 2018-10-31 - Fixed the AUDIT message transmission [2.8.19]: https://github.com/Interblockchain/internodes/compare/v2.8.18...v2.8.19 ## [2.8.18] - 2018-10-23 - Added a supplemental network discriminant [2.8.18]: https://github.com/Interblockchain/internodes/compare/v2.8.17...v2.8.18 ## [2.8.17] - 2018-10-23 - changed the PAPI port to 9099 [2.8.17]: https://github.com/Interblockchain/internodes/compare/v2.8.16...v2.8.17 ## [2.8.16] - 2018-10-23 - Added multiple channels communication. [2.8.16]: https://github.com/Interblockchain/internodes/compare/v2.8.15...v2.8.16 ## [2.8.15] - 2018-10-23 - Added multiple channels communication. [2.8.15]: https://github.com/Interblockchain/internodes/compare/v2.8.13...v2.8.15 ## [2.8.13] - 2018-09-14 - added the AUDIT message. [2.8.13]: https://github.com/Interblockchain/internodes/compare/v2.8.11...v2.8.13 ## [2.8.11] - 2018-09-14 - Sreamlined the logs. [2.8.11]: https://github.com/Interblockchain/internodes/compare/v2.8.10...v2.8.11 ## [2.8.10] - 2018-09-14 - Added a new clientID scheme based on uuid. [2.8.10]: https://github.com/Interblockchain/internodes/compare/v2.8.9...v2.8.10 ## [2.8.9] - 2018-09-14 - Removed debut logs. - discriminate external nodes at the DPT level. ONly our nodes are accepted [2.8.9]: https://github.com/Interblockchain/internodes/compare/v2.8.7...v2.8.9 ## [2.8.7] - 2018-08-23 - Fixed the msg received from the socket in server.js [2.8.7]: https://github.com/Interblockchain/internodes/compare/v2.8.6...v2.8.7 ## [2.8.6] - 2018-08-23 - Change the DPT protocol by blocking peers that are not part of the interblockchain network. The ping and pong messages are modified to include a new 'interblockchain' property to uniquely identify the network and reject everyting else. [2.8.6]: https://github.com/Interblockchain/internodes/compare/v2.8.5...v2.8.6 ## [2.8.5] - 2018-08-21 - Change the DPT protocol by blocking peers that are not part of the interblockchain network. The ping and pong messages are modified to include a new 'interblockchain' property to uniquely identify the network and reject everyting else. [2.8.5]: https://github.com/Interblockchain/internodes/compare/v2.8.4...v2.8.5 ## [2.8.4] - 2018-07-29 - resolve the uncrolled increase of peers. Changed socket.end() by socket.destroy - Set the incoming connection filter to match only "interblockchain". - removed uneeded console logs [2.8.4]: https://github.com/Interblockchain/internodes/compare/v2.8.2...v2.8.4 ## [2.8.2] - 2018-07-19 - added a new filter mechanism (what to include instead of what to exclude) - the network ID is now 2018 [2.8.2]: https://github.com/Interblockchain/internodes/compare/v2.8.1...v2.8.2 ## [2.8.1] - 2018-07-15 - set to false DPT console log [2.8.1]: https://github.com/Interblockchain/internodes/compare/v2.8.0...v2.8.1 ## [2.8.0] - 2018-06-28 - fixed bug with logs [2.8.0]: https://github.com/Interblockchain/internodes/compare/v2.7.9...v2.8.0 ## [2.7.9] - 2018-06-28 - fixed bug with debug - cleaned the rest interface. [2.7.9]: https://github.com/Interblockchain/internodes/compare/v2.7.7...v2.7.9 ## [2.7.7] - 2018-06-28 - Interblockchain wire protocol implementation [2.7.7]: https://github.com/Interblockchain/internodes/compare/v2.5.0...v2.7.7 ## [2.5.0] - 2018-03-22 - Light client protocol (``LES/2``) implementation, PR [#21](https://github.com/ethereumjs/ethereumjs-devp2p/pull/21) - ``LES/2`` usage example, see: ``examples/peer-communication-les.js`` - Better test coverage for upper-layer protocols (``ETH``, ``LES/2``), PR [#34](https://github.com/ethereumjs/ethereumjs-devp2p/pull/34) [2.5.0]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.4.0...v2.5.0 ## [2.4.0] - 2018-02-28 - First release providing a reliable ``ETH`` connection - Fix Parity ``DPT`` ping echo hash bug preventing the library to connect to Parity clients, PR [#32](https://github.com/ethereumjs/ethereumjs-devp2p/pull/32) - Fixed a bug not setting weHello in peer after sent ``HELLO`` msg [2.4.0]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.3.0...v2.4.0 ## [2.3.0] - 2018-02-27 - Fix critical ``RLPX`` bug leading to not processing incoming ``EIP-8`` ``Auth`` or ``Ack`` messages, PR [#26](https://github.com/ethereumjs/ethereumjs-devp2p/pull/26) - Fix bug not forwarding ``k-bucket`` remove event through ``DPT`` (so ``peer:removed`` from ``DPT`` was not working), PR [#27](https://github.com/ethereumjs/ethereumjs-devp2p/pull/27) - Fix updating ``ingressMac`` with wrong ``Auth`` msg leading to diverging ``Mac`` hashes, PR [#29](https://github.com/ethereumjs/ethereumjs-devp2p/pull/29) - Fix bug not let first ``ETH`` ``status`` message emit a ``message`` event, PR [#30](https://github.com/ethereumjs/ethereumjs-devp2p/pull/30) - Large rework of the test setup, additional ``DPT``, ``RLPX`` and ``ETH`` simulator tests, improving test coverage from 48% to 84%, PR [#25](https://github.com/ethereumjs/ethereumjs-devp2p/pull/25) [2.3.0]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.2.0...v2.3.0 ## [2.2.0] - 2017-12-07 - ``EIP-8`` compatibility - Improved debug messages - Fixes a bug on DPT ping timeout being triggered even if pong message is received - Only send connect event after both HELLO msgs are exchanged (fixes unreliable upper-protocol communication start) - Connection reliability improvements for ``peer-communication`` example - API documentation [2.2.0]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.1.3...v2.2.0 ## [2.1.3] - 2017-11-09 - Dependency updates - Improved README documentation [2.1.3]: https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.1.2...v2.1.3 ## Older releases: - [2.1.2](https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.1.1...v2.1.2) - 2017-05-16 - [2.1.1](https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.1.0...v2.1.1) - 2017-04-27 - [2.1.0](https://github.com/ethereumjs/ethereumjs-devp2p/compare/v2.0.0...v2.1.0) - 2016-12-11 - [2.0.0](https://github.com/ethereumjs/ethereumjs-devp2p/compare/v1.0.0...v2.0.0) - 2016-11-14 - 1.0.0 - 2016-10-18