Commit Graph

4074 Commits

Author SHA1 Message Date
Philip Kaufmann
bfb0856986 Bitcoin-Qt: Fix display of window when bitcoin: URI is opened
WalletView:
- add new signal showNormalIfMinimized()
- emit the new signal in handleURI() to fix a bug, preventing the main
  window to show up when using bitcoin: URIs

Upstream: dbc0a6aba2
2013-12-05 09:15:41 +01:00
Timothy Stranex
3b8868dca4 Fix typo in a comment: it's base58, not base48. 2013-12-05 09:15:41 +01:00
Robert Backhaus
df0f6d020a Don't attempt to resize vector to negative size. 2013-12-05 09:15:41 +01:00
Daniel Larimer
27e35bf840 fix memory leak in CKey::SetCompactSignature() 2013-12-05 09:15:41 +01:00
Daniel Larimer
6f21e7317e Fix memory leak on exception in Key::SignCompact 2013-12-05 09:15:41 +01:00
Micha
daf9e4627f Made the build/release process completable verbatim as listed in
release-process.md

Conflicts:
	doc/release-process.md
2013-12-05 09:15:40 +01:00
Wladimir J. van der Laan
138705a173 Create parent directories if needed in GetDataDir
One-line change. Fixes #2752.
2013-12-05 09:15:40 +01:00
Warren Togami
96896a0ece Add wtogami to gitian download scripts. 2013-12-05 09:15:40 +01:00
Cozz Lovan
901ae4bffd fix comment about dust logic
Conflicts:
	src/core.h
