-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add address
subcommand to encode/decode address to/from puzzle hash
#2
add address
subcommand to encode/decode address to/from puzzle hash
#2
Conversation
Thank you for adding this. Sorry I didn't see it until now. I like what you've done here. I've thought about adding things like this from cdv. I'm inclined to merge it as-is but I'd like to take a minute to think about the precent and see if this is in line with how we might want to do similar features in the future. |
I think my main concern here is with the name What do you think @leonid-ed ? |
@cmmarslender is this version of |
0.14.2 is latest, though the packages used here likely haven't changed since the version here (though that also should make this a fairly easy thing to update in the PR real quick) |
acc6c33
to
06a8dd1
Compare
@cameroncooper Thank you for review! Yes, your suggestion makes sense, I agree. I've updated the PR accordingly, please take a look. |
address
subcommand to encode/decode address to/from puzzle hash
746edfc
to
4851a9f
Compare
@cameroncooper I've also bumped up If this is an issue, then let me know and I will revert that change. |
ad3efff
to
02009f0
Compare
02009f0
to
237bd9f
Compare
I just pushed some changes, please see if you like them. I made some tweaks to the naming so it's like:
I removed the JSON formatting from these results because it felt unnecessary since they were not coming from the RPC server, but tell me if you disagree. But while I was reverting the refactor to the JSON output, I made some tweaks while I was in there. I made it so you can use -q and -r at the saw time, which I thought would be nice. |
@cameroncooper Your changes look good to me! Thank you! |
commit 0481ae6 Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 15:01:33 2024 -0500 tag and release on push to main commit 7cfe6cf Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 14:53:20 2024 -0500 fix build tagging commit dcbe259 Author: Cameron Cooper <[email protected]> Date: Tue Sep 24 14:50:37 2024 -0500 fix build tagging commit a833296 Author: cameroncooper <[email protected]> Date: Tue Sep 24 14:43:36 2024 -0500 added get_aggsig_additional_data command (coinset-org#5) * added get_aggsig_additional_data command
This PR aims to add a new subcommand
address
:address encode
to encode address to puzzle hashaddress decode
to decode address from puzzle hashExamples of usages:
Also it adds the following help output for the new subcommand: