I'm running a full node (v0.16.0). I added txnindex=1 to my configuration file and restarted the Bitcoin-Qt. It took 2+ days to build the index but when I check addresses with known final balances>0 the amount is still zero. For example...
REMOTE FINAL BALANCE=66.76870249 BTC:
https://blockchain.info/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
LOCAL FINAL BALANCE=0:
let address='1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa';
client.getBalance(address, 6, function(error, balance, resHeaders) {
log('Address: ' + address + ' Balance:' + balance);
});
Any ideas would be appreciated!