bsp-network
Version:
SDK for writing node.js applications to interact with bsp network. This package encapsulates the APIs to connect to a bsp network, submit transactions and perform queries against the ledger.
16 lines (15 loc) • 463 B
TypeScript
/**
* Copyright 2018, 2019 IBM All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
/// <reference types="node" />
import { QueryHandler } from './queryhandler';
import { Query } from './query';
import { Endorser } from 'fabric-common';
export declare class RoundRobinQueryHandler implements QueryHandler {
private readonly peers;
private currentPeerIndex;
constructor(peers: Endorser[]);
evaluate(query: Query): Promise<Buffer>;
}