novacoin.git
12 years agoAdd Luke-Jr's PGP key to gitian-downloader
Luke Dashjr [Mon, 12 Mar 2012 04:45:08 +0000]
Add Luke-Jr's PGP key to gitian-downloader

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 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.

12 years agoFix #650: CKey::SetSecret BIGNUM leak
Pieter Wuille [Sun, 19 Feb 2012 17:44:51 +0000]
Fix #650: CKey::SetSecret BIGNUM leak

12 years agoMerge pull request #863 from sipa/bn2mpifix
Pieter Wuille [Sun, 19 Feb 2012 17:22:11 +0000]
Merge pull request #863 from sipa/bn2mpifix

Workaround for BN_bn2mpi reading/writing out of bounds

12 years agoMerge pull request #865 from sipa/del_pwalletdb
Pieter Wuille [Sun, 19 Feb 2012 17:05:40 +0000]
Merge pull request #865 from sipa/del_pwalletdb

Free pwalletdbEncryption after encryping wallet

12 years agoHide tray icon in destructor, as deleting will let it linger until quit (on Ubuntu)
Wladimir J. van der Laan [Sun, 19 Feb 2012 11:07:07 +0000]
Hide tray icon in destructor, as deleting will let it linger until quit (on Ubuntu)

12 years agoFree pwalletdbEncryption after encryping wallet
Pieter Wuille [Sat, 18 Feb 2012 14:36:40 +0000]
Free pwalletdbEncryption after encryping wallet

Fixes a memory leak.

12 years agoMake compressed pubkeys require 0.6.0
Pieter Wuille [Sat, 18 Feb 2012 14:06:32 +0000]
Make compressed pubkeys require 0.6.0

12 years agoMove GenerateNewKey back to CWallet
Pieter Wuille [Sat, 18 Feb 2012 14:02:36 +0000]
Move GenerateNewKey back to CWallet

12 years agoAdd SetMinVersion to CWallet
Pieter Wuille [Sat, 18 Feb 2012 13:55:02 +0000]
Add SetMinVersion to CWallet

12 years agoMerge pull request #862 from TheBlueMatt/warnings
Pieter Wuille [Sat, 18 Feb 2012 12:56:58 +0000]
Merge pull request #862 from TheBlueMatt/warnings

Fix compilation warning.

12 years agoWorkaround for BN_bn2mpi reading/writing out of bounds
Pieter Wuille [Sat, 18 Feb 2012 12:32:25 +0000]
Workaround for BN_bn2mpi reading/writing out of bounds

When OpenSSL's BN_bn2mpi is passed a buffer of size 4, valgrind
reports reading/writing one byte past it. I am unable to find
evidence of this behaviour in BN_bn2mpi's source code, so it may
be a spurious warning. However, this change is harmless, as only
the bignum with value 0 results in an mpi serialization of size 4.

12 years agoMerge pull request #859 from laanwj/2012_02_guilanguagearg
Wladimir J. van der Laan [Sat, 18 Feb 2012 09:33:56 +0000]
Merge pull request #859 from laanwj/2012_02_guilanguagearg

Make it possible to set UI language from commandline (implements #678)

12 years agoFix compilation warning.
Matt Corallo [Fri, 17 Feb 2012 23:08:45 +0000]
Fix compilation warning.

12 years agoDo show/showNormal only when needed.
Wladimir J. van der Laan [Fri, 17 Feb 2012 22:19:52 +0000]
Do show/showNormal only when needed.

12 years agoMerge pull request #854 from laanwj/2012_02_qtipc
Wladimir J. van der Laan [Fri, 17 Feb 2012 20:54:07 +0000]
Merge pull request #854 from laanwj/2012_02_qtipc

Restructure IPC URL handling (fixes #851)

12 years agoMerge branch 'nolisten_bitcoin_conf_2' of https://github.com/dooglus/bitcoin
Gavin Andresen [Fri, 17 Feb 2012 18:50:40 +0000]
Merge branch 'nolisten_bitcoin_conf_2' of https://github.com/dooglus/bitcoin

12 years agoMerge branch 'testnetmining' of github.com:gavinandresen/bitcoin-git
Gavin Andresen [Fri, 17 Feb 2012 18:48:01 +0000]
Merge branch 'testnetmining' of github.com:gavinandresen/bitcoin-git

12 years agoMerge branch 'threadid' of https://github.com/sipa/bitcoin
Gavin Andresen [Fri, 17 Feb 2012 18:40:42 +0000]
Merge branch 'threadid' of https://github.com/sipa/bitcoin

12 years agoMerge pull request #834 from sje397/BackupWallet
Wladimir J. van der Laan [Fri, 17 Feb 2012 18:30:15 +0000]
Merge pull request #834 from sje397/BackupWallet

Added 'Backup Wallet' menu option to GUI

12 years agoAllow setting UI language from commandline (implements #678)
Wladimir J. van der Laan [Fri, 17 Feb 2012 17:44:39 +0000]
Allow setting UI language from commandline (implements #678)

12 years agoOnly fill in label from address book, if no label is filled in yet, fixes #840
Wladimir J. van der Laan [Fri, 17 Feb 2012 17:25:14 +0000]
Only fill in label from address book, if no label is filled in yet, fixes #840

12 years agoChange #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...
Wladimir J. van der Laan [Fri, 17 Feb 2012 17:00:41 +0000]
Change #ifdef GUI to #ifdef QT_GUI, GUI is not defined anymore...

12 years agoOn windows, show message box with help, as there is no stderr (fixes #702)
Wladimir J. van der Laan [Fri, 17 Feb 2012 16:53:41 +0000]
On windows, show message box with help, as there is no stderr (fixes #702)

12 years agoHide window from taskbar when "minimize to tray" active by making window into Tool...
Wladimir J. van der Laan [Fri, 17 Feb 2012 12:50:32 +0000]
Hide window from taskbar when "minimize to tray" active by making window into Tool window

12 years agoRestructure IPC URL handling (fixes #851)
Wladimir J. van der Laan [Fri, 17 Feb 2012 14:26:20 +0000]
Restructure IPC URL handling (fixes #851)

12 years agodon't allow -daemon in bitcoin-qt (changes only #defines)
Wladimir J. van der Laan [Fri, 17 Feb 2012 13:46:06 +0000]
don't allow -daemon in bitcoin-qt (changes only #defines)

12 years agofix typo in CNetAddr::IsRFC4843() (fixes #850)
Wladimir J. van der Laan [Fri, 17 Feb 2012 13:40:21 +0000]
fix typo in CNetAddr::IsRFC4843()  (fixes #850)

12 years agoFix #846. Allow negative options such as "nolisten=1" in bitcoin.conf as well as...
Chris Moore [Thu, 16 Feb 2012 20:08:32 +0000]
Fix #846.  Allow negative options such as "nolisten=1" in bitcoin.conf as well as on the command line.

12 years agoFix issue #848 : broken mining on testnet
Gavin Andresen [Thu, 16 Feb 2012 15:22:31 +0000]
Fix issue #848 : broken mining on testnet

12 years agoMerge pull request #843 from TheBlueMatt/qrcodedoc
Pieter Wuille [Thu, 16 Feb 2012 11:50:59 +0000]
Merge pull request #843 from TheBlueMatt/qrcodedoc

Fix one compile-time warning and fix libqrcode linking in releases

12 years agoSymbolic names for threads
Pieter Wuille [Tue, 7 Feb 2012 18:42:29 +0000]
Symbolic names for threads

Introduce an enum threadId, and use symbolic indices when accessing
vnThreadsRunning.

12 years agoMerge pull request #844 from sipa/shutdownfix
Pieter Wuille [Thu, 16 Feb 2012 11:34:11 +0000]
Merge pull request #844 from sipa/shutdownfix

Several shutdown-related fixes

12 years agoMerge pull request #842 from sipa/checkaf
Pieter Wuille [Thu, 16 Feb 2012 11:31:14 +0000]
Merge pull request #842 from sipa/checkaf

Do not create CAddress for invalid accepts

12 years agoMerge pull request #828 from sipa/fixwalletlock
Pieter Wuille [Thu, 16 Feb 2012 11:30:26 +0000]
Merge pull request #828 from sipa/fixwalletlock

Fix wallet locking locking

12 years agoProperly include $*_LIB_PATH in makefile.unix
Matt Corallo [Wed, 15 Feb 2012 21:05:55 +0000]
Properly include $*_LIB_PATH in makefile.unix

12 years agoMake bitcoin-qt static-link libqrcode and add it for debian pkgs.
Matt Corallo [Wed, 15 Feb 2012 19:42:51 +0000]
Make bitcoin-qt static-link libqrcode and add it for debian pkgs.

12 years agoFix compilation warning.
Matt Corallo [Sat, 28 Jan 2012 09:29:01 +0000]
Fix compilation warning.

12 years agoSeveral shutdown-related fixes
Pieter Wuille [Wed, 15 Feb 2012 20:17:15 +0000]
Several shutdown-related fixes

* do not let vnThreadsRunning[1] go negative
* do not perform locking operations while vnThreadsRunning[1] is decreased
* check vnThreadsRunning[1] at exit

12 years agoBugfix: do not create CAddress for invalid accepts
Pieter Wuille [Wed, 15 Feb 2012 19:56:29 +0000]
Bugfix: do not create CAddress for invalid accepts