novacoin.git
11 years agoPPCoin: Update COPYING and README for initial release 0.1
Sunny King [Thu, 16 Aug 2012 22:11:27 +0000]
PPCoin: Update COPYING and README for initial release 0.1

11 years agoPPCoin: Windows setup images
Sunny King [Thu, 16 Aug 2012 21:15:12 +0000]
PPCoin: Windows setup images

11 years agoPPCoin: Remove genesis block tool
Sunny King [Thu, 16 Aug 2012 19:30:01 +0000]
PPCoin: Remove genesis block tool

11 years agoPPCoin: Fixate official block chain parameters
Sunny King [Thu, 16 Aug 2012 16:36:14 +0000]
PPCoin: Fixate official block chain parameters
        coin age min age 30 days
        coinbase/coinstake maturity 500 blocks
        initial difficulty 256

11 years agoPPCoin: Official genesis blocks
Sunny King [Thu, 16 Aug 2012 15:32:59 +0000]
PPCoin: Official genesis blocks

11 years agoPPCoin: Scott's public key
Scott Nadal [Thu, 16 Aug 2012 14:30:21 +0000]
PPCoin: Scott's public key

11 years agoPPCoin: Update pnSeed for 0.1 release
Sunny King [Thu, 16 Aug 2012 03:14:23 +0000]
PPCoin: Update pnSeed for 0.1 release

11 years agoPPCoin: Update windows build setup descriptions
Sunny King [Thu, 16 Aug 2012 00:15:30 +0000]
PPCoin: Update windows build setup descriptions

11 years agoPPCoin: Add Richard's public key
Richard Smith [Wed, 15 Aug 2012 22:03:34 +0000]
PPCoin: Add Richard's public key

11 years agoPPCoin: Add Sunny's public key
Sunny King [Wed, 15 Aug 2012 21:21:14 +0000]
PPCoin: Add Sunny's public key

11 years agoPPCoin: Windows build with gitian-builder
Sunny King [Wed, 15 Aug 2012 18:53:54 +0000]
PPCoin: Windows build with gitian-builder

11 years agoPPCoin: Check time as well for checkpoint-too-old safe mode
Sunny King [Tue, 14 Aug 2012 18:59:17 +0000]
PPCoin: Check time as well for checkpoint-too-old safe mode

11 years agoPPCoin: Fix checkpoint related reorganization issue since ee8c5f5
Scott Nadal [Tue, 14 Aug 2012 14:48:25 +0000]
PPCoin: Fix checkpoint related reorganization issue since ee8c5f5

11 years agoPPCoin: Gitian build descriptor for win32
Sunny King [Fri, 10 Aug 2012 22:41:20 +0000]
PPCoin: Gitian build descriptor for win32

11 years agoPPCoin: Safety limit of proof-of-work subsidy
Sunny King [Fri, 10 Aug 2012 01:03:44 +0000]
PPCoin: Safety limit of proof-of-work subsidy

11 years agoPPCoin: Fix first block hash target since 4523045
Sunny King [Fri, 10 Aug 2012 00:44:16 +0000]
PPCoin: Fix first block hash target since 4523045

11 years agoPPCoin: Remove Gavin's bitcointools
Sunny King [Thu, 9 Aug 2012 22:47:45 +0000]
PPCoin: Remove Gavin's bitcointools

11 years agoPPCoin: Release alert and checkpoint master public keys
Sunny King [Thu, 9 Aug 2012 18:39:27 +0000]
PPCoin: Release alert and checkpoint master public keys

11 years agoPPCoin: Initial hash target; initial difficulty 16 for testing
Sunny King [Thu, 9 Aug 2012 18:14:37 +0000]
PPCoin: Initial hash target; initial difficulty 16 for testing

11 years agoPPCoin: Update linux gitian build descriptor
Sunny King [Thu, 9 Aug 2012 13:32:11 +0000]
PPCoin: Update linux gitian build descriptor

11 years agoPPCoin: Fix pausing issues of initial block download
Sunny King [Tue, 7 Aug 2012 19:10:11 +0000]
PPCoin: Fix pausing issues of initial block download
        around the latest proof-of-work block

