aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-11-17Merge pull request #2022 from Diapolo/fix_#2018Wladimir J. van der Laan
fix pull #2018
2012-11-17ConnectBlock(): fix error() format to be unsignedPhilip Kaufmann
- I introduced the wrong format macro with my former patch (#2018), this needs to be signed not unsigned (thanks Luke-Jr)
2012-11-16Merge pull request #2019 from Diapolo/bitcoinstrings_updWladimir J. van der Laan
update bitcoinstrings.cpp and bitcoin_en.ts
2012-11-16update bitcoinstrings.cpp and bitcoin_en.tsPhilip Kaufmann
2012-11-16Merge pull request #2009 from sipa/fixmoveGavin Andresen
Prevent RPC 'move' from deadlocking
2012-11-16ensure we use our format macros to avoid compilation warningsPhilip Kaufmann
- fixes 2 warnings I observed while compiling on Windows with MinGW
2012-11-15Merge pull request #1767 from Diapolo/RPCCon_clear_historyWladimir J. van der Laan
clear history when using clear button in RPC console
2012-11-15Merge pull request #1670 from luke-jr/blksubstrJeff Garzik
Use full block hash as unique identifier in debug.log
2012-11-15Merge pull request #1945 from centromere/leveldb_fixJeff Garzik
Fixed compile error on FreeBSD 9.
2012-11-15Merge pull request #1987 from jgarzik/no-pw-matchJeff Garzik
RPC: Forbid RPC username == RPC password
2012-11-15Merge pull request #2005 from Diapolo/fixes_mainJeff Garzik
some small fixes for main.cpp/.h
2012-11-15Merge pull request #2012 from luke-jr/invblk_errsJeff Garzik
Print error for coinbase-pays-too-much case of ConnectBlock failing
2012-11-15RPC: Forbid RPC username == RPC passwordJeff Garzik
Added security measure.
2012-11-15Merge pull request #2010 from Diapolo/bind_unsignedPieter Wuille
make enum and parameter used in Bind() unsigned
2012-11-15Introduce script verification flagsPieter Wuille
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.
2012-11-14Print error for coinbase-pays-too-much case of ConnectBlock failingLuke Dashjr
2012-11-14make enum and parameter used in Bind() unsignedPhilip Kaufmann
- it's good practise to use unsigned int for enum flags, so change this one, as I introduced this for Bind()
2012-11-14Prevent RPC 'move' from deadlockingPieter Wuille
It seemed to create two CWalletDB objects that both grab the database lock.
2012-11-13Change block references in debug.log to full hash instead of just 0..20Luke Dashjr
2012-11-13Abstract block hash substr extraction (for debug.log) into BlockHashStr inlineLuke Dashjr
2012-11-13add CWalletTx::GetImmatureCredit() and use it in CWallet::GetImmatureBalance()Philip Kaufmann
2012-11-12Merge pull request #2002 from alexanderkjeldaas/clang-warningsWladimir J. van der Laan
o Removed verbose clang warning
2012-11-11some small fixes for main.cpp/.hPhilip Kaufmann
- 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
2012-11-11Merge pull request #1970 from Arnavion/fix-make-leveldbPieter Wuille
leveldb cannot compile with custom CFLAGS / CXXFLAGS / LDFLAGS
2012-11-11Merge pull request #1997 from Diapolo/bdb_openPieter Wuille
simplify CDBEnv::Open() / fix small glitches
2012-11-11Merge pull request #2000 from Diapolo/fix_indentationPieter Wuille
fix some missing indentations in main.cpp for better readability
2012-11-11o Removed verbose clang warningAlexander Kjeldaas
2012-11-10Merge pull request #1979 from sipa/corefndocPieter Wuille
One-line comments for public main functions
2012-11-10One-line comments for public main functionsPieter Wuille
2012-11-10Fix status text after reindexPieter Wuille
2012-11-10Merge pull request #1992 from Diapolo/no_memsetGregory Maxwell
don't use memset() in privacy/security relevant code parts
2012-11-10fix some missing indentations in main.cpp for better readabilityPhilip Kaufmann
2012-11-10Merge pull request #1977 from Diapolo/rem_printf_redef_rpcWladimir J. van der Laan
remove printf redefinition from bitcoinrpc.cpp
2012-11-10Merge pull request #1993 from Diapolo/qt_header_cleanupWladimir J. van der Laan
Qt: small header changes / fixes
2012-11-10simplify CDBEnv::Open() / fix small glitchesPhilip Kaufmann
- 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()
2012-11-10allow listening on -bind=address for blocked networksPhilip Kaufmann
- 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
2012-11-10Fix tests after cache tweaksPieter Wuille
2012-11-09Merge pull request #1943 from sipa/reindex2Pieter Wuille
Add -reindex, to perform in-place reindexing of block chain files
2012-11-09Merge branch 'http-improvements'Jeff Garzik
The base bits of pull req #1982.
2012-11-09Merge pull request #1978 from sipa/nodetachPieter Wuille
Remove -detachdb and stop's detach argument.
2012-11-09make CBase58Data class use zero_after_free_allocatorPhilip Kaufmann
- this way there is no need for an explicit destructor, who does the same thing anyway
2012-11-09don't use memset() in privacy/security relevant code partsPhilip Kaufmann
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()
2012-11-09Add -reindex, to perform in-place reindexing of block chain filesPieter Wuille
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.
2012-11-09Move ThreadImport to init.cppPieter Wuille
2012-11-09LoadExternalBlockFile switched to CBufferedFilePieter Wuille
2012-11-09Add CBufferedFilePieter Wuille
2012-11-08Merge pull request #1981 from sipa/cachesPieter Wuille
Cache size optimizations
2012-11-08Qt: small header changes / fixesPhilip Kaufmann
- 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
2012-11-04Merge pull request #1830 from Diapolo/trans_rem_spacesWladimir J. van der Laan
fix some double-spaces in strings
2012-11-04RPC: HTTP server uses its own ReadHTTPRequestLine()Jeff Garzik
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.