types

package
v1.9.7-0...-bd3c5c6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BorTxKeyPrefix string = "matic-bor-receipt-"

Variables

This section is empty.

Functions

func BorReceiptKey

func BorReceiptKey(number uint64) []byte

BorReceiptKey = num (uint64 big endian)

func ComputeBorTxHash

func ComputeBorTxHash(blockNumber uint64, blockHash libcommon.Hash) libcommon.Hash

ComputeBorTxHash get derived txn hash from block number and hash

func DeriveFieldsForBorReceipt

func DeriveFieldsForBorReceipt(receipt *types.Receipt, blockHash libcommon.Hash, blockNumber uint64, receipts types.Receipts)

DeriveFieldsForBorReceipt fills the receipts with their computed fields based on consensus data and contextual infos like containing block and transactions.

func NewBorTransaction

func NewBorTransaction() *types.LegacyTx

NewBorTransaction create new bor transaction for bor receipt

Types

This section is empty.

Jump to

Keyboard shortcuts

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