BIP-374: add generated test vector .csv files #1735

pull theStack wants to merge 1 commits into bitcoin:master from theStack:bip374-add_generated_test_vectors changing 2 files +22 −0
  1. theStack commented at 4:31 pm on December 30, 2024: contributor

    Even though the test vector generation script is available for BIP-374, I think it’s generally a good practice to store the generated test vectors available in the BIP repository as well, so that everyone can verify that it yields deterministic results. In case refactoring / bugfix changes are needed in the test generation script in the future (e.g. #1729 for a recent example), one can check that the results are still equal.

    Can be tested by:

    0$ cd ./bip-0374
    1$ sha256sum *.csv
    2$ ./gen_test_vectors.py
    3$ sha256sum *.csv
    

    Both sha256sum commands should result in the same hash values.

  2. BIP-374: add generated test vector .csv files a00064fcfa
  3. murchandamus commented at 5:59 pm on December 30, 2024: contributor
  4. andrewtoth approved
  5. andrewtoth commented at 8:49 pm on December 30, 2024: contributor
    ACK a00064fcfad8fce97ad104eafcc3ae39c7694b8f
  6. jonatack commented at 4:28 pm on December 31, 2024: member
    Concept and tested ACK a00064fcfad8fce97ad104eafcc3ae39c7694b8f
  7. jonatack merged this on Dec 31, 2024
  8. jonatack closed this on Dec 31, 2024

  9. theStack deleted the branch on Dec 31, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-01-21 07:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me