Skip to content

Add 1791475200 - #77

Merged
fjahr merged 1 commit into
bitcoin-core:mainfrom
fjahr:add_1791475200
Oct 20, 2026
Merged

fjahr merged 1 commit into
bitcoin-core:mainfrom
fjahr:add_1791475200

Conversation

@fjahr

@fjahr fjahr commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #75

This adds the latest_asmap.dat result for the coordinated launch from #75 for epoch 1791475200. We had a match from 6/11 participants. The sha256 hashes after encoding the file are:

final_result.txt (output of the run): 8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b
filled / latest_asmap.dat: c6cca4edd08d5884f021c1fcc7c7ba1b18a65597987481f6f6acb7f9a33e2f35
unfilled: a38ac477ecb7eb8fe5d377a04652612786e4c15e83642590f9d8d94fd09ec293

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

$ sha256sum out/1791475200/final_result.txt
8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b  out/1791475200/final_result.txt

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

$ sha256sum 2026/1791475200_asmap.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  2026/1791475200_asmap.dat

$ python bitcoin/contrib/asmap/asmap-tool.py encode final_result.txt 1791475200_asmap_unfilled.dat

$ sha256sum 2026/1791475200_asmap_unfilled.dat
52004526ae922585ed93beb193df9c2d2f37a92c6cdb4105694d248ee188edc0  2026/1791475200_asmap_unfilled.dat

# also check the latest_asmap.dat file is the filled ASmap
$ sha256sum latest_asmap.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  latest_asmap.dat

@jurraca

jurraca commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

I get different hashes from encoding for 8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b

$ sha256sum out/r1791475200/final_result.txt
8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b  out/r1791475200/final_result.txt
$ python ~/code/bitcoin/contrib/asmap/asmap-tool.py encode out/r1791475200/final_result.txt 1791475200_asmap_unfilled.dat
$ sha256sum 1791475200_asmap_unfilled.dat
52004526ae922585ed93beb193df9c2d2f37a92c6cdb4105694d248ee188edc0  1791475200_asmap_unfilled.dat
$ python ~/code/bitcoin/contrib/asmap/asmap-tool.py encode --fill out/r1791475200/final_result.txt 1791475200_asmap.dat
$ sha256sum 1791475200_asmap.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  1791475200_asmap.dat

Ran it a few times, did you mix up final_result files?

@hodlinator

Copy link
Copy Markdown
Contributor

Agree with jurraca that this PR seems incorrect.

  • Downloaded tar.gz from Collaborative Launch 1791475200 (Thursday October 8, 2026 16:00 UTC) #75 (comment)

  • Ran kartograf repro:

    $ ./run map -r /home/hodlinator/Downloads/1791475200/ -t 1791475200
    ...
    --- Finishing Kartograf ---
    
    The SHA-256 hash of the result file is: 8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b
    
  • $ sha256sum out/r1791475200/final_result.txt
    8837910449569b364014b4b23acd2b0290fe73d6dceaa5569c0844d1376dbb0b  out/r1791475200/final_result.txt
    
  • $ python contrib/asmap/asmap-tool.py encode --fill ~/kartograf/out/r1791475200/final_result.txt 1791475200_asmap.dat
    $ sha256sum 1791475200_asmap.dat
    92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  1791475200_asmap.dat
    
  • $ python contrib/asmap/asmap-tool.py encode ~/kartograf/out/r1791475200/final_result.txt 1791475200_asmap_unfilled.dat
    $ sha256sum 1791475200_asmap_unfilled.dat 
    52004526ae922585ed93beb193df9c2d2f37a92c6cdb4105694d248ee188edc0  1791475200_asmap_unfilled.dat
    

Does not match this PR at b5313dd:

~/asmap-data
₿ sha256sum latest_asmap.dat 
c6cca4edd08d5884f021c1fcc7c7ba1b18a65597987481f6f6acb7f9a33e2f35  latest_asmap.dat

@fjahr

fjahr commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator Author

I get different hashes from encoding

Yeah, sorry @jurraca @hodlinator , I encoded my own result instead of the real final_result.txt that matched the run. When running the encoding just reran the same commands from my terminal history as usual but since I only got the final result from reproducing the raw inputs I got from somewhere else that meant the folder name was missing the r prefix. I pushed the correct files now and they seem to match the file hashes you reported.

@hodlinator

Copy link
Copy Markdown
Contributor

@fjahr seems like you only updated the commit timestamp and forgot to update the files?

₿ git range-diff b5313dd6...8b5e04d8
1:  b5313dd = 1:  8b5e04d Add 1791475200

@fjahr

fjahr commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator Author

Ugh, forgot the git add part...

@hodlinator hodlinator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK 76e48b6

₿ sha256sum latest_asmap.dat 2026/1791475200_asmap.dat 2026/1791475200_asmap_unfilled.dat 
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  latest_asmap.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  2026/1791475200_asmap.dat
52004526ae922585ed93beb193df9c2d2f37a92c6cdb4105694d248ee188edc0  2026/1791475200_asmap_unfilled.dat

Comment thread latest_asmap.dat

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update the PR desc with the correct hashes.

@jurraca

jurraca commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

ACK 76e48b6

I recreated the hashes above #77 (comment)

$ sha256sum latest_asmap.dat 2026/1791475200_asmap.dat 2026/1791475200_asmap_unfilled.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  latest_asmap.dat
92ac7888ce31ed8f29545acb1e8e1a4ec18dfeacdbd850d1787481a675f36664  2026/1791475200_asmap.dat
52004526ae922585ed93beb193df9c2d2f37a92c6cdb4105694d248ee188edc0  2026/1791475200_asmap_unfilled.dat

@fjahr
fjahr merged commit ea0f691 into bitcoin-core:main Oct 20, 2026
3 checks passed
@fjahr

fjahr commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

Fixed the description as well, thanks for the review @hodlinator and @jurraca !

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.

Collaborative Launch 1791475200 (Thursday October 8, 2026 16:00 UTC)

3 participants