Bitcoin Forum
May 09, 2024, 12:55:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [85] 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 »
1681  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 08:23:06 PM
Why not just make it that bets need 5 or 6 confs to count, effectively eliminating this attack completely? So bets in block xxx996 to yyy995 are in the zzz000 draw.

Yeah it makes a lot of sense, but I don't like how that would complicate the draw. I think I'd rather have a very difficult to run verification function
1682  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 07:25:57 PM
Oh, and it's even worse. As a miner, I see a 50 BTC pot, so I create but do not broadcast a 5000 BTC bet. I try mining block xxx000 including my secret bet transaction. If I manage it, I check whether it wins (it probably does) and broadcast the block if it does. If it doesn't win, I don't broadcast the block, so I lose the 25 BTC block reward, but I never lose my 5000 BTC bet. So in the event that I am able to mine that block, I have a 99% chance of winning 75 BTC and a 1% chance of losing 25 BTC. That's very +EV since I've eliminated the possibility of losing anything but the block reward.

Excellent observation, and something I missed.  I believe an powerful fix for this would be that transactions in "draw block" are not part of the draw. So in concrete terms, the draw still is decided by block 1233000 however any transactions in block 1233000 are part of draw 2, not draw 1.

A (very large) miner could still use a variant of the attack to privately withhold a xxx999 block with the 5000 BTC transaction, and then attempt to privately mine the xxx000 block but now it's getting much, much harder (with a larger penalty for failure).

I'll do some benchmarking on a high-end computer, and try figure out some parameters to slow down verification to prevent any  <large minger attack> as well. I'll revise the provably fair prior to 24 hours before the draw, and add a notice on the provably fair page, linking to this post.
1683  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 06:41:27 PM
How come its probably fair when you choose only 1 winner ?If 1000 people buys tickets and only 1 is winning then the probability of win is almost 1/1000 which is completely random .You should have atlest first seocnd  and third place winners as well

I'm a bit of a sucker for simplicity, so I do like the idea of "winner takes all". Provably fair doesn't imply that you're probably going to win, it just means that you can verify it's fairness. =)

(i.e. For $1 if you have a 1 in a million chance of winning a million dollars, you're probably not going to win .. but it's still fair)
1684  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 03:31:18 PM
but it might be a problem if the user wins and is not able to sign a message ....or the alterative could be that the user can sign a message from the sending addy in case of any loss of wallet or addy's, In that case you need to remove the date and time thing .
however it is lesslikely to happen but it is possible.

If a user is not able to sign a message, they should be using the forwarding feature (pevpot.com/play) which does it all automatically for you. But if there's any problems with the winner signing a message, I'm more than happy to work with them to make sure the money arrives in the right hands. The point of the signed message isn't to be an obstacle, it's designed to stop mistakes =)
1685  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 10:59:19 AM
So how does the +EV work exactly? For every satoshi I send I get 1 ticket but anyone can send any amount and there is no limit so my chances of winning will always be variable, right? How can you know if it's going to be +EV if everytime im going to have different chances of winning?

Because for instance in this draw (#1) the prize is always going to be 0.17658 BTC more than players put in (thanks to the sponsor). So as more and more tickets are bought, the EV will get closer and closer to 0 but it'll always stay positive
1686  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 10:53:21 AM
yeah but why would people send it from their bustabit accounts ? i mean they clearly cant sign a message from there.

Yet people will do it anyway. I've probably had >25 support tickets from people withdrawing from their bustabit accounts to on-chain gambling games like satoshidice / satoshibones / lucky.bit even despite:



Quote
you can restrict them to use only home wallet's or blockchain ..etc.
people lose their wallet and addresses many times and also export keys for several reason's .
it's tricky .

In all those cases, users should be able to easily sign a message and direct payment of the prize if they win (including direct to their cold storage).


The idea is that the weekly prize amounts are supposed to be significant amounts of money, and I don't want to blindly send them hoping they arrive in the right spot. It also allows me to do the forwarding-addresses (pevpot.com/play) more efficiently, because when I generate the forwarding address I immediately sign (and save) a message directing proper payment.
1687  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 10:35:25 AM
i dont understand the " signing message " thing ?
why would you require it ?

I cover it here: https://www.pevpot.com/faq#signing

But a huge reason is help protect people from themselves, while still being provably fair.  Actually already someone has played the lottery directly from their bustabit account (instead of using the forwarding feature). If I blindly returned money to the sending address, it'd end up in someone else's account.  Now if that transaction wins the lottery, I can actually take the time to sort it out. For instance what I'll do on behalf of the user is generate a signed message from the sending address which direct proper payment and then I can then publish the signed message (so you can verify I sent to the right spot).
1688  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 10:29:39 AM
Nice project, fix this  https://www.pevpot.com/how-to-play
It shows provably fair box twice.

Good luck!

Each column is supposed to be a different way of playing. But seems that page is a bit too complex, I'll totally overhaul it tomorrow =)
1689  Economy / Gambling / Re: Introducing PevPot.com The Only +EV Lottery on: November 11, 2015, 10:29:00 AM
Thanks for the proof-reading Dooglus, I'll pushed up some fixes  Smiley

I wonder if it's possible to find a solution which isn't able to be parallelised, takes a long time to solve, but no time to verify.

http://crypto.stackexchange.com/a/9331 looks promising. It gives us:

* slow for the miner to compute
* quick for the users to verify
* not possible to parallelize

but with the disadvantage of the pevpot site having to keep a secret until after the draw, and being able to cheat (by removing the slowness) if it colludes with a miner

This is quite interesting, as it's basically like having a "server secret" that I don't need to worry about losing. But if the amounts in the lottery are sufficiently large that this is an issue, I believe the issue of "pevpot colluding with a miner" would be problematic. So I would steal lean towards a function that took an hour of computation time to verify (and compute initially). I've spent a while looking, but haven't found a function that satisfies:

* Is not parallelizable
* Slow to compute, fast to verify
* Offers no collusion possibility (i.e. no server secret)

any 2/3 however seems easy =)
1690  Economy / Gambling / Introducing PevPot.com The Bitcoin Lottery on: November 11, 2015, 06:16:52 AM
PevPot.com is a project that I've been working on for a few weeks now, and believe it to be the first of its kind. It's a provably fair lottery where players actually get more out than they put in. Or said more technically it's the holy grail of gambling: +EV

