aboutsummaryrefslogtreecommitdiff
path: root/src/irc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* (finally) Remove IRC Seed support now that lfnet is down.Matt Corallo2013-03-241-403/+0
|
* fix some thread related log messagesPhilip Kaufmann2012-10-251-1/+4
| | | | | | | | | - "ThreadIRCSeed started" was not displayed, even if the thread ran (although only for a short time as the "do we want this thread?"-checks happen IN ThreadIRCSeed2()) - the patch ensures we always get that message - add a "ThreadIRCSeed trying to connect..." message - add missing "ThreadDumpAddress started" message
* get rid of strlcpy.hWladimir J. van der Laan2012-10-071-9/+7
| | | | | Don't use hand-rolled string manipulation routine with a fixed buffer in the bitcoin core, instead make use of c++ strings and boost.
* fix -Wformat warnings all over the sourcePhilip Kaufmann2012-10-011-1/+1
|
* Remove stack randomizationPieter Wuille2012-09-281-2/+0
|
* Don't retry a failing IRC nickname forever.Gregory Maxwell2012-08-281-1/+5
| | | | | | | | | | | If our IRC nick is in use (because some other node thinks it has the same address we think we have) don't fruitlessly try to reconnect using that name forever. After three tries, give up and use a random nick. Either we'll learn a new local address from IRC and switch to that, or it was right and the other guy is advertising for us. This avoids a pessimal case where a second testnet node behind a nat is unable to get any peers because he can't get on IRC.
* Don't force IRC off if not listening, do force it off if IPv4 is off.Gregory Maxwell2012-08-281-5/+12
| | | | | | | | Previously Bitcoin would refuse to use IRC if it was either not accepting inbound connections or not making outbound. Instead this changes it to not use IRC only if it's not doing either or if IPv4 is off completely. If Bitcoin is not listening this will use the default random nicks rather than the IP based ones.
* Bugfix: Fix a variety of misspellingsLuke Dashjr2012-08-011-1/+1
|
* Give threads a recognisable name to aid in debuggingGiel van Schijndel2012-07-171-0/+4
| | | | | | | | NOTE: These thread names are visible in gdb when using 'info threads'. Additionally both 'top' and 'ps' show these names *unless* told to display the command-line instead of task name. Signed-off-by: Giel van Schijndel <[email protected]>
* Rework network config settingsPieter Wuille2012-05-311-3/+1
|
* Testnet, Mark IIIGavin Andresen2012-05-251-2/+2
|
* Update License in File HeadersFordy2012-05-181-1/+1
| | | | | | 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.
* Corrected grammar. As per Principle Of Least Surprise.R E Broadley2012-05-171-1/+1
|
* Only encode IPv4 addresses in IRC nicksPieter Wuille2012-05-131-2/+3
|
* Keep port information for local addressesPieter Wuille2012-05-111-1/+1
|
* Support for multiple local addressesPieter Wuille2012-05-041-8/+5
|
* Remove headers.hPieter Wuille2012-04-171-1/+1
|
* The string class returns string::npos, when find() fails.Jeff Garzik2012-04-151-4/+4
| | | | Noticed when sign-comparison warnings were enabled.
* CAddrMan: stochastic address managerPieter Wuille2012-02-241-1/+1
| | | | | | | | | Design goals: * Only keep a limited number of addresses around, so that addr.dat does not grow without bound. * Keep the address tables in-memory, and occasionally write the table to addr.dat. * Make sure no (localized) attacker can fill the entire table with his nodes/addresses. See comments in addrman.h for more detailed information.
* Fix #626: RecvLine wrong error messagePieter Wuille2012-02-191-51/+0
| | | | Also moved RecvLine to net.cpp.
* Update all copyrights to 2012Gavin Andresen2012-02-071-1/+1
|
* Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. ↵Gavin Andresen2012-02-071-1/+2
| | | | And switch default for irc to 0.
* Network stack refactorPieter Wuille2012-01-061-17/+20
| | | | | | | | | | | | | | | This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself.
* Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen2012-01-031-13/+4
|
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-3/+1
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
* Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr2011-12-201-1/+3
|
* 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
* Merge pull request #226 from jordanlewis/betterheadersJeff Garzik2011-06-141-0/+3
|\ | | | | Optimize header dependencies; improve Makefile dependency graph
| * Only include strlcpy.h when we have toJordan Lewis2011-05-151-0/+1
| |
| * Only include net.h when we have toJordan Lewis2011-05-151-0/+1
| |
| * Only include irc.h when neededJordan Lewis2011-05-151-0/+1
| |
* | irc: #bitcoin is overflowing. split up into 100 randomly-joined channels.v0.3.22rc3Jeff Garzik2011-05-201-3/+10
| | | | | | | | From laszlo
* | Bugfix for dnslookup: irc.cpp still used old CAddress constructorPieter Wuille2011-05-171-2/+2
|/
* make bitcoin include files more modularWladimir J. van der Laan2011-05-151-0/+3
|
* Support for name lookups in -connect and -addnodePieter Wuille2011-05-101-24/+14
| | | | | | | | | | | | | | * A new option -dns is introduced that enables name lookups in -connect and -addnode, which is not enabled by default, as it may be considered a security issue. * A Lookup function is added that supports retrieving one or more addresses based on a host name * CAddress constructors (optionally) support name lookups. * The different places in the source code that did name lookups are refactored to use NameLookup or CAddress instead (dns seeding, irc server lookup, getexternalip, ...). * Removed ToStringLog() from CAddress, and switched to ToString(), since it was empty.
* directory re-organization (keeps the old build system)Jaromil2011-04-231-0/+445
there is no internal modification of any file in this commit files are moved into directories according to established standards in sourcecode distribution; these directories contain: src - Files that are used in constructing the executable binaries, but are not installed. doc - Files in HTML and text format that document usage, quirks of the implementation, and contributor checklists. locale - Files that contain human language translation of strings used in the program contrib - Files contributed from distributions or other third party implementing scripts and auxiliary programs