@instagibbs I get these results for a 'mainnet' address used on testnet. What would you like to see in the new error messages? Address type mentioned in error based on prefix/hrp and network used?
instagibbs
commented at 10:55 PM on December 31, 2020:
member
Yeah ideally the message would have appended the detail "wrong network" or
something like that.
@instagibbshttps://github.com/instagibbs I get these results for a
'mainnet' address used on testnet. What would you like to see in the new
error messages? Address type mentioned in error based on prefix/hrp?
eilx2
commented at 3:09 AM on January 1, 2021:
none
Hello! I would be interested in working on this feature as it seems a good way for a first contribution. I've already managed to add an additional property called "error_msg" inside "validateaddress" in case the address is not valid and set it when the address is invalid.
As for testing, I suppose I should add a functional test for this feature am I right?
instagibbs
commented at 12:10 PM on January 1, 2021:
member
@eilx2 Yes, check for assert_raises_rpc_error in the functional suite for inspiration on how to check these string returns.
instagibbs
commented at 12:11 PM on January 1, 2021:
member
When you open the PR feel free to tag me :+1:
eilx2 referenced this in commit 7789374edf on Jan 3, 2021
eilx2 referenced this in commit 5bcd90b9f7 on Jan 3, 2021
eilx2 referenced this in commit daf5f66702 on Jan 3, 2021
eilx2 referenced this in commit 36459e0e9d on Jan 3, 2021
eilx2 referenced this in commit a913ee945c on Jan 3, 2021
eilx2 referenced this in commit e9136878eb on Jan 3, 2021
eilx2 referenced this in commit ef0a4f7083 on Jan 3, 2021
eilx2 referenced this in commit 0f8f3344b9 on Jan 3, 2021
eilx2 referenced this in commit f1c7aea502 on Jan 3, 2021
eilx2 referenced this in commit 65ca93d515 on Jan 4, 2021
eilx2 referenced this in commit 11de868a3d on Jan 4, 2021
eilx2 referenced this in commit f58a4ed145 on Jan 4, 2021
eilx2 referenced this in commit 8f0b64fb51 on Jan 24, 2021
meshcollider referenced this in commit 4b15ffe991 on Jan 26, 2021
remyers referenced this in commit d8591de9a3 on Jan 26, 2021
jarolrod
commented at 6:06 AM on February 26, 2021:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:14 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me