Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8092

Why does `getBlockTime` return a `i64`?

$
0
0

If I check the getBlockTime RPC call, the description for the return type says:

i64 - estimated production time, as Unix timestamp (seconds since the Unix epoch)

Why is this not a u64? There can't be negative timestamps, can there?


Viewing all articles
Browse latest Browse all 8092

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>