aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-11-13Change 'make' to $(MAKE) in leveldb make command lineRobert Backhaus
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-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.
2012-11-04RPC, cosmetic: push down ReadHTTPStatus() calls into ReadHTTP() callersJeff Garzik
ReadHTTPStatus() is currently overloaded: In client mode, it properly parses and receives an HTTP status line. In server mode, it incorrectly parses the HTTP request line as an HTTP status line. This server mode bug has never mattered, because the RPC server never cared about the URI (path) provided in the HTTP request. That will change in the future, so go ahead and begin fixing the problem. This patch is cosmetic, and should result in NO behavior changes. Further renames: ReadHTTPHeader -> ReadHTTPHeaders ReadHTTP -> ReadHTTPMessage
2012-11-04Cache size optimizationsPieter Wuille
2012-11-04Remove -detachdb and stop's detach argument.Pieter Wuille
As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
2012-11-04remove printf redefinition from bitcoinrpc.cppPhilip Kaufmann
- as the redefiniton of printf happens in util.h, which is included in bitcoinrpc.cpp, we don't need another redefinition
2012-11-03Merge pull request #1971 from sipa/bugfix_norelayspentPieter Wuille
Bugfix: do not keep relaying spent wallet transactions
2012-11-03Comments for constantsPieter Wuille
2012-11-01Add virtual destructor to CCoinsViewPieter Wuille
2012-11-01Bugfix: do not keep relaying spent wallet transactionsPieter Wuille
The original test (checking whether the transaction occurs in the txindex) is not usable anymore, as it will miss anything already fully spent. However, as merkle transactions (and by extension, wallet transactions) track which block they were last seen being included in, we can use that to determine the need for rebroadcasting.
2012-11-01Fixed making leveldb with custom CFLAGS/CXXFLAGS in the same way as ↵Arnav Singh
makefile.unix
2012-10-31Bitcoin-Qt: use statustips in addition to tooltipsPhilip Kaufmann
- add setStatusTip() in addition to setTooltip() where it makes sense - add only setStatusTip() if GUI element is only used in main- or tray menu - add an event filter on our BitcoinGUI object to prevent garbelled text on the status bar, which happens when we use it for e.g. displaying block-sync state and then a QEvent::StatusTip wants to write own text to it - remove a double translation of "Bitcoin client"
2012-10-30Merge pull request #1932 from Diapolo/thread_printfWladimir J. van der Laan
fix some thread related log messages
2012-10-30Merge pull request #1963 from sipa/bugfix_nonewblockPieter Wuille
Bugfix: don't crash by trying to write unchanged best block
2012-10-29Merge branch 'rawtx_p2sh'Gavin Andresen
2012-10-29Add missing calls to ranlib in Windows makefilesMatt Corallo
2012-10-29Fix linux-mingw makefile's leveldb build by setting CXX.Matt Corallo
2012-10-29Use && instead of ; in leveldb calls to makefile.Matt Corallo
2012-10-29New createmultisig rpc commandGavin Andresen
This is to support the signrawtransaction API call; given the public keys involved in a multisig transaction, this gives back the redeemScript needed to sign it.
2012-10-29Add redeemScript to listunspent output and signrawtransaction inputGavin Andresen
signrawtransaction was unable to sign pay-to-script-hash inputs when given the list of private keys to use. With this commit you can provide the p2sh redemption script in the list of inputs.
2012-10-29Tests for raw transactions argument checkingGavin Andresen
2012-10-29No need for test fixture now that multisig is enabled on main network.Gavin Andresen
2012-10-29Remove P2SH transition code: P2SH violations may cause DoS triggerPieter Wuille
2012-10-28Bugfix: don't crash by trying to write unchanged best blockPieter Wuille
2012-10-25fix some double-spaces in stringsPhilip Kaufmann
- remove some unneeded stuff in sendcoinsentry.ui - harmonize some "Error:"-messages