UNPKG

bitcoin-cli-ts

Version:

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

15 lines (14 loc) 571 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * importmempool "filepath" ( options ) * * Import a mempool.dat file and attempt to add its contents to the mempool. * Warning: Importing untrusted files is dangerous, especially if metadata from the file is taken over. * */ export function importMempool(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'importmempool', params: methodParams }, bitcoind); }