aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
AgeCommit message (Collapse)Author
2012-02-17Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-17Macros for manual critical sectionsPieter Wuille
2012-02-07Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: src/bitcoinrpc.cpp
2012-02-07Update copyrights to 2012 for files modified this yearLuke Dashjr
2012-01-23Replace tabs with four spaces to comply with coding standard in doc/coding.txtLars Rasmusson
2012-01-03Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
Conflicts: src/util.cpp
2012-01-03Fix issue #659, and cleanup wallet/command-line argument handling a bitGavin Andresen
Conflicts: src/init.cpp src/util.cpp
2011-12-20Implement an mlock()'d string class for storing passphrasesDylan Noblesmith
SecureString is identical to std::string except with secure_allocator substituting for std::allocator. This makes casting between them impossible, so converting between the two at API boundaries requires calling ::c_str() for now.
2011-10-07Fix for 64bit buildVictor Leschuk
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-10-06Fix for 64bit buildVictor Leschuk
2011-09-30simpler ByteReverseNils Schneider
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-30Merge pull request #524 from sipa/signandverifGavin Andresen
Sign and verify message with bitcoin address
2011-09-29Add assertion size>0 to MedianFilterWladimir J. van der Laan
2011-09-28Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: .gitignore (used upstream version) bitcoin-qt.pro
2011-09-28use median filter for peer-reported reported number of blocksWladimir J. van der Laan
- fixes problem that one misconfigured or malicious node can mess up progress bar - implementation in src/util.h - testcase in src/test/util_tests.cpp
2011-09-27Inline base64 encoder/decoderPieter Wuille
This replaces the openssl-based base64 encoder and decoder with a more efficient internal one. Tested against the rfc4648 test vectors. Decoder is based on JoelKatz' version.
2011-09-27Faster Base64 decoder.JoelKatz
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-21SetMockTime() for cleaner unit testingGavin Andresen
2011-09-06Revert "Define MSG_NOSIGNAL to 0 on platforms where it is unavailable."Jeff Garzik
This reverts commit 6a0296791d5e81102a12a3142f5be25cb40f9825. The change breaks build on Fedora Linux.
2011-09-06Define MSG_NOSIGNAL to 0 on platforms where it is unavailable.Venkatesh Srinivas
Enables building bitcoind on OpenBSD.
2011-09-02Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: src/main.cpp
2011-08-22Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-19Move func 'REF' from util.h to serialize.hGiel van Schijndel
util.h doesn't use REF, serialize.h does, creating a dependency of serialize.h on util.h, but util.h already depends on serialize.h. To resolve this circular dependency the function 'REF' has now been moved closer to one of its two points of use. Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-08-17Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can ↵Gavin Andresen
cause deadlocks
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-07-25Fix UNIX-specific thread handle leak.JoelKatz
2011-07-15Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-13fix warnings: expression result unused [-Wunused-value]Giel van Schijndel
In the assert()s take advantage of the fact that string constants ("string") are effectively of type 'const char []', which when used in an expression yield a non-NULL pointer. An assertion that should always fail can thus be formulated as: assert(!"fail); An assertion where a text message should be added to the expression can be written as such: assert("message" && expression); Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-07-13fix warning on 64bit systems: cast to pointer from integer of different size ↵Giel van Schijndel
[-Wint-to-pointer-cast] Signed-off-by: Giel van Schijndel <me@mortis.eu>
2011-06-26update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan
2011-06-18update bitcoin core from git (eeac8727bc0a951631bd)Wladimir J. van der Laan
2011-06-14Merge pull request #226 from jordanlewis/betterheadersJeff Garzik
Optimize header dependencies; improve Makefile dependency graph
2011-06-13Internationalization -- initial step, make _ return a std::string to prevent ↵Wladimir J. van der Laan
memory leaks
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-05-17Only include certain boost headers if necessary.Jordan Lewis
2011-05-15Build error mingw, missing std::Gavin Andresen
2011-05-15make bitcoin include files more modularWladimir J. van der Laan
2011-04-23directory re-organization (keeps the old build system)Jaromil
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