Evgenii Stratonikov
6e8ae742ae
It is quite hard to navigate in a single-line list of length 10. Viewing diffs is also more pleasant when a single line has added. Also, sort everything by alphabet. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
37 lines
724 B
YAML
37 lines
724 B
YAML
name: "Netmap"
|
|
safemethods:
|
|
- "config"
|
|
- "epoch"
|
|
- "listConfig"
|
|
- "netmap"
|
|
- "netmapCandidates"
|
|
- "snapshot"
|
|
- "snapshotByEpoch"
|
|
- "version"
|
|
permissions:
|
|
- methods: ["update", "newEpoch"]
|
|
events:
|
|
- name: AddPeer
|
|
parameters:
|
|
- name: nodeInfo
|
|
type: ByteArray
|
|
- name: AddPeerSuccess
|
|
parameters:
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: UpdateState
|
|
parameters:
|
|
- name: state
|
|
type: Integer
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: UpdateStateSuccess
|
|
parameters:
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: state
|
|
type: Integer
|
|
- name: NewEpoch
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|