Commit Graph

4037 Commits

Author SHA1 Message Date
Gavin Andresen
8535ecba70 Fix Gnome bitcoin: URI handler 2013-07-05 23:51:41 -10:00
Pieter Wuille
3b0b36e380 Fix build date for from-tarball builds 2013-07-05 23:51:41 -10:00
Pieter Wuille
44cada7590 Initialize database before checking changed txindex
In case no database exists yet, and -txindex(=1) is passed, we currently first
check whether fTxIndex differs from -txindex (and ask the user to reindex in
that case), and only afterwards initialize the database. By swapping these
around (the initialization is a no-op in case the database already exists),
we allow it to be born in txindex mode, without warning.

That also means we don't need to check -reindex anymore, as the wiping/reinit
of the databases happens before checking.
2013-07-05 23:51:41 -10:00
theuni
f85096b30a fixed: don't use thread::sleep_for where it's known to be broken
Fixes #2690.
2013-07-05 23:51:41 -10:00
theuni
8ae8e62355 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-07-05 23:51:41 -10:00
Philip Kaufmann
53542dc9a7 allow txindex to be removed and add a reindex dialog
- adds a reindex dialog for Bitcoin-Qt to change -txindex without the need
  to supply -reindex
- now also does a -reindex, when removing the -txindex switch
2013-07-04 03:17:52 -10:00
Cory Fields
e5bd319136 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.
2013-07-04 03:16:12 -10:00
Wladimir J. van der Laan
f948663a80 Qt5 compatibility
This commit squashes all the changes in the Qt5 branch
relative to master.

Backward compatibility with Qt4 is retained.

Original authors:

