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