UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

20 lines (19 loc) 711 B
import { Bitcoind } from '../../types'; type AddNodeParams = { bitcoind: Bitcoind; node: string; command: string; v2transport?: boolean; }; /** * addnode "node" "command" ( v2transport ) * * Attempts to add or remove a node from the addnode list. * Or try a connection to a node once. * Nodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be * full nodes/support SegWit as other outbound peers are (though such peers will not be synced from). * Addnode connections are limited to 8 at a time and are counted separately from the -maxconnections limit. * */ export declare function addNode(params: AddNodeParams): Promise<any>; export {};