11 years agoPPCoin: Conditional print keypool reserve and return log message
Scott Nadal [Tue, 7 Aug 2012 14:38:02 +0000]
PPCoin: Conditional print keypool reserve and return log message
        Conditional print create new block log message

11 years agoPPCoin: When creating transaction any sub-cent change is added to fee
Sunny King [Mon, 6 Aug 2012 16:14:50 +0000]
PPCoin: When creating transaction any sub-cent change is added to fee
        as we can no longer make such a change output due to 8bb2917

11 years agoPPCoin: Switch dnsseed to seed.ppcoin.net
Sunny King [Sun, 5 Aug 2012 17:34:05 +0000]
PPCoin: Switch dnsseed to seed.ppcoin.net

11 years agoPPCoin: Fix premature mint thread exit since 06281cf
Sunny King [Fri, 3 Aug 2012 20:50:51 +0000]
PPCoin: Fix premature mint thread exit since 06281cf
        Wallet lock warning message for minting blocks
        Block minting suspended when wallet is locked

11 years agoPPCoin: Enforce minimum output amount 1 cent
Scott Nadal [Fri, 3 Aug 2012 14:41:08 +0000]
PPCoin: Enforce minimum output amount 1 cent

11 years agoPPCoin: Separate thread for minting proof-of-stake blocks
Sunny King [Wed, 1 Aug 2012 19:00:24 +0000]
PPCoin: Separate thread for minting proof-of-stake blocks

11 years agoPPCoin: RPC command 'getdifficulty' shows proof-of-stake difficulty as well
Sunny King [Wed, 1 Aug 2012 14:03:50 +0000]
PPCoin: RPC command 'getdifficulty' shows proof-of-stake difficulty as well

11 years agoPPCoin: Limit the merging of coins into coinstake (to about 10K)
Sunny King [Tue, 31 Jul 2012 22:15:29 +0000]
PPCoin: Limit the merging of coins into coinstake (to about 10K)
        Help promote proof-of-stake generation in early stages

11 years agoPPCoin: Fix timestamp format for windows build
Richard Smith [Tue, 31 Jul 2012 20:57:04 +0000]
PPCoin: Fix timestamp format for windows build
        Windows build instruction with miniupnp client library

11 years agoPPCoin: Fix GetLastBlockIndex() (ProcessBlock crash) since 8c8cd5f
Scott Nadal [Tue, 31 Jul 2012 14:33:57 +0000]
PPCoin: Fix GetLastBlockIndex() (ProcessBlock crash) since 8c8cd5f

11 years agoPPCoin: No safe mode when detecting longer invalid chain
Scott Nadal [Mon, 30 Jul 2012 16:52:08 +0000]
PPCoin: No safe mode when detecting longer invalid chain
        Enter safe mode when sync-checkpoint is too old
        Enter safe mode with high priority alert

11 years agoPPCoin: Replace RPC command 'setcheckpointkey' with option '-checkpointkey'
Sunny King [Sun, 29 Jul 2012 21:09:43 +0000]
PPCoin: Replace RPC command 'setcheckpointkey' with option '-checkpointkey'

11 years agoPPCoin: Only immediately checkpoint proof-of-work block
Sunny King [Sun, 29 Jul 2012 20:13:33 +0000]
PPCoin: Only immediately checkpoint proof-of-work block
        Max 4 hours trailing checkpoint from latest block

11 years agoPPCoin: Fix initial block download stuck issue
Sunny King [Fri, 27 Jul 2012 13:44:49 +0000]
PPCoin: Fix initial block download stuck issue

11 years agoPPCoin: Script address begins with 'p'
Sunny King [Thu, 26 Jul 2012 13:42:08 +0000]
PPCoin: Script address begins with 'p'

11 years agoPPCoin: Change date display format and clean up a merge issue
Sunny King [Wed, 25 Jul 2012 22:57:31 +0000]
PPCoin: Change date display format and clean up a merge issue

11 years agoPPCoin: Immediate sync-checkpoint to defend against 51% mining attack
Sunny King [Wed, 25 Jul 2012 16:29:17 +0000]
PPCoin: Immediate sync-checkpoint to defend against 51% mining attack

