fee

package
v0.105.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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