Force txindex to true
Set default to false, but make default for flag true
Merge pull request #2 from faizkhan00/fix_txindex_opt2

Fix txindex opt2