novacoin.git
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 #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 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 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

12 years agoMerge branch 'nooptionsinwallet+fixproxysetting' of https://github.com/sipa/bitcoin
Gavin Andresen [Mon, 27 Feb 2012 16:30:05 +0000]
Merge branch 'nooptionsinwallet+fixproxysetting' of https://github.com/sipa/bitcoin

12 years agoMerge pull request #853 from laanwj/2012_02_altminimizetray
Wladimir J. van der Laan [Mon, 27 Feb 2012 06:27:25 +0000]
Merge pull request #853 from laanwj/2012_02_altminimizetray

Yet another alternative "minimize to tray" implementation

Fixes problems with window positioning.

12 years agoStore addrProxy port in settings
Pieter Wuille [Sun, 26 Feb 2012 22:39:32 +0000]
Store addrProxy port in settings

12 years agoReworked QT settings
Gavin Andresen [Fri, 17 Feb 2012 02:09:41 +0000]
Reworked QT settings

12 years agobitcoind changes to stop storing settings in wallet.dat.
Gavin Andresen [Thu, 16 Feb 2012 20:00:16 +0000]
bitcoind changes to stop storing settings in wallet.dat.

12 years agoSimplify MyGetSpecialFolderPath and fix possible buffer overflow (#901)
Wladimir J. van der Laan [Sun, 26 Feb 2012 16:07:32 +0000]
Simplify MyGetSpecialFolderPath and fix possible buffer overflow (#901)

12 years agoMerge pull request #900 from sipa/movebackupmenu
Wladimir J. van der Laan [Sun, 26 Feb 2012 15:13:58 +0000]
Merge pull request #900 from sipa/movebackupmenu

Move 'Backup Wallet' to file menu

12 years agoMove 'Backup Wallet' to file menu
Pieter Wuille [Sun, 26 Feb 2012 02:04:25 +0000]
Move 'Backup Wallet' to file menu

12 years agoFix addrProxy setting
Pieter Wuille [Sat, 25 Feb 2012 19:59:18 +0000]
Fix addrProxy setting

Before 0.6 addrProxy was a CAddress, but netbase changed it to CService.
Retain compatibility by wrapping/unwrapping with a CAddress when saving
or loading.

This commit retains compatibility with 0.6.0rc1 (which wrote the setting
as a CService) by trying to parse twice.

12 years agoMerge pull request #897 from laanwj/2012_02_fixnegativesecs
Wladimir J. van der Laan [Sat, 25 Feb 2012 18:14:37 +0000]
Merge pull request #897 from laanwj/2012_02_fixnegativesecs

In UI, handle cases in which the last received block was generated in the future

12 years agoIn UI, handle cases in which the last received block was generated in the future...
Wladimir J. van der Laan [Sat, 25 Feb 2012 18:07:53 +0000]
In UI, handle cases in which the last received block was generated in the future (secs<0)

Fixes #874.

12 years agoDo not invoke anti-DoS system for invalid BIP16 transactions
Pieter Wuille [Sat, 25 Feb 2012 18:02:30 +0000]
Do not invoke anti-DoS system for invalid BIP16 transactions

Doing so would allow an attack on old nodes, which would relay a
standard transaction spending a BIP16 output in an invalid way,
until reaching a new node, which will disconnect their peer.

Reported by makomk on IRC.

12 years agoMerge pull request #894 from dooglus/nosplash
Wladimir J. van der Laan [Sat, 25 Feb 2012 07:51:50 +0000]
Merge pull request #894 from dooglus/nosplash

Add option "-splash" so we can disable the splash screen.

12 years agoAdd option "-splash" so we can disable the splash screen.
Chris Moore [Sat, 25 Feb 2012 02:54:18 +0000]
Add option "-splash" so we can disable the splash screen.
Don't show splash screen when -min is specified on the command line.

12 years agoCheckpoint block 168,000
Gavin Andresen [Thu, 23 Feb 2012 18:33:30 +0000]
Checkpoint block 168,000

12 years agoMerge branch 'getblock_cleanup' of https://github.com/luke-jr/bitcoin
Gavin Andresen [Thu, 23 Feb 2012 17:41:26 +0000]
Merge branch 'getblock_cleanup' of https://github.com/luke-jr/bitcoin

12 years agoMerge pull request #887 from TheBlueMatt/gitian_deps
Pieter Wuille [Thu, 23 Feb 2012 12:08:08 +0000]
Merge pull request #887 from TheBlueMatt/gitian_deps

Make deps build deterministic and upgrade to libpng 1.5.9.

12 years agoMake deps build deterministic and upgrade to libpng 1.5.9.
Matt Corallo [Thu, 23 Feb 2012 03:09:06 +0000]
Make deps build deterministic and upgrade to libpng 1.5.9.

12 years agoCleanup JSON-RPC getblock output to be consistent
Luke Dashjr [Wed, 22 Feb 2012 17:12:28 +0000]
Cleanup JSON-RPC getblock output to be consistent
- Add "size" and "bits"
- Rename "blockcount" to "height"
- Rename "hashprevious" and "hashnext" to "previousblockhash" and "nextblockhash" (respectively)

12 years agoMerge branch 'testnetirc' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 16:26:19 +0000]
Merge branch 'testnetirc' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'fixnullpfrom' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 16:25:08 +0000]
Merge branch 'fixnullpfrom' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'postfeb20' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 16:06:44 +0000]
Merge branch 'postfeb20' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'reorginfo' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 16:03:19 +0000]
Merge branch 'reorginfo' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'fix_616' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 16:00:38 +0000]
Merge branch 'fix_616' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'fix_626' of https://github.com/sipa/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 15:52:14 +0000]
Merge branch 'fix_626' of https://github.com/sipa/bitcoin

