forked from romanz/electrs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add txid->rawtx store, using 't' as the database prefix, and a query.txstore_get() method to fetch txs from it. Used for processing GET /tx/:txid requests, as well as for fetching the prevout txs of inputs. Not used by electrs internally elsewhere or for the Electrum server, which still fetch via the block height index and bitcoind. Information about the confirmation status of transactions was removed from REST API responses, since it is volatile and cannot be determined from the rawtx index alone. This will be reintroduced as a separate endpoint. (cherry picked from commit f4badf9)
- Loading branch information
Showing
3 changed files
with
111 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters