-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add additional data to block metadata (#84)
- Add additional fields and data to BlockMetadata - Make all the Block related hash strings base64 encoded - Change block timestamp to represent in seconds since epoch rather than ISO8601 format. - Omit keys from block or transaction data when their values are undefined. BREAKING CHANGES - `timestamp` in `BlockMetadata` is now an epoch seconds number, rather than an ISO8601 string to match other timestamps. - `hash` and `previousBlockHash` in `BlockMetadata` are now base64 encoded strings, rather than base32 encoded strings. This matches the format used in the indexer api. --------- Co-authored-by: Neil Campbell <[email protected]>
- Loading branch information
1 parent
7b3a893
commit 1633a09
Showing
32 changed files
with
725 additions
and
289 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
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
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.