fee

package
v0.103.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 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 a transaction.

func Opcode

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

Opcode returns the deployment coefficients of the 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