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

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

@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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants