Gavin Andresen [Tue, 19 Jun 2012 20:44:55 +0000]
Revert "Update gitian descriptors to point at stable git repo"
This reverts commit
1179f6373dfffdcb091576215cabe73c932df925.
Gavin Andresen [Tue, 19 Jun 2012 20:34:10 +0000]
Merge branch '0.6.x' of git://gitorious.org/+bitcoin-stable-developers/bitcoin/bitcoind-stable into 0.6.3
Gavin Andresen [Tue, 19 Jun 2012 19:50:12 +0000]
print large orphan warning BEFORE deleting pvMsg
Gavin Andresen [Tue, 19 Jun 2012 19:48:29 +0000]
Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)
Pieter Wuille [Thu, 14 Jun 2012 16:31:08 +0000]
Use a 64-bit nonce in ping
Former code sent '0' as nonce, which was serialized as 32-bit.
Jeff Garzik [Tue, 22 May 2012 19:23:17 +0000]
Prevent crashes due to missing or corrupted blk????.dat records
In LoadExternalBlockFile(), errors are already caught... silently.
Add a warning message, even though we do not abort the program due to
load error.
Jeff Garzik [Tue, 22 May 2012 19:12:52 +0000]
Prevent crashes due to missing or corrupted database records
Any problems seen during deserialization will throw an uncaught
exception, crashing the entire bitcoin process. Properly return an
error instead, so that we may at least log the error and gracefully
shutdown other portions of the app.
Gavin Andresen [Tue, 22 May 2012 17:56:14 +0000]
Move signature cache from CKey::Verify to CheckSig in script.cpp
More than doubles the speed of verifying already-cached signatures
that use compressed pubkeys:
Before: ~200 microseconds
After: ~80 microseconds
(no caching at all: ~3,300 microseconds per signature)
Also encapsulates the signature cache code in a class
and fixes a signed/unsigned comparison warning.
Jeff Garzik [Tue, 22 May 2012 02:25:54 +0000]
Define BOOST_SPIRIT_THREADSAFE in all makefiles
rather than at each include site.
Fixes #1371
Jeff Garzik [Sat, 19 May 2012 05:25:06 +0000]
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
* This is safer than DB_TXN_NOSYNC, and does not appear to impact
performance.
* Applying this to the dbenv is necessary to avoid many fdatasync(2)
calls on db 5.x
* We carefully and thoroughly flush databases upon shutdown and
other important events already.
Gavin Andresen [Thu, 17 May 2012 16:13:14 +0000]
Refactor: GetRandHash() method for util
Gavin Andresen [Wed, 16 May 2012 19:57:04 +0000]
Cache signature verifications
Create a maximum-10MB signature verification result cache.
This should almost double the number of transactions that
can be processed on a given CPU, because before this change
ECDSA signatures were verified when transactions were added
to the memory pool and then again when they appeared in
a block.
Gavin Andresen [Wed, 16 May 2012 15:26:56 +0000]
Further DoS prevention: Verify signatures last
Loop over all inputs doing inexpensive validity checks first,
and then loop over them a second time doing expensive signature
checks. This helps prevent possible CPU exhaustion attacks
where an attacker tries to make a victim waste time checking
signatures for invalid transactions.
Gavin Andresen [Thu, 17 May 2012 14:12:04 +0000]
Remove invalid dependent orphans from memory
Remove orphan transactions from memory once
all of their parent transactions are received
and they're still not valid.
Thanks to Sergio Demian Lerner for suggesting this fix.
Gavin Andresen [Tue, 15 May 2012 19:53:30 +0000]
Optimize orphan transaction handling
Changes suggested by Sergio Demian Lerner to
help prevent potential DoS attacks.
Jeff Garzik [Fri, 18 May 2012 00:36:55 +0000]
Make orphan logging more verbose, displaying mapOrphanTransactions.size()
Old log message:
storing orphan tx
df2244f6bc
New log message:
storing orphan tx
df2244f6bc (mapsz 51)
Also, trim a few trailing whitespace in main.cpp.
Gavin Andresen [Wed, 16 May 2012 16:36:38 +0000]
Refactor: move code from key.h to key.cpp
Gavin Andresen [Tue, 19 Jun 2012 18:44:38 +0000]
Bump version numbers to 0.6.3
Luke Dashjr [Thu, 14 Jun 2012 18:21:07 +0000]
Merge branch '0.6.0.x' into 0.6.x
Conflicts:
.gitignore
src/bitcoinrpc.cpp
src/main.cpp
src/qt/bitcoingui.cpp
src/ui_interface.h
src/util.cpp
Luke Dashjr [Thu, 14 Jun 2012 18:13:46 +0000]
Merge branch '0.5.x' into 0.6.0.x
Conflicts:
src/main.h
src/net.cpp
src/serialize.h
Luke Dashjr [Thu, 14 Jun 2012 18:07:11 +0000]
Merge branch '0.4.x' into 0.5.x
Conflicts:
doc/release-process.txt
src/serialize.h
Pieter Wuille [Thu, 14 Jun 2012 16:31:08 +0000]
Use a 64-bit nonce in ping
Former code sent '0' as nonce, which was serialized as 32-bit.
Wladimir J. van der Laan [Thu, 14 Jun 2012 07:41:11 +0000]
Philip Kaufmann [Mon, 11 Jun 2012 05:40:14 +0000]
Philip Kaufmann [Mon, 11 Jun 2012 05:40:14 +0000]
Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)
(partial of
9247134eaba9a1d0fa74f22de238af1476663005)
Matt Corallo [Tue, 12 Jun 2012 23:06:40 +0000]
Update wiki changelog at doc/release-process.txt
Philip Kaufmann [Mon, 11 Jun 2012 20:40:06 +0000]
change initial Balance on overviewpage from "123.456 BTC" to "0 BTC" to not confuse users, which could see it before we init with the real wallet balance
Philip Kaufmann [Sun, 6 May 2012 14:57:12 +0000]
removed ability to translate "0 BTC" and "123.456 BTC" as this is only used as preview in the Qt Designer anyway
(partial of
4295311da34ed8132351855f057decedfe434b44)
Matt Corallo [Mon, 11 Jun 2012 23:52:34 +0000]
Fix broken config files
Wladimir J. van der Laan [Tue, 12 Jun 2012 08:46:24 +0000]
Do not select first address automatically in the address book
This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.
Pieter Wuille [Fri, 8 Jun 2012 14:26:27 +0000]
Update comment about secure_allocator<>
Luke Dashjr [Thu, 14 Jun 2012 15:59:18 +0000]
Bump VERSION so we can differentiate between fixed 0.4.7rc2 and not-fixed 0.4.7rc1
Luke Dashjr [Tue, 12 Jun 2012 23:50:38 +0000]
Bugfix: Move IsStandard scriptSig size check out of IsPushOnly, since BIP16 verification uses the latter too
This caused clients to reject block #177618 since it has a P2SH transaction with over 200 bytes in scriptSig.
(Upstream commit:
e679ec969c8b22c676ebb10bea1038f6c8f13b33)
Luke Dashjr [Wed, 6 Jun 2012 20:00:22 +0000]
Bugfix: Allow tray icon to linger until Bitcoin-Qt shuts down completely. Fixes #908
Upstream commit:
7cfbe1fee465e82ddbdc8ed17dfcce791bd765f5
Philip Kaufmann [Tue, 8 May 2012 21:02:48 +0000]
fix an incorrect if-clause in net.cpp
Michael Hendricks [Fri, 2 Mar 2012 19:24:38 +0000]
Serialize access to debug.log stream
Acquire an exclusive, advisory lock before sending output to debug.log
and release it when we're done. This should avoid output from multiple
threads being interspersed in the log file.
We can't use CRITICAL_SECTION machinery for this because the debug log
is written during startup and shutdown when that machinery is not
available.
(Thanks to Gavin for pointing out the CRITICAL_SECTION problems based
on his earlier work in this area)
Matt Corallo [Sat, 2 Jun 2012 14:33:46 +0000]
Correct blockchain size in contrib/debian.
* Updates package description to note that blockchain now takes
2+ GB instead of 150+ MB.
(PARTIAL of
8f6111bb9cd598954e9634d9fe4500fcf5ae83de)
Chris Moore [Sun, 3 Jun 2012 23:11:11 +0000]
"USE_UPNP=-" is needed to remove UPnP support.
Jeff Garzik [Thu, 24 May 2012 01:45:26 +0000]
.gitignore: add test_bitcoin
Pieter Wuille [Sat, 12 May 2012 15:44:14 +0000]
Do not signal outbound semaphore if uninitialized
Luke Dashjr [Tue, 22 May 2012 23:07:46 +0000]
Merge branch '0.6.0.x' into 0.6.x
Conflicts:
bitcoin-qt.pro
doc/README
doc/README_windows.txt
share/setup.nsi
src/bitcoinrpc.h
src/db.h
src/headers.h
src/init.cpp
src/main.cpp
src/main.h
src/noui.h
src/qt/bitcoin.cpp
src/qt/locale/bitcoin_en.ts
src/qt/walletmodel.cpp
src/script.cpp
src/ui_interface.h
src/util.cpp
Luke Dashjr [Tue, 22 May 2012 22:57:10 +0000]
Merge branch '0.5.x' into 0.6.0.x
Conflicts:
src/main.cpp
Luke Dashjr [Tue, 22 May 2012 22:55:49 +0000]
Merge branch '0.4.x' into 0.5.x
Conflicts:
src/ui.cpp
src/ui.h
src/uibase.cpp
src/xpm/about.xpm
Jeff Garzik [Tue, 22 May 2012 19:23:17 +0000]
Prevent crashes due to missing or corrupted blk????.dat records
Jeff Garzik [Tue, 22 May 2012 19:12:52 +0000]
Prevent crashes due to missing or corrupted database records
Any problems seen during deserialization will throw an uncaught
exception, crashing the entire bitcoin process. Properly return an
error instead, so that we may at least log the error and gracefully
shutdown other portions of the app.
Wladimir J. van der Laan [Tue, 22 May 2012 16:28:10 +0000]
Remove duplicate behavior on MacOSX
Dock icon on macosx already has show/hide functionality. This results in erratic behavior.
R E Broadley [Tue, 22 May 2012 11:06:08 +0000]
Correct debug.log output to show correct function the debug is coming from.
Wladimir J. van der Laan [Thu, 17 May 2012 10:10:15 +0000]
Filter out whitespace and zero-width non-breaking spaces in validator
- Fixes issues with copy/pasting from web or html emails (#1325)
Fordy [Fri, 18 May 2012 14:02:28 +0000]
Update License in File Headers
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
Fordy [Fri, 18 May 2012 14:02:28 +0000]
Update License in File Headers
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
Fordy [Fri, 18 May 2012 14:02:28 +0000]
Update License in File Headers
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
Fordy [Fri, 18 May 2012 14:02:28 +0000]
Update License in File Headers
I originally created a pull to replace the "COPYING" in crypter.cpp and
crypter.h, but it turned out that COPYING was actually the correct
file.
Philip Kaufmann [Mon, 14 May 2012 05:49:17 +0000]
remove 2 ugly spaces from a message string
(PARTIAL of 966ae00)
R E Broadley [Thu, 17 May 2012 18:09:21 +0000]
Add build directory to .gitignore, so that it's not tracked.
R E Broadley [Thu, 17 May 2012 15:15:28 +0000]
Add /bin/sh to bitcoin-qt.pro - as some filesystems don't have the execute flag.
Christian von Roques [Thu, 17 May 2012 15:33:59 +0000]
Fix typo. libarcode => libqrcode
Jeff Garzik [Mon, 14 May 2012 05:11:11 +0000]
Always check return values of TxnBegin() and TxnCommit()
Jeff Garzik [Mon, 14 May 2012 05:11:11 +0000]
Always check return values of TxnBegin() and TxnCommit()
PARTIAL, since d68dcf7 isn't backported (yet)
Pieter Wuille [Mon, 7 May 2012 19:36:30 +0000]
Hopefully final fix for the stuck blockchain issue
Immediately issue a "getblocks", instead of a "getdata" (which will
trigger the relevant "inv" to be sent anyway), and only do so when
the previous set of invs led us into a known and attached part of
the block tree.
Philip Kaufmann [Sat, 12 May 2012 22:16:50 +0000]
remove string "TextLabel" from warningLabel, as this is unneeded and as such is a silly translation less to do :)
Wladimir J. van der Laan [Fri, 11 May 2012 18:17:09 +0000]
Properly escape " in strings when exporting CSV
Fordy [Sat, 12 May 2012 03:36:37 +0000]
Correct Date
Fordy [Sat, 12 May 2012 03:32:03 +0000]
Correct Date
Pieter Wuille [Fri, 11 May 2012 02:11:22 +0000]
Fix version numbers of archive builds
Gavin Andresen [Wed, 9 May 2012 17:56:53 +0000]
Fix osx build
Matt Corallo [Wed, 9 May 2012 05:40:33 +0000]
Fix DEBUG_LOCKCONTENTION
Philip Kaufmann [Tue, 8 May 2012 07:31:25 +0000]
remove 2 ugly spaces from a string used in translations
Philip Kaufmann [Tue, 8 May 2012 21:22:36 +0000]
remove 2 obsolete functions from init.h that moved to util.h
Luke Dashjr [Mon, 7 May 2012 19:22:09 +0000]
Bitcoin-Qt: Remove redundant tooltip on optional transaction fee. Fixes #1218
Luke Dashjr [Tue, 15 May 2012 07:23:32 +0000]
Merge remote branch 'origin/0.6.2' into 0.6.x
Conflicts:
src/addrman.cpp
Gavin Andresen [Fri, 11 May 2012 14:09:45 +0000]
Bump version to 0.6.2.2 for osx-special build
Gavin Andresen [Thu, 10 May 2012 20:39:49 +0000]
Merge branch 'semaphores-v0.6.2' of https://github.com/sipa/bitcoin into 0.6.2
Pieter Wuille [Thu, 10 May 2012 18:45:35 +0000]
Use polling instead of boost's broken semaphore on OSX
Pieter Wuille [Thu, 10 May 2012 16:44:07 +0000]
Use semaphores instead of condition variables
Gavin Andresen [Thu, 10 May 2012 20:14:15 +0000]
Revert "Fix 100% cpu usage on osx bug"
This reverts commit
8f9123a157d0ef479f62eb3e05da2ba6613c5dfc.
Gavin Andresen [Wed, 9 May 2012 22:24:34 +0000]
Fix 100% cpu usage on osx bug
Luke Dashjr [Tue, 8 May 2012 20:11:44 +0000]
Bump version to 0.6.0.8
Luke Dashjr [Tue, 8 May 2012 20:10:20 +0000]
Merge branch '0.5.x' into 0.6.0.x
Conflicts:
bitcoin-qt.pro
doc/README
doc/README_windows.txt
share/setup.nsi
src/serialize.h
Luke Dashjr [Tue, 8 May 2012 20:09:43 +0000]
Bump version to 0.5.6
Luke Dashjr [Tue, 8 May 2012 20:08:19 +0000]
Merge branch '0.4.x' into 0.5.x
Conflicts:
contrib/Bitcoin.app/Contents/Info.plist
doc/README
doc/README_windows.txt
share/setup.nsi
src/serialize.h
Luke Dashjr [Tue, 8 May 2012 19:53:29 +0000]
Bump version to 0.4.7
Gavin Andresen [Mon, 7 May 2012 00:11:05 +0000]
Bump versions for 0.6.2
Luke Dashjr [Mon, 7 May 2012 05:34:18 +0000]
Update/fix translations
Luke Dashjr [Mon, 7 May 2012 04:10:54 +0000]
Merge branch '0.5.x' into 0.6.0.x
Conflicts:
src/main.cpp
src/qt/locale/bitcoin_da.ts
src/qt/locale/bitcoin_de.ts
src/qt/locale/bitcoin_en.ts
src/qt/locale/bitcoin_es.ts
src/qt/locale/bitcoin_es_CL.ts
src/qt/locale/bitcoin_hu.ts
src/qt/locale/bitcoin_it.ts
src/qt/locale/bitcoin_nb.ts
src/qt/locale/bitcoin_nl.ts
src/qt/locale/bitcoin_pt_BR.ts
src/qt/locale/bitcoin_ru.ts
src/qt/locale/bitcoin_uk.ts
src/qt/locale/bitcoin_zh_CN.ts
src/qt/locale/bitcoin_zh_TW.ts
Luke Dashjr [Mon, 7 May 2012 03:57:39 +0000]
Update/fix translations
Pieter Wuille [Sat, 5 May 2012 02:04:38 +0000]
Prevent stuck download: correct solution
Pull request #948 introduced a fix for nodes stuck on a long side branch
of the main chain. The fix was non-functional however, as the additional
getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it
by sending the request directly.
Luke Dashjr [Mon, 7 May 2012 04:00:26 +0000]
Merge commit '293f264' into 0.6.0.x
Luke Dashjr [Mon, 7 May 2012 02:46:14 +0000]
Merge branch '0.4.x' into 0.5.x
Pieter Wuille [Sat, 5 May 2012 02:04:38 +0000]
Prevent stuck download: correct solution
Pull request #948 introduced a fix for nodes stuck on a long side branch
of the main chain. The fix was non-functional however, as the additional
getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it
by sending the request directly.
Pieter Wuille [Sun, 18 Mar 2012 22:47:26 +0000]
Prevent stuck block download in large reorganisations
In cases of very large reorganisations (hundreds of blocks), a situation
may appear where an 'inv' is sent as response to a 'getblocks', but the
last block mentioned in the inv is already known to the receiver node.
However, the supplying node uses a request for this last block as a
trigger to send the rest of the inv blocks. If it never comes, the block
chain download is stuck.
This commit makes the receiver node always request the last inv'ed block,
even if it is already known, to prevent this problem.
Pieter Wuille [Sat, 5 May 2012 19:27:52 +0000]
Bugfix: store source address in addrman
Pieter Wuille [Sat, 5 May 2012 19:22:55 +0000]
Fix addrman crashes
A function returned the element to remove from a bucket, instead of its
position in that bucket. This function was only called when a tried
bucket overflowed, which only happens after many outgoing connections
have been made.
Closes: #1065, #1156
Pieter Wuille [Sat, 5 May 2012 19:30:38 +0000]
Add extra asserts to addrman
Philip Kaufmann [Thu, 3 May 2012 12:52:15 +0000]
fix #952 by checking if we have a new address or an updated label
Philip Kaufmann [Thu, 3 May 2012 12:52:15 +0000]
fix #952 by checking if we have a new address or an updated label
Wladimir J. van der Laan [Sun, 6 May 2012 06:14:19 +0000]
Hide UI immediately after leaving the main loop.
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
Wladimir J. van der Laan [Sun, 6 May 2012 06:14:19 +0000]
Hide UI immediately after leaving the main loop.
Prevents it from seeming to hang during shutdown if shutdown is triggered while the window is open.
Luke Dashjr [Sun, 6 May 2012 05:37:21 +0000]
Merge branch '0.6.0.x' into 0.6.x
Conflicts:
src/bitcoinrpc.cpp
src/db.cpp
Luke Dashjr [Sun, 6 May 2012 05:35:58 +0000]
Merge branch '0.5.x' into 0.6.0.x
Luke Dashjr [Sun, 6 May 2012 05:35:50 +0000]
Merge branch '0.4.x' into 0.5.x