block

package
v0.90.0-pre Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTransaction

func GetTransaction(b Block, hash []byte) transaction.Transaction

GetTransaction returns a transaction from the given a block hash of the transaction.

func GetTransactionCount

func GetTransactionCount(b Block) int

GetTransactionCount returns the number of recorded transactions in the given block.

func GetTransactions

func GetTransactions(b Block) []transaction.Transaction

GetTransactions returns a slice of transactions recorded in the given block.

Types

type Block

type Block struct{}

Block stubs a NEO block type.

Jump to

Keyboard shortcuts

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