Skip to content

Display entire hash #13

Description

@jakecraige

Hi there,

Thanks for building this CLI. It's a really cool way to play around with a blockchain in a really interactive way.

Is there a way to display the full hash and previous hash values? I think it would be helpful if one could take the previous block and manually calculate the next hash to get a deeper understanding of how the blocks are generated, unfortunately the hash is clipped in the table display like so:

┌─────────────────────────────────────────┐
│               ⛓  Block #1               │
├────────────────────┬────────────────────┤
│ ⏮  Previous Hash   │ 0000018035a828da0… │
├────────────────────┼────────────────────┤
│ 📅  Timestamp       │ Fri, 15 Sep 2017   │
│                    │ 16:04:40 GMT       │
├────────────────────┼────────────────────┤
│ 📄  Data            │ hello              │
├────────────────────┼────────────────────┤
│ 📛  Hash            │ 00002ddfc3a099f0b… │
├────────────────────┼────────────────────┤
│ 🔨  Nonce           │ 86328              │
└────────────────────┴────────────────────┘

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions