aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.osx
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove broken Visual C++ makefile.vc, and removed annoying HEADERS= list ↵Gavin Andresen2012-01-121-23/+0
| | | | from other makefiles
* Network stack refactorPieter Wuille2012-01-061-0/+2
| | | | | | | | | | | | | | | 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.
* No reason to have any qrcode stuff in the bitcoind osx makefile.Matt Corallo2011-12-231-5/+0
|
* Merge pull request #629 from sje397/masterWladimir J. van der Laan2011-12-231-0/+4
|\ | | | | QR Code generation via libqrencode
| * Added QRCode generation functions via libqrencode. Switch on with ↵sje3972011-12-201-0/+4
| | | | | | | | | | | | | | USE_QRENCODE=1. Amended build docs for Linux and OSX, and OSX makefile. Added package 'qrencode' to gitian.yml
* | Rework unit tests so test_bitcoin.cpp does not #include them allGavin Andresen2011-12-191-1/+4
|/
* Key import and exportPieter Wuille2011-12-171-0/+1
| | | | | | | | | | | | | 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
* Add GetSecret() and GetKeys() to CKeyStorePieter Wuille2011-12-171-0/+1
|
* Moved checkpoints out of main, to prep for using them to help prevent DoS ↵Gavin Andresen2011-12-011-0/+2
| | | | attacks
* Mac OSX release process changesGavin Andresen2011-10-101-2/+19
| | | | | | | Rename App Bundle "Bitcoin-Qt.app" instead of "Bitcoin Qt" for consistency with Windows/Linux. Update create_osx_dmg.sh script to use macdeployqt tool. Add ifdef STATIC to makefile.osx to build bitcoind static or dynamic.
* Fix build on windows and macGavin Andresen2011-10-071-2/+2
| | | | | | 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.
* Update mac Makefile and build instructions to use MacPortsGavin Andresen2011-10-051-21/+39
|
* remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider2011-09-301-7/+1
|
* Fix build: put back rules to build cryptopp filesGavin Andresen2011-09-261-0/+2
|
* Remove wxWidgetsGavin Andresen2011-09-261-18/+4
| | | | | | | 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.
* assure that base bitcoind and bitcoin still buildWladimir J. van der Laan2011-09-181-2/+2
|
* Merge branch 'code-cleanup' of git://github.com/muggenhor/bitcoinGavin Andresen2011-09-011-9/+30
|\
| * Start moving protocol-specific code to protocol.[ch]ppGiel van Schijndel2011-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Cleanup makefiles such that diffs to them are smallerGiel van Schijndel2011-08-191-9/+28
| | | | | | | | Signed-off-by: Giel van Schijndel <[email protected]>
* | CHECKMULTISIG unit tests.Gavin Andresen2011-08-261-2/+2
|/
* Fix testing setupVegard Nossum2011-08-081-1/+1
| | | | | | | There were some problems with the existing testing setup: - Makefile rules for test-file compilation used CFLAGS instead of CXXFLAGS in makefile.unix
* Add wallet privkey encryption.Matt Corallo2011-07-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Make UPnP default on Bitcoin but not on Bitcoind."Matt Corallo2011-07-051-11/+6
| | | | | | | This reverts commit ee1f884229736da6f5443157ccba97f4e8f50f82. Stupid, stupid me...there is exactly 0 way to convince make to execute a conditional based on a target-specific variable.
* Make UPnP default on Bitcoin but not on Bitcoind.Matt Corallo2011-07-021-6/+11
| | | | This is a bit of an ugly hack, but its the only way to do it.
* Boost unit-testing framework.Gavin Andresen2011-06-271-1/+7
| | | | | make -f makefile.{unix,osx,mingw} test_bitcoin to compile dumb, do-almost-nothing placeholder unit tests.
* move wallet code to separate filePieter Wuille2011-06-151-1/+3
| | | | | | This introduces two new source files, keystore.cpp and wallet.cpp with corresponding headers. Code is moved from main and db, in a preparation for a follow-up commit which introduces the classes CWallet and CKeyStore.
* Revert "OSX build tweaks (laszlo)"Matt Corallo2011-05-211-1/+1
| | | | | | | | This reverts commit 69ae372b51cd589a3ac0b1ad09b0ebb90c1b6861 which removes support for building the Mac version of Bitcoin with UPnP support and UPnP disabled by default (which should be the default, according to the community vote and as its the default on all other platforms).
* OSX build tweaks (laszlo)Jeff Garzik2011-05-201-1/+1
|
* directory re-organization (keeps the old build system)Jaromil2011-04-231-0/+80
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