Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Refactoring for rollback #97

Merged
merged 10 commits into from
Apr 2, 2018
Merged

Refactoring for rollback #97

merged 10 commits into from
Apr 2, 2018

Conversation

garious
Copy link
Contributor

@garious garious commented Apr 2, 2018

Decoupled accounting from writing new entries to the ledger.

garious added 10 commits April 2, 2018 09:30
Reasons Transaction signatures need to be unique:

1. guard against duplicates
2. accountant uses them as IDs to link Witness signatures to transactions via the
`pending` hash map
It doesn't really matter, but was confusing since the seed points
to an entry before the mint's deposit.
@codecov-io
Copy link

Codecov Report

Merging #97 into master will decrease coverage by 0.1%.
The diff coverage is 94.11%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   93.79%   93.69%   -0.11%     
==========================================
  Files          15       15              
  Lines        1145     1110      -35     
==========================================
- Hits         1074     1040      -34     
+ Misses         71       70       -1
Impacted Files Coverage Δ
src/ledger.rs 100% <100%> (ø) ⬆️
src/historian.rs 100% <100%> (ø) ⬆️
src/plan.rs 99% <100%> (ø) ⬆️
src/recorder.rs 97.43% <100%> (ø) ⬆️
src/accountant_skel.rs 93.57% <70%> (+0.78%) ⬆️
src/accountant_stub.rs 93.93% <90.9%> (-1.3%) ⬇️
src/accountant.rs 94.76% <96.92%> (-0.05%) ⬇️

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 e683c34...49708e9. Read the comment docs.

@garious garious merged commit 84df487 into solana-labs:master Apr 2, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
willhickey pushed a commit that referenced this pull request Mar 9, 2024
Display error message while laoding geyser plugins (#33990)

Co-authored-by: galactus <96341601+godmodegalactus@users.noreply.github.com>
yihau pushed a commit to yihau/solana that referenced this pull request Mar 11, 2024
…s#33990) (solana-labs#97)

Display error message while laoding geyser plugins (solana-labs#33990)

Co-authored-by: galactus <96341601+godmodegalactus@users.noreply.github.com>
godmodegalactus added a commit to blockworks-foundation/solana that referenced this pull request Apr 16, 2024
Changing the defaults for ScanConfig

v1.17: ignore mio audit report (solana-labs#76)

ci: ignore mio audit

v1.17: Display error message while loading geyser plugins (solana-labs#33990) (solana-labs#97)

Display error message while laoding geyser plugins (solana-labs#33990)

Co-authored-by: galactus <96341601+godmodegalactus@users.noreply.github.com>

v1.17: Remove unnecessary unwrap from `simulate_transaction_unchecked()` (backport of solana-labs#35375) (solana-labs#65)

Remove unnecessary unwrap from `simulate_transaction_unchecked()` (solana-labs#35375)

Remove unnecessary unwrap from simulate_transaction_unchecked()

(cherry picked from commit cb260f1)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
segfaultdoc pushed a commit to jito-labs/solana that referenced this pull request Aug 7, 2024
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