3cb927661e
Remove the mainnet checkpoints.
Sean Bowe
2016-06-29 14:21:03 -06:00
16abefdd22
Auto merge of #1060 - str4d:1033-randomise-nonce, r=ebfull
zkbot
2016-06-29 19:15:23 +00:00
0df212bae3
Auto merge of #1046 - str4d:971-large-tx-benchmark, r=ebfull
zkbot
2016-06-29 07:54:28 +00:00
c2e092f29e
Fix memory leak in large tx benchmark
Jack Grigg
2016-06-29 11:45:47 +12:00
cfd806e161
Clear mempool before using it for benchmark test, fix parameter name
Jack Grigg
2016-06-29 11:19:41 +12:00
68b8b95c53
Auto merge of #962 - ebfull:2mb-blocks, r=ebfull
zkbot
2016-06-28 17:46:47 +00:00
8e165d57d9
Randomise the nonce in the block header
Jack Grigg
2016-06-28 11:26:19 +12:00
1b114e54c4
Add getblocksubsidy RPC command to return the block reward for a given block, taking into account the mining slow start.
Simon
2016-06-27 13:04:33 -07:00
7f3c7a683b
Flush to disk more consistently by accounting memory usage of serials/anchors in cache.
Sean Bowe
2016-06-27 10:52:34 -06:00
d9ee9a51d1
Test non-canonical ed25519 signature check
Taylor Hornby
2016-06-23 18:22:20 -06:00
4aea53423e
More testing of CheckTransaction
Taylor Hornby
2016-06-23 16:59:00 -06:00
948d4e6c10
Split JoinSplit proof verification out of CheckTransaction.
Taylor Hornby
2016-06-23 16:35:31 -06:00
cea9f58791
WIP: Add mock test coverage of CheckTransaction
Taylor Hornby
2016-06-22 17:25:35 -06:00
658cdb15f7
Auto merge of #1027 - ThisIsNotOfficialCodeItsJustForks:t862-trivial-mock-test-example, r=ebfull
zkbot
2016-06-22 14:30:12 +00:00
d151ab4fea
Only compare the first n/(k+1) bits when sorting
Jack Grigg
2016-06-21 15:53:47 +12:00
24809b16b6
Update GetDifficulty() to use consensus.powLimit from consensus parameters. Fixes#1032.
aniemerg
2016-06-20 22:21:42 -04:00
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
Jack Grigg
2016-06-08 11:28:12 +12:00
5dad8f569d
Disable USE_ASM when building libsnark (issue 932).
Simon
2016-06-20 15:18:15 -07:00
dd74e9dd32
Suppress Libsnark Debugging Info
aniemerg
2016-06-19 09:54:54 -04:00
1ea8b00926
Change the network magic numbers.
Taylor Hornby
2016-06-16 19:46:43 -06:00
bbf75f9f70
z5 release
Taylor Hornby
2016-06-16 19:32:55 -06:00
39bb34eae7
Merge remote-tracking branch 'jack/990-default-ports' into zc.v0.11.2.latest
Taylor Hornby
2016-06-16 19:28:24 -06:00
32ef290e03
Merge remote-tracking branch 'jack/fix-version' into zc.v0.11.2.latest
Taylor Hornby
2016-06-16 19:25:41 -06:00
62a2d12672
Auto merge of #1026 - ebfull:address-serialization, r=ebfull
zkbot
2016-06-16 18:52:30 +00:00
05a6d19a54
Testnet spending keys should start with 'TK'.
Sean Bowe
2016-06-16 12:16:49 -06:00
3985a40d1f
Change default ports
Jack Grigg
2016-06-16 14:14:27 +12:00
cdec0b923e
Fix bug in network hashrate lookup window configuration
Jack Grigg
2016-06-16 21:26:49 +12:00
71671484fd
Handle full Zcash version string in AC_INIT
Jack Grigg
2016-06-15 13:59:25 +12:00
1178df0883
Auto merge of #1004 - str4d:931-difficulty-algorithm, r=ebfull
zkbot
2016-06-15 23:26:49 +00:00
fc057da455
Add example mock test of CheckTransaction
Taylor Hornby
2016-06-15 17:01:55 -06:00
5e207f4ea5
Improve comments per review
Jack Grigg
2016-06-16 10:45:19 +12:00
f0ae0b11fe
Add test to ensure spending keys always encode with 'SK' at beginning.
Sean Bowe
2016-06-15 16:25:21 -06:00
13039c5362
Make testnet addresses always start with 'tn'.
Sean Bowe
2016-06-15 16:22:36 -06:00
d5d2fb71cf
Guarantee first two bytes of spending key are SK
Sean Bowe
2016-06-15 16:15:54 -06:00
0d6864e465
Added encoding for Zcash spending keys.
Sean Bowe
2016-06-15 16:03:57 -06:00
fe97a405e3
Auto merge of #994 - ebfull:remove-redundant-constraints, r=ebfull
zkbot
2016-06-15 21:39:32 +00:00
6ab0a227c6
Fix test against merkle tree root.
Sean Bowe
2016-06-15 15:31:14 -06:00
83ee1903fc
Add tests for CZCPaymentAddress.
Sean Bowe
2016-06-15 15:06:07 -06:00
e104fcddf8
Use base58check to encode Zcash payment addresses, such that the first two bytes are "zc".
Sean Bowe
2016-06-15 14:59:05 -06:00
62b7cd6173
Do not encode leading bytes in PaymentAddress serialization; this is a task for a higher-level API.
Sean Bowe
2016-06-15 14:58:30 -06:00
6793168a2e
Auto merge of #1017 - ebfull:coinbase-must-be-protected, r=ebfull
zkbot
2016-06-15 03:06:23 +00:00
284e125957
Update tests for new difficulty algorithm
Jack Grigg
2016-06-08 14:21:04 +12:00
f2c48e15e5
Implement new difficulty algorithm (#931)
Jack Grigg
2016-06-08 12:30:32 +12:00
d212ba320b
Disable enforced coinbase protection in miner_tests.
Sean Bowe
2016-06-14 15:18:52 -06:00
a180d0a6c6
Rename to fCoinbaseMustBeProtected.
Sean Bowe
2016-06-14 15:16:34 -06:00
89f3cd11c7
Ensure NonContextualCheckInputs runs before routines in ContextualCheckInputs.
Sean Bowe
2016-06-14 12:41:32 -06:00
b3be1ef529
Enforce BIP16 and BIP30 unconditionally to all blocks.
Sean Bowe
2016-06-10 16:04:15 -06:00
c80ce72845
Auto merge of #1019 - ebfull:mempool-integrity-chained-pours, r=ebfull
zkbot
2016-06-14 02:43:28 +00:00
1a30d65859
Auto merge of #1008 - str4d:850-platform-independent-equihash, r=str4d
zkbot
2016-06-13 21:48:56 +00:00
09e9a329b7
Tweaks after review
Jack Grigg
2016-06-14 09:41:03 +12:00
a667caec13
Ensure mempool integrity checks don't trip on chained joinsplits.
Sean Bowe
2016-06-13 13:02:46 -06:00
c0dde76d8a
Disable coinbase-must-be-protected rule on regtest.
Sean Bowe
2016-06-13 12:23:55 -06:00
1d38795f50
Prevent coinbases from being spent to transparent outputs.
Sean Bowe
2016-06-13 11:58:10 -06:00
2c901fd87d
Refactor contextual and noncontextual input checks.
Sean Bowe
2016-06-13 11:52:46 -06:00
10df6fb3df
Rename CheckInputs to ContextualCheckInputs since it relies on a global variable and assumes calling conditions.
Sean Bowe
2016-06-13 11:45:41 -06:00
47e6645005
Auto merge of #1009 - ThisIsNotOfficialCodeItsJustForks:t171-hard-fork-alerts-and-tests, r=ebfull
zkbot
2016-06-12 18:04:53 +00:00
f3aee6b109
Update miner tests for platform-independent Equihash
Jack Grigg
2016-06-12 00:00:15 +12:00
6f14382a02
Regenerate genesis blocks
Jack Grigg
2016-06-11 16:50:31 +12:00
933cb4cd9f
Use htole32 and htobe32 for endian conversions
Jack Grigg
2016-06-11 16:27:40 +12:00
a6dcf2ee6f
Use little-endian for hash personalisation and hashing indices
Jack Grigg
2016-06-09 18:51:06 +12:00
d07cf62991
Speed up FullStepRow index comparison by leveraging big-endian byte layout
Jack Grigg
2016-06-09 18:02:29 +12:00
1dd8ce9ba5
Update tests to account for new Equihash parameters
Jack Grigg
2016-06-11 15:45:55 +12:00
ae37d2a4cd
Increase Equihash parameters to n = 96, k = 3 (about 430 MiB)
Jack Grigg
2016-06-08 17:08:18 +12:00
3fe29eab90
Fix failing tests
Jack Grigg
2016-06-10 16:16:33 +12:00
d4388ed52b
Updated a hard-coded number of blocks to account for decreased block interval
Jack Grigg
2016-06-10 11:43:40 +12:00
196cf25d5b
Update RPC tests to account for decreased block interval
Jack Grigg
2016-06-07 21:01:33 +12:00
a59c352cfd
Update tests to account for decreased block interval
Jack Grigg
2016-06-07 17:12:16 +12:00
45e3deea8a
Decrease block interval to 2.5 minutes
Jack Grigg
2016-06-03 19:09:39 +12:00
7232b5d70a
Auto merge of #988 - str4d:optimised-equihash, r=ebfull
zkbot
2016-06-09 22:43:09 +00:00
57c074e1e4
Enable -alertnotify for hard fork detection. Test it.
Taylor Hornby
2016-06-09 13:48:04 -06:00
b3418be123
Auto merge of #1005 - bitcartel:zc.v0.11.2.z4_issue_857_optimize, r=ebfull
zkbot
2016-06-09 03:49:22 +00:00
dca3af5bde
Update variable name.
Simon
2016-06-09 07:23:33 +08:00
5d9f28cfc7
Auto merge of #1001 - str4d:904-disable-relaypriority, r=ebfull
zkbot
2016-06-08 18:07:05 +00:00
574f0bca77
Update to DistinctIndices function (for issue #857). Replaces pull request #974.
Simon
2016-06-08 23:20:54 +08:00
6ccd212218
Auto merge of #973 - ebfull:chained-pours, r=ebfull
zkbot
2016-06-08 15:23:57 +00:00
ecd8ca5dbe
Minor changes to coins_tests.
Sean Bowe
2016-06-08 09:15:44 -06:00
49ab032b5f
Add test to ensure parent treestates only can appear earlier in the transaction or in the global state, not later.
Sean Bowe
2016-06-07 21:05:25 -06:00
9378a04f1b
Update RPC tests to account for reserved field
Jack Grigg
2016-06-07 22:44:47 +12:00
50121909aa
Update tests to account for reserved field
Jack Grigg
2016-06-07 22:32:46 +12:00
2ce992956b
Regenerate genesis blocks
Jack Grigg
2016-06-07 21:54:13 +12:00
a5150a156e
Set -relaypriority default to false
Jack Grigg
2016-06-07 21:11:57 +12:00
a8d384aeda
Add a 256-bit reserved field to the block header
Jack Grigg
2016-06-07 16:06:25 +12:00
d0cc00207b
Auto merge of #929 - bitcartel:zc.v0.11.2.z2_fix_717, r=ebfull
zkbot
2016-06-06 20:03:16 +00:00
edab3ddd2e
Implement issue #997 to reduce time for test_bitcoin due to sleeps in addrman. Related to issue #717.
Simon
2016-06-06 17:11:15 +08:00
1744fec274
Update the zkSNARK parameters.
Sean Bowe
2016-06-03 21:04:07 -06:00
c5f766b9b1
Change merkle tree depth to 29.
Sean Bowe
2016-06-03 20:42:15 -06:00
83e018b160
Remove redundant constraints.
Sean Bowe
2016-05-31 21:07:20 -06:00
0a66f01304
Use depth-first scan for eliminating partial solutions instead of breadth-first
Jack Grigg
2016-06-03 17:00:03 +12:00
592b2f0e64
z4 release
Taylor Hornby
2016-06-01 13:42:03 -06:00
55bf149df9
Auto merge of #921 - str4d:optimised-equihash, r=daira
zkbot
2016-06-01 13:10:26 +00:00
447444ae7a
Fix nits after review
Jack Grigg
2016-06-01 23:15:04 +12:00
3960e14d91
Update performance measurement transaction.
Sean Bowe
2016-05-31 13:17:55 -06:00
10c33f0f87
Test behavior of chained pour consensus rules.
Sean Bowe
2016-05-26 14:12:45 -06:00
6c59778acb
Allow pours to be anchored to intermediate treestates of a transaction.
Sean Bowe
2016-05-26 14:00:46 -06:00
8048f4c048
Ensure merkle tree fixed point removal is tested against inside coins_tests.
Sean Bowe
2016-05-26 13:58:58 -06:00
14b12fde2b
Move new coins tests to within coins_tests test suite.
Sean Bowe
2016-05-26 13:56:44 -06:00
19769ba6c5
Auto merge of #976 - ebfull:implement-joinsplit-signatures, r=ebfull
zkbot
2016-05-31 03:46:30 +00:00
7c68cc0747
Add additional assertions.
Sean Bowe
2016-05-30 21:38:44 -06:00
e8af0028eb
Change error for invalid joinsplit signature for consistency.
Sean Bowe
2016-05-30 19:38:01 -06:00