aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Faster timeout when connectingPieter Wuille2011-06-121-0/+8
| | | | | | | | | Use non-blocking connects, and a select() call to wait a predefined time (5s by default, but configurable with -timeout) for either success or failure. This allows much more connections to be tried per time unit. Based on a patch by phantomcircuit.
* Remove unused variableHan Lin Yap2011-06-111-1/+0
|
* Update transactions already in the wallet when rescanning.Pieter Wuille2011-05-221-1/+1
| | | | | | | | When rescanning, if the scanned transaction is already in the wallet, it is skipped. However, if someone sends a transaction, does not wait for confirmation, switches wallets, waits for a block that contains his original transaction, and switches wallets again, a rescan will leave his wallet transaction (which has no merkle branch, so no confirmations) untouched.
* make bitcoin include files more modularWladimir J. van der Laan2011-05-151-8/+3
|
* Support for name lookups in -connect and -addnodePieter Wuille2011-05-101-1/+3
| | | | | | | | | | | | | | * 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.
* Manual merge of jaromil's source tree reorg commit.Jeff Garzik2011-05-091-1/+1
| | | | | Conflicts: src/sha256.cpp
* directory re-organization (keeps the old build system)Jaromil2011-04-231-0/+523
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