8588 Commits

Author SHA1 Message Date
Patrick Lodder
8455bdeb90 Merge pull request #1273 from rnicoll/1.10-testnet
Update testnet checkpoints and remove old seed
2015-08-30 19:26:11 +02:00
J Ross Nicoll
11f6882983
Update testnet checkpoints and replace old seed 2015-08-30 17:53:13 +01:00
Patrick Lodder
337bc990e8 Merge pull request #1274 from rnicoll/1.10-missing-newline
Corrected missing new lines in error messages
2015-08-30 18:48:53 +02:00
J Ross Nicoll
1d92617e15 Corrected missing new lines in error messages 2015-08-29 17:33:02 +01:00
Patrick Lodder
b6e7c91060 Merge pull request #1269 from langerhans/1.10-dev-nodebloom
Add NODE_BLOOM service bit
2015-08-29 00:02:49 +02:00
Peter Todd
acb08f053a Add NODE_BLOOM service bit and bump protocol version
Lets nodes advertise that they offer bloom filter support explicitly.
The protocol version bump allows SPV nodes to assume that NODE_BLOOM is
set if NODE_NETWORK is set for pre-70002 nodes.

Also adds an undocumented option to turn bloom filter support off for
testing purposes. Nodes attempting to use bloom filters are immediately
dropped so as to not waste their bandwidth.

ensure backward compatible service bits

update protocol version to 70004
2015-08-28 20:45:39 +02:00
Max K.
31f2d1ae92 Merge pull request #1268 from patricklodder/1.10-auxpow-tests
auxpow tests
2015-08-26 22:33:28 +02:00
Patrick Lodder
4dce3af38e Add AUXPoW rpc tests
- Tests the auxpow rpc interface `getauxblock`
- Tests consensus constraints for auxpow:
  - Minimum block height
  - Valid scrypt proof of work
  - Foreign chain ID

This test requires the python package ltc_scrypt. Installation of
this module is scripted in qa/pull-tester/install-deps.sh and has
been integrated for travis CI.
2015-08-26 22:14:51 +02:00
Max K.
442c82da4a Merge pull request #1267 from patricklodder/1.10-strict-auxpow
[auxpow] Check for auxpow fork strictly
2015-08-26 21:54:10 +02:00
Max K.
340163962e Merge pull request #1264 from patricklodder/1.10-auxrpc-no-bip22
[auxpow] Guarantee backward compatibility on getauxblock
2015-08-26 21:52:55 +02:00
Patrick Lodder
229106e27f fix rest.py test: cannot mine an auxpow block at height 1 2015-08-23 17:22:04 +02:00
Patrick Lodder
e2334c99e6 [auxpow] Guarantee backward compatibility on getauxblock
Adds a wrapper around getauxblock to return boolean responses
for getauxblock rather than bip22 responses.
2015-08-23 16:13:41 +02:00
Patrick Lodder
248dbdd121 [auxpow] Check for auxpow fork strictly
Disallow any auxpow block before the blockheight where auxpow gets enabled.

For consistency, this also re-enables legacy headers on regtest.
2015-08-23 15:58:47 +02:00
Max K.
50b3b35f99 Merge pull request #1247 from rnicoll/1.10-attribution
Add attributions to source files
2015-08-15 12:46:52 +02:00
J Ross Nicoll
b01c5e6883
Add attributions to source files 2015-08-14 22:32:47 +01:00
Max K.
12cde02eea Merge pull request #1229 from rnicoll/1.10-fork-detection
Update fork detection parameters for Dogecoin block time
2015-08-13 18:43:55 +02:00
Max K.
1027b821df Merge pull request #1238 from rnicoll/1.10-block-notify-height
Add block height to block notification
2015-08-13 18:41:49 +02:00
stolen data
5bbb601003 advertise block height addition to -blocknotify 2015-08-11 19:30:15 +00:00
Ross Nicoll
b668629143 Add block height to block notification substitution options 2015-08-11 19:27:05 +00:00
Max K.
e0b0c0a84b Merge pull request #1233 from patricklodder/1.10-travis-osx-sdk
[travis] hosted, acl'ed osx sdk
2015-08-11 08:12:10 +02:00
Max K.
38306e8921 Merge pull request #1235 from rnicoll/1.10-disable-pp
Disable payment protocol certificate unit tests
2015-08-11 08:11:34 +02:00
Max K.
605ff9a796 Merge pull request #1232 from patricklodder/1.10-disable-win-tests
[travis] disable windows tests
2015-08-11 08:07:36 +02:00
Max K.
b97b19c9f3 Merge pull request #1236 from rnicoll/1.10-gitian-descriptors
Replace Bitcoin with Dogecoin in Gitian descriptors
2015-08-10 23:20:35 +02:00
Max K.
ce3d85f505 Merge pull request #1219 from rnicoll/1.10-gitiant
Replace Gitian keys
2015-08-10 22:29:25 +02:00
Ross Nicoll
a9f87d3c28
Replace Gitian keys
Note I've removed Leofidus' key due to inactivity, and added a weight of 20
to whit's key.
2015-08-10 21:14:42 +01:00
Ross Nicoll
d7fe9d86bf
Replace Bitcoin with Dogecoin in Gitian descriptors 2015-08-10 21:14:10 +01:00
Ross Nicoll
a5b7abf8a6 Merge pull request #1231 from patricklodder/1.10-majority-v2-constraints
Re-enable SuperMajority triggered activation for v2 block constraints
2015-08-10 20:24:39 +01:00
Ross Nicoll
61e0e2ba45 Merge pull request #1234 from patricklodder/1.10-constraint-flags
Enable block constraints for BIP16 and 30 properly
2015-08-10 20:07:34 +01:00
Ross Nicoll
9ea384d545 Disable payment protocol certificate unit tests
Disable payment protocol certificate unit tests; we don't modify this code,
and regenerating the test data is likely to be significantly time consuming.
Will re-enable once discussion on spec is concluded.
2015-08-10 20:01:14 +01:00
Patrick Lodder
c3a4a0574e Enable block constraints properly
BIP16 and BIP30 have both been enabled on Dogecoin since inception
and should not be conditional.
2015-08-10 15:55:45 +02:00
Patrick Lodder
5cafd5e4b6 [travis] hosted, acl'ed osx sdk 2015-08-10 15:11:33 +02:00
Patrick Lodder
dc093a8c3c [travis] disable windows tests 2015-08-10 14:26:40 +02:00
Patrick Lodder
2d332d242a Re-enable SuperMajority triggered activation for v2 block constraints
Start validating v2 blocks when there is a v3 supermajority, because
v2 clients (1.5->1.8) had supermajority checks disabled.

This is needed for future-proofing, so that a currently accepted,
but invalid v2 block will also be accepted on newer nodes.
2015-08-10 10:54:28 +02:00
Max K.
5123a058ec Merge pull request #1224 from rnicoll/1.10-paperwallet
Add paper wallet generator to QT wallet
2015-08-07 23:29:55 +02:00
Ross Nicoll
0e4f62a3a9 Update fork detection parameters for Dogecoin block time
I've multiplied fork detection parameters by 5 - the wall clock time elapsed for "long" forks
is therefore half that of Bitcoin, but IMHO those figures are excessive for a chain with 1
minute block times.
2015-08-07 21:23:56 +00:00
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