8000 sign and verify contracts with secp256k1 by littleskunk · Pull Request #766 · storj-archived/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

sign and verify contracts with secp256k1 #766

Merged
merged 5 commits into from
Mar 12, 2018

Conversation

littleskunk
Copy link
Collaborator
@littleskunk littleskunk commented Mar 10, 2018

For a better performance on the bridge side on sending ALLOC and renew contracts.

  • sign contract
  • benchmark test sign contracts
    old: sign contract x 16.83 ops/sec ±5.17% (80 runs sampled)
    new: sign contract x 122 ops/sec ±1.54% (141 runs sampled)
  • verify contracts
  • benachmark test verify contracts
    old: verify contract x 21.87 ops/sec ±1.33% (98 runs sampled)
    new: verify contract x 632 ops/sec ±0.81% (147 runs sampled)
  • unit test private key padding

@littleskunk
Copy link
Collaborator Author

Review and merge please.

@littleskunk littleskunk changed the title [WIP] sign contracts with secp256k1 sign and verify contracts with secp256k1 Mar 10, 2018
@braydonf braydonf merged commit be8275b into storj-archived:master Mar 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0