0ccb650b5a
Update genesis block hashes and test data.
Simon2016-07-27 00:55:48 -07:00
90a9019387
Fix issue where a coinbase tx should have it's sigscript hashed to avoid duplicate txids, as discussed in BIP34 and BIP30.
Simon2016-07-27 00:52:27 -07:00
2481bab2b8
Revert "Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid."
Simon2016-07-27 00:41:26 -07:00
51eb5273f5
Equihash: Pass each obtained solution to a callback for immediate checking
Jack Grigg2016-07-27 19:15:49 +12:00
07e6d5b025
Refactor GetTxid() into UpdateTxid() to match coding style of hash member variable.
Simon2016-07-26 17:06:55 -07:00
29306269f4
Set nLockTime in CreateNewBlock() so coinbase txs do not have the same txid. Update test data in miner_tests.
Simon2016-07-25 23:23:43 -07:00
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
Simon2016-07-25 12:23:37 -07:00
1e84d84d3a
Rename GetHash() method to GetSerializeHash().
Simon2016-07-25 11:25:00 -07:00
3574c9251f
Updated test data for script_tests by uncommenting UPDATE_JSON_TESTS flag.
Simon2016-07-25 01:11:47 -07:00
b742003ee9
Update block and tx data used in bloom filter tests.
Simon2016-07-24 00:56:15 -07:00
2b9130cd1f
Update precomputed equihash solutions used in test.
Simon2016-07-23 13:28:36 -07:00
4e0b4af40f
Enable -O1 for better FORTIFY_SOURCE protections.
Taylor Hornby2016-07-05 16:18:58 -06:00
9e6adb124f
Hardfork to the previous testnet difficulty adjustment behaviour at block 43400
Jack Grigg2016-07-22 13:58:13 +12:00
ae79cec542
Make the --enable-hardening flag explicit.
Taylor Hornby2016-06-30 18:35:33 -06:00
4d66f8f68a
Add test for non-intuitive merkle tree gadget witnessing behavior.
Sean Bowe2016-07-21 19:28:58 -06:00
25d2197043
Remove more from libsnark, and fix potential remote-DoS.
Sean Bowe2016-07-21 18:34:59 -06:00
e99731b4a4
Reinstate previous testnet adjustment behaviour
Jack Grigg2016-07-21 20:50:05 +12:00
5a360a5c6a
Fix segfault by indirectly monitoring chainActive.Tip(), locking on mutex
Jack Grigg2016-07-21 18:04:38 +12:00
cebeabb2f4
Auto merge of #1119 - ebfull:version-bump, r=ebfull
zkbot2016-07-21 04:55:06 +00:00
5b4ebcd5e2
Add tests that exercise the cancellation code branches
Jack Grigg2016-07-21 16:39:32 +12:00
2dbabb1159
Make Equihash solvers cancellable
Jack Grigg2016-07-20 19:06:49 +12:00
e117ff7651
Auto merge of #1048 - str4d:collect-all-valid-equihash-solns, r=ebfull
zkbot2016-07-20 03:54:30 +00:00
697cc53b29
Bump the (minimum) protocol version to avoid invoking legacy behavior from upstream.
Sean Bowe2016-07-19 19:07:14 -06:00
b83061544f
Auto merge of #1116 - ebfull:performance-check-valid-pour-fix, r=ebfull
zkbot2016-07-20 00:03:46 +00:00
a1cded5b91
Auto merge of #1088 - ThisIsNotOfficialCodeItsJustForks:t1078-fix-sighash-bug-2, r=ebfull
zkbot2016-07-19 23:39:06 +00:00
b5dfcd0fbb
Auto merge of #1063 - ThisIsNotOfficialCodeItsJustForks:t898-remove-insecurely-downloaded-dependencies, r=ebfull
zkbot2016-07-19 23:14:06 +00:00
86551dcb18
Remove insecurely-downloaded dependencies that we don't currently use.
Taylor Hornby2016-06-30 18:04:50 -06:00
741cf2cedf
Auto merge of #1115 - ebfull:shorten-proving-key, r=ebfull
zkbot2016-07-19 22:38:50 +00:00
838e3c753f
Fix the tests that the SIGHASH_SINGLE bugfix breaks.
Taylor Hornby2016-07-12 13:18:30 -06:00
67f0243533
Remove in-band error signalling from SignatureHash, fixing the SIGHASH_SINGLE bug.
Taylor Hornby2016-07-11 17:00:04 -06:00
1737627c4e
Introduce zcsamplejoinsplit for creating a raw joinsplit description, and use it to construct the joinsplit for the performance tests that verify joinsplits.
Sean Bowe2016-07-19 15:49:11 -06:00
1477fd3f40
Remove the constraint system from the alpha proving key.
Sean Bowe2016-07-19 14:01:58 -06:00
a8c68ffe99
Rename CPourTx to JSDescription.
Sean Bowe2016-07-10 23:02:10 -06:00
939aaeb620
New alert test data generated for new alert key pair. Added test fixture to create new test data. Added instructions for developer.
Simon2016-07-17 12:36:26 -07:00
f30580744f
Auto merge of #1059 - bitcartel:zc.v0.11.2.z5_getblocksubsidy, r=ebfull
zkbot2016-07-17 16:19:39 +00:00
b39e1bdbca
Fixes to integrate sendalert.cpp. Add sendalert.cpp to build process. Add alertkeys.h as a placeholder for private keys.
Simon2016-07-15 19:57:55 -07:00
2513363e81
Add sendalert.cpp to repo.
Simon2016-07-15 18:05:42 -07:00
174a68b3b7
Use new public/private key pairs for alert system.
Simon2016-07-14 22:38:41 -07:00
bf76024eb7
Pass our constraint system to libsnark, so that it doesn't need to (de)serialize it in the proving key.
Sean Bowe2016-07-15 10:45:59 -06:00
1fad6b87e5
Initialize libsodium in this routine, which is now necessary because libsnark uses its PRNG.
Sean Bowe2016-07-15 10:45:22 -06:00