updated tx processing logic to handle mainnet volume