12 years agoMerge branch 'bugfix_bip14_ez' of https://github.com/luke-jr/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 15:44:44 +0000]
Merge branch 'bugfix_bip14_ez' of https://github.com/luke-jr/bitcoin

12 years agoMerge branch '201202_guiaddsuffix' of https://github.com/laanwj/bitcoin
Gavin Andresen [Wed, 22 Feb 2012 15:41:11 +0000]
Merge branch '201202_guiaddsuffix' of https://github.com/laanwj/bitcoin

12 years agoBugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report...
Luke Dashjr [Wed, 22 Feb 2012 15:36:19 +0000]
Bugfix: Instead of reporting "bitcoin-qt" for both bitcoind and Bitcoin-Qt, report "Satoshi" which is at least correct

12 years agoLeave IRC enabled by default on testnet
Pieter Wuille [Wed, 22 Feb 2012 04:17:49 +0000]
Leave IRC enabled by default on testnet

As testnet has neither DNS seeds or built-in seed addresses to
bootstrap from.

12 years agoPost-feb20 simplifications
Pieter Wuille [Mon, 20 Feb 2012 00:33:31 +0000]
Post-feb20 simplifications

Now the entire network upgraded to (initial) protocol version 209,
crtainl simplifications in the source code are possible.

12 years agoProcessBlock is sometimes called with pfrom==NULL
Pieter Wuille [Mon, 20 Feb 2012 21:35:08 +0000]
ProcessBlock is sometimes called with pfrom==NULL

12 years agoFix tests after 38067c18
Pieter Wuille [Mon, 20 Feb 2012 17:32:33 +0000]
Fix tests after 38067c18

12 years agoMerge pull request #857 from laanwj/2012_02_fixhelpwindow
Wladimir J. van der Laan [Mon, 20 Feb 2012 16:56:41 +0000]
Merge pull request #857 from laanwj/2012_02_fixhelpwindow

On windows, show message box with help, as there is no stderr (fixes #702)

12 years agoMerge pull request #858 from laanwj/2012_02_uisendlabelfix
Wladimir J. van der Laan [Mon, 20 Feb 2012 16:55:49 +0000]
Merge pull request #858 from laanwj/2012_02_uisendlabelfix

Only fill in label from address book if no label is filled in yet (fixes #840)

12 years agoMerge pull request #876 from luke-jr/signmsg_desc
Gregory Maxwell [Mon, 20 Feb 2012 05:24:20 +0000]
Merge pull request #876 from luke-jr/signmsg_desc

Sign message description changes discussed in #bitcoin-dev

12 years agoSign message description changes discussed in #bitcoin-dev
Luke Dashjr [Mon, 20 Feb 2012 03:36:59 +0000]
Sign message description changes discussed in #bitcoin-dev

12 years agoTypo fix
Pieter Wuille [Mon, 20 Feb 2012 03:16:38 +0000]
Typo fix

12 years agoMerge pull request #864 from sipa/fix_856
Pieter Wuille [Mon, 20 Feb 2012 02:21:19 +0000]
Merge pull request #864 from sipa/fix_856

Make compressed pubkeys require client >=0.5.99

12 years agoMerge pull request #868 from sipa/fix_650
Pieter Wuille [Mon, 20 Feb 2012 02:04:46 +0000]
Merge pull request #868 from sipa/fix_650

Fix #650: CKey::SetSecret BIGNUM leak

12 years agoMerge pull request #867 from laanwj/2012_02_hidetrayicononquit
Wladimir J. van der Laan [Sun, 19 Feb 2012 19:30:32 +0000]
Merge pull request #867 from laanwj/2012_02_hidetrayicononquit

Hide tray icon in destructor, as deleting will let it linger until quit (on ubuntu)

12 years agoReport number of (dis)connected blocks in reorganization
Pieter Wuille [Sun, 19 Feb 2012 18:42:15 +0000]
Report number of (dis)connected blocks in reorganization

Also report old and new best, and fork point.

12 years agoFix #616: remove base_uint::operator&=(uint64 b)
Pieter Wuille [Sun, 19 Feb 2012 18:12:41 +0000]
Fix #616: remove base_uint::operator&=(uint64 b)

12 years agoFix #626: RecvLine wrong error message
Pieter Wuille [Sun, 19 Feb 2012 18:05:41 +0000]
Fix #626: RecvLine wrong error message

Also moved RecvLine to net.cpp.