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

Change for cuda verify integration #109

Merged
merged 1 commit into from
Apr 6, 2018
Merged

Conversation

sakridge
Copy link
Member

@sakridge sakridge commented Apr 5, 2018

No description provided.

@sakridge sakridge requested review from garious and aeyakovenko April 5, 2018 23:14
src/event.rs Outdated
@@ -47,7 +47,7 @@ impl Event {
/// spending plan is valid.
pub fn verify(&self) -> bool {
match *self {
Event::Transaction(ref tr) => tr.verify(),
Event::Transaction(ref tr) => tr.verify_plan(),
Copy link
Contributor

@garious garious Apr 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change shouldn't be necessary. Can you revert that and report back any consequences?

Copy link
Member Author

@sakridge sakridge Apr 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed to verify_sig(), but did you mean it should be verify_sig() && verify_plan()? Anatoly removed the one that does both, but I can add it back.

@@ -8,12 +8,17 @@ use rayon::prelude::*;
use signature::{KeyPair, KeyPairUtil, PublicKey, Signature, SignatureUtil};

#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
pub struct Transaction {
pub struct Signed {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to rename this to TransactionData

@@ -8,12 +8,17 @@ use rayon::prelude::*;
use signature::{KeyPair, KeyPairUtil, PublicKey, Signature, SignatureUtil};

#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
pub struct Transaction {
pub struct Signed {
pub from: PublicKey,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to leave from in the top-level struct

@codecov-io
Copy link

Codecov Report

Merging #109 into master will decrease coverage by 0.8%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   96.09%   95.29%   -0.81%     
==========================================
  Files          16       17       +1     
  Lines        1358     1467     +109     
==========================================
+ Hits         1305     1398      +93     
- Misses         53       69      +16
Impacted Files Coverage Δ
src/plan.rs 99% <ø> (ø) ⬆️
src/lib.rs 100% <ø> (ø) ⬆️
src/packet.rs 93.16% <100%> (-1.29%) ⬇️
src/event.rs 100% <100%> (ø) ⬆️
src/accountant.rs 95.14% <100%> (ø) ⬆️
src/streamer.rs 97.7% <100%> (ø) ⬆️
src/accountant_skel.rs 88.88% <88.88%> (-3.57%) ⬇️
src/ecdsa.rs 96.55% <96.55%> (ø)
src/transaction.rs 98.73% <96.66%> (-1.27%) ⬇️
src/historian.rs 98.36% <0%> (-1.64%) ⬇️
... and 3 more

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 bc6d6b2...f4466c8. Read the comment docs.

@sakridge
Copy link
Member Author

sakridge commented Apr 6, 2018

I didn't include the GPU lib, do we want to just check it in for now?

@garious
Copy link
Contributor

garious commented Apr 6, 2018

The functionality tucked under feature flags don't need to be buildable by CI. This PR is good to go. Merging.

@garious garious merged commit a7f59ef into solana-labs:master Apr 6, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v6.8.0...v7.4.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
KirillLykov pushed a commit to KirillLykov/solana that referenced this pull request Mar 6, 2024
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.

3 participants