Documentation
¶
Index ¶
Constants ¶
const DefaultLoggedScriptsCacheSize = 1_000_000
DefaultLoggedScriptsCacheSize is the default size of the lookup cache used to dedupe logs of scripts sent to ENs limiting cache size to 16MB and does not affect script execution, only for keeping logs tidy
Variables ¶
This section is empty.
Functions ¶
func ResolveHeightError ¶
ResolveHeightError processes errors returned during height-based queries. If the error is due to a block not being found, this function determines whether the queried height falls outside the node's accessible range and provides context-sensitive error messages based on spork and node root block heights.
Expected errors during normal operation: - storage.ErrNotFound - Indicates that the queried block does not exist in the local database.
Types ¶
type InsufficientExecutionReceipts ¶
type InsufficientExecutionReceipts struct {
// contains filtered or unexported fields
}
InsufficientExecutionReceipts indicates that no execution receipts were found for a given block ID
func NewInsufficientExecutionReceipts ¶
func NewInsufficientExecutionReceipts(blockID flow.Identifier, receiptCount int) InsufficientExecutionReceipts
func (InsufficientExecutionReceipts) Error ¶
func (e InsufficientExecutionReceipts) Error() string