aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
AgeCommit message (Collapse)Author
2012-03-06fix typo src/net.cppnomnombtc
2012-02-17Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-17Several shutdown-related fixesPieter Wuille
* do not let vnThreadsRunning[1] go negative * do not perform locking operations while vnThreadsRunning[1] is decreased * check vnThreadsRunning[1] at exit
2012-02-17Bugfix: do not create CAddress for invalid acceptsPieter Wuille
2012-02-11Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-11Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.Matt Corallo
This fixes a potential bug where some NATs may replace the node's interal IP with its external IP in version messages, causing incorrect checksums when version messages begin being checksummed on February 14, 2012.
2012-02-07Update copyrights to 2012 for files modified this yearLuke Dashjr
2012-02-07Update copyrights to 2012 for files modified this yearLuke Dashjr
2012-02-02Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: src/main.cpp
2012-02-02Fix UPnP by reannouncing every 20 minutes.Matt Corallo
2012-01-23Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: doc/release-process.txt
2012-01-23Update seednodes, pick long-uptime nodes with version >= 0.4.0Daniel Folkinshteyn
2012-01-23Replace tabs with four spaces to comply with coding standard in doc/coding.txtLars Rasmusson
2012-01-23Replace tabs with four spaces to comply with coding standard in doc/coding.txtLars Rasmusson
2012-01-16Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-01-16Code tidyups, fixing various warnings.Luke Dashjr
Partial cherry pick of: Compile with extra warnings turned on. And more makefile/code tidying up. This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings. Exceptions are: -Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned. -Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit). Conflicts: src/makefile.osx src/makefile.unix src/netbase.cpp src/rpc.cpp
2012-01-03Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: src/util.cpp
2012-01-03Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen
Conflicts: src/init.cpp src/util.cpp
2012-01-02Fix some address-handling deadlocksPieter Wuille
Made three critical blocks for cs_mapAddresses smaller, and moved writing to the database out of them. This should also improve the concurrency of the code.
2011-12-19Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2011-12-19Add my DNS seed domainLuke Dashjr
2011-12-19Add sipa's new dnsseed.Matt Corallo
2011-12-12Merge branch '0.4.x' into 0.5.xLuke Dashjr
2011-12-12Merge branch 'restore_old_miniupnp_compat' into 0.4.xLuke Dashjr
2011-12-10Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)Luke Dashjr
2011-12-02Move DNS Seed lookup to a new thread.Matt Corallo
2011-12-02Move DNS Seed lookup to a new thread.Matt Corallo
2011-11-15Remove vladimir's DNS seed, at his request.Jeff Garzik
2011-10-31Remove vladimir's DNS seed, at his request.Jeff Garzik
2011-10-07Fix build on windows and macGavin Andresen
Replaced all occurrences of #if* __WXMSW__ with WIN32, and all occurrences of __WXMAC_OSX__ with MAC_OSX, and made sure those are defined appropriately in the makefile and bitcoin-qt.pro.
2011-10-05Merge pull request #558 from ↵Gavin Andresen
luke-jr/bugfix_CreateThread_ThreadSocketHandler_errReporting Bugfix: ThreadSocketHandler creation error
2011-10-05Merge pull request #561 from luke-jr/optimize_conn_adjtimeGavin Andresen
Only GetAdjustedTime once for the retry loop
2011-10-03Bugfix: report error creating ThreadSocketHandler thread just like the restLuke Dashjr
2011-10-03Only GetAdjustedTime once for the retry loopLuke Dashjr
2011-09-21Framework for banning mis-behaving peersGavin Andresen
2011-09-19SocketHandler thread can be detachedPieter Wuille
2011-09-06Fix AddAddress cs_mapaddresses/db transaction deadlockGavin Andresen
2011-09-02Stay connected to seed nodes; disconnecting causes problems if you are ↵Gavin Andresen
trying to make the initial blockchain download.
2011-09-02Give hard-coded seed nodes a random last-seen time, to randomize order ↵Gavin Andresen
they're tried.
2011-09-02Update the list of seednodes.Daniel Folkinshteyn
Nodes culled from MagicalTux's database of bitcoin nodes, http://dump.bitcoin.it/misc/ by version and longevity, and tested for connectivity.
2011-09-01Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen
2011-08-23Upgrade dependancies and tweak build process.Matt Corallo
* Upgrade to use miniupnpc 1.6 * Upgrade to wxWidgets 2.9.2 * Upgrade to Bost 1.47 for Win32 Builds
2011-08-19Make some global variables less-global (static)Giel van Schijndel
Explicitly make these global variables less-global to reduce the maximum scope of this global state. In my experience global variables tend to be a major source of bugs. As such the less accessible they are the less likely they are to be the source of a bug. Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-08-11Merge pull request #458 from TheBlueMatt/copyrightGavin Andresen
Unify copyright notices.
2011-08-10Test for SO_NOSIGPIPE rather than assuming all BSDs support it.Venkatesh Srinivas
Signed-off-by: Jeff Garzik <jgarzik@exmulti.com>
2011-08-09Do-nothing MapPort() ifndef USE_UPNP. fixes #450Gavin Andresen
2011-08-09Unify copyright notices.Matt Corallo
To a variation on: // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers
2011-08-01Identify as "Bitcoin + version number" when mapping UPnP portJohannes Henninger
Makes Bitcoin identify itself as "Bitcoin + version number" instead of the nondescript "libminiupnpc" when forwarding a port via UPnP.
2011-07-14Single DB transaction for addresses from DNS seedsStéphane Gimenez
2011-07-14Single DB transaction for all addresses in a messagePatrick Varilly
Cuts disk activity at startup immensely