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

Backports and changes to fix CI #1161

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

psgreco
Copy link
Contributor

@psgreco psgreco commented Sep 5, 2022

This is an always draft test PR

@psgreco psgreco force-pushed the elements-22-fix-ci branch 2 times, most recently from 1ce5299 to c4d5a2e Compare September 7, 2022 00:43
@psgreco psgreco closed this Sep 7, 2022
@psgreco psgreco deleted the elements-22-fix-ci branch September 7, 2022 20:52
@psgreco psgreco restored the elements-22-fix-ci branch October 17, 2022 00:50
@psgreco psgreco reopened this Oct 17, 2022
@psgreco psgreco force-pushed the elements-22-fix-ci branch 5 times, most recently from d991b9f to f1ddd5d Compare October 17, 2022 15:08
@psgreco psgreco force-pushed the elements-22-fix-ci branch 4 times, most recently from 180e5a3 to 67df486 Compare January 26, 2023 17:59
@psgreco psgreco force-pushed the elements-22-fix-ci branch 2 times, most recently from bc32ff6 to a3dff72 Compare March 1, 2023 12:27
@psgreco psgreco force-pushed the elements-22-fix-ci branch from a3dff72 to 9ef0265 Compare April 17, 2023 14:53
@psgreco psgreco force-pushed the elements-22-fix-ci branch 2 times, most recently from d6e45b5 to fa51e27 Compare July 20, 2023 00:05
@psgreco psgreco force-pushed the elements-22-fix-ci branch from fa51e27 to adbdb3d Compare August 8, 2023 19:27
@psgreco psgreco force-pushed the elements-22-fix-ci branch 3 times, most recently from 31b5de2 to c06a2e2 Compare October 2, 2023 21:16
@psgreco psgreco changed the base branch from elements-22.x to elements-23.x January 27, 2025 17:37
@psgreco psgreco force-pushed the elements-22-fix-ci branch 3 times, most recently from 844b74e to df4d00f Compare January 27, 2025 21:14
@psgreco psgreco deleted the elements-22-fix-ci branch February 26, 2025 13:07
@psgreco psgreco reopened this Feb 26, 2025
@psgreco psgreco changed the base branch from elements-23.2.x to master February 26, 2025 13:22
@psgreco psgreco closed this Feb 26, 2025
@psgreco psgreco reopened this Feb 26, 2025
@psgreco psgreco force-pushed the elements-22-fix-ci branch 9 times, most recently from 789c398 to 8a5545b Compare March 4, 2025 12:00
@psgreco psgreco force-pushed the elements-22-fix-ci branch from 8a5545b to 913a587 Compare March 4, 2025 21:50
@psgreco psgreco force-pushed the elements-22-fix-ci branch from 1f2371b to c151978 Compare March 5, 2025 13:00
mzumsande and others added 6 commits March 5, 2025 07:36
This class is the counterpart to CHashVerifier, in that it
writes data to an underlying source stream,
while keeping a hash of the written data.

Github-Pull: #26909
Rebased-From: da6c7ae
(cherry picked from commit fd94bef)
The previous logic would call it once for serializing into the filestream,
and then again for serializing into the hasher. If AddrMan was changed
in between these calls by another thread, the resulting peers.dat would
be corrupt with non-matching checksum and data.
Fix this by using HashedSourceWriter, which writes the data
to the underlying stream and keeps track of the hash in one go.

Github-Pull: #26909
Rebased-From: 5eabb61
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.

3 participants