-
Notifications
You must be signed in to change notification settings - Fork 178
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
Update libsecp256k1 and python-bitcointx #1515
Update libsecp256k1 and python-bitcointx #1515
Conversation
b24f701
to
7a8f922
Compare
Rebased |
7a8f922
to
bd32e9f
Compare
Updated libsecp256k1 to v0.4.0 |
fb8cece
to
215af19
Compare
Rebased |
We should be more active in testing this and giving feedback. Nobody else will do and then next python-bitcointx release will never happen. I'm reckless and running this code on mainnet now. Even things like - "runned this for a while with yield generator, noticed no issues" would be helpful. |
Testing |
215af19
to
0866740
Compare
Rebased against current master, so that it's easy for people to test against other recent changes. |
I have seen successful transactions since then, no issue to report so far. |
0866740
to
9410b9c
Compare
python-bitcointx 1.1.4 has been released. https://github.com/Simplexum/python-bitcointx/releases/tag/python-bitcointx-v1.1.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 9410b9c
Interesting, I'm installing right now and the |
tACK 9410b9c (Earlier deleted comment - I forgot to do Pretty minimal testing, just relevant parts of test suite, full installation (see comment above about secp tests), and starting a yieldgen script, but I believe it's enough. |
It might be worth adding some "flavour" comments here: The leftover dependency in python-bitcointx, on openssl, was related to DER encoding of ECDSA signatures, i.e. consensus in bitcoin for a long time depended on applying the rules to what is and is not a valid serialized ECDSA signature, using the rules as applied in openSSL. OpenSSL dependency in Bitcoin Core was removed in 2019, it had been used for other stuff than ECDSA, e.g. BIP70 and some randomness stuff(?), but the important thing here is that, after BIP66 got activated, the only "non-strict" encoding of ECDSA signatures that Core would ever have to deal with, would be the historical ones pre-BIP66 activation, so they used a chunk of parsing code that they knew worked with that specific set of historical signatures (by testing it). GMax explains this much better than I could here. And python-bitcointx includes the same logic as of Simplexum/python-bitcointx#77. Does it matter for Joinmarket? Kinda no, actually. Part of python-bitcointx's idiosyncracies, which are explained in detail in the README file of the repo, is that its What we could do is call The openSSL dependency we have that still remains, is the one in twisted that is used for certificates. Presumably that can use openSSL 3, but I'm not sure of some details here - pyOpenSSL apparently supports both openSSL 1.1 and openSSL 3, but I'm not sure if what twisted uses, is a function of the twisted version, or if it should somehow be manually set (and indeed, whether it matters). |
If you ran the libsecp |
See Simplexum/python-bitcointx#75.
This updates libsecp256k1 to latest v0.3.2 release and python-bitcointx to current master. Currently for testing purposes only, for merging into master we will need to wait for a new python-bitcointx release.