The way that it works is pretty simple, each draw is sponsored by a number of advertisers, who make this possible. 90% of the money the sponsors pay goes directly into the prize pot (we keep 10%). 100% of the tickets players buy go into the prize pot. For every satoshi you send, you get 1 ticket. And every 1000 bitcoin blocks (when it ends in 000) we draw a winner (in a provably fair way, of course).

For more details, please see pevpot.com.

(Also a big thanks to our sponsors who with only a couple hours notice helped make the first draw happen.

I look forward to your feedback. Please buy tickets, share with your friends and support our sponsors who make this possible!


1691  Economy / Gambling / Re: PevPot :: The first +EV lottery (Call for sponsors!) on: November 11, 2015, 01:38:42 AM
That's a good solution. I'm curious to know if you have such a function (easy to verify) in mind.

The best I have for now is just "bcrypt with millions of iterations". The nice thing about this, is you can't parallelize it, which means you can make a very good estimate of the amount of time it would take to solve. Even if it took people ~30 minutes to solve, it'd be a bit inconvenient to verify, but not show-stoppingly so.  

Quote
you don't say anything about how many confirmations a deposit needs to be included in the draw.

Thanks, I'll add this. As long as it gets confirmed on or before the draw hash, it counts. If it doesn't get confirmed by the draw hash, it'll just be part of the next draw. (I will reuse the lottery address, specifically for this reason)


In the case of reorgs, the hash is used from the chain with the most work. No payments are automatic (the lottery address is part of my cold wallet) and won't be sent immediately (I want to give people time to verify the draw outcome before I sent payment) so it won't really be an issue. Worst case is someone will think they won, then there will be a re-org and a different winner is picked =)

(I believe this is really the only way to do it provably fairly, otherwise if there was a block race it's not possible for me to prove I saw X before Y)
1692  Economy / Gambling / Re: PevPot :: The first +EV lottery (Call for sponsors!) on: November 11, 2015, 01:02:59 AM
unless you think a miner is going to withhold a block (and lose 25 BTC) to have a better chance of winning.

This is something I've been thinking about. There exists a certain point where if you had a miner with a sufficiently large percent of the bitcoin hashing power, and a sufficiently large amount of a huge pevpot draw, they would be ncentivized to discard their solved block (and lose 25 btc) rather than lose the pevpot draw. When this become a remote reality, I think I have a nice idea for how to solve for it:

Instead of using the blockhash directly, apply an extremely time-consuming function on it.  Something that is not parallelizable, and would take a modern computer a significant amount of time to compute (e.g. bcrypt with hundreds of millions of iterations). Ideally though a function where verification is cheaper than the original computation. This could quickly make it uneconomical for a miner to check if their block has won or not, as it would almost guarantee their block gets orphaned.
1693  Economy / Gambling / Re: PevPot :: The first +EV lottery (Call for sponsors!) on: November 11, 2015, 12:53:38 AM
Is that a typo? Do you mean "without"?
Typo for "with our"  Grin


So the first draw will about a week from now, at block 384000?

That's correct.
1694  Economy / Gambling / PevPot :: The first +EV lottery (Call for sponsors!) on: November 11, 2015, 12:16:59 AM
Thanks for the early sponsors! Locking, to create the main thread now!


Hi guys,

In a few hours, I'll be launching my newest project PevPot.com which is going to be the first ever +EV lottery

The way it works is pretty simple, everyone sends bitcoins to a lottery address and for every satoshi you send you get 1 chance of winning. Every 1000 blocks (~7 days), we use the block hash to find a winner (with our provably fair). So if there's a total of 100 BTC sent, and you sent 0.03 BTC you would have a 0.03/100 chance of winning, and if you win you get the ENTIRE pot PLUS  "sponsorship" money. This means players get better than their the "fair odds" of winning, making it +EV

So what's sponsorship money? Basically a way for advertisers to get noticed. The top 5 sponsors of every draw (it's an auction) are prominently displayed during the draw (and forever in the history). 90% of the money that sponsors pay goes into the prize pot (that's what makes it +EV) and the remaining 10% I get to keep (my business model).

The site will soft-launch in a couple hours (bitcoin block) 383000, so if you want a chance to become a sponsor for the first ever draw now's your chance to throw a few bitcents and make history:

https://www.pevpot.com/sponsor

Images are the same size as: https://thebitcoinstrip.com/  if you need a place to grab one from Grin


(Note: The first draw I intend to be pretty relatively low key, as I want to iron out all the issues with it, and release some independent verification tools and what not)
1695  Economy / Gambling / Re: MoneyPot.com :: The bitcoin gambling wallet on: November 08, 2015, 04:41:31 AM
If I may interrupt:

What programming knowledge is nececcasry to create a game for the site? What paradigm is most optimal for any game? Does/can the API communicate with a broad range of languages?

As long as it can make http/json requests, any programming language is fine. If it's browser-based, you're definitely best off using javascript or something that compiles to it =)
1696  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin" on: November 08, 2015, 04:08:17 AM
Anyway, it's just a thought. Let me know what you think...

It seems this plan would require the digger to be completely oblivious to what's going on? If it ever looked like his digging was going to be stopped, what's stopping him just digging everything at once? I guess this is mildly better than the current situation, as he'd be forced to show his entire hand but he could even likely start using his clams to vote "digging-allowed" and prevent an overwhelming majority consensus.
1697  Economy / Gambling / Re: AutoDice 1% House Edge (MoneyPot) on: November 07, 2015, 08:58:57 PM
moneypot is bad for this, all can open a "dice site" in 5 minutes, without risk, graphic, without domand and in free hosting. Why people get play to this site when have other funny site with nice graphic and more other ?

I'm not sure I follow your reasoning. Moneypot does massively reduce the barriers to entry (especially when combined with Dan's script) but I'm not convinced that's entirely a bad thing. I mean, no one's forcing you to play at any of them and I don't see harm if someone wants to make a little micro-community they and their friends can hang out and bet.

Also if you remember back to before the proliferation of untitled-dice sites, it was CoinDice sites that were popping up on a weekly basis, which invariably ended with players and operators getting their money stollen. So far, I haven't heard of a single player or operator getting screwed by with this script, so I think the status-quo is a lot better =)
1698  Economy / Gambling / Re: bustabit.com -- The Social Gambling Game (formerly moneypot.com) on: November 07, 2015, 06:08:45 PM
I see that a bustabit clone is down after having its hot wallet stolen by a hacker using an exploit in their deposit mechanism:

Site was taken offline because of an exploit in the deposit mechanism. Investigating now.

I'm guessing that they implemented their own deposit mechanism (they talk about having been tricked into trusting fake blockr.io callbacks) and that bustabit itself is safe from the exploit, but it would be good to have that confirmed here.

That's correct. I've never looked at tothemoon's deposit code but bustabit doesn't use blockr.io at all, but rather uses the code from https://github.com/moneypot/bustabit-depositor which itself queries bitcoin-core (over rpc) and directly (through the database) updates users balances/deposit history*. I do not believe there is or has been an exploit in this.

(Personally I'm far too paranoid to trust a third party to tell me abouts deposits)



* The code is kind of shit, I wouldn't advise people to copy it or use it as inspiration if starting from scratch. It suffers from a few design problems, which I've fixed in the moneypot depositor. I've been meaning to backport it to bustabit, but never got around to it.
1699  Economy / Gambling / Re: MoneyPot.com :: The bitcoin gambling wallet on: November 07, 2015, 02:50:21 PM
Could someone explain how I could possibly lose my investment?

Really the only way sounds like a hacker or something right?

"The house always wins"

Aren't investors basically the house? I just don't understand how you could EVER lose long term with this sort of system.

The house only "always" wins if people infinitely re-gamble all payouts they make. Eventually the house edge will whittle them down to nothing. This is a good enough approximation for a witty expression, but in reality there are a lot of other factors. People can win at the casino and stop playing, or they can win and go somewhere else. Or they can win, and you need to divest. Or they can win and your investment gets diluted so much it can't recover.
1700  Economy / Gambling / Re: MoneyPot.com :: The bitcoin gambling wallet on: November 07, 2015, 03:35:08 AM
I like the forum idea, but the primary reason I took it down was that there's just not enough activity to warrant it. So it's conversation is probably better off here, or maybe forum.bitcoin.com


Just a heads up, I've deployed code that automatically disables the sessions of people grossly abusing the betting api (i.e. parallelizing api calls). It's quite lenient right now (only disables sessions of people who consistently paralleize request), but will get more strict as time comes.  I'll work on creating an acceptable use policy shortly, with some hard limits
Pages: « 1 ... 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [85] 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!