novacoin.git
12 years agoBump version to 0.4.5
Luke Dashjr [Fri, 16 Mar 2012 20:04:26 +0000]
Bump version to 0.4.5

12 years agoCode cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity...
Gavin Andresen [Tue, 20 Dec 2011 00:04:47 +0000]
Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity init static var

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 agoBugfix: Fix possible buffer overflow (#901)
Luke Dashjr [Sat, 3 Mar 2012 18:51:10 +0000]
Bugfix: Fix possible buffer overflow (#901)

Upstream commit: 21ae37d (partial)

12 years agoBugfix: Check return value of SHGetSpecialFolderPath in MyGetSpecialFolderPath
Luke Dashjr [Sat, 3 Mar 2012 18:44:42 +0000]
Bugfix: Check return value of SHGetSpecialFolderPath in MyGetSpecialFolderPath

Upstream commit: 21ae37d (partial)

12 years agoMerge remote branch 'sipa/nooverwritetx_v0.4.0' into 0.4.x
Luke Dashjr [Sat, 3 Mar 2012 17:59:09 +0000]
Merge remote branch 'sipa/nooverwritetx_v0.4.0' into 0.4.x

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 agoDoS fix for mapOrphanTransactions
Gavin Andresen [Wed, 29 Feb 2012 15:14:18 +0000]
DoS fix for mapOrphanTransactions

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

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

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 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 agoExtra wallet locking fixes
Pieter Wuille [Sat, 11 Feb 2012 17:01:24 +0000]
Extra wallet locking fixes

* Fix sign error in calculation of seconds to sleep
* Do not mix GetTime() (seconds) and Sleep() (milliseconds)
* Do not sleep forever if walletlock() is called
* Do locking within critical section

12 years agoFix wallet locking locking
Pieter Wuille [Sat, 11 Feb 2012 15:35:40 +0000]
Fix wallet locking locking

12 years agoMacros for manual critical sections
Pieter Wuille [Sat, 11 Feb 2012 19:02:55 +0000]
Macros for manual critical sections

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

12 years agoGet ext. IP from UPnP, make sure addrMe IsRoutable() in version.
Matt Corallo [Fri, 10 Feb 2012 03:41:42 +0000]
Get ext. IP from UPnP, make sure addrMe IsRoutable() in version.

This fixes a potential bug where some NATs may replace the node's
interal IP with its external IP in version messages, causing
incorrect checksums when version messages begin being checksummed
on February 14, 2012.

12 years agoFix #822
Pieter Wuille [Sat, 11 Feb 2012 14:25:42 +0000]
Fix #822

12 years agoUpdate copyrights to 2012 for files modified this year
Luke Dashjr [Wed, 8 Feb 2012 03:30:21 +0000]
Update copyrights to 2012 for files modified this year

12 years agoHave bitcoind recommend a secure RPC password. Increase invalid password delay.
Gregory Maxwell [Sun, 5 Feb 2012 07:30:43 +0000]
Have bitcoind recommend a secure RPC password. Increase invalid password delay.

Help users avoid insecure configurations a bit by recommending a
secure RPC password and increasing the incorrect password delay.

This may open up a RPC DOS for users with exposed RPC ports and
short passwords. Since users shouldn't have exposed RPC ports OR
short passwords, the DOS risk is preferable to the compromise
risk.

Also logs the client IP address for incorrect attempts.

12 years agoOnly store transactions with missing inputs in the orphan pool.
Gavin Andresen [Wed, 18 Jan 2012 18:36:44 +0000]
Only store transactions with missing inputs in the orphan pool.

All previous versions of bitcoin could store some types of
invalid transactions in the orphan-transaction list.

12 years agoFull checking of all loaded keys
Pieter Wuille [Thu, 26 Jan 2012 18:26:34 +0000]
Full checking of all loaded keys

12 years agoCheck consistency of private keys
Pieter Wuille [Wed, 25 Jan 2012 02:05:16 +0000]
Check consistency of private keys

Reported by onlineproof on IRC: Bitcoin does not verify whether private
keys and public keys correspond, when loading a wallet.

12 years agoAllow -upnp to override setting in wallet (and simplify logic a bit)
Gavin Andresen [Wed, 1 Feb 2012 18:24:15 +0000]
Allow -upnp to override setting in wallet (and simplify logic a bit)

12 years agoFix UPnP by reannouncing every 20 minutes.
Matt Corallo [Tue, 31 Jan 2012 22:36:25 +0000]
Fix UPnP by reannouncing every 20 minutes.

12 years agoTestnet difficulty calculation changes, to take effect Feb 15 2012
Gavin Andresen [Mon, 5 Dec 2011 20:50:22 +0000]
Testnet difficulty calculation changes, to take effect Feb 15 2012

Allow mining of min-difficulty blocks if 20 minutes have gone by without mining a regular-difficulty block.
Normal rules apply every 2016 blocks, though, so there may be a very-slow-to-confirm block at the difficulty-adjustment blocks.

12 years agoVarious updates to the release process
Luke Dashjr [Wed, 18 Jan 2012 02:50:08 +0000]
Various updates to the release process

12 years agoUpdate seednodes, pick long-uptime nodes with version >= 0.4.0
Daniel Folkinshteyn [Thu, 19 Jan 2012 06:54:14 +0000]
Update seednodes, pick long-uptime nodes with version >= 0.4.0

12 years agoReplace tabs with four spaces to comply with coding standard in doc/coding.txt
Lars Rasmusson [Sat, 14 Jan 2012 11:14:36 +0000]
Replace tabs with four spaces to comply with coding standard in doc/coding.txt

12 years agoCode tidyups, fixing various warnings.
Luke Dashjr [Tue, 17 Jan 2012 03:17:48 +0000]
Code tidyups, fixing various warnings.

Partial cherry pick of:

Compile with extra warnings turned on. And more makefile/code tidying up.

This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings.
Exceptions are:
 -Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned.
 -Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit).

Conflicts:

src/makefile.osx
src/makefile.unix
src/netbase.cpp
src/rpc.cpp

12 years agoRemove unused definition
Pieter Wuille [Mon, 9 Jan 2012 22:39:26 +0000]
Remove unused definition

12 years agoBump version to 0.4.4
Luke Dashjr [Tue, 10 Jan 2012 20:50:37 +0000]
Bump version to 0.4.4

12 years agoFix horrific performance found by gmaxwell.
Matt Corallo [Tue, 3 Jan 2012 08:03:07 +0000]
Fix horrific performance found by gmaxwell.

12 years agoI broke -testnet with my TOR option-parsing fixes.
Gavin Andresen [Tue, 3 Jan 2012 16:17:04 +0000]
I broke -testnet with my TOR option-parsing fixes.

12 years agoFix issue #659, and cleanup wallet/command-line argument handling a bit
Gavin Andresen [Tue, 3 Jan 2012 15:14:22 +0000]
Fix issue #659, and cleanup wallet/command-line argument handling a bit

Conflicts:
src/init.cpp
src/util.cpp

12 years agoFix some address-handling deadlocks
Pieter Wuille [Tue, 3 Jan 2012 00:28:15 +0000]
Fix some address-handling deadlocks

Made three critical blocks for cs_mapAddresses smaller, and moved
writing to the database out of them. This should also improve the
concurrency of the code.

12 years agoBugfix: fForRelay should be false when deciding required fee to include in blocks
Luke Dashjr [Wed, 14 Dec 2011 06:03:55 +0000]
Bugfix: fForRelay should be false when deciding required fee to include in blocks

During the rushed transition from 0.01 BTC to 0.0005 BTC fees, we took the
approach of dropping the relay and block-inclusion fee to 0.0005 BTC
immediately, and only delayed adjusting the sending fee for the next release.
Afterward, the relay fee was lowered to 0.0001 BTC to avoid having the same
problem in the future. However, the block inclusion code was left setting
fForRelay to true! This fixes that, so the lower 0.0001 BTC allowance is (as
intended) only permitted for real relaying.

12 years agoAdd my DNS seed domain
Luke Dashjr [Fri, 16 Dec 2011 23:34:47 +0000]
Add my DNS seed domain

12 years agoAdd sipa's new dnsseed.
Matt Corallo [Fri, 16 Dec 2011 16:30:36 +0000]
Add sipa's new dnsseed.

12 years agoBump version to 0.4.3
Luke Dashjr [Fri, 16 Dec 2011 00:25:29 +0000]
Bump version to 0.4.3

12 years agoMerge branch 'restore_old_miniupnp_compat' into 0.4.x
Luke Dashjr [Mon, 12 Dec 2011 19:33:47 +0000]
Merge branch 'restore_old_miniupnp_compat' into 0.4.x

12 years agoRestore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)
Luke Dashjr [Sat, 10 Dec 2011 16:52:50 +0000]
Restore compatibility with miniupnpc 1.5 (without breaking miniupnp 1.6)

