-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(iroh-cli): Make ticket-inspect print full node ids (#2261)
## Description feat(iroh-cli): Make ticket-inspect print full node ids also add the option to show them in zbase32 format for pkarr interop. I need this in the workshop. Before: ``` Blob ticket: BlobTicket { node: NodeAddr { node_id: PublicKey(sq46x6htizk6222l), info: AddrInfo { relay_url: Some( RelayUrl( "https://euw1-1.relay.iroh.network./", ), ), direct_addresses: { 82.76.245.75:50824, 192.168.1.131:50824, 192.168.1.149:50824, }, }, }, format: HashSeq, hash: Hash( cc4c9cd6bee4e1730447264b8290d83b3f901d88152ff0ecefb5e3050d0c500f, ), } ``` After: ``` BlobTicket hash: zrgjzvv64tqxgbchezfyfegyhm7zahmicux7b3hpwxrqkdimkahq format: HashSeq Node Info node-id: sq46x6htizk6222lyz7jc4ofe3tymyw27joi3jzuhskavjczmcya relay-url: https://euw1-1.relay.iroh.network./ addr: 82.76.245.75:50824 addr: 192.168.1.131:50824 addr: 192.168.1.149:50824 ``` ## Breaking Changes None ## Notes & open questions None ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant. - [x] Tests if relevant. - [x] All breaking changes documented.
- Loading branch information
Showing
5 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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