Skip to content

Conversation

maflcko
Copy link
Contributor

@maflcko maflcko commented Nov 30, 2023

Similar to #159

Transform the inputs after the format change in bitcoin/bitcoin@fa7eb4f

Done by nuking the first 4 bytes with:

for f in ./block/*        ; do python -c "fn=\"$f\"; print(fn); open(fn+'.new', 'wb').write(open(fn,'rb').read()[4:]);" ; done 
for f in ./transaction/*  ; do python -c "fn=\"$f\"; print(fn); open(fn+'.new', 'wb').write(open(fn,'rb').read()[4:]);" ; done 
for f in ./*_deserialize/*; do python -c "fn=\"$f\"; print(fn); open(fn+'.new', 'wb').write(open(fn,'rb').read()[4:]);" ; done 

@maflcko
Copy link
Contributor Author

maflcko commented Dec 5, 2023

@dergoegge @fanquake

Copy link
Member

@dergoegge dergoegge left a comment

Choose a reason for hiding this comment

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

lgtm

@fanquake fanquake merged commit 38d7a06 into bitcoin-core:main Dec 5, 2023
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