11 years agoPPCoin: Make reservebalance a configuration option
Sunny King [Tue, 24 Jul 2012 19:38:07 +0000]
PPCoin: Make reservebalance a configuration option

11 years agoPPCoin: Fix merge mistake on connecting coinstake since commit 0561bbd
Scott Nadal [Tue, 24 Jul 2012 14:30:11 +0000]
PPCoin: Fix merge mistake on connecting coinstake since commit 0561bbd

11 years agoPPCoin: Fix merge mistake about paytxfee from 0561bbd
Scott Nadal [Tue, 24 Jul 2012 14:18:27 +0000]
PPCoin: Fix merge mistake about paytxfee from 0561bbd

11 years agoPPCoin: Keep MIN_PROTO_VERSION at 209 to conform to Bitcoin
Sunny King [Mon, 23 Jul 2012 17:25:34 +0000]
PPCoin: Keep MIN_PROTO_VERSION at 209 to conform to Bitcoin
        (Revert the MIN_PROTO_VERSION change from merge commit 0561bbd)

11 years agoMerge with Bitcoin v0.6.3
Scott Nadal [Mon, 23 Jul 2012 00:09:18 +0000]
Merge with Bitcoin v0.6.3

11 years agoPPCoin: RPC 'makekeypair' limits loop to avoid hang
Sunny King [Thu, 12 Jul 2012 15:27:55 +0000]
PPCoin: RPC 'makekeypair' limits loop to avoid hang

11 years agoPPCoin: Version number and rename checkpoint related constants
Scott Nadal [Tue, 10 Jul 2012 15:08:27 +0000]
PPCoin: Version number and rename checkpoint related constants

11 years agoPPCoin: Ask for pending sync-checkpoint block
Sunny King [Mon, 9 Jul 2012 18:36:29 +0000]
PPCoin: Ask for pending sync-checkpoint block

11 years agoPPCoin: Fix a startup issue loading blkindex since 90f58617
Sunny King [Fri, 6 Jul 2012 16:17:35 +0000]
PPCoin: Fix a startup issue loading blkindex since 90f58617

11 years agoPPCoin: Sign block when communicating with miners via RPC 'getwork'
Sunny King [Thu, 5 Jul 2012 17:59:06 +0000]
PPCoin: Sign block when communicating with miners via RPC 'getwork'

11 years agoPPCoin: Fix a startup issue writing checkpoint master key by 90f58617
Sunny King [Thu, 5 Jul 2012 16:53:36 +0000]
PPCoin: Fix a startup issue writing checkpoint master key by 90f58617

11 years agoPPCoin: Reset sync-checkpoint when checkpoint master key changes
Scott Nadal [Tue, 3 Jul 2012 15:19:26 +0000]
PPCoin: Reset sync-checkpoint when checkpoint master key changes

11 years agoPPCoin: Windows commandline build
Richard Smith [Fri, 29 Jun 2012 19:50:24 +0000]
PPCoin: Windows commandline build

11 years agoPPCoin: RPC commands show difficulty of proof-of-work blocks only
Sunny King [Fri, 29 Jun 2012 01:31:53 +0000]
PPCoin: RPC commands show difficulty of proof-of-work blocks only

11 years agoPPCoin: Add RPC command 'getcheckpoint'
Richard Smith [Tue, 26 Jun 2012 20:55:24 +0000]
PPCoin: Add RPC command 'getcheckpoint'

11 years agoPPCoin: Matching prefix of public key for RPC command 'makekeypair'
Sunny King [Tue, 26 Jun 2012 16:14:15 +0000]
PPCoin: Matching prefix of public key for RPC command 'makekeypair'

11 years agoPPCoin: Remove automatic checkpoint code
Scott Nadal [Tue, 26 Jun 2012 14:37:49 +0000]
PPCoin: Remove automatic checkpoint code

11 years agoPPCoin: Orphan blocks target requirement against DOS
Sunny King [Mon, 25 Jun 2012 20:44:01 +0000]
PPCoin: Orphan blocks target requirement against DOS
        Also fixes an issue in 4bb99fbc where prev block should be asked for