- Philip Kaufmann <phil.kaufmann@t-online.de>
- Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:14:42 -10:00
Jonas Schnelli
c21beff608 MaxOSX: settings fixes (#2371)
- Launch-At-Startup implementation for mac
    - Remove "Window" tab in settings

    Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:13:16 -10:00
Timon Rapp
4cea72e806 Added NSHighResolutionCapable flag to Info.plist for better font rendering on Retina displays. 2013-07-04 03:09:35 -10:00
Philip Kaufmann
5536b22b8d remove obsolete and unused typedef for Windows 2013-07-04 03:07:53 -10:00
Jonas Schnelli
896c509dac osx: make use of the 10.8+ user notification center to display growl like notifications
- if 10.8, use user notification center, if <10.8, use growl

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
2013-07-04 03:06:59 -10:00
Robert Backhaus
c2954a117b Don't attempt to resize vector to negative size. 2013-07-04 03:04:57 -10:00
Pieter Wuille
9ee8ffcca7 Check for correct genesis
At startup, check that the expected genesis is loaded. This should prevent
cases where accidentally a datadir from the wrong network is loaded
(testnet vs mainnet, e.g.).
2013-07-04 03:02:16 -10:00
Pieter Wuille
f346774f5a Make signature cache store CPubKeys 2013-07-04 03:00:58 -10:00
Pieter Wuille
05d5ef46ba CSecret/CKey -> CKey/CPubKey split/refactor 2013-07-04 03:00:32 -10:00
Pieter Wuille
029c52edb5 Make CPubKey statically allocated 2013-07-04 03:00:12 -10:00
Andrey
16a2acc92d Updated help and tests for getreceivedby(account|address) 2013-07-04 02:58:49 -10:00
Andrey
b48905fa29 listreceivedbyaddress now provides tx ids (issue #1149) 2013-07-04 02:58:42 -10:00
Daniel Larimer
f237d48e50 Fix memory leak on exception in Key::SignCompact 2013-07-04 02:54:15 -10:00
Daniel Larimer
806cf82716 fix memory leak in CKey::SetCompactSignature() 2013-07-04 02:54:05 -10:00
Robert Backhaus
5251d4450c Explictly cast calculation to int, to allow std::max to work. 2013-07-04 02:50:25 -10:00
Gavin Andresen
40809aed65 Bump version numbers for 0.8.3 release 2013-06-25 10:27:24 -04:00
Pieter Wuille
65c20dbf55 Dump addresses every 15 minutes instead of 10 seconds 2013-06-25 10:21:02 -04:00
Peter Todd
7cc960f8f5 Truncate oversize 'tx' messages before relaying/storing.
Fixes a memory exhaustion attack on low-memory peers.
2013-06-25 09:59:31 -04:00
Wladimir J. van der Laan
09e437ba4e Merge pull request #2696 from robbak/util_h-Add_stdarg_include
Explicitly #include stdarg.h, for access to va_list
2013-05-25 08:48:25 -07:00
Gavin Andresen
ef9acc5124 Bump build number to 0.8.2.2 for v0.8.2rc3 2013-05-24 16:11:44 -04:00
Gavin Andresen
378c526ee1 Merge pull request #2683 from Diapolo/translations
translations update 2013-05-23
2013-05-24 13:07:36 -07:00
Gavin Andresen
dbc6dea1b2 Fix crash-at-shutdown if exiting before initializing wallet 2013-05-24 15:52:52 -04:00
Gavin Andresen
8ab6d0a568 All-resolution pixmap, to make win32 builds determisitic again 2013-05-24 15:46:00 -04:00
Gavin Andresen
1472a2991b Merge pull request #2688 from gavinandresen/issue2687
Clean up mining CReserveKey to prevent crash at shutdown
2013-05-24 12:41:04 -07:00
Robert Backhaus
65ec9eab2b Explicitly #include stdarg.h, for access to va_list 2013-05-24 23:45:08 +10:00
Gavin Andresen
36e826cea1 Clean up mining CReserveKey to prevent crash at shutdown
Fixes issue#2687
2013-05-23 14:17:15 -04:00
Philip Kaufmann
6a2da2ba96 translations update 2013-05-23
- integrates current translations from Transifex
2013-05-23 08:39:31 +02:00
Gavin Andresen
36dc41f427 doc/README was replaced by README.md 2013-05-22 17:21:12 -04:00
Gregory Maxwell
95c2ba1689 Merge pull request #2682 from sipa/morewalletbb
More bestblock records in wallets
2013-05-22 14:01:31 -07:00
Gavin Andresen
0c4434cf77 Merge pull request #2652 from gavinandresen/version_0.8.2_final
Set CLIENT_VERSION_IS_RELEASE, bump build to 0.8.2.1
2013-05-22 13:23:38 -07:00
Gavin Andresen
f1e76e8121 Merge pull request #2649 from Diapolo/translations
translations update 2013-05-19 (for 0.8.2 release)
2013-05-22 12:22:45 -07:00
Pieter Wuille
95c7db3dbf More bestblock records in wallets
Write bestblock records in wallets:
* Every 20160 blocks synced, no matter what (before: none during IBD)
* Every 144 blocks after IBD (before: for every block, slow)
* When creating a new wallet
* At shutdown

This should result in far fewer spurious rescans.
2013-05-22 20:59:36 +02:00
Gavin Andresen
6b99cfae3c Merge pull request #2677 from sipa/fastcreate
CreateNewBlock performance improvements
2013-05-22 10:24:17 -07:00
Gavin Andresen
53704da897 Merge pull request #2680 from fanquake/patch-1
Update links in build-osx.md
2013-05-22 09:38:49 -07:00
Gavin Andresen
b1f8068ab2 Merge pull request #2681 from wtogami/gitianfix
gitian deps-win32.yml needs psmisc package for killall to end the build
2013-05-22 07:51:43 -07:00
Warren Togami
5ada394edf gitian deps-win32.yml needs psmisc package for killall to end the build 2013-05-22 00:20:07 -10:00
Michael Ford
a680b095b6 Update links in build-osx.md
Add link to Github for Mac
Update link to HomeBrew
2013-05-22 12:34:18 +08:00
Wladimir J. van der Laan
de29c9e2c7 Merge pull request #2678 from TheBlueMatt/master
Add a few data-driven tests for SIGHASH_ANYONECANPAY
2013-05-21 21:02:45 -07:00
Matt Corallo
e175c16f5b Add a few data-driven tests for SIGHASH_ANYONECANPAY 2013-05-21 18:16:43 +02:00
Pieter Wuille
2ec349bc42 CreateNewBlock performance improvements 2013-05-21 03:53:32 +02:00
Wladimir J. van der Laan
3702f127fd Merge pull request #2666 from super3/master
Doc Cleanup with Markdown
2013-05-20 06:25:41 -07:00
super3
2341e9b533 Docs Markdown Cleanup 2013-05-20 00:30:00 -04:00
Wladimir J. van der Laan
f7f940336e Merge pull request #2650 from jonasschnelli/new_xpm_icons
new resources for linux software package managers
2013-05-19 11:53:47 -07:00