github.com/aergoio/aergo@v1.3.1/message/pmapmsg.go (about) 1 /* 2 * @file 3 * @copyright defined in aergo/LICENSE.txt 4 */ 5 6 package message 7 8 import ( 9 "github.com/aergoio/aergo/types" 10 ) 11 12 const PolarisRPCSvc = "pRpcSvc" 13 14 type MapQueryMsg struct { 15 Count int 16 BestBlock *types.Block 17 } 18 19 type MapQueryRsp struct { 20 Peers []*types.PeerAddress 21 Err error 22 } 23 24