decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

chainntnfs: Do not require txindex in dcrd #41

Closed matheusd closed 4 years ago

matheusd commented 4 years ago

This removes the startup check and the need to run the associated dcrd with the transaction index enabled.

The transaction index was only used as a hint to detect spentness of outpoints and pkscripts and wasn't an absolute requirement to begin with.

This commit fixes a few instances that relied on its presence and removes the startup check that was performed to ensure the txindex was enabled in the node.