I am using web3js to send hundreds of transactions to Ropsten (will eventually change to mainnet) and I am getting a tx hash for all of them, which means that supposedly, all the transactions have been registered correctly onto the blockchain. To achieve this, I am incrementing the nonce by 1 for each transaction, so basically the nonce is:
var nonce = web3.eth.getTransactionCount(config.abtoken.owner) + nonceCount++;
I got the above from error: replacement transaction underpriced since I was getting that error, due to the previous transaction not being mined and hence the nonce could not be the same.
However, when I go to Etherscan, I can only find a few of these tx hashes (about 5 or so). I also noticed that during the first run, after I let it run and came back to check, I saw all of them (about 700 transactions).
Am I doing something wrong here? Or I just need to wait more (according to Etherscan it may take up to 1 hour when the transaction won't be mined on the current block).
I would really appreciate your help on this as it baffles me that it might not be working properly when a tx hash is returned.
Thanks in advance!