Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Use (mostly numeric) vatID/deviceID everywhere within kernel #157

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

warner
Copy link
Member

@warner warner commented Sep 19, 2019

.. as the index for kernel state data structures, instead of user-provided
vatName/deviceName strings. This will make it easier to use key/value state
storage (#144), since the keys will be more uniform (and shorter, and not
vulnerable to people using the separator string in their vat name). They look
like "vNN" and "dNN", where NN is a positive integer.

This will also make adding dynamic Vats easier (#19), as we'll just increment
a counter instead of asking the user to invent a unique name.

closes #146

.. as the index for kernel state data structures, instead of user-provided
vatName/deviceName strings. This will make it easier to use key/value state
storage (#144), since the keys will be more uniform (and shorter, and not
vulnerable to people using the separator string in their vat name). They look
like "vNN" and "dNN", where NN is a positive integer.

This will also make adding dynamic Vats easier (#19), as we'll just increment
a counter instead of asking the user to invent a unique name.

closes #146
@warner warner merged commit 75e0b5c into master Sep 19, 2019
@warner warner deleted the 146-vatindex branch September 19, 2019 21:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use vatIndex, not vatName, to index internal vat tables
1 participant