-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
listunspent and import_addresses API methods #249
base: master
Are you sure you want to change the base?
Conversation
Add listunspent method
@@ -303,7 +303,6 @@ def get_scriptpubkeys_to_monitor(rpc, config): | |||
break | |||
spks_to_monitor.append(spks[0]) | |||
wal.rewind_one(change) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these irrelevant line changes. Or if you want to refactor then open another PR for them.
@@ -384,6 +394,7 @@ def handle_query(self, query): | |||
self._send_response(query, result) | |||
elif method == "blockchain.estimatefee": | |||
estimate = self.rpc.call("estimatesmartfee", [query["params"][0]]) | |||
self.logger.info('estimate: ' + estimate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove from this PR please, it's irrelevant. Also I think it conflicts with another edit I made recently.
Thanks for the PR. Implementing Some thoughts:
Apart from that the PR looks good on reading. Please do the edits I ask then I will test out the PR and most likely merge it. |
0633d2c
to
c28a90f
Compare
Add the following API methods: