Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shachain: clarify design in terms of binary tree, reverse indexes.
Olaoluwa Osuntokun came up with an alternative which used binary trees; that's a much better way to explain it, so do that in design.txt and update the implementation to work the same way. Anthony Towns pointed out that the numbering is the reverse of the normal hash chaining descriptions, so fix that too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information
1 parent
bb88463
commit d23fb57
Showing
7 changed files
with
248 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.