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

refactor: signing #128

Merged
merged 1 commit into from
Aug 19, 2019
Merged

refactor: signing #128

merged 1 commit into from
Aug 19, 2019

Conversation

sleepdefic1t
Copy link
Contributor

@sleepdefic1t sleepdefic1t commented Aug 11, 2019

This PR decouples and improves the signing class.

Specifically, this PR does the following:

  • adds bcl namespace to bcl lib.
  • moves all signing operation responsibilities to the curve class.
  • removes old crypto.cpp class and tests.
  • updates affected classes.
  • updates tests.

What kind of change does this PR introduce?

  • Refactor

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

@ghost ghost added Complexity: High More than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation. Status: In Progress The issue or pull request is being worked on. labels Aug 11, 2019
@codecov-io
Copy link

codecov-io commented Aug 11, 2019

Codecov Report

Merging #128 into develop will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #128      +/-   ##
===========================================
+ Coverage     91.4%   91.48%   +0.07%     
===========================================
  Files           34       33       -1     
  Lines          873      881       +8     
===========================================
+ Hits           798      806       +8     
  Misses          75       75
Impacted Files Coverage Δ
src/transactions/deserializer.cpp 88.38% <ø> (ø) ⬆️
src/utils/message.h 100% <ø> (ø) ⬆️
src/transactions/transaction.cpp 89.52% <100%> (+0.16%) ⬆️
src/crypto/curve.cpp 100% <100%> (ø) ⬆️
src/utils/base58.cpp 100% <100%> (ø) ⬆️
src/utils/message.cpp 100% <100%> (ø) ⬆️
src/crypto/hash.cpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a69b3f7...5c97f6d. Read the comment docs.

@sleepdefic1t sleepdefic1t marked this pull request as ready for review August 11, 2019 17:32
faustbrian
faustbrian previously approved these changes Aug 14, 2019
@faustbrian
Copy link
Contributor

@sleepdefic1t conflicts

This PR decouples and improves the signing class.

Specifically, this PR does the following:
- adds `bcl` namespace to bcl lib.
- moves all signing operation responsibilities to the `curve` class.
- removes old crypto.cpp class and tests.
- updates affected classes.
- updates tests.
@sleepdefic1t
Copy link
Contributor Author

@faustbrian
Good to go 👍

@faustbrian faustbrian merged commit ec4b81a into ArkEcosystemArchive:develop Aug 19, 2019
@ghost ghost removed the Status: In Progress The issue or pull request is being worked on. label Aug 19, 2019
@sleepdefic1t sleepdefic1t deleted the refactor/signing branch August 19, 2019 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: High More than 256 lines changed. Type: Refactor The pull request improves or enhances an existing implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants