02Sheet 02.03.015 · Entries

A payment of 9.5e15 stroops, above 2^53

An amount above 2^53 cannot be held exactly by a double: JavaScript numbers and float JSON parsers round it.

FIG. · Where it sits · inside LedgerCloseMetapre-cap · H-B3
PaymentOp.amount above 2^53 stroops

The shape

An amount above 2^53 cannot be held exactly by a double: JavaScript numbers and float JSON parsers round it.

Variants

VariantProtocolNetworkSourceSizesha256
p30-mainnet-generatedP30mainnet passphrasegenerated by stellar-core v30.0.02,668 B7df1ef2e592b…
p30-testnet-generatedP30testnet passphrasegenerated by stellar-core v30.0.02,668 B8e87f16dfff2…

What a correct reader returns

A correct reader findsValueBacked by
The amount is 9500000000000000 stroops.9500000000000000constructionsnapshotcorewalker
Operation 0 succeeds.successsnapshotcorewalker

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 amount.payment-above-2-pow-53 · compiled from catalog/amount.payment-above-2-pow-53.json · entry.json

On this page