Commit Graph

157 Commits (9eb7fc58426e8d3afedd9959c21566a3d2eaf6d8)

Author SHA1 Message Date
Pieter Wuille 23aa78c405 IPv6 node support
13 years ago
Philip Kaufmann 3b6ed2294b fix an incorrect if-clause in net.cpp
13 years ago
David Joel Schwartz e9205293bd Support multi-threaded JSON-RPC
13 years ago
Jeff Garzik 203f9e6c00 Merge branch 'tmp-ipv6' into merge-ipv6
13 years ago
Jeff Garzik a2ea797593 Merge pull request #1180 from jgarzik/sign-compare
13 years ago
Pieter Wuille 19b6958cfd Added -externalip and -discover
13 years ago
Pieter Wuille 39857190de Support for multiple local addresses
13 years ago
Pieter Wuille 478b01d9a7 Add -seednode connections, and use this for -dnsseed + -proxydns
13 years ago
Pieter Wuille 9bab521df8 Support connecting by hostnames passed to proxy (-proxydns)
13 years ago
Jeff Garzik 061a001590 ThreadSocketHandler2(): cast to avoid signed/unsigned warning
13 years ago
Philip Kaufmann f8e4d43be7 fix compiler warning "suggest explicit braces to avoid ambiguous "else"
13 years ago
Jeff Garzik 735a60698c Change signed->unsigned at 3 code sites
13 years ago
Pieter Wuille ed6d0b5f85 Remove headers.h
13 years ago
Jeff Garzik c376ac359e Fix loop index var types, fixing many minor sign comparison warnings
13 years ago
Jeff Garzik ab9dc75a18 The string class returns string::npos, when find() fails.
13 years ago
Wladimir J. van der Laan 11cd416525 fix warnings: unused variable 'XX' [-Wunused-variable]
13 years ago
Pieter Wuille f8dcd5ca6f Use scoped locks instead of CRITICAL_BLOCK
13 years ago
Pieter Wuille 9362da78b0 Merge pull request #1033 from sipa/wait
13 years ago
Gavin Andresen f487746ded Remove half-implemented publish/subscribe system
13 years ago
Pieter Wuille 092631f0ba Condition variable for outbound connection slots
13 years ago
Pieter Wuille bf1afb02ca Give DNS seeds a random age between 3 and 7 days old
13 years ago
Gavin Andresen a6b4a11385 Merge branch 'addrman' of https://github.com/sipa/bitcoin
13 years ago
Alistair Buxton bb13d056ea When disconnecting a node, clear the received buffer so that we do
13 years ago
nomnombtc f8c478c4fb fix typo src/net.cpp
13 years ago
Gavin Andresen 972060ce0e bitcoind changes to stop storing settings in wallet.dat.
13 years ago
Pieter Wuille 5fee401fe1 CAddrMan: stochastic address manager
13 years ago
Pieter Wuille a3342d096f Fix #626: RecvLine wrong error message
13 years ago
Pieter Wuille c59881eaee Symbolic names for threads
13 years ago
Pieter Wuille 999b4cacaf Merge pull request #844 from sipa/shutdownfix
13 years ago
Pieter Wuille cc201e01f8 Several shutdown-related fixes
13 years ago
Pieter Wuille 25ab17585e Bugfix: do not create CAddress for invalid accepts
13 years ago
Matt Corallo baba6e7de2 Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.
13 years ago
Gavin Andresen 882164196e Update all copyrights to 2012
13 years ago
Gavin Andresen 9d952d17bb Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.
13 years ago
Gregory Maxwell 5d1b8f1725 Avoid advertising the node's address when it is not listening or IsInitialBlockDownload().
13 years ago
Matt Corallo 177dbcaace Fix UPnP by reannouncing every 20 minutes.
13 years ago
Gavin Andresen 7012b124bc Merge branch 'updateseednodes' of https://github.com/nanotube/bitcoin
13 years ago
Gavin Andresen c55fd06b99 Merge branch 'tabs-to-space' of https://github.com/larsr/bitcoin
13 years ago
Daniel Folkinshteyn b2f76e9ded Update seednodes, pick long-uptime nodes with version >= 0.4.0
13 years ago
Pieter Wuille c981d768b3 Fix handling of default ports
13 years ago
Gavin Andresen 8498c59144 Merge branch 'keepnode' of https://github.com/TheBlueMatt/bitcoin
13 years ago
Lars Rasmusson b985efaac1 Replace tabs with four spaces to comply with coding standard in doc/coding.txt
13 years ago
Matt Corallo 10ba0a3efc Minor code cleanup to use fHaveUPnP instead of #ifdef
13 years ago
Matt Corallo b24e6e4d1b Add -keepnode which attempts to -addnode and keep a connection open
13 years ago
Gavin Andresen a1de57a063 Compile with extra warnings turned on. And more makefile/code tidying up.
13 years ago
Pieter Wuille 67a42f929b Network stack refactor
13 years ago
Gavin Andresen 0fcf91ea1e Fix issue #659, and cleanup wallet/command-line argument handling a bit
13 years ago
Pieter Wuille a75d7066b8 Fix some address-handling deadlocks
13 years ago
Wladimir J. van der Laan bde280b9a4 Revert "Use standard C99 (and Qt) types for 64-bit integers"
13 years ago
Luke Dashjr 21d9f36781 Use standard C99 (and Qt) types for 64-bit integers
13 years ago
Gavin Andresen 26ce92b352 Use std::numeric_limits<> for typesafe INT_MAX/etc
13 years ago
Gavin Andresen 1f3bc1c239 Merge pull request #707 from gavinandresen/BIP14
13 years ago
Gavin Andresen f8ded588a2 Implement BIP 14 : separate protocol version from client version
13 years ago
Luke Dashjr 647734881c Add my DNS seed domain
13 years ago
Matt Corallo 61a8c0569e Add sipa's new dnsseed.
13 years ago
Gavin Andresen ca287d66f2 Merge pull request #694 from luke-jr/restore_old_miniupnp_compat
13 years ago
Luke Dashjr 94b97046fd Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)
13 years ago
Matt Corallo 2bc6cecebb Move DNS Seed lookup to a new thread.
13 years ago
Jeff Garzik 02d630c37f Remove vladimir's DNS seed, at his request.
13 years ago
Gavin Andresen 6853e627f1 Fix build on windows and mac
13 years ago
Gavin Andresen 8bc52d0692 Merge pull request #558 from luke-jr/bugfix_CreateThread_ThreadSocketHandler_errReporting
13 years ago
Gavin Andresen 9ec4fa7b50 Merge pull request #561 from luke-jr/optimize_conn_adjtime
13 years ago
Luke Dashjr 65ba3e2f50 Bugfix: report error creating ThreadSocketHandler thread just like the rest
13 years ago
Luke Dashjr a4e6ae101a Only GetAdjustedTime once for the retry loop
13 years ago
Gavin Andresen 15f3ad4dbd Framework for banning mis-behaving peers
13 years ago
Pieter Wuille 88367a5fb8 SocketHandler thread can be detached
13 years ago
Gavin Andresen 9406696578 Fix AddAddress cs_mapaddresses/db transaction deadlock
13 years ago
Gavin Andresen b53e277ba1 Stay connected to seed nodes; disconnecting causes problems if you are trying to make the initial blockchain download.
13 years ago
Gavin Andresen 86fd7c5af6 Give hard-coded seed nodes a random last-seen time, to randomize order they're tried.
13 years ago
Daniel Folkinshteyn bca179e8bd Update the list of seednodes.
13 years ago
Gavin Andresen dd7868364d Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoin
13 years ago
Matt Corallo b4ada906c0 Upgrade dependancies and tweak build process.
13 years ago
Giel van Schijndel 99860de3c9 Make some global variables less-global (static)
13 years ago
Gavin Andresen 498a2c9b16 Merge pull request #458 from TheBlueMatt/copyright
13 years ago
Venkatesh Srinivas ec93a0e219 Test for SO_NOSIGPIPE rather than assuming all BSDs support it.
13 years ago
Gavin Andresen 9f0ac16942 Do-nothing MapPort() ifndef USE_UPNP. fixes #450
13 years ago
Matt Corallo b2120e223a Unify copyright notices.
13 years ago
Johannes Henninger 1565698169 Identify as "Bitcoin + version number" when mapping UPnP port
13 years ago
Stéphane Gimenez d655a26c9d Single DB transaction for addresses from DNS seeds
14 years ago
Patrick Varilly 8c41469140 Single DB transaction for all addresses in a message
14 years ago
Giel van Schijndel 858cebed7d fix warning: unused variable 'X' [-Wunused-variable]
14 years ago
Giel van Schijndel d7f1d200ab fix warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
14 years ago
Matt Corallo fa105b1d3a Added a couple minor things to match newer build process.
14 years ago
Matt Corallo 013df1cc3b Give more detailed error messages for connection failure.
14 years ago
Jeff Garzik b73ab2d885 Merge pull request #368 from TheBlueMatt/dnsseed
14 years ago
Matt Corallo ce8f78a7bb Only use dnsseeds and static seeds when not on testnet.
14 years ago
Pieter Wuille 4973174534 Limit response to getblocks to half of output buffer size
14 years ago
Jeff Garzik 44d16327c1 Merge pull request #367 from TheBlueMatt/dnsseed
14 years ago
Matt Corallo f03c31db82 Add new DNSSeed dnsseed.bluematt.me.
14 years ago
Joerie de Gram ecd3e728b7 Fix connection failure debug output
14 years ago
Pieter Wuille 64c7ee7e6b CWallet class
14 years ago
Jeff Garzik 19ea44208f Merge pull request #226 from jordanlewis/betterheaders
14 years ago
Pieter Wuille 76d660ebd3 Faster timeout when connecting
14 years ago
Matt Corallo c6710c7a70 Fix CPU Usage bug when using -nolisten and have no connections.
14 years ago
Doug Huff 482cb65690 Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts.
14 years ago
Pieter Wuille e104c79374 Bugfix for dnsseed introduced by dnslookup
14 years ago
Jeff Garzik 112262cb24 Merge pull request #221 from gavinandresen/portoption
14 years ago
Jordan Lewis fdd7d04744 Only include strlcpy.h when we have to
14 years ago
Jordan Lewis edd309e537 Only include init.h when we have to
14 years ago
Jordan Lewis 40c2614ef4 Only include net.h when we have to
14 years ago