aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.mingw
AgeCommit message (Collapse)Author
2012-09-05Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-gitGavin Andresen
2012-08-29enable ASLR and DEP for bitcoind.exe via linker flagsPhilip Kaufmann
- this is already active for bitcoin-qt.exe
2012-08-28Refactor: move alert code from main to alert.cpp/hGavin Andresen
2012-08-27Add boost chrono lib for windows builds (required for boost 1.50)v0.7.0rc1Wladimir J. van der Laan
2012-08-27Upgrade to Boost 1.50Matt Corallo
2012-08-23Allow building with IPv6 support, but it disabled by defaultLuke Dashjr
2012-08-23Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} tooLuke Dashjr
2012-08-23Make IPv6 support buildtime-optional again (defaults to enabled)Luke Dashjr
2012-08-21RPC, cosmetic: move more RPC code to new rpcblockchain.cpp moduleJeff Garzik
2012-08-21RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp moduleJeff Garzik
2012-08-21RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC codeJeff Garzik
2012-07-22Replace all occurances of license.txt with COPYING, including naming the ↵Luke Dashjr
file COPYING.txt on Windows
2012-07-14Correct OpenSSL in makefilefanquake
1.0.0d -> 1.0.1b
2012-07-05Merge branch 'uri' of https://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-07-05Implement raw transaction RPC callsGavin Andresen
Implement listunspent / getrawtransaction / createrawtransaction / signrawtransaction, to support creation and signing-on-multiple-device multisignature transactions.
2012-06-28Create new rpcnet module, and move 'getconnectioncount' RPC to itJeff Garzik
2012-06-24On Windows link with `mswsock`, it being required (indirectly) by RPC codeGiel van Schijndel
Signed-off-by: Giel van Schijndel <me@mortis.eu>
2012-06-15Upgrade to Boost 1.49 on Win32Matt Corallo
2012-05-21Define BOOST_SPIRIT_THREADSAFE in all makefilesJeff Garzik
rather than at each include site. Fixes #1371
2012-05-11Merge pull request #1021 from sipa/ipv6Pieter Wuille
IPv6 node support
2012-05-11Split synchronization mechanisms from util.{h,cpp}Pieter Wuille
2012-05-11IPv6 node supportPieter Wuille
This will make bitcoin relay valid routable IPv6 addresses, and when USE_IPV6 is enabled, listen on IPv6 interfaces and attempt connections to IPv6 addresses.
2012-05-09Clean up warningsPieter Wuille
* Use -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameters * Remove xCXXFLAGS usage in makefile.unix * Fix several recent and older sign-compare warnings
2012-04-26Merge pull request #1150 from gavinandresen/NOPCHGavin Andresen
Remove unused -DNOPCH
2012-04-26Define TEST_DATA_DIR so unit tests can be run from any current working directoryGavin Andresen
2012-04-25Remove unused -DNOPCHGavin Andresen
2012-04-17Move CWalletDB code to new walletdb module.Jeff Garzik
In addition to standard code separation, this change opens the door to fixing several include inter-dependencies.
2012-04-10Build identification stringsPieter Wuille
All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, using git describe. The git export-subst attribute is used to put the commit id statically in version.cpp inside generated archives, and this value is used if no build.h is present. The gitian descriptors are modified to use git archive instead of a copy, to create the src/ directory in the output. This way, src/src/version.cpp will contain the static commit id. To prevent gitian builds from getting the "-dirty" marker in their git-describe generated identifiers, no touching of files or running sed on the makefile is performed anymore. This does not seem to influence determinism.
2012-04-04Remove USE_SSL #defineGavin Andresen
2012-04-04Move from noui.h / ui.h to one ui_interface.h with dummy implementation for ↵Wladimir J. van der Laan
the daemon.
2012-02-24CAddrMan: stochastic address managerPieter Wuille
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.
2012-01-12Compile with extra warnings turned on. And more makefile/code tidying up.Gavin Andresen
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).
2012-01-12Remove broken Visual C++ makefile.vc, and removed annoying HEADERS= list ↵Gavin Andresen
from other makefiles
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.
2011-12-17Key import and exportPieter Wuille
Introduces two new RPC calls: * dumpprivkey: retrieve the private key corresponding to an address * importprivkey: add a private key to your wallet The private key format is analoguous to the address format. It is a 51-character base58-encoded string, that includes a version number and a checksum. Includes patch by mhanne: * add optional account parameter for importprivkey, if omitted use default
2011-12-17Add GetSecret() and GetKeys() to CKeyStorePieter Wuille
2011-12-01Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen
attacks
2011-10-07Remove ui_res from makefilesGavin Andresen
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-26Fix build: put back rules to build cryptopp filesGavin Andresen
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-18assure that base bitcoind and bitcoin still buildWladimir J. van der Laan
2011-09-01Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen
2011-08-31Merge pull request #464 from TheBlueMatt/upnp1.6Jeff Garzik
Upgrade dependancies and tweak build process.
2011-08-26CHECKMULTISIG unit tests.Gavin 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-19Start moving protocol-specific code to protocol.[ch]ppGiel van Schijndel
Move CMessageHeader from net.h to protocol.[ch]pp, with the implementation in the .cpp compilation unit (compiling once is enough). This commit does *not* and should not modify *any* code, it only moves it from net.h and splits it across protocol.cpp and protocol.hpp. Indentation changes aside the closest thing to a modification of code is the addition of the 'TODO' comment (the execution of which requires code modifications and thus doesn't belong in this commit). Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-08-19Cleanup makefiles such that diffs to them are smallerGiel van Schijndel
Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-08-08Fix testing setupVegard Nossum
There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix
2011-07-13Add wallet privkey encryption.Matt Corallo
This commit adds support for ckeys, or enCrypted private keys, to the wallet. All keys are stored in memory in their encrypted form and thus the passphrase is required from the user to spend coins, or to create new addresses. Keys are encrypted with AES-256-CBC using OpenSSL's EVP library. The key is calculated via EVP_BytesToKey using SHA512 with (by default) 25000 rounds and a random salt. By default, the user's wallet remains unencrypted until they call the RPC command encryptwallet <passphrase> or, from the GUI menu, Options-> Encrypt Wallet. When the user is attempting to call RPC functions which require the password to unlock the wallet, an error will be returned unless they call walletpassphrase <passphrase> <time to keep key in memory> first. A keypoolrefill command has been added which tops up the users keypool (requiring the passphrase via walletpassphrase first). keypoolsize has been added to the output of getinfo to show the user the number of keys left before they need to specify their passphrase (and call keypoolrefill). Note that walletpassphrase will automatically fill keypool in a separate thread which it spawns when the passphrase is set. This could cause some delays in other threads waiting for locks on the wallet passphrase, including one which could cause the passphrase to be stored longer than expected, however it will not allow the passphrase to be used longer than expected as ThreadCleanWalletPassphrase will attempt to get a lock on the key as soon as the specified lock time has arrived. When the keypool runs out (and wallet is locked) GetOrReuseKeyFromPool returns vchDefaultKey, meaning miners may start to generate many blocks to vchDefaultKey instead of a new key each time. A walletpassphrasechange <oldpassphrase> <newpassphrase> has been added to allow the user to change their password via RPC. Whenever keying material (unencrypted private keys, the user's passphrase, the wallet's AES key) is stored unencrypted in memory, any reasonable attempt is made to mlock/VirtualLock that memory before storing the keying material. This is not true in several (commented) cases where mlock/VirtualLocking the memory is not possible. Although encryption of private keys in memory can be very useful on desktop systems (as some small amount of protection against stupid viruses), on an RPC server, the password is entered fairly insecurely. Thus, the only main advantage encryption has for RPC servers is for RPC servers that do not spend coins, except in rare cases, eg. a webserver of a merchant which only receives payment except for cases of manual intervention. Thanks to jgarzik for the original patch and sipa, gmaxwell and many others for all their input. Conflicts: src/wallet.cpp