forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#21470: BIP 350: Implement Bech32m and use it for v1+ se…
…gwit addresses (0.20 backport) c0f85fd Backport invalid address tests (Pieter Wuille) c670986 naming nits (Fabian Jahr) 1a4e88e Use Bech32m encoding for v1+ segwit addresses (Pieter Wuille) cf18ac9 Add Bech32m test vectors (Pieter Wuille) 5f9537b Implement Bech32m encoding/decoding (Pieter Wuille) Pull request description: Backport of bitcoin#20861 for 0.20. Also includes bitcoin#21471. ACKs for top commit: jnewbery: utACK c0f85fd MarcoFalke: range-diff-only ACK c0f85fd 🐔 Tree-SHA512: e87e52995cb9b555109bc500dba1e844993d881821d2001443b3de9e3ef9050ddb73deefa0c1af732418fa7355a86b875789887c9611c340713b3ad26809d58e
- Loading branch information
Showing
15 changed files
with
566 additions
and
484 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Updated RPCs | ||
------------ | ||
|
||
- Due to [BIP 350](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki) | ||
being implemented, behavior for all RPCs that accept addresses is changed when | ||
a native witness version 1 (or higher) is passed. These now require a Bech32m | ||
encoding instead of a Bech32 one, and Bech32m encoding will be used for such | ||
addresses in RPC output as well. No version 1 addresses should be created | ||
for mainnet until consensus rules are adopted that give them meaning | ||
(e.g. through [BIP 341](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki)). | ||
Once that happens, Bech32m is expected to be used for them, so this shouldn't | ||
affect any production systems, but may be observed on other networks. |
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
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.