12 years agoMove DNS Seed lookup to a new thread.
Matt Corallo [Mon, 21 Nov 2011 17:25:00 +0000]
Move DNS Seed lookup to a new thread.

12 years agoOrphan block fill-up-memory attack prevention
Gavin Andresen [Thu, 8 Sep 2011 16:51:43 +0000]
Orphan block fill-up-memory attack prevention

12 years agoMoved checkpoints out of main, to prep for using them to help prevent DoS attacks
Gavin Andresen [Thu, 8 Sep 2011 20:50:58 +0000]
Moved checkpoints out of main, to prep for using them to help prevent DoS attacks

12 years agoAdd missing command-line arguments to --help/-? output
Gavin Andresen [Sun, 27 Nov 2011 19:53:30 +0000]
Add missing command-line arguments to --help/-? output

12 years agoDon't forget to bump release numbers in READMEs next time
Gavin Andresen [Mon, 21 Nov 2011 19:38:47 +0000]
Don't forget to bump release numbers in READMEs next time

12 years agoBump version to 0.4.2
Luke Dashjr [Mon, 21 Nov 2011 18:38:09 +0000]
Bump version to 0.4.2

12 years agoclose old db when rewriting
Pieter Wuille [Sun, 20 Nov 2011 16:12:00 +0000]
close old db when rewriting

