Exemplo n.º 1
0
 public async Task SendNewNodeKeysNodeNoticeAsync(byte[] publicKey, byte[] signPublicKey, long keyId, long expirationTime)
 {
     try
     {
         NewNodeKeysNodeNotice notice = new NewNodeKeysNodeNotice(publicKey, signPublicKey, expirationTime, keyId);
         await SendNoticeToNodesAsync(notice).ConfigureAwait(false);
     }
     catch (Exception ex)
     {
         Logger.WriteLog(ex);
     }
 }
Exemplo n.º 2
0
 public NewNodeKeysNodeNoticeHandler(NodeNotice notice, NodeConnection nodeConnection)
 {
     this.notice         = (NewNodeKeysNodeNotice)notice;
     this.nodeConnection = nodeConnection;
 }