[#21] Document contract storage schemes
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
This commit is contained in:
parent
8537293e11
commit
a8029c71cd
11 changed files with 114 additions and 0 deletions
|
@ -29,5 +29,18 @@ in the network by invoking NewEpoch method.
|
|||
NewEpoch
|
||||
- name: epoch
|
||||
type: Integer
|
||||
|
||||
# Contract storage scheme
|
||||
|
||||
| Key | Value | Description |
|
||||
|-----------------------------|------------|-----------------------------------|
|
||||
| `snapshotCount` | int | snapshot count |
|
||||
| `snapshotEpoch` | int | snapshot epoch |
|
||||
| `snapshotBlock` | int | snapshot block |
|
||||
| `snapshot_` + snapshotNum | ByteArray | serialized '[]Node' array |
|
||||
| `snapshotCurrent` | int | current snapshot |
|
||||
| `balanceScriptHash` | Hash160 | balance contract hash |
|
||||
| `containerScriptHash` | Hash160 | container contract hash |
|
||||
|
||||
*/
|
||||
package netmap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue