mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
Do not require txindex over the full node
Lookup confirmed transactions only at their blocks (using the `blockhash` parameter of `getrawtransaction` RPC). Note that seeking inside a block (on a HDD) doesn't take too much time when compare to reading the whole block and finding the transaction (even without a client-side cache). Note: txindex takes ~16GB today (over Bitcoin mainnet).
This commit is contained in:
parent
4189931020
commit
4b70f3664e
1
TODO.txt
1
TODO.txt
@ -6,7 +6,6 @@ Figure out graceful shutting down RPC server
|
||||
= Bitcoind
|
||||
Handle bitcoind connection failures - instead of crashing
|
||||
Use p2p protocol for querying blocks - similar to `bitcoincore-indexd`
|
||||
Lookup confirmed transactions only at their blocks (using `blockhash` parameter of `getrawtransaction` RPC), so -txindex won't be needed
|
||||
Add getrawtransactions() API (for RPC batching)
|
||||
|
||||
= Performance
|
||||
|
Loading…
Reference in New Issue
Block a user