Help us shape the future of Go! Take the 2026 Go Developer Survey

resource_block_transaction

package
v0.57.21 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockTransactionResource

type BlockTransactionResource struct {
	// contains filtered or unexported fields
}

BlockTransactionResource wraps a block.Transaction for resource access.

func NewBlockTransactionResource

func NewBlockTransactionResource(le *logrus.Entry, b bus.Bus, tx *block.Transaction, rootCursor *block.Cursor) *BlockTransactionResource

NewBlockTransactionResource creates a new BlockTransactionResource.

func (*BlockTransactionResource) GetMux

GetMux returns the rpc mux.

func (*BlockTransactionResource) GetRootCursor

GetRootCursor returns the root cursor of the transaction.

func (*BlockTransactionResource) Write

Write writes the transaction to storage and returns the root reference.

Jump to

Keyboard shortcuts

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