Well, you know that TRC's network is very, very thin compared to BTC. Difficulty is currently ~570 where BTC is 4000000+. Why that means transactions are placed in block in such small batches I don't know, but you will just have to be patient, I guess. It is a very important detail going forward, though, thanks for reporting it. I'm trying to think of ways to prevent the problem from escalating.
So you mean that it's the miners who are withholding the transaction and processing them one per block at a time? Because based on the last block found, tx ad303ee249... block 82371 2013-03-03 16:05:12 (69.87945897) 70.80530086 TRC, I still have well over 100+ betting tx awaiting inclusion into a block. This means that I have to wait for around another 150 blocks for the all the remaining tx to be confirmed, which would take around another 7~8 hours at the current difficulty and network hash rate? So with around 250 bets, it would take 12 hours to go thru all the tx and get confirmation for redemption?
I wouldn't say they are withholding, it's probably just a propagation issue. But yes, it scales terribly right now.
Actually this raises another question, since the hash function dependings on tx id as input, how does docbot and your site determine whether transaction is valid without it showing up in the blockchain for hours and hours? You make the hash function calculation as soon as the tx is broadcasted? But does not this create a huge gap for double spending attack given the huge lag in blockchains?
The hash is on the TX itself, and does not change. So yes, as soon as it is broadcasted. There is a double spending problem, sure, we even suffered some loss recently for it (but have since closed that door) but that's exactly why you can't withdraw without ALL tx being in blocks.
As for the Martingale betting, it's actually quite different from what I expected. I had thought that it's dividing bet into 0.1 TRC, and then go thru the Martingale sequence, until one goes bust, or win, at which time, the betting returns to 0.1 TRC, then run this iteration until reaching the profit target or bust. But apparently, your strategy is fixing the winning at 0.1 TRC, then determine the bet size depending on the "less than" multiplier, then run the iteration until profit target reached or bust. So as you mentioned, the max winning would be 0.1 TRC times number of iteration. So rather than relying a lucky streak of rolls to reach the profit target, which would be easier at higher multiple (lower odd bet), one has to survive enough iteration to get profit target = 0.1 TRC x number of wins.
That is Martingale for you, with the basic premise that you have a target and every time you lose you adjust the bet to meet the target.