public bool RegisterMonitoringAddress(MonitoringBlock lku)
 {
     if (monitoringList.Any(t => t.Address == lku.Address))
     {
         return(false);
     }
     monitoringList.Add(lku);
     return(true);
 }
        private void UpdateElementIdentity(MonitoringBlock element, TransactionIdentity identity)
        {
            var u = monitoringList.FirstOrDefault(t => t.Address == element.Address);

            if (u != null)
            {
                u.Until = identity;
            }
        }
        public bool RegisterMonitoringAddress(BitcoinAddress bitcoinAddress)
        {
            if (monitoringList.Any(uid => uid.Address == bitcoinAddress))
            {
                return(false);
            }
            var lku = new MonitoringBlock()
            {
                Address = bitcoinAddress
            };

            return(RegisterMonitoringAddress(lku));
        }