aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
AgeCommit message (Collapse)Author
2012-01-06Network stack refactorPieter Wuille
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.
2012-01-03I broke -testnet with my TOR option-parsing fixes.Gavin Andresen
2012-01-03Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen
2011-12-21Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
2011-12-20Use standard C99 (and Qt) types for 64-bit integersLuke Dashjr
2011-12-20Merge pull request #717 from TheBlueMatt/installerqtupgradeGavin Andresen
Implement "Start on window system startup" on Win32 + Linux.
2011-12-20Implement "Start on window system startup" on Win32 + Linux.Matt Corallo
2011-12-19Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsingGavin Andresen
When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
2011-12-16Move more newlines out of strings, and fix translations.Gavin Andresen
2011-12-13move \\n outside _() in --helpNils Schneider
2011-12-09When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()Rune K Svendsen
2011-12-02Merge pull request #654 from TheBlueMatt/dnsseed-threadGavin Andresen
Move DNS Seed lookup to a new thread.
2011-11-27Add missing command-line arguments to --help/-? outputGavin Andresen
2011-11-26Move DNS Seed lookup to a new thread.Matt Corallo
2011-11-17Only remove database log files on shutdown after wallet encryption/rewritev0.5.0rc6Gavin Andresen
2011-11-15Obsolete keypool and make sure database removes log files on shutdown.Gavin Andresen
2011-10-25Optionally include additional QT plugins when required to build.Matt Corallo
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-09-26Remove wxWidgetsGavin Andresen
Makefiles now build bitcoind only. qmake/make in top-level directory is used to build Bitcoin QT Deleted almost all #ifdef GUI from the code (left one possibly controversial one) Deleted xpm/ files.
2011-09-26Merge pull request #517 from gavinandresen/DoSpreventionGavin Andresen
Denial-of-service prevention
2011-09-21Framework for banning mis-behaving peersGavin Andresen
2011-09-02bitcoin-qt cannot be used as command line rpc clientWladimir J. van der Laan
2011-08-28add russian translation and add unicode compatibility (merges pull request #20)Misbakh-Soloviev Vadim A
2011-08-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
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-06Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-03Don't listen if on TOR (resolves #441).Matt Corallo
2011-08-02add splash screenWladimir J. van der Laan
2011-07-26Merge remote branch 'upstream/master'Wladimir J. van der Laan
Conflicts: src/bitcoinrpc.cpp
2011-07-17get rid of mapPubKeysPieter Wuille
Make CKeyStore's interface work on uint160's instead of pubkeys, so no separate global mapPubKeys is necessary anymore.
2011-07-15Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-12Merge pull request #381 from TheBlueMatt/nminversionJeff Garzik
Add minversion to wallet.
2011-07-08Prepare codebase for Encrypted Keys.Pieter Wuille
2011-07-07Sync to bitcoin git e94010b2395694d56dd6Wladimir J. van der Laan
2011-07-05Add minversion to wallet.Matt Corallo
2011-07-03windows build fixesWladimir J. van der Laan
2011-07-01Enable DNS seeding by default.Jeff Garzik
2011-06-26update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan
2011-06-23Edited init.cpp to include a check that -datadir existsJames Burkle
2011-06-22use #ifdef QT_UI to distinguish Qt UI instead of hardcoded #if 0Wladimir J. van der Laan
2011-06-20fixes for mac buildmark
2011-06-19Fix missing includes needed for Boost 1.46.Shane Wegner
2011-06-18update bitcoin core from git (eeac8727bc0a951631bd)Wladimir J. van der Laan
2011-06-15CWallet classPieter Wuille
* A new class CKeyStore manages private keys, and script.cpp depends on access to CKeyStore. * A new class CWallet extends CKeyStore, and contains all former wallet-specific globals; CWallet depends on script.cpp, not the other way around. * Wallet-specific functions in CTransaction/CTxIn/CTxOut (GetDebit, GetCredit, GetChange, IsMine, IsFromMe), are moved to CWallet, taking their former 'this' argument as an explicit parameter * CWalletTx objects know which CWallet they belong to, for convenience, so they have their own direct (and caching) GetDebit/... functions. * Some code was moved from CWalletDB to CWallet, such as handling of reserve keys. * Main.cpp keeps a set of all 'registered' wallets, which should be informed about updates to the block chain, and does not have any notion about any 'main' wallet. Function in main.cpp that require a wallet (such as GenerateCoins), take an explicit CWallet* argument. * The actual CWallet instance used by the application is defined in init.cpp as "CWallet* pwalletMain". rpc.cpp and ui.cpp use this variable. * Functions in main.cpp and db.cpp that are not used by other modules are marked static. * The code for handling the 'submitorder' message is removed, as it not really compatible with the idea that a node is independent from the wallet(s) connected to it, and obsolete anyway.
2011-06-14Merge pull request #226 from jordanlewis/betterheadersJeff Garzik
Optimize header dependencies; improve Makefile dependency graph
2011-06-12update bitcoin core to git ce148944c776ae8e91cc058f44ddce356c7cebc9Wladimir J. van der Laan
2011-06-12Faster timeout when connectingPieter Wuille
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.
2011-06-11move back to original directory structureWladimir J. van der Laan
2011-06-11Remove unused variableHan Lin Yap
2011-05-22Update transactions already in the wallet when rescanning.Pieter Wuille
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.