class NodeRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements NodeRepository {

  @Override
  public Observable<List<NodeInfo>> getNodePeers() {
    return exceptionHandling(call(getClient()::getNodePeers))
        .map(l -> l.stream().map(this::toNodeInfo).collect(Collectors.toList()));
  }

  public  NodeRepositoryOkHttpImpl(ApiClient apiClient);

}