12 years agoNever remove database files on shutdown, it caused unreadable wallets on some testers...
Gavin Andresen [Sun, 20 Nov 2011 15:39:01 +0000]
Never remove database files on shutdown, it caused unreadable wallets on some testers' machines.

12 years agoOnly remove database log files on shutdown after wallet encryption/rewrite
Gavin Andresen [Thu, 17 Nov 2011 19:21:32 +0000]
Only remove database log files on shutdown after wallet encryption/rewrite

12 years agoCreate new keypool for newly encrypted wallets.
Gavin Andresen [Thu, 17 Nov 2011 19:01:25 +0000]
Create new keypool for newly encrypted wallets.

12 years agoRemove vladimir's DNS seed, at his request.
Jeff Garzik [Mon, 31 Oct 2011 16:42:01 +0000]
Remove vladimir's DNS seed, at his request.

12 years agoTweak handling of boost filesystem versions
Gavin Andresen [Tue, 15 Nov 2011 19:28:51 +0000]
Tweak handling of boost filesystem versions

(partial cherry pick)

12 years agoFix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite.
Gavin Andresen [Tue, 15 Nov 2011 19:30:15 +0000]
Fix crash-on-osx-on-shutdown bug. And cleanup CDB handling in Rewrite.

12 years agoadd message about restarting bitcoin after encrypting wallet succesfully
Luke Dashjr [Tue, 15 Nov 2011 15:21:02 +0000]
add message about restarting bitcoin after encrypting wallet succesfully

12 years agoUpdate gitian descriptors to point at stable git repo
Luke Dashjr [Tue, 15 Nov 2011 15:33:26 +0000]
Update gitian descriptors to point at stable git repo

12 years agoFix boost filesystem incompatibility problem
Gavin Andresen [Tue, 15 Nov 2011 14:47:29 +0000]
Fix boost filesystem incompatibility problem

12 years agoObsolete keypool and make sure database removes log files on shutdown.
Gavin Andresen [Fri, 11 Nov 2011 02:12:46 +0000]
Obsolete keypool and make sure database removes log files on shutdown.

12 years agoResilvering
Pieter Wuille [Thu, 10 Nov 2011 20:29:23 +0000]
Resilvering

12 years agoAdd returns to avoid annoying compile-time warnings.
Matt Corallo [Mon, 10 Oct 2011 19:51:07 +0000]
Add returns to avoid annoying compile-time warnings.

