witness

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package witness provides functions dealing with transaction's witnesses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVerificationScript

func GetVerificationScript(w Witness) []byte

GetVerificationScript returns verification script stored in the given witness. It uses `Neo.Witness.GetVerificationScript` syscall.

Types

type Witness

type Witness struct{}

Witness is an opaque data structure that can only be created by transaction.GetWitnesses and representing transaction's witness.

Jump to

Keyboard shortcuts

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