fee

package
v0.98.2-pre Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const ECDSAVerifyPrice = 1 << 15

ECDSAVerifyPrice is a gas price of a single verification.

Variables

This section is empty.

Functions

func Calculate

func Calculate(base int64, script []byte) (int64, int)

Calculate returns network fee for transaction.

func Opcode

func Opcode(base int64, opcodes ...opcode.Opcode) int64

Opcode returns the deployment coefficients of specified opcodes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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