11 years agoPPCoin: Checkpoint master key as class constant
Scott Nadal [Mon, 25 Jun 2012 15:09:58 +0000]
PPCoin: Checkpoint master key as class constant

11 years agoPPCoin: Do not reject pending checkpoint with duplicate-stake check
Scott Nadal [Sat, 23 Jun 2012 15:23:44 +0000]
PPCoin: Do not reject pending checkpoint with duplicate-stake check

11 years agoPPCoin: Ask for orphan root directly for pending synchronized checkpoint
Sunny King [Sat, 23 Jun 2012 13:57:11 +0000]
PPCoin: Ask for orphan root directly for pending synchronized checkpoint

11 years agoPPCoin: Enter safe mode if detected invalid synchronized checkpoint
Scott Nadal [Fri, 22 Jun 2012 21:54:47 +0000]
PPCoin: Enter safe mode if detected invalid synchronized checkpoint

11 years agoPPCoin: Reorganize first before accepting synchronized checkpoint
Scott Nadal [Fri, 22 Jun 2012 14:03:32 +0000]
PPCoin: Reorganize first before accepting synchronized checkpoint

11 years agoPPCoin: Force asking for orphan block's parent block
Richard Smith [Wed, 20 Jun 2012 21:22:42 +0000]
PPCoin: Force asking for orphan block's parent block
        Fix an issue where a block previously failing duplicate
        proof-of-stake check was not asked for again

11 years agoRevert "Update gitian descriptors to point at stable git repo"
Gavin Andresen [Tue, 19 Jun 2012 20:44:55 +0000]
Revert "Update gitian descriptors to point at stable git repo"

This reverts commit 1179f6373dfffdcb091576215cabe73c932df925.

11 years agoMerge branch '0.6.x' of git://gitorious.org/+bitcoin-stable-developers/bitcoin/bitcoi...
Gavin Andresen [Tue, 19 Jun 2012 20:34:10 +0000]
Merge branch '0.6.x' of git://gitorious.org/+bitcoin-stable-developers/bitcoin/bitcoind-stable into 0.6.3

11 years agoprint large orphan warning BEFORE deleting pvMsg
Gavin Andresen [Tue, 19 Jun 2012 19:50:12 +0000]
print large orphan warning BEFORE deleting pvMsg

11 years agoCheckpoint at block 185333 (and remove a couple of intermediate checkpoints)
Gavin Andresen [Tue, 19 Jun 2012 19:48:29 +0000]
Checkpoint at block 185333 (and remove a couple of intermediate checkpoints)

11 years agoUse a 64-bit nonce in ping
Pieter Wuille [Thu, 14 Jun 2012 16:31:08 +0000]
Use a 64-bit nonce in ping

Former code sent '0' as nonce, which was serialized as 32-bit.

11 years agoPrevent crashes due to missing or corrupted blk????.dat records
Jeff Garzik [Tue, 22 May 2012 19:23:17 +0000]
Prevent crashes due to missing or corrupted blk????.dat records

In LoadExternalBlockFile(), errors are already caught... silently.
Add a warning message, even though we do not abort the program due to
load error.

11 years agoPrevent crashes due to missing or corrupted database records
Jeff Garzik [Tue, 22 May 2012 19:12:52 +0000]
Prevent crashes due to missing or corrupted database records

Any problems seen during deserialization will throw an uncaught
exception, crashing the entire bitcoin process.  Properly return an
error instead, so that we may at least log the error and gracefully
shutdown other portions of the app.

11 years agoMove signature cache from CKey::Verify to CheckSig in script.cpp
Gavin Andresen [Tue, 22 May 2012 17:56:14 +0000]
Move signature cache from CKey::Verify to CheckSig in script.cpp

More than doubles the speed of verifying already-cached signatures
that use compressed pubkeys:
Before: ~200 microseconds
After:  ~80 microseconds
(no caching at all: ~3,300 microseconds per signature)

Also encapsulates the signature cache code in a class
and fixes a signed/unsigned comparison warning.

11 years agoDefine BOOST_SPIRIT_THREADSAFE in all makefiles
Jeff Garzik [Tue, 22 May 2012 02:25:54 +0000]
Define BOOST_SPIRIT_THREADSAFE in all makefiles
rather than at each include site.

