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

Implement FindTransaction Function #76

Merged
merged 4 commits into from
Jul 24, 2020
Merged

Conversation

patrick-ogrady
Copy link
Contributor

@patrick-ogrady patrick-ogrady commented Jul 24, 2020

Related PR: #68

Changes

To support the Construction API, we need to search for processed transactions (to confirm them) after some confirmation depth has passed (to protect against reorgs).

WARNING

This PR changes how transaction hashes are stored!

@coveralls
Copy link

coveralls commented Jul 24, 2020

Pull Request Test Coverage Report for Build 1997

  • 81 of 114 (71.05%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.08%) to 65.619%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/storage/block_storage.go 81 114 71.05%
Totals Coverage Status
Change from base Build 1963: -0.08%
Covered Lines: 731
Relevant Lines: 1114

💛 - Coveralls

@patrick-ogrady patrick-ogrady merged commit 15604e5 into master Jul 24, 2020
@patrick-ogrady patrick-ogrady deleted the patrick/tx-depth branch July 24, 2020 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants