| 32 | }; |
| 33 | |
| 34 | void getnodeinfo(NodeInfo *pNodeInfo) { |
| 35 | static const string fullVersion = strprintf("%s (%s)", FormatFullVersion().c_str(), CLIENT_DATE.c_str()); |
| 36 | pNodeInfo->nv = fullVersion; |
| 37 | pNodeInfo->bp = mining; |
| 38 | pNodeInfo->nfp = mining ? minerKeyId.ToString() : nodeKeyId.ToString(); |
| 39 | pNodeInfo->synh = nSyncTipHeight; |
| 40 | pNodeInfo->tiph = chainActive.Height(); |
| 41 | pNodeInfo->finh = 0; // TODO: placeholder here |
| 42 | } |
| 43 | |
| 44 | #endif |
no test coverage detected