limits

package
v0.106.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package limits contains a number of system-wide hardcoded constants. Many of the Neo protocol parameters can be adjusted by the configuration, but some can not and this package contains hardcoded limits that are relevant for many applications.

Index

Constants

View Source
const (
	// MaxStorageKeyLen is the maximum length of a key for storage items.
	// Contracts can't use keys longer than that in their requests to the DB.
	MaxStorageKeyLen = 64
	// MaxStorageValueLen is the maximum length of a value for storage items.
	// It is set to be the maximum value for uint16, contracts can't put
	// values longer than that into the DB.
	MaxStorageValueLen = 65535
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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