Browse Source
master88bd45b02eParse URI params in guaranteed order, for duplicates, last one wins (Kristaps Kaupe)cd1f394381Add test coverage for is_bip21_uri() (Kristaps Kaupe)6b2a248bb5Add 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 https://github.com/bitcoin/bitcoin/pull/27928 for context. ACKs for top commit: AdamISZ: tACK88bd45b02eTree-SHA512: fcc0055dc2e12cff7d9246c6bd0207c7481da1070ca0d15b478456a1a5b57db61820fba3764ce5d9947565ded724fec2ef3c9856ab5055b5d2b0244395517afa
2 changed files with 42 additions and 14 deletions
Loading…
Reference in new issue