I wanted to use this sysvar to get a recent block hash, but I didn't know whether the first or the last entry contains the most recent block hash. By calling it for mainnet, printing the results, and comparing that to the recent blocks on solanabeach.io/blocks, I discovered that the entries are ordered from most recent to least recent. Document this to save future readers the trouble. |
||
---|---|---|
.. | ||
clients | ||
on-chain-programs | ||
programming-model | ||
runtime-facilities | ||
backwards-compatibility.md | ||
test-validator.md |