-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #1510: Improve BIP21 parser, add typehints and improve test cov…
…erage 88bd45b Parse URI params in guaranteed order, for duplicates, last one wins (Kristaps Kaupe) cd1f394 Add test coverage for is_bip21_uri() (Kristaps Kaupe) 6b2a248 Add typehints to BIP21 code (Kristaps Kaupe) Pull request description: First commit adds typehints to BIP21 code, which now I try to do with any code I seriously touch. Second commit adds test coverage for `is_bip21_uri()` public function. Third commit makes sure we parse URI parameters in guaranteed order, if there are duplicates, last one wins. See bitcoin/bitcoin#27928 for context. ACKs for top commit: AdamISZ: tACK 88bd45b Tree-SHA512: fcc0055dc2e12cff7d9246c6bd0207c7481da1070ca0d15b478456a1a5b57db61820fba3764ce5d9947565ded724fec2ef3c9856ab5055b5d2b0244395517afa
- Loading branch information
Showing
2 changed files
with
42 additions
and
14 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