Commit graph

8653 commits

Author SHA1 Message Date
Ross Nicoll 8841214bdc Replace print icon with Typeicons equivalent 2015-08-07 22:16:51 +01:00
Andymeows a245210cbe Add paper wallet generator to QT wallet 2015-08-07 22:16:51 +01:00
Patrick Lodder c15e5cebc6 Merge pull request #1227 from kaykurokawa/1.10-dev
changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount
2015-08-07 11:45:02 +02:00
Max K. 3b7279e96d Merge pull request #1220 from rnicoll/1.10-paymentprotocol
Revised payment request handling to use genesis block hash
2015-08-06 22:14:47 +02:00
Ross Nicoll b61e01d785
Revised payment request handling to use genesis block hash instead of network name
Revised payment request handling to use genesis block hash instead of network name, enabling
support for more networks that just Bitcoin main and test net.
2015-08-06 20:03:00 +01:00
Max K. daa8f84d03 Merge pull request #1225 from rnicoll/1.10-constants
Update time-based constants
2015-08-06 20:17:18 +02:00
ukurokawa cf46c981a4 changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow 2015-08-04 18:03:07 -04:00
Ross Nicoll 85e166b504
Update time-based constants
This updated various time-based constants to more closely reflect values
appropriate to Dogecoin:

