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

Refactor slot status notification to decouple from accounts notifications #21308

Merged

Conversation

lijunwangs
Copy link
Contributor

@lijunwangs lijunwangs commented Nov 16, 2021

Problem

Slot status can be used of in other scenarios in addition to account information such as transactions, blocks. The current implementation is too tightly coupled.

Summary of Changes

Decouple the slot status notification from accounts notification. Created a new slot status notification module.

Note: This is the first batch by breaking down #21247.
Fixes #

@codecov
Copy link

codecov bot commented Nov 17, 2021

Codecov Report

Merging #21308 (3969b73) into master (8e0068c) will decrease coverage by 0.0%.
The diff coverage is 8.4%.

@@            Coverage Diff            @@
##           master   #21308     +/-   ##
=========================================
- Coverage    81.5%    81.5%   -0.1%     
=========================================
  Files         500      501      +1     
  Lines      140526   140555     +29     
=========================================
+ Hits       114582   114604     +22     
- Misses      25944    25951      +7     

@lijunwangs lijunwangs changed the title Refactor slot status notification to make decoupled from accounts notifications Refactor slot status notification to decouple from accounts notifications Nov 17, 2021
Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

lgtm

@lijunwangs lijunwangs merged commit 89c45a5 into solana-labs:master Nov 18, 2021
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
…ions (solana-labs#21308)

Problem

Slot status can be used of in other scenarios in addition to account information such as transactions, blocks. The current implementation is too tightly coupled.

Summary of Changes

Decouple the slot status notification from accounts notification. Created a new slot status notification module.
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
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