12 years agoOnly define __STDC_LIMIT_MACROS if not already defined.
Matt Corallo [Mon, 10 Oct 2011 16:08:05 +0000]
Only define __STDC_LIMIT_MACROS if not already defined.

12 years agoAdded a workaround for an Ubuntu bug which causes -fstack-protector-all to be disrega...
cjdelisle [Mon, 17 Oct 2011 00:38:23 +0000]
Added a workaround for an Ubuntu bug which causes -fstack-protector-all to be disregarded.

12 years agobitcoind does not need to link with gthread-2.0
Gavin Andresen [Mon, 10 Oct 2011 20:03:14 +0000]
bitcoind does not need to link with gthread-2.0

12 years agoBump version to 0.4.1
Luke Dashjr [Mon, 10 Oct 2011 18:22:31 +0000]
Bump version to 0.4.1

12 years agoFix for 64bit build
Victor Leschuk [Thu, 6 Oct 2011 15:53:42 +0000]
Fix for 64bit build

12 years agoMerge commit '65ba3e2f5024e1e38e119a0c25d5fc30c896cd65' into 0.4.x
Luke Dashjr [Wed, 5 Oct 2011 15:06:55 +0000]
Merge commit '65ba3e2f5024e1e38e119a0c25d5fc30c896cd65' into 0.4.x

12 years agoBugfix: report error creating ThreadSocketHandler thread just like the rest
Luke Dashjr [Tue, 4 Oct 2011 03:45:42 +0000]
Bugfix: report error creating ThreadSocketHandler thread just like the rest

12 years agoremove possibility of 63 bit overflow in ParseMoney
Wladimir J. van der Laan [Sat, 1 Oct 2011 00:47:47 +0000]
remove possibility of 63 bit overflow in ParseMoney

12 years agoMerge commit '3f94dfa' into stable
Luke Dashjr [Mon, 26 Sep 2011 19:37:57 +0000]
Merge commit '3f94dfa' into stable

12 years agoMerge pull request #527 from TheBlueMatt/gitian-downloader
Gavin Andresen [Thu, 22 Sep 2011 20:54:42 +0000]
Merge pull request #527 from TheBlueMatt/gitian-downloader

Restructure gitian files and add download config files.

12 years agoRestructure gitian files and add download config files.
Matt Corallo [Thu, 22 Sep 2011 17:07:17 +0000]
Restructure gitian files and add download config files.

12 years agoFix QA email address
Gavin Andresen [Thu, 22 Sep 2011 20:50:32 +0000]
Fix QA email address

12 years agoMerge pull request #526 from sipa/nl
Gavin Andresen [Thu, 22 Sep 2011 20:45:48 +0000]
Merge pull request #526 from sipa/nl

Updated dutch translation

12 years agoUpdated dutch translation
Pieter Wuille [Thu, 22 Sep 2011 17:22:17 +0000]
Updated dutch translation

12 years agoMerge pull request #525 from TheBlueMatt/master
Jeff Garzik [Thu, 22 Sep 2011 16:48:02 +0000]
Merge pull request #525 from TheBlueMatt/master

Update binary mo to match latest po translation.

12 years agoUpdate binary mo to match latest po translation.
Matt Corallo [Thu, 22 Sep 2011 16:45:52 +0000]
Update binary mo to match latest po translation.

12 years agoMerge pull request #522 from sipa/minorfix
Jeff Garzik [Tue, 20 Sep 2011 18:47:02 +0000]
Merge pull request #522 from sipa/minorfix

SocketHandler thread can be detached

12 years agoMerge pull request #520 from tcatm/less-logging
Nils Schneider [Mon, 19 Sep 2011 19:19:15 +0000]
Merge pull request #520 from tcatm/less-logging

log low-level network messages only when fDebug is set

12 years agoSocketHandler thread can be detached
Pieter Wuille [Mon, 19 Sep 2011 11:08:22 +0000]
SocketHandler thread can be detached

12 years agomissed printf in AbortMessage(); merged printfs in EndMessage
Nils Schneider [Sat, 17 Sep 2011 19:36:58 +0000]
missed printf in AbortMessage(); merged printfs in EndMessage

