问题描述
我目前正在开发一个小程序来备份您的Bitcoin Core钱包。我正在C#中使用BitcoinLib v1.15.0。
IBitcoinService bitcoinService = new BitcoinService("http://127.0.0.1:8332","test","",60);
bitcoinService.BackupWallet("C:\\Users\\dominik\\OneDrive\\Desktop\\backup");
运行此代码时,出现以下错误消息Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path)
。
我有点困惑,因为BitcoinService.backupwallet(string destination)
函数只有一个输入参数,我认为它描述了生成备份文件的路径(或者至少是该命令在Bitcoin Core终端中的工作方式)。>
有人在BitcoinBitb或类似问题上有经验吗?我愿意接受任何建议。 该错误与比特币核心中同时打开多个钱包有关。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)