aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-21Merge pull request #2190 from sipa/fixgenesisGavin Andresen
Bugfix + simplify special case for genesis
2013-01-20make bitcoinrpc.cpp UTF-8 conformant againPhilip Kaufmann
- just replaces a character in a comment, which I had problems with when opening the file in Qt Creator IDE
2013-01-19Merge pull request #2157 from Diapolo/Qt_addrlistWladimir J. van der Laan
Bitcoin-Qt: fix known addressbook bugs
2013-01-19Merge pull request #2171 from Diapolo/initWladimir J. van der Laan
add InitMessage() to noui and use debug.log for GUI
2013-01-19Bugfix + simplify special case for genesisPieter Wuille
2013-01-17Merge pull request #2149 from sipa/fixtxoutrpcGavin Andresen
Make output of gettxout RPC more consistent
2013-01-17Merge pull request #2060 from sipa/parallelGavin Andresen
Parallel script verification
2013-01-17Merge pull request #1795 from TheBlueMatt/bloomGavin Andresen
Bloom filters
2013-01-16Merge pull request #2181 from Diapolo/translationsWladimir J. van der Laan
update bitcoinstrings.cpp and bitcoin_en.ts (2013-01-14)
2013-01-16Filter mempool commandMatt Corallo
2013-01-16Add nFlags to CBloomFilter to make filter updating optional.Matt Corallo
2013-01-16Use CPartialMerkleTree for CMerkleBlock transactions.Matt Corallo
2013-01-16Add CPartialMerkleTreePieter Wuille
This adds a compact representation for a subset of a merkle tree's nodes.
2013-01-16Add a nTweak to bloom filters to tweak the seed.Matt Corallo
2013-01-16Let a node opt out of tx invs before we get a their bloom filterMatt Corallo
Note that the default value for fRelayTxes is false, meaning we now no longer relay tx inv messages before receiving the remote peer's version message.
2013-01-16Relay CMerkleBlocks when asked for MSG_FILTERED_BLOCKMatt Corallo
2013-01-16Add test cases for CMerkleBlock and CBloomFilter.Matt Corallo
2013-01-16Add a CMerkleBlock to store merkle branches of filtered txes.Matt Corallo
2013-01-16Add a CBlock.GetBlockHeaderMatt Corallo
2013-01-16Automatically add any matching outputs to a filter during matching.Matt Corallo
2013-01-16Replace RelayMessage with RelayTransaction.Matt Corallo
2013-01-16Add a filter field in CNode, add filterload+filteradd+filterclearMatt Corallo
2013-01-16Bump PROTOCOL_VERSION for filter messages.Matt Corallo
2013-01-16Add a CBloomFilter class for use as a transaction filter.Matt Corallo
2013-01-16Add MurmurHash3 implementation to hash.h/add hash.cpp.Matt Corallo
2013-01-16Add const versions of base_uint.end()/begin(), make size() const.Matt Corallo
2013-01-15Fix clang warningsGavin Andresen
2013-01-14update bitcoinstrings.cpp and bitcoin_en.ts (2013-01-14)Philip Kaufmann
2013-01-14Merge pull request #2172 from Diapolo/init_messagesGavin Andresen
make database init messages more valuable
2013-01-14Merge pull request #2159 from petertodd/display-nlocktime-correctlyGavin Andresen
Display tx nLockTime correctly when set to block #
2013-01-14Merge pull request #2129 from gmaxwell/wallet_less_frequent_feesGavin Andresen
If the prio. will be enough after the next block don't force fees. [wallet]
2013-01-14Merge pull request #2161 from sipa/noclientGavin Andresen
Remove fClient
2013-01-14Merge pull request #2099 from gavinandresen/blkfile_upgradeGavin Andresen
Upgrading to 0.8: re-use blkNNNN.dat files.
2013-01-14Merge pull request #2142 from gavinandresen/utilprintGavin Andresen
OutputDebugStringF code cleanup
2013-01-13make database init messages more valuablePhilip Kaufmann
- it was bad, that quite some messages were just talking about a database, I think a user should know, if we are talking about wallet db or block/coin db - also adds a new init message for "Verifying block database integrity..."
2013-01-13Merge pull request #2166 from Diapolo/Qt_signverifyWladimir J. van der Laan
Bitcoin-Qt: use reference in setAddress_SM() and setAddress_VM()
2013-01-11add InitMessage() to noui and use debug.log for GUIPhilip Kaufmann
- this pull adds an InitMessage() function to noui.cpp, which outputs init messages to debug.log (this allows to remove some printf() calls from init.cpp) - change InitMessage() in bitcoin.cpp to also write init messages to debug.log to ensure nothting is missing in the log because of the removal of printf() calls in init.cpp
2013-01-11small main.h cleanup (no code changes)Philip Kaufmann
- removes some obsolete comments about CTransaction::FetchInputs(), a space and a few new-lines
2013-01-11Merge pull request #2145 from sipa/checkcoinsGregory Maxwell
Coin database checks
2013-01-10Merge pull request #2115 from forrestv/getblocktemplate_allfeesPieter Wuille
Provide fee data for all txs in RPC getblocktemplate response
2013-01-10Bitcoin-Qt: use reference in setAddress_SM() and setAddress_VM()Philip Kaufmann
2013-01-09Remove fClientPieter Wuille
Client (SPV) mode never got implemented entirely, and whatever part was already working, is likely not been tested (or even executed at all) for the past two years. This removes it entirely. If we want an SPV implementation, I think we should first get the block chain data structures to be encapsulated in a class implementing a standard interface, and then writing an alternate implementation with SPV semantics.
2013-01-09Bitcoin-Qt: fix known addressbook bugsPhilip Kaufmann
- add qSort() for cachedAddressTable, as qLowerBound() and qUpperBound() require the list to be in ascending order (see http://harmattan-dev.nokia.com/docs/library/html/qt4/qtalgorithms.html#qLowerBound) - add a new check in AddressTableModel::setData() to just return, when no changes were made to a label or an address (prevents entry duplication issue) - remove "rec->label = value.toString();" from AddressTableModel::setData() as the label gets updated by AddressTablePriv::updateEntry() anyway (seems @sipa added this line via https://github.com/bitcoin/bitcoin/commit/1025440184ef100a22d07c7bb543ee45cf169d64#L6R225) - add another new check in AddressTableModel::setData() to just return, if a duplicate address was found (prevents address overwrite) - add a new check to EditAddressDialog::setModel() to prevent setting an invalid model - re-work the switch-case statement in AddressTableModel::accept() to always break (as return get's called anyway) and order the list to match the enum definition - make accept() in editaddressdialog.h a public slot, which it should be - misc small coding style changes
2013-01-09Display tx nLockTime correctly when set to block #Peter Todd
Previously when a transaction was set to lock at a specific block the calculation was reversed, returning a negative number. This broke the UI and caused it to display %n in place of the actual number. In addition the previous calculation would display "Open for 0 blocks" when the block height was such that the next block created would finalize the transaction. Inserted the word "more" and changed the calculation so that the last message would be "Open for 1 more block" to better match user expectations.
2013-01-08Remove contention on signature cache during block validationPieter Wuille
Since block validation happens in parallel, multiple threads may be accessing the signature cache simultaneously. To prevent contention: * Turn the signature cache lock into a shared mutex * Make reading from the cache only acquire a shared lock * Let block validations not store their results in the cache
2013-01-08Parallelize script verificationPieter Wuille
* During block verification (when parallelism is requested), script check actions are stored instead of being executed immediately. * After every processed transactions, its signature actions are pushed to a CScriptCheckQueue, which maintains a queue and some synchronization mechanism. * Two or more threads (if enabled) start processing elements from this queue, * When the block connection code is finished processing transactions, it joins the worker pool until the queue is empty. As cs_main is held the entire time, and all verification must be finished before the block continues processing, this does not reach the best possible performance. It is a less drastic change than some more advanced mechanisms (like doing verification out-of-band entirely, and rolling back blocks when a failure is detected). The -par=N flag controls the number of threads (1-16). 0 means auto, and is the default.
2013-01-08Remove CheckSig_mode and move logic out of CheckInputs()Pieter Wuille
2013-01-08Add CScriptCheck: a closure representing a script checkPieter Wuille
2013-01-08Move VerifySignature to mainPieter Wuille
2013-01-06Merge pull request #2153 from Diapolo/overviewpageWladimir J. van der Laan
Bitcoin-Qt: fix small stylesheet glitch in overviewpage.ui