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

Rpc: populate block-time for confirmed transactions #16460

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

CriesofCarrots
Copy link
Contributor

@CriesofCarrots CriesofCarrots commented Apr 9, 2021

Problem

The CacheBlockTimeService runs when a block is rooted. This means that confirmed, but not finalized, transactions returned from Blockstore usually do not have populated block times. Since banks are held in BankForks until finalized, these block times should be available there.

Summary of Changes

Following #16281, look up block times for not-yet-finalized transactions

@CriesofCarrots CriesofCarrots added v1.5 automerge Merge this Pull Request automatically once CI passes labels Apr 9, 2021
@codecov
Copy link

codecov bot commented Apr 9, 2021

Codecov Report

Merging #16460 (8e12e70) into master (22a18a6) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##           master   #16460     +/-   ##
=========================================
- Coverage    80.0%    79.9%   -0.1%     
=========================================
  Files         413      413             
  Lines      110636   110637      +1     
=========================================
- Hits        88523    88489     -34     
- Misses      22113    22148     +35     

@mergify mergify bot merged commit 8bc0bdd into solana-labs:master Apr 9, 2021
mergify bot pushed a commit that referenced this pull request Apr 9, 2021
mergify bot pushed a commit that referenced this pull request Apr 9, 2021
mergify bot added a commit that referenced this pull request Apr 9, 2021
(cherry picked from commit 8bc0bdd)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
mergify bot added a commit that referenced this pull request Apr 9, 2021
(cherry picked from commit 8bc0bdd)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
@CriesofCarrots CriesofCarrots deleted the conf-tx-block-time branch April 15, 2021 23:15
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant