Version get the software version
()
| 666 | |
| 667 | // Version get the software version |
| 668 | func (q *QueueProtocol) Version() (*types.VersionInfo, error) { |
| 669 | types.AssertConfig(q.client) |
| 670 | return &types.VersionInfo{ |
| 671 | Title: q.client.GetConfig().GetTitle(), |
| 672 | App: version.GetAppVersion(), |
| 673 | Chain33: version.GetVersion(), |
| 674 | LocalDb: version.GetLocalDBVersion(), |
| 675 | ChainID: q.client.GetConfig().GetChainID(), |
| 676 | }, nil |
| 677 | } |
| 678 | |
| 679 | // GetNetInfo get the net information |
| 680 | func (q *QueueProtocol) GetNetInfo(req *types.P2PGetNetInfoReq) (*types.NodeNetInfo, error) { |
nothing calls this directly
no test coverage detected