estimatedsize

package
v0.10.0-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransactionEstimatedSerializedSize

func TransactionEstimatedSerializedSize(tx *externalapi.DomainTransaction) uint64

TransactionEstimatedSerializedSize is the estimated size of a transaction in some serialization. This has to be deterministic, but not necessarily accurate, since it's only used as the size component in the transaction mass and block size limit calculation.

func TransactionOutputEstimatedSerializedSize

func TransactionOutputEstimatedSerializedSize(output *externalapi.DomainTransactionOutput) uint64

TransactionOutputEstimatedSerializedSize is the same as TransactionEstimatedSerializedSize but for outputs only

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL