Skip to content

Conversation

jurraca
Copy link
Contributor

@jurraca jurraca commented Aug 15, 2025

This adds the latest_asmap.dat result for the coordinated launch from #28 for epoch 1755187200. We had a match from 6/8 participants in the coordinated launch.

The sha256 hash after encoding the file are:

  • filled (encoded with --fill) / latest_asmap.dat: 447d13a870e42e4a61e7933572b700872386e40529a69a7e0880816acf8a9012
  • unfilled 8f6325dd68ab387295e20182330ea0f05a3b1c3af6a8efa63d2210950ce88462.

To confirm the result of the encoding you can use asmap-tool.

$ sha256sum final_result.txt
97c5e82a1626afdaa40989b957bb84650907c30df9d666f4246f15c5e6db40a7 final_result.txt

$ python bitcoin/contrib/asmap/asmap-tool.py encode --fill final_result.txt 1755187200_asmap.dat

$ sha256sum 1755187200_asmap.dat
447d13a870e42e4a61e7933572b700872386e40529a69a7e0880816acf8a9012 1755187200_asmap.dat

this also removes the oldest ASmap file 1706536800_asmap.dat.

@fjahr
Copy link
Collaborator

fjahr commented Aug 15, 2025

We wanted to add the filled and unfilled versions of the file going forward, per the discussion in #24. The latest_asmap file should be the filled one. I think that's also the reason the new latest file is a lot bigger than the current one, because the file added isn't a filled one but the last time we added a filled one.

@jurraca
Copy link
Contributor Author

jurraca commented Aug 15, 2025

thanks, forgot about that. added the hash for the filled file to the OP.

@fjahr
Copy link
Collaborator

fjahr commented Aug 15, 2025

I think the latest_asmap should be the filled one and I would give the unfilled file the extension _unfilled while the filled one has that normal name without an extension, that way its clearer that the filled file is the one we recommend using as the default and that is potentially embedded into core.

run issue: asmap#28

Adds filled and unfilled versions, with filled as the latest_asmap.dat
@fjahr
Copy link
Collaborator

fjahr commented Aug 15, 2025

ACK, I could reproduce the same files by encoding with and without filling. Also confirmed the file hashes of the files added with the PR.

FYI, the command in the example contains -fill, so it's missing a dash and should be --fill.

@fjahr
Copy link
Collaborator

fjahr commented Aug 15, 2025

FYI, the command in the example contains -fill, so it's missing a dash and should be --fill.

I fixed this, I keep forgetting that I can edit all messages as the repo owner :)

@Emzy
Copy link

Emzy commented Aug 18, 2025

ACK, I could reproduce the same files by encoding with and without filling. Also confirmed the file hashes of the files added with the PR.

$ sha256sum out/1755187200/final_result.txt
97c5e82a1626afdaa40989b957bb84650907c30df9d666f4246f15c5e6db40a7  out/1755187200/final_result.txt
$ python3 ~/bitcoin/contrib/asmap/asmap-tool.py encode --fill ~/kartograf/out/1755187200/final_result.txt 1755187200_asmap.dat
$ sha256sum 1755187200_asmap.dat
447d13a870e42e4a61e7933572b700872386e40529a69a7e0880816acf8a9012  1755187200_asmap.dat

$ python3 ~/bitcoin/contrib/asmap/asmap-tool.py encode ~/kartograf/out/1755187200/final_result.txt 1755187200_asmap.dat
$ sha256sum 1755187200_asmap.dat
8f6325dd68ab387295e20182330ea0f05a3b1c3af6a8efa63d2210950ce88462  1755187200_asmap.dat

@fjahr fjahr merged commit b8d375b into asmap:main Aug 18, 2025
1 check passed
@fjahr
Copy link
Collaborator

fjahr commented Aug 18, 2025

Thanks @Emzy !

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