예제 #1
0
 public bool ProduceBlock(string parentHash)
 {
     return(NodeManager.Post <bool>("clique_produceBlock", CliParseHash(parentHash)).Result);
 }
예제 #2
0
 public bool Propose(string address, bool vote)
 {
     return(NodeManager.Post <bool>("clique_propose", CliParseAddress(address), vote).Result);
 }
예제 #3
0
 public bool Discard(string address)
 {
     return(NodeManager.Post <bool>("clique_discard", CliParseAddress(address)).Result);
 }
예제 #4
0
 public JsValue GetSignersAtHashAnnotated(string hash)
 {
     return(NodeManager.PostJint("clique_getSignersAtHashAnnotated", CliParseHash(hash)).Result);
 }
예제 #5
0
 public JsValue GetSignersAnnotated()
 {
     return(NodeManager.PostJint("clique_getSignersAnnotated").Result);
 }
예제 #6
0
 public JsValue GetSignersAtNumber(long number)
 {
     return(NodeManager.PostJint("clique_getSignersAtNumber", number.ToString()).Result);
 }
예제 #7
0
 public JsValue GetSnapshotAtHash(string hash)
 {
     return(NodeManager.PostJint("clique_getSnapshotAtHash", CliParseHash(hash)).Result);
 }
예제 #8
0
 public JsValue GetSnapshot()
 {
     return(NodeManager.PostJint("clique_getSnapshot").Result);
 }