Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed remaining Functional tests for 8.22 #106

Merged
merged 10 commits into from
Mar 12, 2023

Conversation

SmartArray
Copy link

This PR fixes the remaining functional tests.

It fixes the invalid mempool notification behaviour caused by Dandelion, which was basically announcing TXs twice.
Also fixed a few minor by adapting them to the new boost-API or disabling IPv6 tests (that will be working in 8.23)

@saltedlolly
Copy link

Yoshi, you legend! 👏

@SmartArray
Copy link
Author

Cherry picked commits 5e337561d897a40750b1de104a74f102f8e38a1f and 8d4403950bc9c4a691dbdbc04cf4de2600e51f3b from Bitcoin upstream to replace the ripemd160 used in the functional tests with a pure-python implementation because some OpenSSL installations disabled this very specific algorithm.

No modifications in your OpenSSL installation needed with these fixes.

Bitcoin Core completely ripped out SSL tests as OpenSSL3 changed a ton of stuff and broke many things in core tests.
@JaredTate
Copy link

Bitcoin Core completely ripped out OpenSSL tests as OpenSSL3 changed a ton of stuff and broke many things in core tests. Just pushed a change to get tests passing and disable the broken SSL tests. To date OpenSSL tests are not back in BTC core v22 or 23.

Added the following to configure.ac

--disable-openssl-tests"

Look here for BTC devs rationale for removing OpenSSL tests: bitcoin-core/secp256k1#983

Copy link
Member

@gto90 gto90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Thank you for this hard work @SmartArray !

I have tested this on MacOS 13.2 with an M1 CPU as well as Ubuntu Linux 22.10. All unit tests pass as well as all functional tests.

Copy link

@JaredTate JaredTate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. Thank you Yoshi and everyone for your work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants