public int outstandingRequests() {
    return requestManagers.values().stream()
        .flatMap(m -> m.values().stream())
        .mapToInt(RequestManager::outstandingRequests)
        .sum();
  }
Return A read-only snapshot of this peer's current {@code chainState}

@return A read-only snapshot of this peer's current {@code chainState}
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeer.java