Skip to content

Fixing getTXOut#156

Merged
christroutner merged 4 commits into
stagefrom
ct-gettxout
Nov 18, 2019
Merged

Fixing getTXOut#156
christroutner merged 4 commits into
stagefrom
ct-gettxout

Conversation

@christroutner
Copy link
Copy Markdown

Prior to this PR, the BITBOX.Blockchain.getTxOut() call didn't work at all. This PR fixes this endpoint, adds unit tests, and also adds integration tests. It resolves the outstanding Issue #147.

The getTxOut() function is important for validating that a UTXO is valid. The typical workflow is to get UTXOs from an indexer. This call to the full node should be exercised to validate these UTXO before attempting to spend them.

@christroutner christroutner mentioned this pull request Nov 18, 2019
Comment thread lib/Blockchain.ts Outdated
@christroutner christroutner merged commit 894ab71 into stage Nov 18, 2019
@christroutner christroutner deleted the ct-gettxout branch November 18, 2019 23:08
@cgcardona
Copy link
Copy Markdown

🎉 This PR is included in version 8.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants