aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | ConnectBlock(): fix error() format to be unsignedPhilip Kaufmann2012-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - I introduced the wrong format macro with my former patch (#2018), this needs to be signed not unsigned (thanks Luke-Jr)
* | | | | | | | | | | | | Merge pull request #2019 from Diapolo/bitcoinstrings_updWladimir J. van der Laan2012-11-162-202/+260
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | update bitcoinstrings.cpp and bitcoin_en.ts
| * | | | | | | | | | | | update bitcoinstrings.cpp and bitcoin_en.tsPhilip Kaufmann2012-11-162-202/+260
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2009 from sipa/fixmoveGavin Andresen2012-11-163-6/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | Prevent RPC 'move' from deadlocking
| * | | | | | | | | | | | Prevent RPC 'move' from deadlockingPieter Wuille2012-11-143-6/+10
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seemed to create two CWalletDB objects that both grab the database lock.
* | | | | | | | | | | | ensure we use our format macros to avoid compilation warningsPhilip Kaufmann2012-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixes 2 warnings I observed while compiling on Windows with MinGW
* | | | | | | | | | | | Merge pull request #1767 from Diapolo/RPCCon_clear_historyWladimir J. van der Laan2012-11-151-2/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | clear history when using clear button in RPC console
| * | | | | | | | | | | | clear history when using clear button in RPC consolePhilip Kaufmann2012-09-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - current code does not clear history, when using the clear button, this is added - remove a currently unused variable but add a TODO comment
* | | | | | | | | | | | | Merge pull request #1670 from luke-jr/blksubstrJeff Garzik2012-11-155-27/+38
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use full block hash as unique identifier in debug.log
| * | | | | | | | | | | | | Change block references in debug.log to full hash instead of just 0..20Luke Dashjr2012-11-131-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Abstract block hash substr extraction (for debug.log) into BlockHashStr inlineLuke Dashjr2012-11-135-27/+38
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #1945 from centromere/leveldb_fixJeff Garzik2012-11-151-2/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed compile error on FreeBSD 9.
| * | | | | | | | | | | | | Fixed compile error on FreeBSD 9.Alex2012-10-221-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://code.google.com/p/leveldb/issues/detail?id=98
* | | | | | | | | | | | | | Merge pull request #1987 from jgarzik/no-pw-matchJeff Garzik2012-11-151-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC: Forbid RPC username == RPC password
| * | | | | | | | | | | | | | RPC: Forbid RPC username == RPC passwordJeff Garzik2012-11-151-1/+3
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added security measure.
* | | | | | | | | | | | | | Merge pull request #2005 from Diapolo/fixes_mainJeff Garzik2012-11-152-8/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some small fixes for main.cpp/.h
| * | | | | | | | | | | | | | some small fixes for main.cpp/.hPhilip Kaufmann2012-11-112-8/+6
| | |_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove an unwanted ";" at the end of the ~CCoinsView() destructor - in FindBlockPos() and FindUndoPos() only call fclose(), is file is open - fix an error string in the CBlockUndo class
* | | | | | | | | | | | | | Merge pull request #2012 from luke-jr/invblk_errsJeff Garzik2012-11-151-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print error for coinbase-pays-too-much case of ConnectBlock failing
| * | | | | | | | | | | | | | Print error for coinbase-pays-too-much case of ConnectBlock failingLuke Dashjr2012-11-141-1/+1
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #2010 from Diapolo/bind_unsignedPieter Wuille2012-11-151-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make enum and parameter used in Bind() unsigned
| * | | | | | | | | | | | | | make enum and parameter used in Bind() unsignedPhilip Kaufmann2012-11-141-4/+4
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - it's good practise to use unsigned int for enum flags, so change this one, as I introduced this for Bind()
* / / / / / / / / / / / / / Introduce script verification flagsPieter Wuille2012-11-1510-63/+69
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These flags select features to be enabled/disabled during script evaluation/checking, instead of several booleans passed along. Currently these flags are defined: * SCRIPT_VERIFY_P2SH: enable BIP16-style subscript evaluation * SCRIPT_VERIFY_STRICTENC: enforce strict adherence to pubkey/sig encoding standards.
* | | | | | | | | | | | | add CWalletTx::GetImmatureCredit() and use it in CWallet::GetImmatureBalance()Philip Kaufmann2012-11-132-3/+20
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2002 from alexanderkjeldaas/clang-warningsWladimir J. van der Laan2012-11-121-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | o Removed verbose clang warning
| * | | | | | | | | | | | o Removed verbose clang warningAlexander Kjeldaas2012-11-111-1/+1
| | |_|_|_|/ / / / / / / | |/| | | | | | | | | |
* | | | | | | | | | | | Merge pull request #1970 from Arnavion/fix-make-leveldbPieter Wuille2012-11-111-32/+32
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | leveldb cannot compile with custom CFLAGS / CXXFLAGS / LDFLAGS
| * | | | | | | | | | | | Fixed making leveldb with custom CFLAGS/CXXFLAGS in the same way as ↵Arnav Singh2012-11-011-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | makefile.unix
* | | | | | | | | | | | | Merge pull request #1997 from Diapolo/bdb_openPieter Wuille2012-11-112-10/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplify CDBEnv::Open() / fix small glitches
| * | | | | | | | | | | | | simplify CDBEnv::Open() / fix small glitchesPhilip Kaufmann2012-11-102-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove pathEnv from CDBEnv, as this attribute is not needed - change path parameter in ::Open() to a reference - make nDbCache variable an unsigned integer - remove a missplaced ";" behin ::IsMock()
* | | | | | | | | | | | | | Merge pull request #2000 from Diapolo/fix_indentationPieter Wuille2012-11-111-41/+40
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | fix some missing indentations in main.cpp for better readability
| * | | | | | | | | | | | | fix some missing indentations in main.cpp for better readabilityPhilip Kaufmann2012-11-101-41/+40
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #1979 from sipa/corefndocPieter Wuille2012-11-101-0/+28
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One-line comments for public main functions
| * | | | | | | | | | | | | | One-line comments for public main functionsPieter Wuille2012-11-101-0/+28
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Fix status text after reindexPieter Wuille2012-11-101-0/+2
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge pull request #1992 from Diapolo/no_memsetGregory Maxwell2012-11-106-18/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | don't use memset() in privacy/security relevant code parts
| * | | | | | | | | | | | | make CBase58Data class use zero_after_free_allocatorPhilip Kaufmann2012-11-091-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this way there is no need for an explicit destructor, who does the same thing anyway
| * | | | | | | | | | | | | don't use memset() in privacy/security relevant code partsPhilip Kaufmann2012-11-096-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As memset() can be optimized out by a compiler it should not be used in privacy/security relevant code parts. OpenSSL provides the safe OPENSSL_cleanse() function in crypto.h, which perfectly does the job of clean and overwrite data. For details see: http://www.viva64.com/en/b/0178/ - change memset() to OPENSSL_cleanse() where appropriate - change a hard-coded number from netbase.cpp into a sizeof()
* | | | | | | | | | | | | | Merge pull request #1977 from Diapolo/rem_printf_redef_rpcWladimir J. van der Laan2012-11-101-3/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove printf redefinition from bitcoinrpc.cpp
| * | | | | | | | | | | | | | remove printf redefinition from bitcoinrpc.cppPhilip Kaufmann2012-11-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - as the redefiniton of printf happens in util.h, which is included in bitcoinrpc.cpp, we don't need another redefinition
* | | | | | | | | | | | | | | Merge pull request #1993 from Diapolo/qt_header_cleanupWladimir J. van der Laan2012-11-105-8/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | Qt: small header changes / fixes
| * | | | | | | | | | | | | | Qt: small header changes / fixesPhilip Kaufmann2012-11-085-8/+7
| | |_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - ensure header inclusion guard is named after the header file - add missing comments at the end of some inclusion guards - add a small Qt5 compatibility fix in macdockiconhandler.h
* | | | | | | | | | | | | | allow listening on -bind=address for blocked networksPhilip Kaufmann2012-11-101-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this allows the client to listen on via -bind specified addresses (e.g. 127.0.0.1), even when a network (IPv4 in that case) was blocked via e.g -onlynet="Tor" - introduce enum BindFlags to avoid passing multiple bools to Bind() - make -bind help text clear we ALWAYS listen on the specified address - remove an unused variable - remove 2 unneeded IsLimited() checks before calling Bind(), which does these checks anyway - usage case: specify -bind=127.0.0.1 -onlynet="Tor" to allow incoming connections to a Tor hidden service, but still don't allow other IPv4 nodes to connect / get connected
* | | | | | | | | | | | | | Fix tests after cache tweaksPieter Wuille2012-11-101-2/+2
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #1943 from sipa/reindex2Pieter Wuille2012-11-0912-148/+405
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add -reindex, to perform in-place reindexing of block chain files
| * | | | | | | | | | | | | | Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille2012-11-0911-75/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flushes the blktree/ and coins/ databases, and reindexes the block chain files, as if their contents was loaded via -loadblock. Based on earlier work by Jeff Garzik.
| * | | | | | | | | | | | | | Move ThreadImport to init.cppPieter Wuille2012-11-093-44/+45
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | LoadExternalBlockFile switched to CBufferedFilePieter Wuille2012-11-091-40/+25
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add CBufferedFilePieter Wuille2012-11-091-0/+144
| | |_|/ / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | Merge branch 'http-improvements'Jeff Garzik2012-11-091-12/+57
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The base bits of pull req #1982.
| * | | | | | | | | | | | | | RPC: HTTP server uses its own ReadHTTPRequestLine()Jeff Garzik2012-11-041-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than reusing ReadHTTPStatus() from the client mode. The following additional HTTP request validations are added, both in line with existing HTTP client practice: 1) HTTP method must be GET or POST. Most clients use POST, some use GET. Either way, this continues to work. 2) HTTP URI must start with "/" character. Normal URI is "/" (a 1-char string), so this is fine.