DNA icon indicating copy to clipboard operation
DNA copied to clipboard

change network connect way

Open superJinQing opened this issue 7 years ago • 0 comments

  1. change getaddr request handle. If receive getaddr request, randomly select some address and send addr response. At most send 8 address.
  2. change addr response handle When receive addr message, save the addresses in address list
  3. If the connection is less than MaxOutboundCnt, select addresses from address list and connect them.
  4. Disable reconnect function
  5. If the connection more than max connect peers, disconnect one node.

superJinQing avatar Sep 18 '17 10:09 superJinQing