aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix typo src/net.cppnomnombtc2012-03-061-1/+1
|
* Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-02-171-6/+13
|\
| * Several shutdown-related fixesPieter Wuille2012-02-171-5/+8
| | | | | | | | | | | | * do not let vnThreadsRunning[1] go negative * do not perform locking operations while vnThreadsRunning[1] is decreased * check vnThreadsRunning[1] at exit
| * Bugfix: do not create CAddress for invalid acceptsPieter Wuille2012-02-171-1/+5
| |
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-02-111-0/+20
|\|
| * Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.Matt Corallo2012-02-111-0/+20
| | | | | | | | | | | | | | 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.
| * Update copyrights to 2012 for files modified this yearLuke Dashjr2012-02-071-1/+1
| |
* | Update copyrights to 2012 for files modified this yearLuke Dashjr2012-02-071-1/+1
| |
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-02-021-2/+22
|\| | | | | | | | | Conflicts: src/main.cpp
| * Fix UPnP by reannouncing every 20 minutes.Matt Corallo2012-02-021-2/+22
| |
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-01-231-64/+77
|\| | | | | | | | | Conflicts: doc/release-process.txt
| * Update seednodes, pick long-uptime nodes with version >= 0.4.0Daniel Folkinshteyn2012-01-231-64/+77
| |
| * Replace tabs with four spaces to comply with coding standard in doc/coding.txtLars Rasmusson2012-01-231-2/+2
| |
* | Replace tabs with four spaces to comply with coding standard in doc/coding.txtLars Rasmusson2012-01-231-2/+2
| |
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-01-161-3/+0
|\|
| * Code tidyups, fixing various warnings.Luke Dashjr2012-01-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2012-01-031-27/+34
|\| | | | | | | | | Conflicts: src/util.cpp
| * Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen2012-01-031-1/+1
| | | | | | | | | | | | Conflicts: src/init.cpp src/util.cpp
| * Fix some address-handling deadlocksPieter Wuille2012-01-021-26/+33
| | | | | | | | | | | | 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.
* | Merge branch '0.4.x' into 0.5.0.xLuke Dashjr2011-12-191-0/+2
|\|
| * Add my DNS seed domainLuke Dashjr2011-12-191-0/+1
| |
| * Add sipa's new dnsseed.Matt Corallo2011-12-191-0/+1
| |
* | Merge branch '0.4.x' into 0.5.xLuke Dashjr2011-12-121-1/+14
|\|
| * Merge branch 'restore_old_miniupnp_compat' into 0.4.xLuke Dashjr2011-12-121-1/+14
| |\
| | * Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)Luke Dashjr2011-12-101-1/+14
| | |
* | | Move DNS Seed lookup to a new thread.Matt Corallo2011-12-021-1/+38
|\| |
| * | Move DNS Seed lookup to a new thread.Matt Corallo2011-12-021-1/+38
| | |
| * | Remove vladimir's DNS seed, at his request.Jeff Garzik2011-11-151-1/+0
| | |
* | | Remove vladimir's DNS seed, at his request.Jeff Garzik2011-10-311-1/+0
| | |
* | | Fix build on windows and macGavin Andresen2011-10-071-11/+11
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #558 from ↵Gavin Andresen2011-10-051-1/+2
|\| | | | | | | | | | | | | | luke-jr/bugfix_CreateThread_ThreadSocketHandler_errReporting Bugfix: ThreadSocketHandler creation error
| * | Bugfix: report error creating ThreadSocketHandler thread just like the restLuke Dashjr2011-10-031-1/+2
| | |
* | | Merge pull request #561 from luke-jr/optimize_conn_adjtimeGavin Andresen2011-10-051-2/+4
|\ \ \ | | | | | | | | Only GetAdjustedTime once for the retry loop
| * | | Only GetAdjustedTime once for the retry loopLuke Dashjr2011-10-031-2/+4
| |/ /
* / / Framework for banning mis-behaving peersGavin Andresen2011-09-211-1/+53
|/ /
* | SocketHandler thread can be detachedPieter Wuille2011-09-191-1/+1
| |
* | Fix AddAddress cs_mapaddresses/db transaction deadlockGavin Andresen2011-09-061-15/+21
| |
* | Stay connected to seed nodes; disconnecting causes problems if you are ↵Gavin Andresen2011-09-021-30/+0
| | | | | | | | trying to make the initial blockchain download.
* | Give hard-coded seed nodes a random last-seen time, to randomize order ↵Gavin Andresen2011-09-021-1/+4
| | | | | | | | they're tried.
* | Update the list of seednodes.Daniel Folkinshteyn2011-09-021-40/+64
| | | | | | | | | | | | Nodes culled from MagicalTux's database of bitcoin nodes, http://dump.bitcoin.it/misc/ by version and longevity, and tested for connectivity.
* | Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen2011-09-011-2/+2
|\ \ | |/ |/|
| * Make some global variables less-global (static)Giel van Schijndel2011-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | Upgrade dependancies and tweak build process.Matt Corallo2011-08-231-12/+3
|/ | | | | | * Upgrade to use miniupnpc 1.6 * Upgrade to wxWidgets 2.9.2 * Upgrade to Bost 1.47 for Win32 Builds
* Merge pull request #458 from TheBlueMatt/copyrightGavin Andresen2011-08-111-0/+1
|\ | | | | Unify copyright notices.
| * Unify copyright notices.Matt Corallo2011-08-091-0/+1
| | | | | | | | | | | | To a variation on: // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2011 The Bitcoin developers
* | Test for SO_NOSIGPIPE rather than assuming all BSDs support it.Venkatesh Srinivas2011-08-101-2/+2
| | | | | | | | Signed-off-by: Jeff Garzik <[email protected]>
* | Do-nothing MapPort() ifndef USE_UPNP. fixes #450Gavin Andresen2011-08-091-0/+5
|/
* Identify as "Bitcoin + version number" when mapping UPnP portJohannes Henninger2011-08-011-2/+3
| | | | | Makes Bitcoin identify itself as "Bitcoin + version number" instead of the nondescript "libminiupnpc" when forwarding a port via UPnP.
* Single DB transaction for addresses from DNS seedsStéphane Gimenez2011-07-141-1/+5
|
* Single DB transaction for all addresses in a messagePatrick Varilly2011-07-141-3/+11
| | | | Cuts disk activity at startup immensely