Пример #1
0
        private StateSyncBatch PrepareRequest()
        {
            StateSyncBatch request = _nodeDataFeed.PrepareRequest(MaxRequestSize);

            if (_logger.IsTrace)
            {
                _logger.Trace($"Pending requests {_pendingRequests}");
            }
            return(request);
        }
Пример #2
0
        private StateSyncBatch PrepareRequest()
        {
            if (_logger.IsTrace)
            {
                _logger.Trace($"Pending requests {_pendingRequests}");
            }
            StateSyncBatch standardBatch = _feed.PrepareRequest();

            // if (_logger.IsWarn) _logger.Warn($"!!! Standard batch {standardBatch.RequestedNodes.Length}");
            return(standardBatch);
        }