question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when Sweeping | Implement blockchain.scripthash.listunspent method

See original GitHub issue

Tried 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:open
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
shesekcommented, Jun 11, 2019

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.

0reactions
CherryDTcommented, Nov 27, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found