interfaces

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICrypto

type ICrypto interface {
	Hash168(data []byte) []byte

	Hash256(data []byte) []byte

	VerifySignature(data []byte, signature []byte, pubkey []byte) error
}

type IDataContainer

type IDataContainer interface {
	GetData() []byte
}

type IGeneralInterface

type IGeneralInterface interface {
	Bytes() []byte
}

type IScriptTable

type IScriptTable interface {
	GetScript(hash []byte) []byte
}

type ISignable

type ISignable interface {
	GetSignableData() []byte
}

Jump to

Keyboard shortcuts

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