12 years agolog low-level network messages only when fDebug is set
Nils Schneider [Sat, 17 Sep 2011 16:29:41 +0000]
log low-level network messages only when fDebug is set

12 years agoMerge pull request #519 from dabaopku/master
Jeff Garzik [Sat, 17 Sep 2011 16:24:54 +0000]
Merge pull request #519 from dabaopku/master

Chinese Simp translation update

12 years agoUpdate to the Chinese Simp translation
Dean Lee [Sat, 17 Sep 2011 11:11:29 +0000]
Update to the Chinese Simp translation

12 years agoMerge pull request #516 from TheBlueMatt/nsisiconfix
Gavin Andresen [Wed, 14 Sep 2011 15:03:36 +0000]
Merge pull request #516 from TheBlueMatt/nsisiconfix

Update bitcoin icon to make nsis setup exe deterministic.

12 years agoUpdate bitcoin icon to make nsis setup exe deterministic.
Matt Corallo [Wed, 14 Sep 2011 14:42:02 +0000]
Update bitcoin icon to make nsis setup exe deterministic.

This adds a 32x32 16-bit icon to the bitcoin.ico file.
Though this realistically probably looks worse than the 32-bit
32x32 being displayed on a 16-bit monitor, it makes the nsis
setup exe deterministic in gitian output (go figure) which makes
the slight visual loss for users of very old monitors/computers
worth it.

12 years agoMerge pull request #512 from paraipanakos/master
Jeff Garzik [Tue, 13 Sep 2011 20:21:09 +0000]
Merge pull request #512 from paraipanakos/master

Spanish translation update

12 years agoAdd some hardening to protect against unknown/future exploits.
cjdelisle [Thu, 8 Sep 2011 16:50:54 +0000]
Add some hardening to protect against unknown/future exploits.

12 years agoMerge pull request #511 from mibe/translation-de
Jeff Garzik [Mon, 12 Sep 2011 01:45:00 +0000]
Merge pull request #511 from mibe/translation-de

Updated German translation

12 years agoUpdated German translation
Michael Bemmerl [Sat, 6 Aug 2011 23:55:46 +0000]
Updated German translation

12 years agoSpanish translation update
Alex B [Sun, 11 Sep 2011 20:08:43 +0000]
Spanish translation update

12 years agoMerge pull request #509 from cjdelisle/walletCrypto-wx-minVersion
Gavin Andresen [Fri, 9 Sep 2011 18:46:04 +0000]
Merge pull request #509 from cjdelisle/walletCrypto-wx-minVersion

wxWidgets needs to be at least version 2.9.1 because wallet crypto uses T

12 years agoMerge pull request #508 from TheBlueMatt/master
Gavin Andresen [Fri, 9 Sep 2011 18:45:46 +0000]
Merge pull request #508 from TheBlueMatt/master

Update gitian build descriptors to produce proper builds.

12 years agoUpdate gitian build descriptors to produce proper builds.
Matt Corallo [Fri, 9 Sep 2011 15:49:49 +0000]
Update gitian build descriptors to produce proper builds.

Thanks to makomk for finding the bugs here and devrandom
for passing them along (see
https://bitcointalk.org/index.php?topic=42198.msg514312#msg514312)

12 years agoMerge pull request #505 from gavinandresen/unique_coinbase
Gavin Andresen [Fri, 9 Sep 2011 13:34:37 +0000]
Merge pull request #505 from gavinandresen/unique_coinbase

Unique coinbase: Fixes #482

12 years agowxWidgets needs to be at least version 2.9.1 because wallet crypto uses ToStdString...
cjdelisle [Fri, 9 Sep 2011 00:50:00 +0000]
wxWidgets needs to be at least version 2.9.1 because wallet crypto uses ToStdString() which is not in 2.9.0

12 years agoMerge branch 'unique_coinbase' of git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoi...
Gavin Andresen [Wed, 7 Sep 2011 14:51:57 +0000]
Merge branch 'unique_coinbase' of git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin into unique_coinbase

12 years agoMerge pull request #500 from gavinandresen/txndeadlock
Gavin Andresen [Wed, 7 Sep 2011 14:29:44 +0000]
Merge pull request #500 from gavinandresen/txndeadlock

Fix AddAddress cs_mapaddresses/db transaction deadlock