Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
made integration tests pass without txindex
Impacted parts are: - `WatchConfirmed`: can't use `getrawtransaction` anymore; instead we use `importaddress`+`rescanblockchain`+`gettransaction`. - `WatchSpent`: untouched (there is no indexation for that in bitcoind so we were looking in the mempool and in the blockchain, and this still works) - `ValidateRequest`: doesn't work anymore Note that we still use `getrawtransaction` when looking for spending txes in the mempool. The `gettransaction`/`getrawtransaction` differenciation is quite messy currently. Left to do: - handle restart with a brand new bitcoin core (which doesn't watch the relevant scripts) - handle (disable? delegate to electrum servers?) authentication of public channels Regarding pruning, we can probably just prune everything below block height 500 000.
- Loading branch information
Showing
4 changed files
with
58 additions
and
11 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
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