2013-12-05 09:15:40 +01:00
Michael Ford
c9c67b00df Update HomeBrew osx makefile patch to account for recent changes to makefile 2013-12-05 09:15:40 +01:00
Gregory Maxwell
d3fe7c44f7 Make the rand tests determinstic. (fixes #2714)
This avoids spurious errors with the old tests but still tests
 enough that if the rng is replaced with a totally broken one
 it should still fail.
2013-12-05 09:15:40 +01:00
Mark Friedenbach
98289bbe25 Fix typo in README.md 2013-12-05 09:15:40 +01:00
Han Lin Yap
9f7fc8b332 fix typo in README.md 2013-12-05 09:15:40 +01:00
Philip Kaufmann
1b350f25a6 fix invalid conversion error with MinGW 4.8.1 in net.cpp
- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to
  'const char*' [-fpermissive] in a setsockopt() call on Win32 that was
  found by using MinGW 4.8.1 compiler suite
2013-12-05 09:15:39 +01:00
Luke Dashjr
89c2ea0891 Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used 2013-12-05 09:15:39 +01:00
Roman Mindalev
df238b1975 Add missing 0x prefix in chainparams.cpp
Conflicts:
	src/chainparams.cpp
2013-12-05 09:15:39 +01:00
Robert Backhaus
187f8a5675 Explictly cast calculation to int, to allow std::max to work. 2013-12-05 09:15:39 +01:00
Gavin Andresen
9612e4c0d9 Lower maximum size for free transaction creation
Changes the maximum size of a free transaction that will be created
from 10,000 bytes to 1,000 bytes.

The idea behind this change is to make the free transaction area
available to a greater number of people; with the default 27K-per-block,
just three very-large very-high-priority transactions could fill the space.
2013-11-28 07:59:54 +01:00
Gavin Andresen
1ca8a75cb4 Remove CENT-output free transaction rule when relaying
Remove the (relay/mempool) rule that all outputs of free transactions
must be greater than 0.01 XBT. Dust spam is now taken care of by making
dusty outputs non-standard.
2013-11-28 07:59:54 +01:00
Gavin Andresen
5c029630f9 Increase default -blockmaxsize/prioritysize to 300K/30K 2013-11-28 07:59:53 +01:00
Mike Hearn
7120d76dc6 Store and use a sanitized subVer
Rebased-from: a946aa8d3e
2013-11-28 11:03:33 +10:00
Mike Hearn
1c53d0a4fb Add some additional logging to give extra network insight. 2013-11-28 11:03:33 +10:00
Philip Kaufmann
3779de9d89 special case DoS value == 0 in ProcessMessage()
- prevents unneeded log messages, which could make users think something
  bad was happening

Squashed: style-police code cleanup
2013-11-28 11:03:33 +10:00
Gavin Andresen
56ce843314 Refactor: pull alert string sanitization into util
Rebased-from: 17faf56262
2013-11-28 11:03:33 +10:00
Warren Togami
e564297156 Silence useless warning in src/json/json_spirit_writer_template.h to make important warnings easier to see.
warning: typedef ‘Char_type’ locally defined but not used [-Wunused-local-typedefs]
2013-11-28 11:03:33 +10:00
Wladimir J. van der Laan
83efc9104f Squashed 'src/leveldb/' changes from be1b0ff..be91006
936b461 Merge upstream LevelDB 1.13.
748539c LevelDB 1.13

git-subtree-dir: src/leveldb
git-subtree-split: be9100673b05cec1662a54d0b7a59e4317fdda86
2013-11-28 11:03:32 +10:00
Wladimir J. van der Laan
e4be09cfae Bump version numbers for 0.8.6 release 2013-11-26 14:00:48 +01:00
Cory Fields
068996daa5 osx: fix bitcoin-qt startup crash when clicking dock icon
Crash probably introduced by 4d17a1b0.
Inialize the window to NULL and verify it before use.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2013-11-26 14:00:48 +01:00
Pieter Wuille
99f73bd2fd Fix build date for from-tarball builds 2013-11-26 14:00:48 +01:00
Philip Kaufmann
f607729b26 exclude CreatePidFile() function on WIN32 as it is unused 2013-11-26 14:00:48 +01:00
phelixbtc
e88eb41b6c Porting MinGW multithreading bugfix to makefile.mingw
Original fix:
https://github.com/bitcoin/bitcoin/commit
/8864019f6d88b13d3442843d9e6ebeb8dd938831
2013-11-26 14:00:48 +01:00
David Hill
0119e0c592 Hurricane Electric uses block 2001:470::, not 2011:470:: 2013-11-26 14:00:48 +01:00
Gregory Maxwell
f46f128b9a More fixes for blockchain corruption on OSX.
As we'd previously learned, OSX's fsync is a data eating lie.

Since 0.8.4 we're still getting some reports of disk corruption on
 OSX but now all of it looks like the block files have gotten out of
 sync with the database. It turns out that we were still using fsync()
 on the block files, so this isn't surprising.
2013-11-26 14:00:47 +01:00
Philip Kaufmann
05ea79052c make -logtimestamps default on and rework help-message
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 959e62f
2013-11-26 14:00:47 +01:00
Jeff Garzik
c4892eb4b3 Log reason for non-standard transaction rejection
Conflicts:
	src/main.cpp

Rebased-from: cb3076a3da
2013-11-26 14:00:47 +01:00
Philip Kaufmann
633d95ec22 log start and end of Shutdown()
- could be helpful when debugging shutdown related problems

Rebased-by:   Warren Togami <wtogami@gmail.com>
Rebased-from: ced3c24816
2013-11-26 14:00:47 +01:00
theuni
3e89dbb132 Fix uninitialized variable added in 5c55bf5
After discussing with BlueMatt, this appears to be harmless in its
current state since it's always set before it's used. Initialize it
anyway for readability and future safety.

Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
Rebased-From: 106f133de6
2013-11-26 10:32:16 +01:00
Matt Corallo
5c55bf5af0 Fix comparison tool by asking for blocks more aggressively
Rebased-from: b33b9a6fef
2013-11-26 10:15:57 +01:00
Patrick Strateman
7084756f4f process received messages one at a time without sleeping between messages 2013-11-26 10:15:49 +01:00
Gavin Andresen
ef14a26b12 Bump version numbers for 0.8.5 release v0.8.5 2013-09-12 13:35:18 +10:00
Pieter Wuille
27fefeac71 Fix out-of-bounds check 2013-09-12 12:41:17 +10:00
Gregory Maxwell
f0a1d87b00 Longer term workaround for chainstate corruption from negative versions.
This also makes negative transaction versions non-standard.

This avoids an issue triggered in block 256818 where transactions with
negative version numbers were incorrectly serialized into the UTXO set.

On restart nodes detect the inconsistency and refuse to start so long as
a block with these transactions is inside the self-consistency check
window, logging "coin database inconsistencies found". The software
recommends reindexing, but reindexing does not correct the problem.

This should be fixed by changing the chainstate serialization, but
working around it seems harmless for now because the version is not
used by any network rule currently.

A patch free workaround is to start with -checklevel=2 which skips
the consistency checks, but the IsStandard change is important for
miners in order to protect unpatched nodes.
2013-09-10 10:03:06 +10:00
Gregory Maxwell
839c7d1fa8 Update the bloom state on the real object, not the temporary one.
This resulted in just passing all transactions to filtered wallets
which worked surprisingly well, except where it didn't.
v0.8.4 v0.8.4rc2
2013-08-21 11:07:28 +10:00
Pieter Wuille
d7fdc5fac3 Fix non-standard disconnected transactions causing mempool orphans
Conflicts:
	src/main.cpp
2013-08-21 09:13:49 +10:00
theuni
5e18c6ccbc fixed: don't use thread::sleep_for where it's known to be broken
Fixes #2690.
2013-08-21 08:49:00 +10:00
theuni
708c75c0ee fixed: include boost header as necessary
Without this include, sometimes BOOST_VERSION was defined and sometimes
it was not, depending on which includes came before it. The result was a
random mix of sleep or sleep_for for boost versions >= 1.50.
2013-08-21 08:49:00 +10:00
Gregory Maxwell
ac7c960067 Performance optimization for bloom filters.
This reduces a peer's ability to attack network resources by
 using a full bloom filter, but without reducing the usability
 of bloom filters.  It sets a default match everything filter
 for peers and it generalizes a prior optimization to
 cover more cases.
2013-08-21 08:49:00 +10:00
Pieter Wuille
980b1c3571 Merge commit '6519339fe849bdbbff047d9eef8ab6c5fbb3e2a4' 2013-08-21 00:43:20 +02:00
Pieter Wuille
6519339fe8 Squashed 'src/leveldb/' changes from a02ddf9..be1b0ff
be1b0ff On Mac OS X fsync does not guarantee write to disk. Use fcntl F_FULLFSYNC instead.

git-subtree-dir: src/leveldb
git-subtree-split: be1b0ff1fcd6ad820a7fd111ac671fb51cc68001
2013-08-21 00:43:09 +02:00
Pieter Wuille
e6552eed63 Merge commit 'cb1e39f0a35cc2b36fb748c26f69cd27e0ed5332' as 'src/leveldb' 2013-08-20 14:17:45 +02:00