-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpc: add ChainHash message with both bytes and string representations
This commit introduces the `ChainHash` RPC message, which contains two fields: - A raw byte representation of the hash, ideal for direct use in Go RPC calls. - A byte-reversed hexadecimal string representation of the hash, convenient for users who need to copy and paste the value, such as when passing it as a command-line argument.
- Loading branch information
Showing
5 changed files
with
1,066 additions
and
921 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
Oops, something went wrong.