Jacek Sieka 74732a23fe
json cleanups (#2456)
* move json-rpc specific marshalling to rpc
* serialize Epoch/Slot with cast to avoid Defect
* avoid a few eth1 deps
* simplify imports
2021-03-26 15:11:06 +01:00

12 lines
320 B
Nim

import
options,
callsigs_types
proc get_v1_node_identity(): NodeIdentityTuple
proc get_v1_node_version(): JsonNode
proc get_v1_node_syncing(): SyncInfo
proc get_v1_node_health(): JsonNode
proc get_v1_node_peers(state: Option[seq[string]],
direction: Option[seq[string]]): seq[NodePeerTuple]