1. 17 Jul, 2014 2 commits
  2. 07 Jul, 2014 3 commits
  3. 26 Jun, 2014 1 commit
    • Huang Le's avatar
      Use async name resolving to improve net thread responsiveness · 230a0751
      Huang Le authored
      
      In the LookupIntern(), things changed are:
      
        1. Call getaddrinfo_a() instead of getaddrinfo() if available, the former is a sync version of the latter;
        2. Try using inet_pton()/inet_addr() to convert the input text to a network addr structure at first, if success the extra name resolving thread inside getaddrinfo_a() could be avoided;
        3.  An interruption point added in the waiting loop for return from getaddrinfo_a(), which completes the improve for thread responsiveness.
      
      A easy way to see the effect is to kick off a 'bitcoind stop' immediately after 'bitcoind -daemon', before the change it would take several, or even tens of, minutes on a bad network situation to wait for the running bitcoind to exit, now it costs only seconds.
      Signed-off-by: default avatarHuang Le <4tarhl@gmail.com>
      230a0751
  4. 24 Jun, 2014 1 commit
  5. 23 May, 2014 1 commit
    • Wladimir J. van der Laan's avatar
      Replace non-threadsafe strerror · 7b6bdce5
      Wladimir J. van der Laan authored
      Log the name of the error as well as the error code if a network problem
      happens. This makes network troubleshooting more convenient.
      
      Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.
      7b6bdce5
  6. 20 May, 2014 1 commit
  7. 09 May, 2014 2 commits
  8. 01 May, 2014 1 commit
    • Wladimir J. van der Laan's avatar
      Remove build-time no-IPv6 setting · 5300cb18
      Wladimir J. van der Laan authored
      The year is 2014. All supported operating systems have IPv6 support,
      most certainly at build time (this doesn't mean that IPv6 is configured,
      of course).
      
      If noone is exercising the functionality to disable it, that means it
      doesn't get tested, and IMO it's better to get rid of it.
      
      (it's also not used consistently in RPC/boost and Net code...)
      5300cb18
  9. 10 Apr, 2014 1 commit
  10. 10 Feb, 2014 1 commit
  11. 23 Jan, 2014 1 commit
    • Wladimir J. van der Laan's avatar
      Remove redundant .c_str()s · 654da649
      Wladimir J. van der Laan authored
      After the tinyformat switch sprintf() family functions support passing
      actual std::string objects.
      
      Remove unnecessary c_str calls (236 of them) in logging and formatting.
      654da649
  12. 15 Nov, 2013 1 commit
  13. 11 Nov, 2013 1 commit
  14. 10 Nov, 2013 1 commit
    • Brandon Dahler's avatar
      Cleanup code using forward declarations. · e28f37ca
      Brandon Dahler authored
      Use misc methods of avoiding unnecesary header includes.
      Replace int typedefs with int##_t from stdint.h.
      Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h.
      Normalize QT_VERSION ifs where possible.
      Resolve some indirect dependencies as direct ones.
      Remove extern declarations from .cpp files.
      e28f37ca
  15. 20 Oct, 2013 1 commit
  16. 04 Oct, 2013 1 commit
  17. 18 Sep, 2013 1 commit
  18. 06 Sep, 2013 1 commit
  19. 17 Jul, 2013 1 commit
  20. 27 Apr, 2013 1 commit
  21. 18 Dec, 2012 1 commit
  22. 09 Nov, 2012 1 commit
  23. 07 Oct, 2012 2 commits
    • Pieter Wuille's avatar
      Remove I2P support from netbase · 3f2ebf20
      Pieter Wuille authored
      I2P apparently needs 256 bits to store a fully routable address. Garlicat
      requires a centralized lookup service to map the 80-bit addresses to fully
      routable ones (as far as I understood), so that's not really usable in our
      situation.
      
      To support I2P routing and peer exchange for it, another solution is needed.
      This will most likely imply a network protocol change, and extension of the
      'addr' message.
      3f2ebf20
    • Wladimir J. van der Laan's avatar
      get rid of strlcpy.h · 7889cc2c
      Wladimir J. van der Laan authored
      Don't use hand-rolled string manipulation routine with a fixed
      buffer in the bitcoin core, instead make use of c++ strings and boost.
      7889cc2c
  24. 04 Oct, 2012 1 commit
    • Philip Kaufmann's avatar
      add LOCK() for proxy related data-structures · c8439b3b
      Philip Kaufmann authored
      - fix #1560 by properly locking proxy related data-structures
      - update GetProxy() and introduce GetNameProxy() to be able to use a
        thread-safe local copy from proxyInfo and nameproxyInfo
      - update usage of GetProxy() all over the source to match the new
        behaviour, as it now fills a full proxyType object
      - rename GetNameProxy() into HaveNameProxy() to be more clear
      c8439b3b
  25. 18 Sep, 2012 1 commit
  26. 12 Sep, 2012 1 commit
  27. 01 Aug, 2012 1 commit
  28. 07 Jul, 2012 1 commit
  29. 22 Jun, 2012 2 commits
  30. 19 Jun, 2012 1 commit
    • Pieter Wuille's avatar
      Fix netbase tests · 5646bbb7
      Pieter Wuille authored
      * Do not rely on "a.b.c" being interpreted as "a.0.b.c"
      * Parse numeric addresses for address families for which no device is configured
      5646bbb7
  31. 14 Jun, 2012 1 commit
    • Pieter Wuille's avatar
      Improve parsing of IPv6 addresses · b614820d
      Pieter Wuille authored
      Implement the following rules:
      * Interpret [X]:Y as host=X port=Y, if Y is an integer
      * Interpret X:Y as host=X port=Y, if Y is an integer and X contains no colon
      * Interpret X:Y as host=X:Y port=default otherwise
      b614820d
  32. 05 Jun, 2012 1 commit
  33. 31 May, 2012 1 commit
  34. 18 May, 2012 1 commit
    • Fordy's avatar
      Update License in File Headers · 0949c57e
      Fordy authored
      I originally created a pull to replace the "COPYING" in crypter.cpp and
      crypter.h, but it turned out that COPYING was actually the correct
      file.
      0949c57e