forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement sending and receiving, per BIP352. This is done without requiring a full wallet, in order to simplify unit testing and to create a more clear boundary as to what pertains to the BIP and what is left to the wallet to decided as an implementation. To correctly hash the public keys, per the BIP, update the HashWriter.write method to accept a Span<unsigned char>. This allows us to easily pass a public key in for hashing, where only the data from the public key is hashed.
- Loading branch information
Showing
2 changed files
with
51 additions
and
44 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