aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-16Split off CBlockHeader from CBlockPieter Wuille
Cleaner and removes the need for the application-specific flags in serialize.h.
2012-11-14Merge pull request #1984 from grimd34th/patch-2Wladimir J. van der Laan
VariantClear@4 + shutdown@8 patch
2012-11-12Merge pull request #1479 from Diapolo/wallet_add_GetImmatureCreditWladimir J. van der Laan
add CWalletTx::GetImmatureCredit() and use it in CWallet::GetImmatureBalance()
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-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-09Merge pull request #1778 from Diapolo/allow_explicit_bindPieter Wuille
allow listening on -bind=address for blocked networks
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-04VariantClear@4 + shutdown@8 patchgrimd34th
merged 2 windows:LIBS lines so they happen when they need to (#976) added -loleaut32 to fix VariantClear moved -lws2_32 and others to existing windows:LIBS line
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-03Merge pull request #1973 from sipa/comconstPieter Wuille
Comments for constants
2012-11-03Comments for constantsPieter Wuille
2012-11-01Merge pull request #1972 from sipa/virtcoinsviewPieter Wuille
Add virtual destructor to CCoinsView
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-11-01Merge pull request #1923 from Diapolo/Qt_tooltipsWladimir J. van der Laan
Bitcoin-Qt: use statustips in addition to tooltips
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 pull request #1967 from TheBlueMatt/leveldbmakefilePieter Wuille
Undo bad gitian update.