Error when Sweeping | Implement blockchain.scripthash.listunspent method
See original GitHub issueTried using Electrum sweep private keys feature, and repeatedly got the following error.
ERROR:2019-04-03 17:36:04,827: *** BUG! Not handling method: blockchain.scripthash.listunspent query={'jsonrpc': '2.0', 'method': 'blockchain.scripthash.listunspent', 'id': 11040, 'params': ['bc0a68156d2f5cea242b8a79d82623afd3f7d157ec4e229bdc8ab3e87db0fb']}
ERROR:2019-04-03 17:39:12,518: IOError: ConnectionAbortedError(10053, 'An established connection was aborted by the software in your host machine', None, 10053, None)
Not sure if you plan to support sweeping, but thought I’d report it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
romanz/electrs - Gitter
When (and only when) there is a new block, or a new transaction in mempool: It calculates the scripthashes for the outputs; Notifies...
Read more >Part 1 : Blockchain Fundamentals - Brax Digital Notepad
When in doubt, stick with sweeping. It's more secure this way, and it avoids some problems that are associated with importing a wallet....
Read more >wallet package - github.com/EXCCoin/exccwallet/wallet - Go ...
ListTransactionsResult, error); func (w *Wallet) ListUnspent(minconf, maxconf int32, ... AccountsResult is the resutl of the wallet's Accounts method.
Read more >2020-02-07-andrew-poelstra-miniscript - diyhpluswiki
In general the only way to build Rust 1.x is to use 1.x-1. ... Basically what Miniscript is is a subset of Bitcoin...
Read more >Mastering Bitcoin - AWS
Alice was introduced to bitcoin by a friend and so she has an easy way of ... First, we use the listunspent command...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If the address is already imported and scanned, couldn’t this be delegated to the
listunspent
rpc command with the third argument set to the address?Edit: Oh, but this wouldn’t really work well with the “Sweet private key” feature, which is typically used with standalone keys that aren’t part of the wallet, and so aren’t previously imported/scanned.
@shesek This would be totally sufficient for my purposes I believe, would you have any hint at how to add this? For example I’m not sure how to get the data that I need for the response fields.