Fixes #1371

11 years agoDefault to DB_TXN_WRITE_NOSYNC for all transactional operations
Jeff Garzik [Sat, 19 May 2012 05:25:06 +0000]
Default to DB_TXN_WRITE_NOSYNC for all transactional operations

* This is safer than DB_TXN_NOSYNC, and does not appear to impact
  performance.
* Applying this to the dbenv is necessary to avoid many fdatasync(2)
  calls on db 5.x
* We carefully and thoroughly flush databases upon shutdown and
  other important events already.

11 years agoRefactor: GetRandHash() method for util
Gavin Andresen [Thu, 17 May 2012 16:13:14 +0000]
Refactor: GetRandHash() method for util

11 years agoCache signature verifications
Gavin Andresen [Wed, 16 May 2012 19:57:04 +0000]
Cache signature verifications

Create a maximum-10MB signature verification result cache.
This should almost double the number of transactions that
can be processed on a given CPU, because before this change
ECDSA signatures were verified when transactions were added
to the memory pool and then again when they appeared in
a block.

11 years agoFurther DoS prevention: Verify signatures last
Gavin Andresen [Wed, 16 May 2012 15:26:56 +0000]
Further DoS prevention: Verify signatures last

Loop over all inputs doing inexpensive validity checks first,
and then loop over them a second time doing expensive signature
checks. This helps prevent possible CPU exhaustion attacks
where an attacker tries to make a victim waste time checking
signatures for invalid transactions.

11 years agoRemove invalid dependent orphans from memory
Gavin Andresen [Thu, 17 May 2012 14:12:04 +0000]
Remove invalid dependent orphans from memory

Remove orphan transactions from memory once
all of their parent transactions are received
and they're still not valid.
Thanks to Sergio Demian Lerner for suggesting this fix.

11 years agoOptimize orphan transaction handling
Gavin Andresen [Tue, 15 May 2012 19:53:30 +0000]
Optimize orphan transaction handling

Changes suggested by Sergio Demian Lerner to
help prevent potential DoS attacks.

11 years agoMake orphan logging more verbose, displaying mapOrphanTransactions.size()
Jeff Garzik [Fri, 18 May 2012 00:36:55 +0000]
Make orphan logging more verbose, displaying mapOrphanTransactions.size()

Old log message:
storing orphan tx df2244f6bc

New log message:
storing orphan tx df2244f6bc (mapsz 51)

Also, trim a few trailing whitespace in main.cpp.

11 years agoRefactor: move code from key.h to key.cpp
Gavin Andresen [Wed, 16 May 2012 16:36:38 +0000]
Refactor: move code from key.h to key.cpp

11 years agoBump version numbers to 0.6.3
Gavin Andresen [Tue, 19 Jun 2012 18:44:38 +0000]
Bump version numbers to 0.6.3

11 years agoPPCoin: Force reorganization for synchronized checkpoint
Scott Nadal [Tue, 19 Jun 2012 14:55:38 +0000]
PPCoin: Force reorganization for synchronized checkpoint

11 years agoPPCoin: Synchronized checkpoint accepting descendant blocks only
Scott Nadal [Mon, 18 Jun 2012 15:20:10 +0000]
PPCoin: Synchronized checkpoint accepting descendant blocks only

11 years agoPPCoin: Save sync-checkpoint to db and enforce sync-checkpoint
Scott Nadal [Fri, 15 Jun 2012 15:32:28 +0000]
PPCoin: Save sync-checkpoint to db and enforce sync-checkpoint

11 years agoPPCoin: Check proof-of-stake for orphan blocks as well
Sunny King [Fri, 15 Jun 2012 01:49:53 +0000]
PPCoin: Check proof-of-stake for orphan blocks as well

11 years agoMerge branch '0.6.0.x' into 0.6.x
Luke Dashjr [Thu, 14 Jun 2012 18:21:07 +0000]
Merge branch '0.6.0.x' into 0.6.x

Conflicts:
.gitignore
src/bitcoinrpc.cpp
src/main.cpp
src/qt/bitcoingui.cpp
src/ui_interface.h
src/util.cpp

