Skip to content
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

commands.py: use fingerprint if already captured by client #163

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

doc-hex
Copy link
Contributor

@doc-hex doc-hex commented Apr 29, 2019

For me with a signmessage to the Coldcard simulator, this saves 6-7 seconds. But this should speed up all devices, since they are already capturing the fingerprint value into the enumeration information.

@doc-hex
Copy link
Contributor Author

doc-hex commented Apr 29, 2019

@instagibbs
Copy link
Collaborator

light tACK on ledger with various commands. Seems 50% faster or so for commands like signmessage from eyeballing.

@instagibbs
Copy link
Collaborator

poetry builds failing:

[AttributeError]                  
'NullIO' object has no attribute 'write_line'  
                                                 
install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
The command "poetry install" failed and exited with 1 during .
Your build has been stopped.

@achow101
Copy link
Member

poetry builds failing:

That's a problem with poetry. See #164

@achow101
Copy link
Member

Closing and reopening to retrigger travis.

@achow101 achow101 closed this Apr 30, 2019
@achow101 achow101 reopened this Apr 30, 2019
@achow101
Copy link
Member

ACK 0cf6bb9

@achow101 achow101 merged commit 0cf6bb9 into bitcoin-core:master Apr 30, 2019
achow101 added a commit that referenced this pull request Apr 30, 2019
0cf6bb9 commands.py: use fingerprint if already captured by client (Peter D. Gray)

Pull request description:

  For me with a `signmessage` to the Coldcard simulator, this saves 6-7 seconds. But this should speed up all devices, since they are already capturing the fingerprint value into the enumeration information.

ACKs for commit 0cf6bb:
  achow101:
    ACK 0cf6bb9

Tree-SHA512: db2bb8eed855b70e8f1ee68c4eaf59eae191732246525669f9e600c10bee0dca1108685f1f508c24232151a792b8178d11bf80eee8cf880f0442e5f69dd81f56
@Sjors
Copy link
Member

Sjors commented May 1, 2019

Inspired by this I added an xpub cache in #137.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants