aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-28Refactor: move alert code from main to alert.cpp/hGavin Andresen
2012-08-28Changed nprev->pprevxanatos
It should be pprev, because the next one is pnext, and it's printing the memory address of the CBlockIndex (so pSomething).
2012-08-27Add boost chrono lib for windows builds (required for boost 1.50)v0.7.0rc1Wladimir J. van der Laan
2012-08-27Version numbers -> 0.7.0Gavin Andresen
2012-08-27Upgrade to Boost 1.50Matt Corallo
2012-08-27Merge branch 'alert_fix' of git://github.com/gavinandresen/bitcoin-gitGavin Andresen
2012-08-27Fix compiler warning on macGavin Andresen
2012-08-27Merge branch 'bugfix_gitian' of git://github.com/luke-jr/bitcoinGavin Andresen
2012-08-27Special-case the last alert for alert-key-compromised caseGavin Andresen
Hard-code a special nId=max int alert, to be broadcast if the alert key is ever compromised. It applies to all versions, never expires, cancels all previous alerts, and has a fixed message: URGENT: Alert key compromised, upgrade required Variations are not allowed (ignored), so an attacker with the private key cannot broadcast empty-message nId=max alerts.
2012-08-27Removed duplicated lockxanatos
Around line 167 there is already a LOCK(bitdb.cs_db) that covers everything. Re-locking is useless.
2012-08-27Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, ↵Luke Dashjr
rather than hacking boost in gitian
2012-08-26Alert system DoS preventionGavin Andresen
This fixes two alert system vulnerabilities found by Sergio Lerner; you could send peers unlimited numbers of invalid alert message to try to either fill up their debug.log with messages and/or keep their CPU busy checking signatures. Fixed by disconnecting/banning peers if they send 10 or more bad (invalid/expired/cancelled) alerts.
2012-08-25Merge branch '2012_08_progressbarwin' of git://github.com/laanwj/bitcoinGavin Andresen
2012-08-25Merge branch 'nozeroout' of git://github.com/sipa/bitcoinGavin Andresen
2012-08-25Merge branch 'checkpoint'Gavin Andresen
2012-08-25Update Czech translation from TransifexWladimir J. van der Laan
2012-08-24Abstract all IPC communication to qtipcserverLuke Dashjr
2012-08-24Override progress bar on platforms with segmented progress barsWladimir J. van der Laan
Windows & WindowsXP style have a problem with displaying the block progress. Add a custom stylesheet as workaround, but only when one of those renderers is active, otherwise leave the theme alone (issue #1071).
2012-08-24Merge pull request #1699 from laanwj/2012_08_secureallocPieter Wuille
Handle locked pages more robustly (Fixes issue #1462)
2012-08-24Qt: add copyrightLabel to aboutdialog.uiPhilip Kaufmann
- add a new label, which can be updated independently from the whole license information stuff - the benefit is, we don't need to re-translate that whole wall of text every year the copyright info changes - update to the same copyright string we use in the source and in the bitcoin-qt.exe meta-data information - removes an obsolete entry from the ui-file
2012-08-24Make 0-value outputs non-standardPieter Wuille
2012-08-24Merge pull request #1672 from gmaxwell/filter_listunspentGregory Maxwell
Listunspent txout address filtering and listaddressgroupings
2012-08-24Change CWallet addressgrouping to use CTxDestination instead of strings.Gregory Maxwell
This is cleanup for the listaddressgroupings code. Also add some real help text.
2012-08-24Avoid leaving return types or function attributes on their own lines.Gregory Maxwell
2012-08-23Treat generation (mined) transactions less different from receive transactionsLuke Dashjr
- Show address receiving the generation, and include it in the correct "account" - Multiple entries in listtransactions output if the coinbase has multiple outputs to us
2012-08-23Merge pull request #1431 from luke-jr/opt_ipv6Gregory Maxwell
Make IPv6 support optional again (defaults to enabled)
2012-08-23Allow building with IPv6 support, but it disabled by defaultLuke Dashjr
2012-08-23Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} tooLuke Dashjr
2012-08-23Make IPv6 support buildtime-optional again (defaults to enabled)Luke Dashjr
2012-08-23Add icon for "About Qt" in menuWladimir J. van der Laan
Use the built-in icon that is also used in the dialog box itself.
2012-08-23Add txout address filtering to listunspent.Gregory Maxwell
This applies on top of the coincontrol listaddressgroupings patch and makes finding eligible outputs from the groups returned by listaddressgroupings possible.
2012-08-23Add address groupings RPC from the coincontrol patches.coderrr
Signed-off-by: Gregory Maxwell <greg@xiph.org>
2012-08-23Choose reasonable "smart" times to display for transactionsLuke Dashjr
Logic: - If sending a transaction, assign its timestamp to the current time. - If receiving a transaction outside a block, assign its timestamp to the current time. - If receiving a block with a future timestamp, assign all its (not already known) transactions' timestamps to the current time. - If receiving a block with a past timestamp, before the most recent known transaction (that we care about), assign all its (not already known) transactions' timestamps to the same timestamp as that most-recent-known transaction. - If receiving a block with a past timestamp, but after the most recent known transaction, assign all its (not already known) transactions' timestamps to the block time.
2012-08-23JSON-RPC: Add "blocktime" and (for wallet transactions) "timereceived" to ↵Luke Dashjr
transaction Object outputs
2012-08-23Store a fixed order of transactions (and accounting) in the walletLuke Dashjr
For backward compatibility, new accounting data is stored after a \0 in the comment string. This way, old versions and third-party software should load and store them, but all actual use (listtransactions, for example) ignores it.
2012-08-23Merge pull request #1707 from xanatos/patch-7Jeff Garzik
Removed useless assignment
2012-08-23Spaces in stringsxanatos
One added space + one removed space.
2012-08-23Removed useless assignmentxanatos
nLoadWalletRet is already equal to DB_NEED_REWRITE (we are in an if)
2012-08-23Make CCrypter use LockedPageManager to manage locked pagesWladimir J. van der Laan
Replace direct calls to mlock. Also, change the class to lock the memory areas in the constructor and unlock them again in the destructor. This makes sure that locked pages won't leak.
2012-08-23Handle locked pages more robustly (Fixes issue #1462)Wladimir J. van der Laan
Memory locks do not stack, that is, pages which have been locked several times by calls to mlock() will be unlocked by a single call to munlock(). This can result in keying material ending up in swap when those functions are used naively. In this commit a class "LockedPageManager" is added that simulates stacking memory locks by keeping a counter per page.
2012-08-22Merge pull request #1694 from sipa/fix_netloopsGregory Maxwell
Fix infinite loops in connection logic
2012-08-22Merge pull request #1701 from laanwj/2012_08_pull_transifexWladimir J. van der Laan
Update translations from transifex
2012-08-22Update translations from transifexWladimir J. van der Laan
2012-08-22Fix infinite loops in connection logicPieter Wuille
2012-08-22Merge pull request #1695 from sipa/noloadorphanPieter Wuille
Do not accept orphan blocks in -loadblock mode
2012-08-21Checkpoint at block 193,000Gavin Andresen
2012-08-21Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-08-21Do not accept orphan blocks in -loadblock modePieter Wuille
2012-08-21Merge pull request #1493 from jgarzik/unlocked-rpcJeff Garzik
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
2012-08-21RPC: add facility to enable RPCs to run outside cs_main, wallet locksJeff Garzik
Use with 'stop' and 'help' RPCs. This provides a facility to individually evaluate the locking for an RPC, and potentially make it more parallel.