Jack Grigg
0bb3d40f90
Add benchmark for incrementing note witnesses
8 years ago
Jack Grigg
0fbab55b1b
Add benchmark for attempting decryption of notes
8 years ago
Sean Bowe
27e3f362f0
Zcash zk-SNARK public parameters for 1.0 "Sprout".
8 years ago
Sean Bowe
74f15a73a1
Make 100KB transaction size limit a consensus rule, rather than a standard rule.
8 years ago
Sean Bowe
796c7ee52f
Update to `beta2` public parameters, remove `regtest`/`testnet3` parameters
subdirectories.
8 years ago
Jack Grigg
9e52ca3205
Measure multithreaded solveequihash time per-thread
8 years ago
Simon
805344dcf4
Refactor: replace calls to GetTxid() with GetHash()
8 years ago
Sean Bowe
393b2b7834
Update proving/verifying keys.
8 years ago
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).
8 years ago
Simon
75c2f26887
Update variable.
8 years ago
Simon
822b84b616
Fixes #1193 so that during verification benchmarking it does not
unncessarily create thousands of CTransaction objects.
8 years ago
Jack Grigg
f7478de67f
Add thread parameter to solveequihash benchmark
Closes #1147
8 years ago
Jack Grigg
51eb5273f5
Equihash: Pass each obtained solution to a callback for immediate checking
Closes #1143
8 years ago
Simon
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
Where the caller intends to receive a transaction id and not a double
SHA256 hash.
8 years ago
Jack Grigg
2dbabb1159
Make Equihash solvers cancellable
The miner only cancels the solver when chainActive.Tip() changes.
Closes #1055
8 years ago
Sean Bowe
1477fd3f40
Remove the constraint system from the alpha proving key.
8 years ago
Sean Bowe
22de160219
Fixes for indentation and local variable names.
8 years ago
Sean Bowe
b7e4abd6f7
Rename some usage of 'pour'.
8 years ago
Sean Bowe
a8c68ffe99
Rename CPourTx to JSDescription.
8 years ago
Sean Bowe
000383c193
Increase block size to 2MB and update performance test.
8 years ago
Sean Bowe
9c45b501ad
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
8 years ago
Sean Bowe
2ba9641767
Fix performance test for block verification.
8 years ago
Jack Grigg
c2e092f29e
Fix memory leak in large tx benchmark
8 years ago
Jack Grigg
cfd806e161
Clear mempool before using it for benchmark test, fix parameter name
8 years ago
Jack Grigg
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
8 years ago
Sean Bowe
1744fec274
Update the zkSNARK parameters.
8 years ago
Taylor Hornby
ed6c1b5d15
We don't want to benchmark signature creation / verification.
8 years ago
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
8 years ago
Jack Grigg
b5c6a3af12
Use optimised Equihash solver for miner and benchmarks
The basic solver is still used for regtest-only purposes.
8 years ago
Jack Grigg
e95747288a
Use template parameters to statically initialise Equihash
8 years ago
Sean Bowe
b8d320df19
Update public zkSNARK parameters for new circuit.
8 years ago
Sean Bowe
2dc3599271
Transplant of libzcash.
8 years ago
Sean Bowe
2140639309
Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed.
8 years ago
Sean Bowe
5961dcb6da
Change ciphertext length to match protocol spec, and refactor the use of constants.
8 years ago
Sean Bowe
434f328446
Integrate new incremental merkle tree implementation into consensus.
8 years ago
Taylor Hornby
722b0117d0
Benchmark a random equihash input.
8 years ago
Taylor Hornby
a1cd1a27ac
Add verify equihash benchmark
8 years ago
Taylor Hornby
d44feea44c
Add JoinSplit verification benchmarks
8 years ago
Taylor Hornby
bf8def9749
Add equihash solving benchmarks
8 years ago
Taylor Hornby
6962bb3df0
Add automated performance measurement system.
8 years ago