wharfkit / antelope

Core types, client interfaces, and other tools for working with Antelope-based blockchains.
Other
42 stars 23 forks source link

Create `BlockID` class that extends `Checksum256` #65

Closed aaroncox closed 1 year ago

aaroncox commented 1 year ago

https://github.com/greymass/eosio-core/blob/1de041c7824bfc472e23806eee5452182d711f1c/src/p2p/types.ts#L128-L135

This function would be useful in a number of places where BlockId are being used. Should we create a specific type for this data type, that extends a Checksum256, and has this on it as a helper?