fee

package
v0.95.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 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