Esempio n. 1
0
 public async void SendNewKeysBlockNoticeAsync(IEnumerable <KeyVm> keys, long userId)
 {
     try
     {
         NewUserKeysNodeNotice notice = new NewUserKeysNodeNotice(keys, userId);
         await SendNoticeToNodesAsync(notice).ConfigureAwait(false);
     }
     catch (Exception ex)
     {
         Logger.WriteLog(ex);
     }
 }
Esempio n. 2
0
 public NewUserKeysNodeNoticeHandler(NodeNotice notice, NodeConnection current, IKeysService keysService)
 {
     this.notice      = (NewUserKeysNodeNotice)notice;
     this.current     = current;
     this.keysService = keysService;
 }