You are viewing a single comment's thread from:

RE: More Steemit INC Incompetence.

in #incompetence6 years ago

It's not intuitive, but the first four bytes (eight hex characters) of the block_id are the block number. Just take the first eight chars of it and unhexlify it to an int and that's the block number.

Basically, all the blocks IDs are a zero-padded blocknum + the block's hash.

This means that the block IDs sort sequentially when sorted lexicographically, which is not a property that most block identifiers have on other blockchains, being randomly distributed within the hash space.

Sort:  

Thank you, Steem Wizard.

Now, how do you determine the block that a discussion was posted/rewarded on, because this is actually all that matters.

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.029
BTC 56652.41
ETH 2407.11
USDT 1.00
SBD 2.33