SteamGamesBTC.com
|
|
January 01, 2013, 02:21:40 PM Last edit: January 01, 2013, 04:06:28 PM by steamgames |
|
Argh, it happens so often for me, only on bitbattle. ;-)
|
►SteamGamesBTC.com◄ > Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
|
|
|
Herbert (OP)
|
|
January 02, 2013, 10:03:53 AM |
|
Statistics have been extended today: @steamgames: Have a look at your "win percentage" stats. Indeed it seems you had some real bad luck there on the lessthan29491 bet But on the other hand this means you can expect to start winning there if you continue
|
|
|
|
Herbert (OP)
|
|
January 05, 2013, 02:43:12 PM Last edit: January 05, 2013, 04:47:56 PM by Herbert |
|
Spent quite some time hunting down bet processing deadlock that still happens every few days... I think I found the reason, but as it happens so rarely you can never be sure :-) Changelog for today: - Rework session close logic to prevent deadlocks
- Add some more crosslinks to blockchain.info for transactions and addresses
- Some more code cleanups in javascript part
Most visible change should be session close logic. Before the update the session details page triggered a reload() when the timers expired. This is now not necessary anymore as the server anyway sends a message to the client when the session is closed. Please report here if you spot any troubles or delays! Edit: While at it I also improved live connection handling with IE. Should be much more stable now using flashsocket connection
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 08, 2013, 05:22:02 PM |
|
Would it be possible to add the risk amount and bet counter on the session page?
|
|
|
|
Herbert (OP)
|
|
January 08, 2013, 08:58:43 PM |
|
Would it be possible to add the risk amount and bet counter on the session page?
Should be possible, but might need some layout tweaking. Probably would need to decrease overall font size for the tables like on the main page. (You meant to display them in the "Running session" table in the dashboard, right?)
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 08, 2013, 09:04:02 PM |
|
Would it be possible to add the risk amount and bet counter on the session page?
Should be possible, but might need some layout tweaking. Probably would need to decrease overall font size for the tables like on the main page. (You meant to display them in the "Running session" table in the dashboard, right?) You got it. It just would be cool to be able to see everything about the session while you are in it without having to go to your profile to see though, know what I mean?
|
|
|
|
Herbert (OP)
|
|
January 08, 2013, 10:27:21 PM |
|
Upcoming change of rules for lucky number calculationI decided to follow the amazingly simple proposal by dooglus (which is also implemented by SDice in the meantime): They could fix that by using a different 'lucky number' for each bet. Use the output number as well as the txid to determine the lucky number. Then they can allow lots of max bets on the same game in a single transaction, without increasing their risk of ruin.
Starting tomorrow morning 1:00 ( 2013-01-09 01:00 UTC) the calculation of lucky numbers will also take the output index into account. At the same time the bet details pages will also show the new way to verify the lucky number and bet result. This change is only important for people doing "sendmany" transactions (placing multiple bets in one single transaction). Right now the lucky number is only depending on the transactionID, so each bet of a sendmany transaction will have the same lucky number. This makes it possible for people to effectively avoid the max bet limit, because if the lucky number is low all or most of the bets will win. So there is less statistic variance for me, resulting in a higher risk of needing to do huge payments at once. When the change is effective each bet of a sendmany transaction will have an individual lucky number. This increase statistical variance, so the risk for me having to do a huge payment is reduced a lot. Important: This does not change anything on the win odds or fairness of bitbattle.me! This is just a change to increase the variance of bet results, enabling me to increase the max bet limits and/or reduce the necessary balance of the hot wallet. I expect the change to go through smoothly. Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed
|
|
|
|
ingrownpocket
Legendary
Offline
Activity: 952
Merit: 1000
|
|
January 09, 2013, 10:17:05 AM |
|
Upcoming change of rules for lucky number calculationI decided to follow the amazingly simple proposal by dooglus (which is also implemented by SDice in the meantime): They could fix that by using a different 'lucky number' for each bet. Use the output number as well as the txid to determine the lucky number. Then they can allow lots of max bets on the same game in a single transaction, without increasing their risk of ruin.
Starting tomorrow morning 1:00 ( 2013-01-09 01:00 UTC) the calculation of lucky numbers will also take the output index into account. At the same time the bet details pages will also show the new way to verify the lucky number and bet result. This change is only important for people doing "sendmany" transactions (placing multiple bets in one single transaction). Right now the lucky number is only depending on the transactionID, so each bet of a sendmany transaction will have the same lucky number. This makes it possible for people to effectively avoid the max bet limit, because if the lucky number is low all or most of the bets will win. So there is less statistic variance for me, resulting in a higher risk of needing to do huge payments at once. When the change is effective each bet of a sendmany transaction will have an individual lucky number. This increase statistical variance, so the risk for me having to do a huge payment is reduced a lot. Important: This does not change anything on the win odds or fairness of bitbattle.me! This is just a change to increase the variance of bet results, enabling me to increase the max bet limits and/or reduce the necessary balance of the hot wallet. I expect the change to go through smoothly. Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed http://bitbattle.me/game/cf91a9db835341be9997cbb7c9403923/
|
|
|
|
Herbert (OP)
|
|
January 09, 2013, 02:57:53 PM |
|
Thanks for testing
|
|
|
|
Herbert (OP)
|
|
January 10, 2013, 10:34:04 PM |
|
Need to cleanup some unconfirmed transactions from the wallet. Site will be offline for a few minutes...
Up again!
|
|
|
|
Herbert (OP)
|
|
January 11, 2013, 11:50:06 PM |
|
I rolled out an update of the payment engine today: There was one bug that could lead to your session payout including unconfirmed inputs from other players (Your own unconfirmed inputs are always part of the payout). As there have been some double-spend attempts lately there was at least one payout which never confirmed since it contained a double-spent input. This bug is fixed now, all session payout inputs are now either from your own bets or have at least one confirmation.
|
|
|
|
Herbert (OP)
|
|
January 12, 2013, 12:15:49 AM |
|
I am working on a refine of the double-spend protection mechanism. The following rules will be in place: - If a transaction has fee >= 0.0005, and all inputs are confirmed -> ALLOW
- If a transaction has fee < 0.0005, but all inputs are confirmed -> ALLOW
- If a transaction has fee < 0.0005, and at least one input is unconfirmed -> REJECT
- If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
- If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
Note that " REJECT" means the transaction is immediately sent back to the players payout address. As bitbattle.me is all about realtime there is no point in waiting until the transaction gets confirmed. Opinions? Can you think of a scenario where I would reject valid transactions? Or not detect double-spend attempts like described in https://bitcointalk.org/index.php?topic=130764 (In general I think people will continue to refine this attack, so it will always be a cat-and-mouse-game anyway...)?
|
|
|
|
Herbert (OP)
|
|
January 12, 2013, 10:00:59 PM |
|
- If a transaction has fee >= 0.0005, and all inputs are confirmed -> ALLOW
- If a transaction has fee < 0.0005, but all inputs are confirmed -> ALLOW
- If a transaction has fee < 0.0005, and at least one input is unconfirmed -> REJECT
- If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
- If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
Note that " REJECT" means the transaction is immediately sent back to the players payout address. As bitbattle.me is all about realtime there is no point in waiting until the transaction gets confirmed. These rules are now active on the site. Please report here if you placed a legit bet and it was rejected - I am sure thes rules will need some refinement :-)...Shortly after this is done also bet limits will be raised and placing multiple bets of the same type within one transaction will be allowed Multiple same type bets are now allowed. Bet limits still unchanged though - Still need to do some more math to decide which amount is okay without risking going bankrupt
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 12, 2013, 10:34:37 PM |
|
Well, all my current bets are being refunded due to "potential double spend".
|
|
|
|
Herbert (OP)
|
|
January 12, 2013, 10:39:03 PM Last edit: January 12, 2013, 10:49:53 PM by Herbert |
|
Well, all my current bets are being refunded due to "potential double spend".
Nice I'm checking your transactions now. Which client are you using? Edit: - If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
- If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
I changed these two rules so that a tx fee of 0.0005 is sufficient. Let's see how it works.
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 12, 2013, 10:53:42 PM |
|
It varies, sometimes blockchain.info and sometimes local bitcoin app. That particular instance was blockchain. testing...
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 12, 2013, 10:54:47 PM |
|
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing.
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 12, 2013, 10:56:38 PM |
|
Well, all my current bets are being refunded due to "potential double spend".
Nice I'm checking your transactions now. Which client are you using? Edit: - If a transaction has at least one unconfirmed input but higher fee (>= 0.001) -> ALLOW
- If a transaction has at least one unconfirmed input and fee < 0.001 -> REJECT
I changed these two rules so that a tx fee of 0.0005 is sufficient. Let's see how it works. Geez, now I'm having a problem with losing... Obviously something is broken again, could you fix that as well?! lol
|
|
|
|
Herbert (OP)
|
|
January 12, 2013, 11:00:10 PM |
|
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing. That's correct. The transactions that went through had already confirmed inputs, so they went through regardless of the txfee. The rejected ones had unconfirmed inputs when they came in, so i checked the txfee. Geez, now I'm having a problem with losing... Obviously something is broken again, could you fix that as well?! lol
|
|
|
|
IXIslimIXI
Member
Offline
Activity: 117
Merit: 10
|
|
January 12, 2013, 11:04:22 PM |
|
It's working now BUT, what is odd about this previous incident is that I had already placed several bets prior to those failing. That's correct. The transactions that went through had already confirmed inputs, so they went through regardless of the txfee. The rejected ones had unconfirmed inputs when they came in, so i checked the txfee. Odd, I shouldn't have had any unconfirmed coins in my wallet today. Oh well...
|
|
|
|
|