11 years agoMerge branch '0.5.x' into 0.6.0.x
Luke Dashjr [Thu, 14 Jun 2012 18:13:46 +0000]
Merge branch '0.5.x' into 0.6.0.x

Conflicts:
src/main.h
src/net.cpp
src/serialize.h

11 years agoMerge branch '0.4.x' into 0.5.x
Luke Dashjr [Thu, 14 Jun 2012 18:07:11 +0000]
Merge branch '0.4.x' into 0.5.x

Conflicts:
doc/release-process.txt
src/serialize.h

11 years agoUse a 64-bit nonce in ping
Pieter Wuille [Thu, 14 Jun 2012 16:31:08 +0000]
Use a 64-bit nonce in ping

Former code sent '0' as nonce, which was serialized as 32-bit.

11 years agoFix build of testcases after commit 0f10b21719e1b0d9683a142f0a7105e65f095694
Wladimir J. van der Laan [Thu, 14 Jun 2012 07:41:11 +0000]
Fix build of testcases after commit 0f10b21719e1b0d9683a142f0a7105e65f095694

11 years agoBugfix: Fix various places where Bitcoin-Qt was being shutdown improperly
Philip Kaufmann [Mon, 11 Jun 2012 05:40:14 +0000]
Bugfix: Fix various places where Bitcoin-Qt was being shutdown improperly

(Partial/merge of upstream 9247134eaba9a1d0fa74f22de238af14766630051a3f0da9229a8e524d1010cdc8bd3b9da71fe529, and 3e343522226e6c249f5cb05436eec347b87c6361)

11 years agoDon't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)
Philip Kaufmann [Mon, 11 Jun 2012 05:40:14 +0000]
Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)

(partial of 9247134eaba9a1d0fa74f22de238af1476663005)

11 years agoUpdate wiki changelog at doc/release-process.txt
Matt Corallo [Tue, 12 Jun 2012 23:06:40 +0000]
Update wiki changelog at doc/release-process.txt

11 years agochange initial Balance on overviewpage from "123.456 BTC" to "0 BTC" to not confuse...
Philip Kaufmann [Mon, 11 Jun 2012 20:40:06 +0000]
change initial Balance on overviewpage from "123.456 BTC" to "0 BTC" to not confuse users, which could see it before we init with the real wallet balance

11 years agoremoved ability to translate "0 BTC" and "123.456 BTC" as this is only used as previe...
Philip Kaufmann [Sun, 6 May 2012 14:57:12 +0000]
removed ability to translate "0 BTC" and "123.456 BTC" as this is only used as preview in the Qt Designer anyway

(partial of 4295311da34ed8132351855f057decedfe434b44)

11 years agoFix broken config files
Matt Corallo [Mon, 11 Jun 2012 23:52:34 +0000]
Fix broken config files

11 years agoDo not select first address automatically in the address book
Wladimir J. van der Laan [Tue, 12 Jun 2012 08:46:24 +0000]
Do not select first address automatically in the address book

This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.

11 years agoUpdate comment about secure_allocator<>
Pieter Wuille [Fri, 8 Jun 2012 14:26:27 +0000]
Update comment about secure_allocator<>

11 years agoBump VERSION so we can differentiate between fixed 0.4.7rc2 and not-fixed 0.4.7rc1
Luke Dashjr [Thu, 14 Jun 2012 15:59:18 +0000]
Bump VERSION so we can differentiate between fixed 0.4.7rc2 and not-fixed 0.4.7rc1

11 years agoBugfix: Move IsStandard scriptSig size check out of IsPushOnly, since BIP16 verificat...
Luke Dashjr [Tue, 12 Jun 2012 23:50:38 +0000]
Bugfix: Move IsStandard scriptSig size check out of IsPushOnly, since BIP16 verification uses the latter too

This caused clients to reject block #177618 since it has a P2SH transaction with over 200 bytes in scriptSig.

(Upstream commit: e679ec969c8b22c676ebb10bea1038f6c8f13b33)

11 years agoPPCoin: Remove coinbase output in genesis block
Sunny King [Tue, 12 Jun 2012 22:45:21 +0000]
PPCoin: Remove coinbase output in genesis block