jl777
201269b62d
Test
2017-06-27 16:41:50 +03:00
jl777
b5da879e2f
Test
2017-06-27 16:34:14 +03:00
jl777
e2ca75ae28
Test
2017-06-27 16:27:03 +03:00
jl777
4c917febb7
Test
2017-06-27 16:13:49 +03:00
jl777
5ee6fd299b
Test
2017-06-27 15:55:29 +03:00
jl777
7b9c29355c
Test
2017-06-27 15:07:22 +03:00
jl777
4130f3a067
Test
2017-06-27 14:56:14 +03:00
jl777
7a9a3ddcfe
Test
2017-06-27 14:48:13 +03:00
jl777
b5d53e7195
Test
2017-06-27 14:28:46 +03:00
jl777
06e6de363c
Test
2017-06-27 14:12:59 +03:00
jl777
97b6b4d424
Test
2017-06-27 13:53:31 +03:00
jl777
d1373b5701
Test
2017-06-27 13:47:34 +03:00
jl777
cdc09f194c
Test
2017-06-27 13:27:31 +03:00
Daira Hopwood
262fc5f4e3
Alert 1004 (version 1.0.10 only)
...
Author: Simon <simon@bitcartel.com >
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-24 19:49:41 +01:00
Simon
d444e1cf40
make-release.py: Versioning changes for 1.0.10-1.
2017-06-23 19:43:29 -07:00
Sean Bowe
15a9937654
Revert "Delete old protocol version constants and simplify code that used them."
...
This reverts commit 5a49c929dd .
2017-06-23 18:19:25 -06:00
Sean Bowe
9ad9a25eff
Revert "Remove an unneeded version workaround as per @str4d's review comment."
...
This reverts commit 1e9db0b38a .
2017-06-23 18:19:17 -06:00
practicalswift
1240717431
Net: Fix resource leak in ReadBinaryFile(...)
...
Introduced in 3290567bbd via PR #2177 .
2017-06-23 18:49:43 +12:00
Jack Grigg
dc2ead6021
make-release.py: Versioning changes for 1.0.10.
2017-06-22 14:47:15 +12:00
Homu
59de56eeca
Auto merge of #2342 - bitcartel:1081__mempoolpatch, r=str4d
...
Add ability for node to reject tx from mempool by number of tx inputs
Implement short-term solution described in #2343 so that users can respond promptly to critical short-term problems caused by quadratic validation scaling, such as the getblocktemplate latency, block propagation latency, and mempool size inflation issues described in #2333 .
2017-06-21 14:42:13 -07:00
Homu
02e5fffadc
Auto merge of #2360 - daira:2359.remove-lax-der-validation, r=arcalinea
...
Remove unneeded lax ECDSA signature verification
Fixes #2359 . Removes code for lax ECDSA verification, and the SCRIPT_VERIFY_DERSIG flag that controlled it. The behaviour is as-if the flag is always set.
2017-06-20 19:05:58 -07:00
Simon
d8616d012a
Partial revert & fix for commit 9e84b5a ; code block in wrong location.
2017-06-19 21:11:34 -07:00
Jack Grigg
4ef014151d
Additional testing of -mempooltxinputlimit
2017-06-20 15:58:46 +12:00
Kevin Pan
26d27a15ce
"getblocktemplate" could work without wallet
2017-06-20 10:41:46 +08:00
Daira Hopwood
c2a722d3c4
Fix a comment that was made stale before launch by #1016 (commit 542da61).
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-19 16:33:18 +01:00
Daira Hopwood
00fde35b1c
Make transaction test failures print the comments preceding the test JSON.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-19 16:33:18 +01:00
Daira Hopwood
4a785b0a5b
Repair tests for strict DER signatures.
...
While we're at it, repair a similar test for CLTV, and make the repaired RPC tests run by default.
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-19 16:32:15 +01:00
Simon
9e84b5aa0d
Check mempooltxinputlimit when creating a transaction to avoid local
...
mempool rejection.
2017-06-17 14:41:25 -07:00
Daira Hopwood
de609b8c54
Strict DER signatures are always enforced; remove the flag and code that used it.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-17 17:19:08 +01:00
Daira Hopwood
3c985d26ce
Remove unneeded lax ECDSA signature verification.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-17 17:19:08 +01:00
Homu
ef24e8e6be
Auto merge of #2335 - str4d:2333-validation-speed, r=str4d
...
Switch to libsecp256k1-based validation for ECDSA
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6983
- bitcoin/bitcoin#6954
Part of #2333 .
2017-06-17 07:18:25 -07:00
Jack Grigg
b661736b87
Hold an ECCVerifyHandle in zcash-gtest
2017-06-18 02:15:05 +12:00
Jack Grigg
5799c5f8c0
Add test for -mempooltxinputlimit
2017-06-17 14:59:16 +12:00
Simon
da6d93916d
Add option 'mempooltxinputlimit' so the mempool can reject a transaction
...
based on the number of transparent inputs.
2017-06-16 19:31:33 -07:00
Jack Grigg
fd0d1c7d60
Ensure that ECDSA constant sizes are correctly-sized
2017-06-17 12:10:15 +12:00
Jack Grigg
1f5941062a
Remove redundant = 0 initialisations
2017-06-17 12:10:14 +12:00
Jack Grigg
877964c82f
Specify ECDSA constant sizes as constants
2017-06-17 12:10:14 +12:00
Jack Grigg
c032f1b687
Add comments
2017-06-17 12:09:44 +12:00
jl777
daf49a7e2e
New assetchains from kolo
2017-06-16 23:53:16 +03:00
Homu
dfa4ed19bb
Auto merge of #2440 - bitcartel:1360_reduce_info_leakage_vpub_new, r=str4d
...
Fix intermediate vpub_new leakage in multi joinsplit tx
Resolves information leakage discussed here https://github.com/zcash/zcash/issues/1360#issuecomment-284561331
Example output in debug.log showing how intermediate vpub_new is now 0
https://gist.github.com/bitcartel/86ca316b74f0b1ec6d8de3ac132006da
When reviewing, note that the indentation of a large chunk of code (scenario 3 part 2) changed, so use `git diff -w` (or similar) or append `?w=1` to the Github URL e.g. https://github.com/zcash/zcash/pull/2440/files?w=1
2017-06-15 21:33:01 -07:00
Homu
3440de74ee
Auto merge of #2386 - str4d:2385-consensus-correction, r=str4d
...
Correct consensus logic in ContextualCheckInputs
Closes #2385 .
2017-06-15 18:50:03 -07:00
Jack Grigg
30006a2e79
Correct consensus logic in ContextualCheckInputs
...
Closes #2385 .
2017-06-16 13:45:19 +12:00
Jack Grigg
1b786a93c3
Add test for incorrect consensus logic
2017-06-16 13:45:14 +12:00
Homu
0a80a1cea3
Auto merge of #2227 - str4d:2074-ignore-virtual-cores, r=str4d
...
Use real number of cores, ignore virtual cores
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6361
- bitcoin/bitcoin#6370
Part of #2074 .
2017-06-15 17:05:02 -07:00
Homu
6189c70caa
Auto merge of #1747 - str4d:fix-spendingkey-locking, r=str4d
...
Fix incorrect locking in CCryptoKeyStore
2017-06-15 16:02:07 -07:00
Simon
c93a0872e8
Fix intermediate vpub_new leakage in multi joinsplit tx ( #1360 )
2017-06-13 23:21:53 -07:00
Homu
a23fdf862d
Auto merge of #2245 - daira:2244.remove-old-peer-workarounds, r=str4d
...
Delete old protocol version constants and simplify code that used them.
fixes #2244
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-13 23:10:19 -07:00
Jack Grigg
50fa079748
Fix potential overflows in ECDSA DER parsers
2017-06-06 20:08:03 +12:00
Pieter Wuille
3d02d0f63a
Switch to libsecp256k1-based validation for ECDSA
2017-06-06 17:52:25 +12:00
Pieter Wuille
c1afe40a17
Update key.cpp to new secp256k1 API
2017-06-06 17:50:22 +12:00