version

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(v version.Version) bool

IsValid checks if Version is not earlier than the genesis version of the NeoFS.

func OwnerSignatureMatchRequired added in v0.52.0

func OwnerSignatureMatchRequired(v *version.Version) bool

OwnerSignatureMatchRequired returns true if an object with the given version must have the owner matching the signature's public key. Objects below version 2.18 may have a mismatching owner due to a bug that allowed creating such objects, so they should not be rejected.

func SysObjTargetShouldBeInHeader added in v0.48.0

func SysObjTargetShouldBeInHeader(v *version.Version) bool

SysObjTargetShouldBeInHeader returns true if TS/LOCK system objects should store its targets in header, not in payload.

func ValidNewObject added in v0.52.0

func ValidNewObject(v *version.Version) bool

ValidNewObject checks if version is a correct for new objects in the system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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