1. Home
  2. Docs
  3. Paralism 节点 RESTAPI
  4. 14. GetStateOfCurrentConsensus获取当前运行中共识状态

14. GetStateOfCurrentConsensus获取当前运行中共识状态

* 例子:http://127.0.0.1:8080/GetStateOfCurrentConsensus

* 返回例子:

{
  "curBuddyNo":"",
  "consensusState":"idle"
}
或者
{
  "curBuddyNo":"",
  "consensusState":"localBuddy"
}
或者
{
  "curBuddyNo":"",
  "consensusState":"globalBuddy"
}
Was this article helpful to you? Yes No