* Number of blocks to look back for BIP 66 enforcement is doubled on
main net (to about a day and a half's worth, vs 5 days on Bitcoin),
and raised to 1,000 on testnet (bringing it up to the same quantity
as Bitcoin testnet).
* BIP 66 enforcement cut-offs are scaled up appropriate.
* Minimum number of blocks and blockchain size are increased for
pruning. In comparison to Bitcoin this uses 24 hours as a minimum,
rather than 48, although given blocks are rarely full this likely
reflects a lot longer in reality.
2015-08-04 22:32:01 +01:00
Ross Nicoll 2661061e97 Merge pull request #1221 from langerhans/1.10-dev-tests
Fix the basic and some of the extended RPC tests
2015-08-02 20:34:53 +01:00
langerhans 06639f4984 Make most of the RPC tests pass 2015-08-02 20:08:42 +02:00
langerhans b240f79b74 Set regtest coinbase maturity for easier maths in RPC tests 2015-08-01 19:29:20 +02:00
Max K. f30f9dddd0 Merge pull request #1217 from rnicoll/1.10-checkpoints-seeds
Update checkpoints
2015-08-01 17:22:05 +02:00
Ross Nicoll d988dc7ba0 Merge pull request #1213 from langerhans/1.10-dev-maturity
Minor fixes to concensus relevant parameters
2015-07-31 20:45:56 +01:00
langerhans 38a83007e8 Move COINBASE_MATURITY to the consensus parameters 2015-07-31 21:29:43 +02:00
langerhans 9b58d319f3 Make RegTest use simplified rewards for easier test vector setup and use short block times 2015-07-31 20:17:15 +02:00
Max K. faaa412717 Merge pull request #1204 from rnicoll/1.10-fees
Add Dogecoin current fee calculation logic
2015-07-31 20:16:46 +02:00
Ross Nicoll c81d7632e9 Add Dogecoin current fee calculation logic
Introduces 1 COIN/kb fees, rounded up to the next 1 COIN.
Disable free transactions
Dust outputs incur a 1 COIN additional fee
Add unit tests for fee calculation
Update existing unit tests with higher transaction values so that transactions are still standard
2015-07-31 18:11:06 +00:00
Ross Nicoll d62c7aa09c Update checkpoints 2015-07-30 19:52:49 +00:00
Max K. 65e484f15f Merge pull request #1215 from rnicoll/1.10-bitcoin-fix
Add chain height when fetching consensus parameters in initialization
2015-07-30 21:38:07 +02:00
Ross Nicoll 3207dbf728 Add chain height when fetching consensus parameters in initialization
Add chain height when fetching consensus parameters in initialization,
this code was missed in the first patch as it was disabled at the time.
2015-07-30 19:29:39 +00:00
Max K. 2bb124df3f Merge pull request #1207 from rnicoll/1.10-bitcoin
Bring client up to date with Bitcoin Core 0.11.0
2015-07-30 20:37:58 +02:00
Max K. 11b10408d0 Merge pull request #1206 from rnicoll/1.10-txdb
Add Scrypt hash and AuxPoW header to index database
2015-07-30 20:33:39 +02:00
Wladimir J. van der Laan fd90719d88 doc: add important information about tx flood to release notes 2015-07-29 18:29:30 +01:00
spin b4c061f3e2 Fix typo in release notes. 2015-07-29 18:29:30 +01:00
Alex Morcos 06a5d499f1 release notes for fee estimation changes 2015-07-29 18:29:30 +01:00
Luke Dashjr ef5fc79562 assets-attribution: Update typicons to MIT license
stephenhutchings commented 3 Jul 2015, 6:35 GMT:
> Hi Luke, happy for these to be distributed under the terms of the MIT licence.
> Let me know if you need anything further from me.
2015-07-29 18:29:30 +01:00
Wladimir J. van der Laan 3f9eedf119 update release notes for 0.11.0rc3 2015-07-29 18:29:30 +01:00
Micha 2ed2cd36bb Ideal release process for Windows detached signing
This is an ideal version of what the release process should look like,
making it more consistent with the OS X process. Some of the changes
described here would need to be made in the descriptors, which is somewhat
beyond what I would feel comfortable doing, not really understanding the signature process in depth.

[skip ci]

Github-Pull: #6354
Rebased-From: 6e849b8309
2015-07-29 18:29:30 +01:00
Cory Fields 2ca709a635 gitian: make the windows signing process match OSX
Github-Pull: #6354
Rebased-From: a3ba9a553a
2015-07-29 18:29:30 +01:00
Suhas Daftuar fc1f115ee5 Advance pindexLastCommonBlock for blocks in chainActive
This prevents an edge case where a block downloaded and pruned
in-between successive calls to FindNextBlocksToDownload could
cause the block to be unnecessarily re-requested.

Github-Pull: #6233
Rebased-From: 3e9143386a
2015-07-29 18:29:30 +01:00
Wladimir J. van der Laan c257476410 doc: mention bitcoin-submittx example in release notes 2015-07-29 18:29:30 +01:00
Philip Kaufmann a46370f791 fix crash on shutdown when e.g. changing -txindex and abort action
- fixes #3136
- the problem is related to Boost path and a static initialized internal
  pointer
- using a std::string in CDBEnv::EnvShutdown() prevents the problem
- this removes the boost::filesystem::path path field from CDBEnv

Github-Pull: #6282
Rebased-From: 0ce30eaa36
2015-07-29 18:29:30 +01:00
Andriy Voskoboinyk e44aaef534 Add an alternate location of endian.h header
Github-Pull: #6246
Rebased-From: 0640a5eb60
2015-07-29 18:29:30 +01:00
Cory Fields 0c9d49d65c gitian: add a gitian-win-signer descriptor
This is exactly like the current OSX signing process.

osslsigncode has been patched to detach and re-attach Windows signatures.
The changes can be seen here: https://github.com/theuni/osslsigncode/commits/attach-signature

There's a pull-request open upstream for the changes:
https://sourceforge.net/p/osslsigncode/osslsigncode/merge-requests/3/

This work has been back-ported to the stable 1.7.1 release of osslsigncode, so
that a smaller patch can be reviewed.

Github-Pull: #6303
Rebased-From: d08cfc2bd7
2015-07-29 18:29:30 +01:00
Wladimir J. van der Laan 7eb476e55c doc: update mailing list address
Move from sourceforge to linux foundation.

Also get rid of some other stale mentions of sourceforge.

Github-Pull: #6319
Rebased-From: 88d8525ca2
2015-07-29 18:29:30 +01:00
Wladimir J. van der Laan c09dfd06fc Revert "Disable partition check for now, it triggers too often (issue #6251)"
Re-enable partition check, it should be safe again after #6256.

This reverts commit 3eada74d6f.
2015-07-29 18:29:30 +01:00
Max K. 433f0fd670 Merge pull request #1208 from rnicoll/1.10-simplified-rewards
Remove hard coded switch on whether simplified rewards are used.
2015-07-29 19:29:24 +02:00
Ross Nicoll a06da268ff Merge pull request #1212 from langerhans/1.10-dev-travis-caching
Update .travis.yml to make use of the new container based infrastructure
2015-07-29 18:21:48 +01:00
Max K. ac34ac987a Merge pull request #1210 from rnicoll/1.10-auxpow-fixes
Minor AuxPoW fixes
2015-07-29 19:19:27 +02:00
Ross Nicoll 20278f5f5f Minor AuxPoW fixes
Replaced references to Namecoin with Dogecoin
Set chain ID when constructing a new block to be mined
Added assignment overload so that assigning one BlockVersion to another does a full copy.
2015-07-28 18:24:27 +00:00
Max K. 3ba610bc41 Merge pull request #1205 from rnicoll/1.10-genesis-checks
Use block height 0 when checking for genesis block
2015-07-28 00:30:28 +02:00
Ross Nicoll 5224edba34
Remove hard coded switch on whether simplified rewards are used. 2015-07-27 23:07:40 +01:00
Ross Nicoll 35ed1cfce1 Add Scrypt hash and AuxPoW header to index database
Add Scrypt hash and AuxPoW header to index database so that index can be validated
(a check that both Litecoin and Namecoin disable for simplicity). The index format
is incompatible with 1.8, as a result, however, and guidelines on performing the
upgrade will need to be prepared.

Given scope of the change, it may be advisable for services to prepare bootstrap files and destroy existing index databases entirely before reindexing. To discuss.
2015-07-26 20:07:48 +00:00
Ross Nicoll d97a37f4a9 Use block height 0 when checking for genesis block
There is no previous block when validating the genesis block as part of contextual checks,
so block height cannot be used. Consensus parameters are now taken from height 0 for
the genesis check, and from block height only if the it's not the genesis block.
2015-07-26 12:25:03 +00:00
langerhans 1ea402fa14 Update .travis.yml to make use of the new container based infrastructure. 2015-07-25 18:58:25 +02:00
Patrick Lodder 8cd835cddb Merge pull request #1201 from rnicoll/1.10-sync
Consensus fixes
2015-07-20 15:03:02 +02:00
Ross Nicoll 77ec26804d Update Python test address and key values to match Dogecoin format. 2015-07-19 16:42:23 +00:00
Ross Nicoll f94966f41a Disable payment protocol very large value test, as it's impossible to exceed maximum Dogecoin in a payment request. 2015-07-19 16:42:23 +00:00
coblee 106ecab0e0 Litecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis. 2015-07-19 16:42:23 +00:00
Ross Nicoll 8d52844229 Minor Dogecoin consensus fixes
Updated maximum coins to match Dogecoin.
Updated protocol version to disable connections to pre-AuxPoW clients.
Disable version 2 block requirement
Update coinbase maturity to match Dogecoin
2015-07-19 16:42:23 +00:00