2023-03-01 10:50:14 +00:00
|
|
|
name: "Netmap"
|
2023-08-08 06:08:08 +00:00
|
|
|
safemethods:
|
|
|
|
- "config"
|
|
|
|
- "epoch"
|
|
|
|
- "listConfig"
|
|
|
|
- "netmap"
|
|
|
|
- "netmapCandidates"
|
|
|
|
- "snapshot"
|
|
|
|
- "snapshotByEpoch"
|
|
|
|
- "version"
|
2021-06-23 16:56:56 +00:00
|
|
|
permissions:
|
|
|
|
- methods: ["update", "newEpoch"]
|
2020-10-27 12:14:06 +00:00
|
|
|
events:
|
|
|
|
- name: AddPeer
|
|
|
|
parameters:
|
|
|
|
- name: nodeInfo
|
2020-12-09 12:53:43 +00:00
|
|
|
type: ByteArray
|
2022-04-01 05:52:54 +00:00
|
|
|
- name: AddPeerSuccess
|
|
|
|
parameters:
|
|
|
|
- name: publicKey
|
|
|
|
type: PublicKey
|
2020-10-27 12:14:06 +00:00
|
|
|
- name: UpdateState
|
|
|
|
parameters:
|
|
|
|
- name: state
|
|
|
|
type: Integer
|
|
|
|
- name: publicKey
|
2021-06-17 13:38:30 +00:00
|
|
|
type: PublicKey
|
2022-04-01 05:52:54 +00:00
|
|
|
- name: UpdateStateSuccess
|
|
|
|
parameters:
|
|
|
|
- name: publicKey
|
|
|
|
type: PublicKey
|
|
|
|
- name: state
|
|
|
|
type: Integer
|
2020-10-27 12:14:06 +00:00
|
|
|
- name: NewEpoch
|
|
|
|
parameters:
|
|
|
|
- name: epoch
|
|
|
|
type: Integer
|