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

Fix noise-handshake operations order #729

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

jakubtrnka
Copy link
Contributor

This fixes issue #728

@jakubtrnka jakubtrnka changed the base branch from main to dev January 22, 2024 17:15
@jakubtrnka
Copy link
Contributor Author

Unit tests for the correctness of each step should be added.

@Fi3
Copy link
Collaborator

Fi3 commented Jan 22, 2024

@Sjors as soon as we have it on the TP we can merge

@Sjors
Copy link
Collaborator

Sjors commented Jan 22, 2024

A test case would indeed be very useful here, if only so that I can add it to the TP in Bitcoin Core and make sure the issue is fixed.

@Sjors
Copy link
Collaborator

Sjors commented Jan 25, 2024

Implemented the same on the Bitcoin Core side. Untested.
Sjors/bitcoin#33

We should coordinate the merge timing for this.

@Sjors
Copy link
Collaborator

Sjors commented Jan 29, 2024

tACK 729cdec

Tested against the Bitcoin Core branch.

@pavlenex pavlenex linked an issue Jan 29, 2024 that may be closed by this pull request
@pavlenex pavlenex merged commit a8966e4 into stratum-mining:dev Feb 2, 2024
11 checks passed
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.

Incorrect order of arithmetic operations during handshake
4 participants