[#21] Document contract storage schemes #22
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#22
Loading…
Reference in a new issue
No description provided.
Delete branch "aarifullin/frostfs-contract:feature/document_contract_storage_schemes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
5bf7b48bd1
toe9558807d4
@ -32,0 +35,4 @@
+-----------------------------+------------+-----------------------------------+
| Key | Value type | Description |
|-----------------------------+------------+-----------------------------------|
| 'snapshotCount' | int | snapshot count |
'
should be replaced with ` ?Thanks!
e9558807d4
to013ae8ffd9
013ae8ffd9
toda81fd7ff6
@ -20,0 +22,4 @@
+--------------------+------------+-------------------------------------------------+
| Key | Value type | Description |
|--------------------+------------+-------------------------------------------------|
Can we use markdown syntax for tables?
It is easier to copy in md doc, takes less space and is somewhat widely accepted.
I've searched a bit -- it seems
godoc
has no support for tables, so markdown is a safe choice.Also, pre-formatted text should be indented (goimports does this, but we have no pre-commit here).
@ -0,0 +1,25 @@
package nns
/*
Let's use a package comment everywhere (like in the netmap contract) -- before the
package
keyword.da81fd7ff6
to46e104102f
46e104102f
to8dd198faa0
8dd198faa0
toa8029c71cd
@ -77,0 +81,4 @@
|-----------------------|------------|----------------------------------|
| `netmapScriptHash` | Hash160 | netmap contract hash |
| `containerScriptHash` | Hash160 | container contract hash |
| circulationKey | int | the token circulation key value |
Is it variable length?
Right, it's non-
const