Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + var ErrAddressAlreadyReserved = errors.New("virtual account address already in memory") + var ErrAlreadyInitialized = errors.New("memory account already initalized") + var ErrNoFreeMemory = errors.New("no available free memory") + var ErrNotReserved = errors.New("memory is not reserved") + func GetActualCapcity(record *Record) uint16 + type Record struct + Address string + Capacity uint16 + CreatedAt time.Time + Id uint64 + NumPages uint16 + NumSectors uint16 + PageSize uint8 + StoredAccountType cvm.VirtualAccountType + Vm string + func (r *Record) Clone() Record + func (r *Record) CopyTo(dst *Record) + func (r *Record) Validate() error + type Store interface + FreeMemoryByAddress func(ctx context.Context, address string) error + FreeMemoryByIndex func(ctx context.Context, memoryAccount string, index uint16) error + InitializeMemory func(ctx context.Context, record *Record) error + ReserveMemory func(ctx context.Context, vm string, accountType cvm.VirtualAccountType, ...) (string, uint16, error)