Skip to content

Commit

Permalink
Add example SHA256 hash of description
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomd authored May 25, 2022
1 parent c74a3bb commit 6b0e0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 11-payment-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ Breakdown:
* `p`: payment hash...
* `h`: tagged field: hash of description
* `p5`: `data_length` (`p` = 1, `5` = 20; 1 * 32 + 20 == 52)
* `8yjmdan79s6qqdhdzgynm4zwqd5d7xmw5fk98klysy043l2ahrqs`: SHA256 of 'One piece of chocolate cake, one icecream cone, one pickle, one slice of swiss cheese, one slice of salami, one lollypop, one piece of cherry pie, one sausage, one cupcake, and one slice of watermelon'
* `8yjmdan79s6qqdhdzgynm4zwqd5d7xmw5fk98klysy043l2ahrqs`: SHA256 of 'One piece of chocolate cake, one icecream cone, one pickle, one slice of swiss cheese, one slice of salami, one lollypop, one piece of cherry pie, one sausage, one cupcake, and one slice of watermelon' (SHA256 hex: `3925b6f67e2c340036ed12093dd44e0368df1b6ea26c53dbe4811f58fd5db8c1`)
* `9`: features
* `qr`: `data_length` (`q` = 0, `r` = 3; 0 * 32 + 3 == 3)
* `sgq`: b100000100000000
Expand Down

0 comments on commit 6b0e0f3

Please sign in to comment.