Dimitris Apostolou
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
4 deletions
-
doc/Doxyfile
-
src/gtest/test_mempool.cpp
-
zcutil/build.sh
|
|
@ -870,7 +870,7 @@ HTML_FILE_EXTENSION = .html |
|
|
|
# standard header. Note that when using a custom header you are responsible |
|
|
|
# for the proper inclusion of any scripts and style sheets that doxygen |
|
|
|
# needs, which is dependent on the configuration options used. |
|
|
|
# It is adviced to generate a default header using "doxygen -w html |
|
|
|
# It is advised to generate a default header using "doxygen -w html |
|
|
|
# header.html footer.html stylesheet.css YourConfigFile" and then modify |
|
|
|
# that header. Note that the header is subject to change so you typically |
|
|
|
# have to redo this when upgrading to a newer version of doxygen or when |
|
|
|
|
|
@ -248,7 +248,7 @@ TEST(Mempool, SproutNegativeVersionTxWhenOverwinterActive) { |
|
|
|
mtx.vjoinsplit.resize(0); // no joinsplits
|
|
|
|
mtx.fOverwintered = false; |
|
|
|
|
|
|
|
// A Sprout transaction with version -3 is created using Sprout code (as found in Zcashd <= 1.0.14).
|
|
|
|
// A Sprout transaction with version -3 is created using Sprout code (as found in zcashd <= 1.0.14).
|
|
|
|
// First four bytes of transaction, parsed as an uint32_t, has the value: 0xfffffffd
|
|
|
|
// This test simulates an Overwinter node receiving this transaction, but incorrectly deserializing the
|
|
|
|
// transaction due to a (pretend) bug of not detecting the most significant bit, which leads
|
|
|
@ -266,7 +266,7 @@ TEST(Mempool, SproutNegativeVersionTxWhenOverwinterActive) { |
|
|
|
EXPECT_EQ(state1.GetRejectReason(), "bad-txns-version-too-low"); |
|
|
|
} |
|
|
|
|
|
|
|
// A Sprout transaction with version -3 created using Overwinter code (as found in Zcashd >= 1.0.15).
|
|
|
|
// A Sprout transaction with version -3 created using Overwinter code (as found in zcashd >= 1.0.15).
|
|
|
|
// First four bytes of transaction, parsed as an uint32_t, has the value: 0x80000003
|
|
|
|
// This test simulates the same pretend bug described above.
|
|
|
|
// The resulting Sprout tx with nVersion -2147483645 should be rejected by the Overwinter node's mempool.
|
|
|
|
|
|
@ -41,7 +41,7 @@ if [[ -z "${CXX-}" ]]; then |
|
|
|
CXX=g++ |
|
|
|
fi |
|
|
|
|
|
|
|
# Allow users to set arbitary compile flags. Most users will not need this. |
|
|
|
# Allow users to set arbitrary compile flags. Most users will not need this. |
|
|
|
if [[ -z "${CONFIGURE_FLAGS-}" ]]; then |
|
|
|
CONFIGURE_FLAGS="" |
|
|
|
fi |
|
|
|