Commit Graph

369 Commits

Author SHA1 Message Date
Jack Grigg
2360dd6449 Regenerate mainnet and testnet genesis blocks for nMaxTipAge change
The regtest genesis block is unchanged because the RPC test framework has an
unspecified dependency on its specific value of nTime.
2016-10-27 02:43:16 -07:00
Jack Grigg
2f5d62fe32 Remove Founders' Reward override from #1398 2016-10-26 21:05:17 -07:00
Jack Grigg
9f15b823ac Integrate production Founders' Reward keys
Closes #870
2016-10-26 21:05:17 -07:00
Daira Hopwood
5551db8822 Remove the override of nMaxTipAge that effectively disables it on testnet.
This is relevant to #1609 because it hid the bug, but does not fix that
issue; the fix is to regenerate the genesis blocks.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-26 23:52:25 +01:00
Daira Hopwood
3483696bed Update dnsseeds for mainnet. closes #1369
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-26 23:08:30 +01:00
Daira Hopwood
5c5f70f0fc Update pchMessageStart strings for rc2.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-23 02:22:08 +01:00
zkbot
30d3d2dfd4 Auto merge of #1603 - str4d:1556-reject-old-block-versions, r=daira
Reject block versions lower than 4

Includes parts of #1554
Closes #1556
2016-10-22 14:32:40 -04:00
Jack Grigg
77175766f4 Enforce standard transaction rules on testnet
Closes #1582
2016-10-22 09:03:09 -05:00
Daira Hopwood
789914e7b0 Update comments in chainparams.cpp.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-22 13:46:22 +01:00
Jack Grigg
6be6762237 Regenerate genesis blocks with nVersion = 4
Includes parts of #1554
2016-10-22 00:52:45 -05:00
jl777
1d095ca0f7 test 2016-10-17 17:01:17 -03:00
jl777
6fc7179140 test 2016-10-17 16:27:56 -03:00
jl777
1cf07d4396 test 2016-10-17 16:26:06 -03:00
jl777
49365ac5d2 test 2016-10-17 16:24:37 -03:00
jl777
883df96939 test 2016-10-17 16:23:48 -03:00
jl777
b801c3b706 test 2016-10-17 16:19:05 -03:00
jl777
5b7ce70855 test 2016-10-17 16:02:34 -03:00
jl777
3a672e7b11 Merge remote-tracking branch 'zcash/master' into dPoW 2016-10-17 15:28:00 -03:00
Simon
2b1cda3b6a Return improved error message when trying to spend Coinbase coins (#1373).
Extra parameter added to AvailableCoins to include or exclude Coinbase coins.
SelectCoins, used for sending taddr->taddr, will exclude Coinbase coins.

Added qa rpc test and a runtime parameter -regtestprotectcoinbase to enforce
the coinbase->zaddr consensus rule in regtest mode.
2016-10-16 19:05:56 -07:00
jl777
870e3556fa test 2016-10-08 13:24:55 -03:00
Jack Grigg
17b23ffe20 v1.0.0-beta2 2016-10-04 21:55:26 -05:00
Jack Grigg
1fc7e92ea0 Re-encode Founders' Reward keys
Closes #1450
2016-10-03 23:59:59 -07:00
Daira Hopwood
702721c1fb WIP: update address prefixes. refs #812
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-03 23:53:13 -07:00
Simon
4d11e5d2b9 Update mainnet addresses used for testing to have the correct number 2016-10-01 07:19:24 -07:00
Simon
2d6e97ecc5 Add field fMinerTestModeForFoundersRewardScript to chainparams 2016-09-30 18:31:51 -07:00
Simon
02acbfc262 Add mainnet 2-of-3 multisig addresses for testing. 2016-09-30 18:29:10 -07:00
Simon
6c54e9fc0b Update testnet founders reward addresses 2016-09-30 14:42:47 -07:00
Simon
22dadb35ec Refactor and fix per review 2016-09-30 14:42:47 -07:00
Simon
241867b115 Founders reward: Refactor test and formatting per review. 2016-09-30 14:42:47 -07:00
Simon
3b30d8361a Founders reward: changed index computation, added new test and some refactoring. 2016-09-30 14:42:47 -07:00
Simon
db0f931570 Add founders reward to ChainParams.
Fix bug where subsidy slow shift was ignored.
2016-09-30 14:42:47 -07:00
Kevin Gallagher
9fc324a139 Updates dns.testnet.z.cash -> dnsseed.testnet.z.cash
People seem to agree that dnsseed.* is a more intuitive address.
The original address was committed to beta1 as a result of a misunderstanding.
The DNS seeder service will be updated to coincide with at beta2 release.
2016-09-26 14:34:26 -07:00
jl777
50027f0631 mindiff exception for notaries 2016-09-23 10:30:15 -03:00
jl777
d6b8e2c2c0 test 2016-09-14 13:16:59 -03:00
jl777
6343f5e30f gethex 2016-09-14 13:06:12 -03:00
jl777
1a32177712 PoS block 2016-09-13 15:51:25 -03:00
jl777
684eb8d626 test 2016-09-13 14:36:32 -03:00
jl777
11db2ca24c skip minpeers 2016-09-13 14:33:21 -03:00
jl777
5166804f02 komodo strings 2016-09-13 13:03:02 -03:00
jl777
202856091f 1 minute blocks 2016-09-13 12:14:10 -03:00
jl777
3090f2a15b change chain params 2016-09-13 12:09:42 -03:00
Sean Bowe
88188dc2a3 Update pchMessageStart and add testnet DNS boostrapper. 2016-09-09 00:37:49 -06:00
Jack Grigg
66f07f5d0d Regenerate genesis blocks for new powLimits 2016-09-07 08:18:46 +12:00
Jack Grigg
3e24a533f5 Restrict powLimit due to difficulty averaging 2016-09-07 08:17:43 +12:00
Jack Grigg
8f3ec042af Expand bounds on difficulty adjustment 2016-09-06 13:13:23 +12:00
Jack Grigg
57466ea652 Remove mainnet DNS seeds, set checkpoint to genesis
Closes #1185
2016-09-01 17:01:28 +12:00
Daira Hopwood
727ed5ffa3 Update pchMessageStart for the z9 testnet. ⚧Ⓐ
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-08-25 15:55:51 +01:00
Daira Hopwood
c6a7e897bc Add mostly-static checks on consistency of Equihash parameters, MAX_HEADERS_RESULTS, and MAX_PROTOCOL_MESSAGE_LENGTH.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-08-24 06:13:06 +01:00
Jack Grigg
5be6abbf84 Store the Equihash solution in minimal representation in the block header
The genesis blocks and miner tests have been regenerated, because changing the
block header serialisation format changes the block hash, and thus validity.

The Equihash solutions have been removed from the bloom test inputs for
simplicity (block validity is not checked there; only a valid serialisation is
necessary).
2016-08-16 16:02:39 +12:00
Jack Grigg
caa0348f04 Update Equihash hash generation to match the Zcash spec
Changes:

- floor(512/n)*n/8 bytes of BLAKE2b output is split between floor(512/n)
  adjacent indices, instead of using one hash call per index.

- Parameters with n/(k+1) mod 8 != 0 will expand the BLAKE2b output to byte
  boundaries for colliding, instead of using a longer output and clearing bits.

- The genesis blocks have been regenerated.

- The test vectors have been regenerated.

- The Equihash inputs for the cancellation tests were modified to ensure that
  valid solutions were available to exercise the full solver.
2016-08-16 11:02:04 +12:00