02Sheet 02.03.018 · Entries

Every ScVal number and time type at its extreme

i64 min, u128 max, i128 min, u256 max, i256 min, timepoint and duration max, 64 bytes, a non-UTF-8 string, bool and void in one vector: storage, event and return value.

FIG. · Where it sits · inside LedgerCloseMetaCAP-0046 · H-B4 · H-B5
ScVal wide integers, timepoint and duration at min and max
ScString bytes that are not UTF-8

The shape

i64 min, u128 max, i128 min, u256 max, i256 min, timepoint and duration max, 64 bytes, a non-UTF-8 string, bool and void in one vector: storage, event and return value.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.03,580 Baab0e610a3ee…
p28-mainnet-generatedP28mainnet passphrasegenerated by stellar-core v30.0.03,572 B254d46c7df36…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.03,580 Bdaa4c0d70a61…
p28-testnet-generatedP28testnet passphrasegenerated by stellar-core v30.0.03,572 Be42a25ae92ca…

What a correct reader returns

A correct reader findsValueBacked by
u128 max is 340282366920938463463374607431768211455.some change where 1 fields matchconstructionsnapshotcorewalker
The string holds ff fe 41.some change where 1 fields matchconstructionsnapshotcorewalker

Check it yourself

make verify   # schema, hashes, the byte-for-byte round trip and every fact above
make oracle   # the facts' values, re-read by stellar-core and the schema walker

Entry id scval.every-number-and-time-type · compiled from catalog/scval.every-number-and-time-type.json · entry.json

On this page