Documentation
¶
Index ¶
Constants ¶
View Source
const BorTxKeyPrefix string = "matic-bor-receipt-"
Variables ¶
This section is empty.
Functions ¶
func BorReceiptKey ¶
BorReceiptKey = num (uint64 big endian)
func ComputeBorTxHash ¶
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 ¶
NewBorTransaction create new bor transaction for bor receipt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.