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

Add ICryptoBackend.Sign #932

Merged
merged 4 commits into from
Jul 21, 2020
Merged

Add ICryptoBackend.Sign #932

merged 4 commits into from
Jul 21, 2020

Conversation

earlbread
Copy link
Contributor

This adds ICryptoBackend.Sign() method to enable signing library changes. Also, this modifies PrivateKey to store PublicKey instead of generating it every time.

@earlbread earlbread self-assigned this Jul 21, 2020
longfin
longfin previously approved these changes Jul 21, 2020
longfin
longfin previously approved these changes Jul 21, 2020
@earlbread earlbread requested a review from dahlia July 21, 2020 07:02
@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #932 into master will decrease coverage by 69.04%.
The diff coverage is 91.42%.

@@             Coverage Diff             @@
##           master     #932       +/-   ##
===========================================
- Coverage   87.91%   18.87%   -69.05%     
===========================================
  Files         263      263               
  Lines       24217    24226        +9     
===========================================
- Hits        21291     4573    -16718     
- Misses       1522    19434    +17912     
+ Partials     1404      219     -1185     
Impacted Files Coverage Δ
Libplanet/Crypto/PrivateKey.cs 55.23% <78.57%> (-30.97%) ⬇️
Libplanet/Crypto/CryptoConfig.cs 50.00% <100.00%> (ø)
Libplanet/Crypto/DefaultCryptoBackend.cs 91.42% <100.00%> (-8.58%) ⬇️
Libplanet/Net/PeerState.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/Blocks/RawBlock.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/FixedSizedQueue.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/Net/Messages/Tx.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/Net/SwarmOptions.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/AddressExtensions.cs 0.00% <0.00%> (-100.00%) ⬇️
Libplanet/Net/Messages/Ping.cs 0.00% <0.00%> (-100.00%) ⬇️
... and 178 more

longfin
longfin previously approved these changes Jul 21, 2020
dahlia
dahlia previously approved these changes Jul 21, 2020
limebell
limebell previously approved these changes Jul 21, 2020
@earlbread earlbread merged commit 3bfe6e0 into planetarium:master Jul 21, 2020
@earlbread earlbread deleted the add-sign branch July 21, 2020 08:40
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.

6 participants