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

Replaces hash for sha256, and adds first iter for consistency #11

Open
wants to merge 11 commits into
base: silent-payments-bip
Choose a base branch
from

Conversation

sr-gi
Copy link

@sr-gi sr-gi commented Nov 28, 2023

sha256 is used as the hashing function up until "Using all inputs", from where hash is used. The same naming should be used for consistency. Furthermore, the example for all inputs does not include the step pace for outpoint_hash, but it does for a. Given they both use the same pace and number of iterations, it'll be best to make them look the same

josibake and others added 11 commits August 9, 2023 11:49
undo the bip32 derivation changes, much simpler to keep it as two separately derived keys for now
Various fixes and clarifications
… change)

Hashing a secret into the label, added footnote about worst-case implications of this when forgetting to increment k, explicitly added the 1023 character limit (5115 bytes), toned done wording of safety of collaborative transactions, made change label m=0, clarified the need to scan change label by default
Various important fixes (secret labels, security assumptions, limits, change)
Still better if there is a limit, but the rationale for the current limit made no sense
Co-authored-by: Vojtěch Strnad <[email protected]>
Fixed various typos and made clarifications. All hashes in Specification are now explicitly sha256. Made terminology "Y coordinate" and "X-only" consistent.
`sha256` is used as the hashing function up until "Using all inputs", from
where `hash` is used. The same naming should be used for consistency.
Furthermore, the example for all inputs does not include the step pace
for `outpoint_hash`, but it does for `a`. Given they both use the same
pace and number of iterations, it'll be best to make them look the same
@josibake josibake force-pushed the silent-payments-bip branch 7 times, most recently from b349517 to d73e924 Compare January 16, 2024 17:24
@josibake josibake force-pushed the silent-payments-bip branch 2 times, most recently from 30cdd03 to a2b52fe Compare January 26, 2024 16:27
@josibake josibake force-pushed the silent-payments-bip branch from 1e10265 to 9912b88 Compare February 19, 2024 14:27
@josibake josibake force-pushed the silent-payments-bip branch from 73f1a52 to 359fa75 Compare February 26, 2024 15:36
@josibake josibake force-pushed the silent-payments-bip branch from 2857784 to 92b12ab Compare March 14, 2024 10:22
@josibake josibake force-pushed the silent-payments-bip branch from 92b12ab to f6dd067 Compare March 21, 2024 19:27
@josibake josibake force-pushed the silent-payments-bip branch 2 times, most recently from 9c82669 to 57c89ae Compare April 4, 2024 06:21
@josibake josibake force-pushed the silent-payments-bip branch 3 times, most recently from d8ed18c to 36fefe5 Compare May 1, 2024 15:21
@josibake josibake force-pushed the silent-payments-bip branch from 32a3293 to 82c2f78 Compare May 8, 2024 16:16
@josibake josibake force-pushed the silent-payments-bip branch 2 times, most recently from a60bfc3 to 17e1d16 Compare May 8, 2024 16:34
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