Skip to content
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

Minor clarification of ExtID with zero length #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WhoSoup
Copy link
Member

@WhoSoup WhoSoup commented Jun 29, 2020

(thanks to @ilzheev for this discovery)

It is currently possible to add zero-length ExtIDs and both the factom client and factomd handle them fine.

Example: https://explorer.factom.pro/chains/98133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add29

image

This entry has three ExtIDs that are zero length. Raw data: 0098133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add2900090000000000000001de224e657720636861696e2e22

          Version: 00
         Chain ID: 98133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add29
      ExtID Bytes: 0009
Length of ExtID 1: 0000 
Length of ExtID 2: 0000
Length of ExtID 3: 0000
Length of ExtID 4: 0001
  Data of ExtID 4: de
          Content: 224e657720636861696e2e22

It is currently possible to add zero-length ExtIDs and both the factom client and factomd handle them fine.

Example: https://explorer.factom.pro/chains/98133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add29
This entry has three ExtIDs that are zero length. Raw data: `0098133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add2900090000000000000001de224e657720636861696e2e22`

```
          Version: 00
         Chain ID: 98133e8546d2ced588807803795b1bad5d7cfa2faa0371bfcf5e560ccf5add29
      ExtID Bytes: 0009
Length of ExtID 1: 0000 
Length of ExtID 2: 0000
Length of ExtID 3: 0000
Length of ExtID 4: 0001
  Data of ExtID 4: de
          Content: 224e657720636861696e2e22
```
@ilzheev
Copy link

ilzheev commented Jul 2, 2020

Factom Realtime Explorer now supports zero-length extIDs for chains and entries.
https://explorer.factom.pro/chains/14c8ea104217eab8b1e467b2966f8786e91ffddb84f024f0f2a5700890cce4e2

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants