UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

14 lines 553 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * 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) { const { bitcoind, ...methodParams } = params; return request({ method: 'importmempool', params: methodParams }, bitcoind); } //# sourceMappingURL=import-mempool.js.map