Daira Hopwood
506a21850a
Remove UPnP support. fixes #2500
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Homu
d6ec3954c6
Auto merge of #2474 - bitcartel:release-v1.0.10-1, r=bitcartel
Release v1.0.10-1
7 years ago
Simon
2762b68576
make-release.py: Updated release notes and changelog for 1.0.10-1.
7 years ago
Simon
a0a3eb70b9
make-release.py: Updated manpages for 1.0.10-1.
7 years ago
Simon
d444e1cf40
make-release.py: Versioning changes for 1.0.10-1.
7 years ago
Homu
ad5e8a544b
Auto merge of #2462 - str4d:2404-gitian-no-proton, r=ebfull
Disable building Proton in Gitian
This is the patch used to build 1.0.9 and 1.0.10.
Part of #2404 .
7 years ago
Homu
1605da740e
Auto merge of #2473 - ebfull:init-proto-hotfix-release, r=ebfull
Revert changes to INIT_PROTO_VERSION
This reverts https://github.com/zcash/zcash/pull/2245 in order to fix degraded networking behavior for 1.0.10 clients.
7 years ago
Sean Bowe
15a9937654
Revert "Delete old protocol version constants and simplify code that used them."
This reverts commit 5a49c929dd
.
7 years ago
Sean Bowe
9ad9a25eff
Revert "Remove an unneeded version workaround as per @str4d's review comment."
This reverts commit 1e9db0b38a
.
7 years ago
Jack Grigg
f86111d3f5
Disable building Proton in Gitian
This is the patch used to build 1.0.9 and 1.0.10.
Part of #2404 .
7 years ago
Homu
d52ac0d498
Auto merge of #2461 - str4d:release-v1.0.10, r=str4d
Release v1.0.10
7 years ago
Jack Grigg
5073467dad
Move temporary release notes to final ones
7 years ago
Jack Grigg
93a63765b6
make-release.py: Updated release notes and changelog for 1.0.10.
7 years ago
Jack Grigg
c04ffa0e32
make-release.py: Updated manpages for 1.0.10.
7 years ago
Jack Grigg
dc2ead6021
make-release.py: Versioning changes for 1.0.10.
7 years ago
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 .
7 years ago
Jack Grigg
6ea58d1531
Use sendfrom for both t-addr calls
7 years ago
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.
7 years ago
Simon
99f6d5da6c
Fix #b1eb4f2 so test checks sendfrom as originally intended.
Also reduce number of z_sendmany calls made so test runs quicker.
7 years ago
Daira Hopwood
193b3e8b28
Delete test that is redundant and inapplicable to Zcash.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Homu
c050b99469
Auto merge of #2456 - btccom:master, r=str4d
[mining] let "getblocktemplate" work when disable wallet
we already support GetBlockTemplate without build wallet, see:
https://github.com/zcash/zcash/blob/master/src/rpcmining.cpp
```
// Wallet or miner address is required because we support coinbasetxn
if (GetArg("-mineraddress", "").empty()) {
#ifdef ENABLE_WALLET
if (!pwalletMain) {
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Wallet disabled and -mineraddress not set");
}
#else
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "zcashd compiled without wallet and -mineraddress not set");
#endif
}
```
so the macro should be removed from `src/rpcserver.cpp`, otherwise you can't call `getblocktemplate` when you disable wallet.
7 years ago
Jack Grigg
b1eb4f251a
Fix comment
7 years ago
Homu
00fd23930b
Auto merge of #2443 - str4d:1621-priority-download-path, r=str4d
Rename FALLBACK_DOWNLOAD_PATH to PRIORITY_DOWNLOAD_PATH
Closes #1621 .
7 years ago
Simon
d8616d012a
Partial revert & fix for commit 9e84b5a
; code block in wrong location.
7 years ago
Jack Grigg
4ef014151d
Additional testing of -mempooltxinputlimit
7 years ago
Kevin Pan
26d27a15ce
"getblocktemplate" could work without wallet
7 years ago
Daira Hopwood
c2a722d3c4
Fix a comment that was made stale before launch by #1016 (commit 542da61
).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Daira Hopwood
00fde35b1c
Make transaction test failures print the comments preceding the test JSON.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
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>
7 years ago
Simon
9e84b5aa0d
Check mempooltxinputlimit when creating a transaction to avoid local
mempool rejection.
7 years ago
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>
7 years ago
Daira Hopwood
3c985d26ce
Remove unneeded lax ECDSA signature verification.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
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 .
7 years ago
Jack Grigg
b661736b87
Hold an ECCVerifyHandle in zcash-gtest
7 years ago
Jack Grigg
5799c5f8c0
Add test for -mempooltxinputlimit
7 years ago
Simon
da6d93916d
Add option 'mempooltxinputlimit' so the mempool can reject a transaction
based on the number of transparent inputs.
7 years ago
Homu
d5934e9268
Auto merge of #2436 - kozyilmaz:multipath, r=str4d
support per platform filename and hash setting for dependencies
added to support per-platform Rust packages, tested on macOS Sierra 10.12.5 and Ubuntu 16.04 LTS (issue #2431 )
7 years ago
Jack Grigg
fd0d1c7d60
Ensure that ECDSA constant sizes are correctly-sized
7 years ago
Jack Grigg
1f5941062a
Remove redundant `= 0` initialisations
7 years ago
Jack Grigg
877964c82f
Specify ECDSA constant sizes as constants
7 years ago
Jack Grigg
f16175471a
Update Debian copyright list
7 years ago
Jack Grigg
c032f1b687
Add comments
7 years ago
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
7 years ago
Homu
3440de74ee
Auto merge of #2386 - str4d:2385-consensus-correction, r=str4d
Correct consensus logic in ContextualCheckInputs
Closes #2385 .
7 years ago
Jack Grigg
30006a2e79
Correct consensus logic in ContextualCheckInputs
Closes #2385 .
7 years ago
Jack Grigg
1b786a93c3
Add test for incorrect consensus logic
7 years ago
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 .
7 years ago
Homu
6189c70caa
Auto merge of #1747 - str4d:fix-spendingkey-locking, r=str4d
Fix incorrect locking in CCryptoKeyStore
7 years ago
Homu
35bf9e73ff
Auto merge of #2420 - kozyilmaz:disable-libs, r=str4d
option to disable building libraries (zcutil/build.sh)
option to disable building libraries (zcutil/build.sh)
7 years ago
Jack Grigg
be60c6d7f6
Rename FALLBACK_DOWNLOAD_PATH to PRIORITY_DOWNLOAD_PATH
Closes #1621 .
7 years ago