Jack Grigg
77175766f4
Enforce standard transaction rules on testnet
Closes #1582
8 years ago
Daira Hopwood
789914e7b0
Update comments in chainparams.cpp.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
a5fd8da7ba
Static assertion that standard and network min tx versions are consistent.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
cb1246194e
Update the error message string for tx version too low. ref #1600
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
zkbot
0b3809464c
Auto merge of #1601 - str4d:1459-revert-reversion, r=daira
Revert "Revert "Avoid boost::posix_time functions that have potential out-of-bounds read bugs. ref #1459""
This reverts commit f19cb7b7ee
.
Closes #1459 .
8 years ago
Jack Grigg
86d2c90468
Update tests for new genesis blocks
8 years ago
Jack Grigg
8c54e34a68
Use tromp's solver to regenerate miner tests
When using, comment out tromp's solver in miner.cpp to avoid linker errors.
8 years ago
Jack Grigg
6be6762237
Regenerate genesis blocks with nVersion = 4
Includes parts of #1554
8 years ago
Jack Grigg
80f4cdcf8f
Reject block versions lower than 4
Closes #1556
8 years ago
Jack Grigg
7ac924cdb7
Disallow v0 transactions as a consensus rule
Closes #1557
8 years ago
zkbot
a12eaa2bf2
Auto merge of #1581 - bitcartel:1464_ncc_2016_008, r=str4d
Fixes for NCC-2016-008
To close #1464 NCC-2016-088
- This PR
- https://github.com/zcash/libsnark/pull/8
Of the 101 issues in NCC-2016-088, 62 are in dependencies, and many of the remainder are duplicates of the CIDs fixed in this PR.
Commit log message is: CID Type (Type is from scan.coverity Type column)
8 years ago
Simon
e11e61ddb1
Workaround g++ 5.x bug with brace enclosed initializer.
http://stackoverflow.com/questions/32912921/whats-wrong-with-this-inline-initialization-of-stdarray/32912976#32912976
8 years ago
Jack Grigg
07064ea2d1
GBT: Add RPC tests
8 years ago
Jack Grigg
1628efedaf
GBT: Correct block header in proposals RPC test
8 years ago
Jack Grigg
89aa746ca1
GBT: Add informational founders' reward value to coinbasetxn
8 years ago
Jack Grigg
53ddbaed16
GBT: Support coinbasetxn instead of coinbasevalue
Once a Zcash GBT spec has been written, we can re-enable coinbasevalue.
8 years ago
zkbot
48888b67c9
Auto merge of #1599 - daira:1597.fix-other-potential-race-conditions, r=daira
Fix other potential race conditions similar to ref #1597 in RPC tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Jack Grigg
09864abc55
Revert "Revert "Avoid boost::posix_time functions that have potential out-of-bounds read bugs. ref #1459""
This reverts commit f19cb7b7ee
.
8 years ago
zkbot
7ccbcca62c
Auto merge of #1591 - bitcartel:upstream_7933_fix_out_of_memory_deserializing_utxo, r=daira
Upstream: fix out of memory problem when deserializing utxo
bitcoin/bitcoin#7933
8 years ago
zkbot
f808be7546
Auto merge of #1589 - bitcartel:upstream_7856_one_getaddr_per_connection, r=daira
Upstream: Only send one GetAddr response per connection.
bitcoin/bitcoin#8427
8 years ago
zkbot
71043784dd
Auto merge of #1586 - bitcartel:z_sendmany_amount_too_strict, r=daira
Fix issue where z_sendmany amount parameter is too strict
Upstream treats an amount parameter of `1` the same as `1.0`. Third-party would like this fixed.
8 years ago
zkbot
fd7ef7b632
Auto merge of #1584 - bitcartel:1504_zca_011_logging, r=daira
More granular control over logging of z_* calls
Closes #1504
8 years ago
zkbot
10ad093bbb
Auto merge of #1567 - str4d:rename-binaries, r=daira
Rename binaries
This ensures that our installs don't clash with existing Bitcoin binaries and libraries.
Closes #1563 and #1565
8 years ago
Daira Hopwood
deba66ca55
Fix other potential race conditions similar to ref #1597 in RPC tests.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
zkbot
dc21a8a39f
Auto merge of #1578 - daira:1570.tromp-equihash-with-libsodium-blake.2, r=daira
1570.tromp equihash with libsodium blake.2
Remove BLAKE2b implementation from Tromp Equihash solver, and address almost all of @str4d's review comments on #1570 . Supercedes #1576 .
Signed-off-by: Daira Hopwood daira@jacaranda.org
8 years ago
Daira Hopwood
f0f838f081
Fix race condition in rpc-tests/wallet_protectcoinbase.py. closes #1597
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
zkbot
cd8e856df7
Auto merge of #1585 - bitcartel:1583_stop_test_writing_to_testnet3, r=daira
Closes #1583 by setting up the datadir for the wallet gtest.
Stops test writing to ~/.zcash/testnet3.
Also related to #1506
8 years ago
Simon
43f0769cf6
Fix build problem with coins_tests
8 years ago
Pieter Wuille
abd22bb674
Add tests for CCoins deserialization
8 years ago
Patrick Strateman
e9d221e764
CDataStream::ignore Throw exception instead of assert on negative nSize.
Previously disk corruption would cause an assert instead of an exception.
8 years ago
Pieter Wuille
f588c5edd6
Fix OOM bug: UTXO entries with invalid script length
8 years ago
Pieter Wuille
6fc5764eda
Treat overly long scriptPubKeys as unspendable
8 years ago
Pieter Wuille
4c6ea562bd
Introduce constant for maximum CScript length
8 years ago
zkbot
c99a1c7e4f
Auto merge of #1566 - daira:1557.make-v2-txns-standard, r=ageis
1557.make v2 txns standard
Make v2 transactions standard. This also corrects a rule about admitting large orphan transactions into the mempool, to account for v2-specific fields. ref #1557
8 years ago
zkbot
323b8214c2
Auto merge of #1580 - str4d:1378-repair-witness-cache, r=daira
Clear witness cache when re-witnessing notes
Closes #1378
8 years ago
Gregory Maxwell
a514cb2968
Only send one GetAddr response per connection.
This conserves resources from abusive peers that just send
getaddr in a loop. Also makes correlating addr messages
against INVs less effective.
8 years ago
Wladimir J. van der Laan
e496b2e391
net: Ignore `notfound` P2P messages
8 years ago
Daira Hopwood
f19cb7b7ee
Revert "Avoid boost::posix_time functions that have potential out-of-bounds read bugs. ref #1459"
This reverts commit a652e4183e
.
8 years ago
Daira Hopwood
5d985da5c1
Repair check-security-hardening.sh.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Simon
5eed758493
Update test to use integer amount as well as decimal amount when calling z_sendmany
8 years ago
Simon
75407c6872
Fix issue where z_sendmany is too strict and does not allow integer based amount e.g. 1 which is the same as 1.0
8 years ago
zkbot
78293a9989
Auto merge of #1575 - arcalinea:document-rpc-security, r=daira
Document RPC security assumptions
Document RPC security assumptions in security-warnings.md #965
8 years ago
Simon
ffd2cb3437
Closes #1583 by setting up the datadir for the wallet gtest.
8 years ago
Simon
446f867b4c
Add debug option "zrpcunsafe" to be used when logging more sensitive information such as the memo field of a note.
8 years ago
Simon
e7b1f312f5
Add security warning about logging of z_* calls.
8 years ago
zkbot
90031e1d61
Auto merge of #1577 - radix42:v1.0.0-rc1-gitian, r=daira
V1.0.0 rc1 gitian
Removes indeterminism from gitian builds: underlying processor instruction set variant of x86_64 was being detected by the libgmp autoconf process, which caused differences in libgmp and libsnark
8 years ago
zkbot
f90526579b
Auto merge of #1569 - str4d:1552-disable-wallet-encryption, r=daira
Disable wallet encryption
Closes #1552
8 years ago
Daira Hopwood
5f0009b2d2
Assert that the Equihash solver is a supported option.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Daira Hopwood
f91bbeedb7
Add help for -equihashsolver= option.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Jack Grigg
d8e06e3f58
Add test that encryptwallet is disabled
8 years ago