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 raw transaction store (liquid_e) #23

Merged
merged 1 commit into from Oct 11, 2018

Conversation

shesek
Copy link

@shesek shesek commented Oct 11, 2018

Implement raw transaction store (#21) in liquid_e.

(cherry picked from commit f4badf9)

@shesek shesek changed the title Implement raw transaction store (liquid_e) [WIP, do not merge] Implement raw transaction store (liquid_e) Oct 11, 2018
@shesek shesek changed the title [WIP, do not merge] Implement raw transaction store (liquid_e) Implement raw transaction store (liquid_e) Oct 11, 2018
@shesek
Copy link
Author

shesek commented Oct 11, 2018

This should also fix the bug related to fetching the prevout of pegin inputs.

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)
@greenaddress greenaddress merged commit 76e249d into greenaddress:liquid_e Oct 11, 2018
@shesek shesek deleted the liquid_e-txstore branch November 19, 2018 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants