novacoin.git
12 years agoBump version to 0.6.0rc6
Gavin Andresen [Thu, 29 Mar 2012 17:58:22 +0000]
Bump version to 0.6.0rc6

12 years agoMerge pull request #1007 from gavinandresen/log_auto_remove
Gavin Andresen [Thu, 29 Mar 2012 17:13:42 +0000]
Merge pull request #1007 from gavinandresen/log_auto_remove

Auto-remove logs, and decrease logfile size to 10M

12 years agoMerge pull request #996 from Diapolo/tx-lang-upd
Gavin Andresen [Thu, 29 Mar 2012 13:48:01 +0000]
Merge pull request #996 from Diapolo/tx-lang-upd

update translations from transifex

12 years agoAuto-remove logs, and decrease logfile size to 10M
Gavin Andresen [Thu, 29 Mar 2012 13:03:11 +0000]
Auto-remove logs, and decrease logfile size to 10M

12 years agoupdate translations from transifex
Philip Kaufmann [Tue, 27 Mar 2012 08:11:39 +0000]
update translations from transifex

12 years agoUpdate version to 60005 (0.6.0rc5)
Gavin Andresen [Mon, 26 Mar 2012 19:42:06 +0000]
Update version to 60005 (0.6.0rc5)

12 years agoMerge branch 'master' of github.com:bitcoin/bitcoin
Gavin Andresen [Mon, 26 Mar 2012 19:37:40 +0000]
Merge branch 'master' of github.com:bitcoin/bitcoin

12 years agoMerge pull request #994 from sipa/deladdr
Gavin Andresen [Mon, 26 Mar 2012 19:35:04 +0000]
Merge pull request #994 from sipa/deladdr

Use erase instead of rewrite to remove old addr entries

12 years agoMerge branch 'master' of github.com:bitcoin/bitcoin
Gavin Andresen [Mon, 26 Mar 2012 19:34:13 +0000]
Merge branch 'master' of github.com:bitcoin/bitcoin

12 years agoMerge pull request #992 from gavinandresen/remove_wxBitcoin
Gavin Andresen [Mon, 26 Mar 2012 19:33:02 +0000]
Merge pull request #992 from gavinandresen/remove_wxBitcoin

Remove wxWidgets .exe during setup

12 years agoMerge branch 'master' of github.com:bitcoin/bitcoin
Gavin Andresen [Mon, 26 Mar 2012 19:31:32 +0000]
Merge branch 'master' of github.com:bitcoin/bitcoin

12 years agoMerge pull request #991 from gavinandresen/disableWinURI
Gavin Andresen [Mon, 26 Mar 2012 19:31:06 +0000]
Merge pull request #991 from gavinandresen/disableWinURI

Disable bitcoin: URI handling on Windows for the 0.6 release

12 years agoMerge pull request #990 from sipa/doc
Wladimir J. van der Laan [Mon, 26 Mar 2012 19:27:49 +0000]
Merge pull request #990 from sipa/doc

Begin doxygen-compatible comments

12 years agoMerge branch 'deladdr' of https://github.com/sipa/bitcoin
Gavin Andresen [Mon, 26 Mar 2012 18:32:26 +0000]
Merge branch 'deladdr' of https://github.com/sipa/bitcoin

12 years agoUse erase instead of rewrite to remove old addr entries
Pieter Wuille [Mon, 26 Mar 2012 18:17:35 +0000]
Use erase instead of rewrite to remove old addr entries

12 years agoRemove wxWidgets .exe and locales during setup
Gavin Andresen [Mon, 26 Mar 2012 16:33:35 +0000]
Remove wxWidgets .exe and locales during setup

12 years agoMerge pull request #988 from Diapolo/URL-Handling
Wladimir J. van der Laan [Mon, 26 Mar 2012 17:58:48 +0000]
Merge pull request #988 from Diapolo/URL-Handling

show Window, when user is clicking bitcoin: link

12 years agoDisable bitcoin: URI handling on Windows for the 0.6 release
Gavin Andresen [Mon, 26 Mar 2012 16:18:24 +0000]
Disable bitcoin: URI handling on Windows for the 0.6 release

