Taylor Hornby
60991f9e7b
Add another security warning
2016-07-12 15:22:17 -06:00
Taylor Hornby
8fb1005c5e
Add security warnings doc with warning about side channels.
2016-07-12 13:34:34 -06:00
Simon
933bff472d
Narrow scope of lock.
2016-07-11 22:01:15 -07:00
Simon
1db13d5063
Replace index with height in help message for getblocksubsidy RPC call.
2016-07-11 21:53:09 -07:00
zkbot
46187fbe7a
Auto merge of #1082 - ebfull:reorder-logs, r=ebfull
...
Reorder initialization routines to ensure verifying key log messages appear in debug.log.
Closes #721
2016-07-12 04:41:10 +00:00
Taylor Hornby
4e117b63c6
Rename zerocash_packages to zcash_packages in packages.mk
2016-07-11 19:30:18 -06:00
Taylor Hornby
3bde967f53
Rename qa/zerocash to qa/zcash in Makefile.am
2016-07-11 19:29:41 -06:00
Taylor Hornby
76b3a92652
Remove references to libzerocash in .gitignore
2016-07-11 19:29:11 -06:00
Taylor Hornby
c9c4611d9a
Rename zerocash to zcash in some places.
2016-07-11 19:27:52 -06:00
zkbot
04932a64e8
Auto merge of #1080 - ebfull:performance-check-valid-pour, r=ebfull
...
Always check valid joinsplits during performance tests
This will generate a valid joinsplit instead of using one from an environment variable.
2016-07-11 22:38:25 +00:00
Sean Bowe
35f82c35fe
Rename samplepour to samplejoinsplit
2016-07-11 11:33:14 -06:00
zkbot
6caacc892e
Auto merge of #1058 - ebfull:coin-cache, r=ebfull
...
Flush to disk more consistently by accounting memory usage of serials/anchors in cache.
Closes #626 .
It's important that this at least *approximates* the memory usage, so that we flush the cache to disk as expected. It's okay that we overestimate. The serials are stored in keys in the `boost::unordered_map`, so we can simply use that map's `DynamicMemoryUsage`. The anchors are another story.
2016-07-11 17:23:19 +00:00
zkbot
ecef582339
Auto merge of #1061 - ebfull:remove-libzerocash-completely, r=ebfull
...
Remove the rest of libzerocash.
Closes #510 .
2016-07-11 16:17:35 +00:00
Sean Bowe
92b73b0dbb
Remove zerocash tests from full-test-suite.
2016-07-11 10:05:55 -06:00
Daira Hopwood
c2ec2f5388
README.md: simplify the title, drop "Core"
...
We only have one public tree.
2016-07-11 13:38:54 +01:00
Daira Hopwood
b097171ef9
.clang-format: change standard to C++11
2016-07-11 13:22:20 +01:00
Sean Bowe
f4091941f5
Reorder initialization routines to ensure verifying key log messages appear in debug.log.
2016-07-10 21:10:02 -06:00
Sean Bowe
ffcd1c57cc
Update tests with cache usage computations
2016-07-10 20:53:33 -06:00
Sean Bowe
2668a1bc13
Remove the rest of libzerocash.
2016-07-10 20:25:02 -06:00
Sean Bowe
2fbbde597c
Always check valid joinsplits during performance tests, and avoid recomputing them every time we change the circuit.
2016-07-09 14:31:43 -06:00
zkbot
3c72ec710e
Auto merge of #1044 - bitcartel:zc.v0.11.2.z5_issue_932, r=ebfull
...
Disable USE_ASM when building libsnark
For #932 .
2016-07-09 17:36:19 +00:00
Daira Hopwood
a71fb9ff6d
z6 release notes and version update.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-07-08 22:57:37 +01:00
Sean Bowe
000383c193
Increase block size to 2MB and update performance test.
2016-07-07 16:53:16 -06:00
zkbot
89a9e46cc9
Auto merge of #1049 - str4d:equihash-faster-sort-comparison, r=bitcartel
...
Only compare the first n/(k+1) bits when sorting
We only need to sort based on the bits we are colliding. In earlier solver rounds, this speeds up the comparison considerably (calling `memcmp()` on 3 bytes instead of 12 in the first round for the current parameters).
2016-07-07 20:43:42 +00:00
Sean Bowe
9c45b501ad
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
2016-07-06 12:07:50 -06:00
Sean Bowe
2ba9641767
Fix performance test for block verification.
2016-07-05 07:55:35 -06:00
zkbot
99edcaaf53
Auto merge of #1062 - ebfull:remove-mainnet-checkpoints, r=ebfull
...
Remove the mainnet checkpoints.
This removes the checkpoints from mainnet (just as we have with the other chain parameters).
Closes #695 .
2016-06-30 17:56:28 +00:00
Sean Bowe
3cb927661e
Remove the mainnet checkpoints.
2016-06-29 14:21:03 -06:00
zkbot
16abefdd22
Auto merge of #1060 - str4d:1033-randomise-nonce, r=ebfull
...
Randomise the nonce in the block header
The top and bottom 16 bits of the nonce are left clear for local use as thread
flags and counters. This does not leak any more local information about the
miner than is currently exposed.
The cleared bits should not be considered a consensus rule, as miners are free
to set all bits of the nonce however they wish.
Closes #1033
2016-06-29 19:15:23 +00:00
zkbot
0df212bae3
Auto merge of #1046 - str4d:971-large-tx-benchmark, r=ebfull
...
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
Closes #971 .
2016-06-29 07:54:28 +00:00
Jack Grigg
c2e092f29e
Fix memory leak in large tx benchmark
2016-06-29 11:45:47 +12:00
Jack Grigg
cfd806e161
Clear mempool before using it for benchmark test, fix parameter name
2016-06-29 11:19:41 +12:00
zkbot
68b8b95c53
Auto merge of #962 - ebfull:2mb-blocks, r=ebfull
...
Increase block size limit to 2MB.
http://gavinandresen.ninja/a-guided-tour-of-the-2mb-fork
Closes #765 .
2016-06-28 17:46:47 +00:00
Jack Grigg
8e165d57d9
Randomise the nonce in the block header
...
The top and bottom 16 bits of the nonce are left clear for local use as thread
flags and counters. This does not leak any more local information about the
miner than is currently exposed.
The cleared bits should not be considered a consensus rule, as miners are free
to set all bits of the nonce however they wish.
Closes #1033
2016-06-28 11:36:35 +12:00
Simon
1b114e54c4
Add getblocksubsidy RPC command to return the block reward for a given
...
block, taking into account the mining slow start.
2016-06-27 13:04:33 -07:00
Sean Bowe
7f3c7a683b
Flush to disk more consistently by accounting memory usage of serials/anchors in cache.
2016-06-27 10:52:34 -06:00
Taylor Hornby
d9ee9a51d1
Test non-canonical ed25519 signature check
2016-06-23 18:22:20 -06:00
Taylor Hornby
4aea53423e
More testing of CheckTransaction
2016-06-23 16:59:00 -06:00
Taylor Hornby
948d4e6c10
Split JoinSplit proof verification out of CheckTransaction.
2016-06-23 16:35:31 -06:00
Taylor Hornby
cea9f58791
WIP: Add mock test coverage of CheckTransaction
2016-06-22 17:25:35 -06:00
zkbot
658cdb15f7
Auto merge of #1027 - ThisIsNotOfficialCodeItsJustForks:t862-trivial-mock-test-example, r=ebfull
...
Add example mock test of CheckTransaction
Closes #862 .
2016-06-22 14:30:12 +00:00
Jack Grigg
d151ab4fea
Only compare the first n/(k+1) bits when sorting
2016-06-21 15:53:47 +12:00
aniemerg
24809b16b6
Update GetDifficulty() to use consensus.powLimit from consensus parameters. Fixes #1032 .
2016-06-20 22:21:42 -04:00
Jack Grigg
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
2016-06-21 13:48:04 +12:00
Simon
5dad8f569d
Disable USE_ASM when building libsnark (issue 932).
2016-06-20 15:18:15 -07:00
aniemerg
dd74e9dd32
Suppress Libsnark Debugging Info
...
Suppress the Libsnark debugging information displayed on launch
2016-06-19 17:38:44 -04:00
Taylor Hornby
1ea8b00926
Change the network magic numbers.
2016-06-16 19:46:43 -06:00
Taylor Hornby
bbf75f9f70
z5 release
2016-06-16 19:32:55 -06:00
Taylor Hornby
39bb34eae7
Merge remote-tracking branch 'jack/990-default-ports' into zc.v0.11.2.latest
2016-06-16 19:28:24 -06:00
Taylor Hornby
32ef290e03
Merge remote-tracking branch 'jack/fix-version' into zc.v0.11.2.latest
2016-06-16 19:25:41 -06:00