Skip to content

Commit

Permalink
[#275] netmap: Fix storage model docs
Browse files Browse the repository at this point in the history
Actualize storage node's structure type and clarify this is a type not
to cause misunderstanding.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider authored and roman-khimov committed Jan 30, 2023
1 parent 39604be commit f5fbf2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions netmap/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Key-value storage format:
block which "ticked" the current epoch
- 'snapshotCount' -> int
number of stored network maps including current one
- 'snapshot_<ID>' -> std.Serialize([]storageNode)
network map by snapshot ID
- 'snapshot_<ID>' -> std.Serialize([]Node)
network map by snapshot ID (where Node is a type)
- 'snapshotCurrent' -> int
ID of the snapshot representing current network map
- 'candidate<public_key>' -> std.Serialize(netmapNode)
information about the particular network map candidate
- 'candidate<public_key>' -> std.Serialize(Node)
information about the particular network map candidate (where Node is a type)
- 'containerScriptHash' -> 20-byte script hash
Container contract reference
- 'balanceScriptHash' -> 20-byte script hash
Expand Down

0 comments on commit f5fbf2e

Please sign in to comment.