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

Bank's don't know their id, don't freeze() their parents, or freeze() on merge, which is necessary for #2884 #2930

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

rob-solana
Copy link
Contributor

Summary of Changes

  • drop parents once merged
  • add bank.id() which can be used by BankForks, blocktree_processor
  • add bank.hash(), make hash_internal_state() private
  • add bank.freeze()/is_frozen(), also useful for blocktree_processor, eventual freeze()ing in replay

Fixes #

* add bank.id() which can be used by BankForks, blocktree_processor
* add bank.hash(), make hash_internal_state() private
* add bank.freeze()/is_frozen(), also useful for blocktree_processor, eventual freeze()ing in replay
@codecov
Copy link

codecov bot commented Feb 25, 2019

Codecov Report

Merging #2930 into master will increase coverage by <.1%.
The diff coverage is 87.5%.

@@           Coverage Diff            @@
##           master   #2930     +/-   ##
========================================
+ Coverage    78.3%   78.3%   +<.1%     
========================================
  Files         126     126             
  Lines       19609   19639     +30     
========================================
+ Hits        15354   15378     +24     
- Misses       4255    4261      +6

runtime/src/bank.rs Show resolved Hide resolved
runtime/src/bank.rs Show resolved Hide resolved
@rob-solana rob-solana merged commit 67c9bbc into solana-labs:master Feb 25, 2019
@rob-solana rob-solana deleted the bank.id branch February 25, 2019 23:20
lijunwangs pushed a commit to lijunwangs/solana that referenced this pull request Oct 4, 2024
* extract program-pack crate

* fix description grammar

* requested doc comment change

* fix trailing whitespace
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.

2 participants