12 years agoBegin doxygen-compatible comments
Pieter Wuille [Mon, 26 Mar 2012 14:48:23 +0000]
Begin doxygen-compatible comments

12 years agomake sure Window is shown when clicking bitcoin: Links to get user attention
Philip Kaufmann [Mon, 26 Mar 2012 07:19:49 +0000]
make sure Window is shown when clicking bitcoin: Links to get user attention

12 years agoMerge pull request #974 from sipa/walletupgrade
Pieter Wuille [Mon, 26 Mar 2012 02:44:52 +0000]
Merge pull request #974 from sipa/walletupgrade

Introduce explicit -walletupgrade option

12 years agoMerge pull request #983 from laanwj/2012_03_removeunusedutil
Pieter Wuille [Mon, 26 Mar 2012 02:31:03 +0000]
Merge pull request #983 from laanwj/2012_03_removeunusedutil

Remove unused functions from util.h/util.cpp (EOM)

12 years agoMerge pull request #984 from sipa/youngseeds
Pieter Wuille [Mon, 26 Mar 2012 00:47:54 +0000]
Merge pull request #984 from sipa/youngseeds

Give DNS seeds a random age between 3 and 7 days old

12 years agoMerge pull request #985 from TheBlueMatt/uri
Pieter Wuille [Sun, 25 Mar 2012 17:32:31 +0000]
Merge pull request #985 from TheBlueMatt/uri

Fix URI link to bitcoin-qt.exe instead of bitcoin.exe

12 years agoFix URI link to bitcoin-qt.exe instead of bitcoin.exe
Matt Corallo [Sun, 25 Mar 2012 17:23:35 +0000]
Fix URI link to bitcoin-qt.exe instead of bitcoin.exe

12 years agoGive DNS seeds a random age between 3 and 7 days old
Pieter Wuille [Sun, 25 Mar 2012 14:06:16 +0000]
Give DNS seeds a random age between 3 and 7 days old

This speeds up initial connections with an old/large addr.dat a lot.

12 years agoremove unused functions from util.h/util.cpp
Wladimir J. van der Laan [Sat, 24 Mar 2012 20:36:10 +0000]
remove unused functions from util.h/util.cpp

12 years agoIntroduce explicit -walletupgrade option
Pieter Wuille [Thu, 22 Mar 2012 02:56:31 +0000]
Introduce explicit -walletupgrade option

Do not automatically change the wallet format unless the user takes an
explicit action that implies an upgrade (encrypting, for now), or uses
-walletupgrade.

-walletupgrade optionally takes an integer argument: the client version
up to which upgrading is allowed. Without an argument, it is upgraded
to latest supported version. If an argument to -walletupgrade is
provided at the time the wallet is created, the new wallet will initially
not use features beyond that version.

Third, the current wallet version number is reported in getinfo.

12 years agoMerge pull request #946 from luke-jr/bugfix_rm_mingw
Gavin Andresen [Thu, 22 Mar 2012 18:14:02 +0000]
Merge pull request #946 from luke-jr/bugfix_rm_mingw

Move QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build

12 years agoMove QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build
Luke Dashjr [Sat, 17 Mar 2012 23:54:22 +0000]
Move QMAKE_LIBS_QT_ENTRY adjustment to bitcoin side of build

It could just as well be on either part of the gitian build, but to safely put it on the Qt side would require bumping the filename, and every gitian user rebuilding it.
v0.5.3.1 put it on the Bitcoin side, and this is easier to work with and keep safe, so I'm moving it.

Use `qmake MINGW_THREAD_BUGFIX=0` to disable

12 years agoMerge branch 'checklevel' of https://github.com/sipa/bitcoin
Gavin Andresen [Thu, 22 Mar 2012 16:18:56 +0000]
Merge branch 'checklevel' of https://github.com/sipa/bitcoin

12 years agoMerge pull request #975 from sipa/versioncheck
Gavin Andresen [Thu, 22 Mar 2012 16:18:11 +0000]
Merge pull request #975 from sipa/versioncheck

Check minversion before loading the rest of the wallet

12 years agoMerge branch 'addrman' of https://github.com/sipa/bitcoin
Gavin Andresen [Thu, 22 Mar 2012 13:19:01 +0000]
Merge branch 'addrman' of https://github.com/sipa/bitcoin

12 years agoMerge pull request #964 from sipa/fastblocks
Gavin Andresen [Thu, 22 Mar 2012 13:17:44 +0000]
Merge pull request #964 from sipa/fastblocks

Speed up block downloading

12 years agoMerge branch 'master' of github.com:bitcoin/bitcoin
Gavin Andresen [Thu, 22 Mar 2012 12:51:37 +0000]
Merge branch 'master' of github.com:bitcoin/bitcoin

12 years agoMerge pull request #969 from laanwj/2012_03_printconsole_error
Wladimir J. van der Laan [Thu, 22 Mar 2012 06:42:20 +0000]
Merge pull request #969 from laanwj/2012_03_printconsole_error

replace call to PrintConsole with call to error()

12 years agoCheck minversion before loading the rest of the wallet
Pieter Wuille [Thu, 22 Mar 2012 03:59:59 +0000]
Check minversion before loading the rest of the wallet

When a 0.6 wallet with compressed pubkeys is created, it writes a
minversion record to prevent older clients from reading it. If the 0.5
loading it sees a key record before seeing the minversion record however,
it will fail with DB_CORRUPT instead of DB_TOO_NEW.

12 years agoAdd -checklevel and improve -checkblocks
Pieter Wuille [Wed, 21 Mar 2012 22:08:13 +0000]
Add -checklevel and improve -checkblocks

-checkblocks now takes a numeric argument: the number of blocks that must
be verified at the end of the chain. Default is 2500, and 0 means all
blocks.

-checklevel specifies how thorough the verification must be:
0: only check whether the block exists on disk
1: verify block validity (default)
2: verify transaction index validity
3: check transaction hashes
4: check whether spent txouts were spent within the main chain
5: check whether all prevouts are marked spent
6: check whether spent txouts were spent by a valid transaction that consumes them

12 years agoFix warning about deprecated unescaped backslash
Wladimir J. van der Laan [Wed, 21 Mar 2012 21:29:33 +0000]
Fix warning about deprecated unescaped backslash

12 years agoRemove -bip16 and -paytoscripthashtime command-line arguments
Gavin Andresen [Wed, 21 Mar 2012 19:45:58 +0000]
Remove -bip16 and -paytoscripthashtime command-line arguments

12 years agoreplace call to PrintConsole with call to error()
Wladimir J. van der Laan [Wed, 21 Mar 2012 19:33:53 +0000]
replace call to PrintConsole with call to error()

As these are equivalent functions, this cleans up the source a bit.
Also remove PrintConsole() as this was the only use.

12 years agoMerge pull request #947 from ali1234/master
Gavin Andresen [Wed, 21 Mar 2012 19:24:57 +0000]
Merge pull request #947 from ali1234/master

When disconnecting a node, the receive buffer should be cleared

12 years agoMerge pull request #948 from sipa/unstuck
Gavin Andresen [Wed, 21 Mar 2012 19:16:28 +0000]
Merge pull request #948 from sipa/unstuck

Prevent stuck block download in large reorganisations

12 years agoMerge pull request #968 from Diapolo/doc-update
Nils Schneider [Wed, 21 Mar 2012 17:50:08 +0000]
Merge pull request #968 from Diapolo/doc-update

updated translation process documentation

12 years agoupdated translation process documentation
Philip Kaufmann [Tue, 20 Mar 2012 14:19:14 +0000]
updated translation process documentation

12 years agoMerge pull request #965 from khorben/master
Gavin Andresen [Wed, 21 Mar 2012 14:45:49 +0000]
Merge pull request #965 from khorben/master

The generic UNIX Makefile builds with lots of warnings

12 years agoMore debug output for failed reorganizations
Pieter Wuille [Wed, 21 Mar 2012 12:15:27 +0000]
More debug output for failed reorganizations

12 years agoMerge pull request #967 from fanquake/patch-1
Wladimir J. van der Laan [Wed, 21 Mar 2012 07:59:50 +0000]
Merge pull request #967 from fanquake/patch-1

Correct date

12 years agoCorrect date
Michael [Wed, 21 Mar 2012 07:56:38 +0000]
Correct date

12 years agoMerge pull request #954 from Diapolo/master
Wladimir J. van der Laan [Wed, 21 Mar 2012 07:18:58 +0000]
Merge pull request #954 from Diapolo/master

language updates for source file bitcoin_en.ts + remove cs_CZ (issue #958)

12 years agoPrevent stuck block download in large reorganisations
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.

12 years agoSpeed up block downloading
Pieter Wuille [Tue, 20 Mar 2012 23:03:02 +0000]
Speed up block downloading

12 years agoAvoid some pointless warnings while compiling
Pierre Pronchery [Tue, 20 Mar 2012 23:08:19 +0000]
Avoid some pointless warnings while compiling

12 years agoMerge pull request #960 from gavinandresen/issue913
Gregory Maxwell [Tue, 20 Mar 2012 21:26:32 +0000]
Merge pull request #960 from gavinandresen/issue913

Use last checkpoint instead of hard-coded 140,700. Fixes #913.

12 years agoUse last checkpoint instead of hard-coded 140,700. Fixes #913.
Gavin Andresen [Tue, 20 Mar 2012 17:45:45 +0000]
Use last checkpoint instead of hard-coded 140,700. Fixes #913.

12 years agoProper support for Growl 1.3 notifications
p2k [Mon, 12 Mar 2012 13:20:55 +0000]
Proper support for Growl 1.3 notifications

12 years agoassertion in CBlock::SetBestChainInner was too strong
Pieter Wuille [Tue, 20 Mar 2012 15:41:36 +0000]
assertion in CBlock::SetBestChainInner was too strong

12 years agoremove bitcoin_cs_CZ from bitcoin.qrc and delete bitcoin_cs_CZ.ts
Philip Kaufmann [Tue, 20 Mar 2012 08:07:05 +0000]
remove bitcoin_cs_CZ from bitcoin.qrc and delete bitcoin_cs_CZ.ts

12 years agoupdated english language source file via lupdate
Philip Kaufmann [Mon, 19 Mar 2012 13:08:41 +0000]
updated english language source file via lupdate

12 years agoMerge pull request #953 from Diapolo/master
Nils Schneider [Mon, 19 Mar 2012 12:13:08 +0000]
Merge pull request #953 from Diapolo/master

german translation update

12 years agofixed a capitalization error in the german translation
Philip Kaufmann [Mon, 19 Mar 2012 09:28:10 +0000]
fixed a capitalization error in the german translation

12 years agoupdate german translation from transifex
Philip Kaufmann [Mon, 19 Mar 2012 08:21:11 +0000]
update german translation from transifex

12 years agoMerge pull request #928 from jojkaart/master
Wladimir J. van der Laan [Mon, 19 Mar 2012 08:08:43 +0000]
Merge pull request #928 from jojkaart/master

Make send coins dialog honor the configured unit type even on the first attempt.

12 years agoMerge pull request #931 from luke-jr/dbg_loaderr
Gregory Maxwell [Mon, 19 Mar 2012 03:11:09 +0000]
Merge pull request #931 from luke-jr/dbg_loaderr

Wallet loading diagnostic prints to debug.log

12 years agoMake the sendcoins dialog use the configured unit type, even on the first attempt.
Joel Kaartinen [Fri, 16 Mar 2012 12:23:59 +0000]
Make the sendcoins dialog use the configured unit type, even on the first attempt.

12 years agoWhen disconnecting a node, clear the received buffer so that we do
Alistair Buxton [Sun, 18 Mar 2012 03:03:24 +0000]
When disconnecting a node, clear the received buffer so that we do
not process any already received messages.

The primary reason to do this is if a node spams hundreds of messages
and we ban them, we don't want to continue processing the rest of it.

12 years agoMerge pull request #942 from Diapolo/master
Nils Schneider [Sat, 17 Mar 2012 09:05:06 +0000]
Merge pull request #942 from Diapolo/master

updated german translation from transifex

12 years agoupdate german translation from transifex
Philip Kaufmann [Fri, 16 Mar 2012 23:48:03 +0000]
update german translation from transifex

12 years agoBump CLIENT_VERSION for rc4 release
Gregory Maxwell [Fri, 16 Mar 2012 19:08:57 +0000]
Bump CLIENT_VERSION for rc4 release

12 years agoMerge pull request #938 from TheBlueMatt/guirpcwin32
Gregory Maxwell [Fri, 16 Mar 2012 18:32:53 +0000]
Merge pull request #938 from TheBlueMatt/guirpcwin32

Disable running with -server on bitcoin-qt.exe as it is broken.

12 years agoFix Win32 RPC Crashes.
Matt Corallo [Fri, 16 Mar 2012 02:55:12 +0000]
Fix Win32 RPC Crashes.

12 years agoupdate translations from transifex
Nils Schneider [Fri, 16 Mar 2012 18:05:25 +0000]
update translations from transifex

12 years agoadd shell one-liner for updating translations in bitcoin.qrc
Nils Schneider [Fri, 16 Mar 2012 18:03:43 +0000]
add shell one-liner for updating translations in bitcoin.qrc

12 years agoMerge pull request #941 from laanwj/2012_03_newminimizetray
Wladimir J. van der Laan [Fri, 16 Mar 2012 15:59:43 +0000]
Merge pull request #941 from laanwj/2012_03_newminimizetray

Yet another attempt of a "minimize to tray" that works on all OSes

12 years agoYet another attempt at implementing "minimize to tray" that works on all OSes
Wladimir J. van der Laan [Thu, 15 Mar 2012 21:30:08 +0000]
Yet another attempt at implementing "minimize to tray" that works on all OSes

12 years agoFix windows build in windows Qt SDK
Wladimir J. van der Laan [Thu, 15 Mar 2012 21:28:31 +0000]
Fix windows build in windows Qt SDK

12 years agoLink -lrt library on Linux
Wladimir J. van der Laan [Wed, 14 Mar 2012 06:39:42 +0000]
Link -lrt library on Linux

This is needed for linking on newer Linux distribs, see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

12 years agoBump CLIENT_VERSION for rc3 release
Gavin Andresen [Tue, 13 Mar 2012 13:31:37 +0000]
Bump CLIENT_VERSION for rc3 release

12 years agoMerge pull request #930 from sipa/minireorg
Gregory Maxwell [Mon, 12 Mar 2012 22:21:36 +0000]
Merge pull request #930 from sipa/minireorg

Limit the impact of reorganisations on the database (fix #925)

12 years agoLimit the impact of reorganisations on the database
Pieter Wuille [Sat, 10 Mar 2012 22:04:06 +0000]
Limit the impact of reorganisations on the database

Sometimes a new block arrives in a new chain that was already the
best valid one, but wasn't marked that way. This happens for example
when network rules change to recover after a fork.

In this case, it is not necessary to do the entire reorganisation
inside a single db commit. These can become huge, and exceed the
objects/lockers limits in bdb. This patch limits the blocks the
actual reorganisation is applied to, and adds the next blocks
afterwards in separate db transactions.

12 years agoPrint more diagnostic info for the various DB_CORRUPT conditions
Luke Dashjr [Sun, 11 Mar 2012 22:07:40 +0000]
Print more diagnostic info for the various DB_CORRUPT conditions

12 years agoMerge pull request #926 from gmaxwell/master
Pieter Wuille [Mon, 12 Mar 2012 01:41:00 +0000]
Merge pull request #926 from gmaxwell/master

Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"

12 years agoPrint wallet load errors (to debug.log)
Luke Dashjr [Sun, 11 Mar 2012 21:57:44 +0000]
Print wallet load errors (to debug.log)

12 years agoResolves issue #922 - "wallet passphrase timeout of several years doesn't work"
Gregory Maxwell [Sat, 10 Mar 2012 21:05:28 +0000]
Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"

2^31 milliseconds is only about 25 days. Also clamps Sleep() to 10 years,
because it currently sleeps for 0 seconds when the sleep time would cross
2^31 seconds since the epoch. Hopefully boost will be fixed by 2028.

12 years agoMerge pull request #918 from nomnombtc/patch-1
Pieter Wuille [Mon, 5 Mar 2012 22:45:30 +0000]
Merge pull request #918 from nomnombtc/patch-1

fix typo src/net.cpp

12 years agofix typo src/net.cpp
nomnombtc [Mon, 5 Mar 2012 18:33:24 +0000]
fix typo src/net.cpp

12 years agoMerge pull request #915 from sipa/nooverwritetx
Gavin Andresen [Sat, 3 Mar 2012 17:41:41 +0000]
Merge pull request #915 from sipa/nooverwritetx

Do not allow overwriting unspent transactions

12 years agoDo not allow overwriting unspent transactions (BIP 30)
Pieter Wuille [Fri, 17 Feb 2012 16:58:02 +0000]
Do not allow overwriting unspent transactions (BIP 30)

Introduce the following network rule:
 * a block is not valid if it contains a transaction whose hash
   already exists in the block chain, unless all that transaction's
   outputs were already spent before said block.

Warning: this is effectively a network rule change, with potential
risk for forking the block chain. Leaving this unfixed carries the
same risk however, for attackers that can cause a reorganisation
in part of the network.

Thanks to Russell O'Connor and Ben Reeves.

12 years agoUpdated Mac build process
Gavin Andresen [Thu, 1 Mar 2012 02:04:56 +0000]
Updated Mac build process

12 years agoMerge pull request #912 from TheBlueMatt/master
Gavin Andresen [Wed, 29 Feb 2012 21:17:19 +0000]
Merge pull request #912 from TheBlueMatt/master

Fix release-process.txt for new deps zip.

12 years agoFix release-process.txt for new deps zip.
Matt Corallo [Wed, 29 Feb 2012 21:12:36 +0000]
Fix release-process.txt for new deps zip.

12 years agoDoS fix for mapOrphanTransactions
Gavin Andresen [Wed, 29 Feb 2012 15:14:18 +0000]
DoS fix for mapOrphanTransactions

12 years agoMerge branch 'mruinventory' of https://github.com/sipa/bitcoin
Gavin Andresen [Tue, 28 Feb 2012 16:48:44 +0000]
Merge branch 'mruinventory' of https://github.com/sipa/bitcoin

12 years agoMerge branch '2012_02_getspecialfolderpath_overflow' of https://github.com/laanwj...
Gavin Andresen [Tue, 28 Feb 2012 16:45:14 +0000]
Merge branch '2012_02_getspecialfolderpath_overflow' of https://github.com/laanwj/bitcoin

12 years agoMerge pull request #910 from fanquake/master
Pieter Wuille [Tue, 28 Feb 2012 12:33:43 +0000]
Merge pull request #910 from fanquake/master

Correct Spelling

12 years ago"February"
Michael Ford [Tue, 28 Feb 2012 12:31:56 +0000]
"February"

12 years agoDo not start bitcoin: thread on OSX. fixes #889
Gavin Andresen [Mon, 27 Feb 2012 21:08:08 +0000]
Do not start bitcoin: thread on OSX. fixes #889

12 years agoMerge branch 'nodosbip16' of https://github.com/sipa/bitcoin
Gavin Andresen [Mon, 27 Feb 2012 20:47:27 +0000]
Merge branch 'nodosbip16' of https://github.com/sipa/bitcoin

12 years agoAdd mruset and use it for setInventoryKnown
Pieter Wuille [Mon, 27 Feb 2012 16:55:53 +0000]
Add mruset and use it for setInventoryKnown

12 years agoMove BIP16 switchover time to April 1
Gavin Andresen [Mon, 27 Feb 2012 16:41:20 +0000]
Move BIP16 switchover time to April 1