jonny1000
Member
Offline
Activity: 129
Merit: 14
|
|
December 07, 2014, 06:12:13 PM |
|
Hi Is anyone else having problems with Rock Paper Scissors? As my game history shows, I appear to win because my opponent often makes move "NA". Please could someone explain why the game does not appear to work effectively? Are players too impatient to wait for conformations?
|
|
|
|
deliciousowl
|
|
December 07, 2014, 06:16:41 PM |
|
Thanks Semiel Question for the devs: is there anything new to report on new exchanges enabling the trading of BTC/XCP? Not a dev, but noticed something. A short while ago some guys from business development over at Cryptonext were asking in Skype chat about how to integrate XCP into their white label cryptocurrency exchange service. https://cryptonext.net/This will make XCP tradeable against many different kinds of fiat (and other cryptocurrencies) in many different countries around the world. https://cryptonext.net/?page=aboutUs#clientsSo whoever makes a Cryptonext white label exchange, will be able to add XCP to the trading system automatically.
|
|
|
|
semiel
Newbie
Offline
Activity: 16
Merit: 0
|
|
December 07, 2014, 06:46:31 PM |
|
yes the prize amounts cannot be the same as powerball since it is unrealistic to use fixed pay outs unless this is being done by a large entity who already has the funds. the payout as i mentioned above should ensure that at least 33% of the tickets get something. does it do that?
You're going to need a big bankroll regardless, if you want to run any sort of lottery. That's because, by definition, if you're working with fixed probabilities there's no guarantee reality will follow exactly the expected distribution. What if only one person enters, and they win a prize? (The situation is different with a raffle, where the probabilities and payouts change together.) Real lotteries solve this problem by buying insurance and things like that. I originally followed the probabilities of the real Powerball for payouts, which means that you have about a 1/35 chance of winning a prize. I just pushed a change giving the ability to payout on fewer matched numbers, so that you can bring that number down if you like. If you give a small payout for even a single match, my back of the envelope calculations say people should have about a 50% chance of winning.
|
|
|
|
oakmaster
Newbie
Offline
Activity: 43
Merit: 0
|
|
December 07, 2014, 08:24:25 PM |
|
is there a multipool for XCP
|
|
|
|
Equality 7-2521
Member
Offline
Activity: 118
Merit: 10
A difference which makes a difference
|
|
December 07, 2014, 08:49:28 PM |
|
is there a multipool for XCP
XCP is not mine-able. All the XCP that will ever exist have already been generated by proof-of-burn.
|
|
|
|
baddw
|
|
December 07, 2014, 09:36:03 PM |
|
is there a multipool for XCP
XCP is not mine-able. All the XCP that will ever exist have already been generated by proof-of-burn. Multipool is for coins that are not mine-able. They mine various coins of the same algorithm (e.g. scrypt or X11) depending on profitability, and trade for (none-mineable-currency) via exchange, and payout miners in the the desired currency. An XCP multipool would be a good idea.
|
BTC/XCP 11596GYYq5WzVHoHTmYZg4RufxxzAGEGBX DRK XvFhRFQwvBAmFkaii6Kafmu6oXrH4dSkVF Eligius Payouts/CPPSRB Explained I am not associated with Eligius in any way. I just think that it is a good pool with a cool payment system
|
|
|
Equality 7-2521
Member
Offline
Activity: 118
Merit: 10
A difference which makes a difference
|
|
December 07, 2014, 09:44:19 PM |
|
I know that the Counterparty Contract Lottery contest has not been completely finalized yet but I would just like to say bravo to prophetx for proposing it in the first place and kudos to semiel for rising to the challenge, and in record time!
What other Counterparty Contracts would we like to see implemented. Which ones would have the most impact?
Would it be possible to have a Counterparty Contract that creates a hash of all the Counterparty Protocol data up to a particular block and encodes that data in the blockchain (using OP_RETURN). The Counterparty Protocol data up until that point could be downloaded from any channel (radio, sneaker-net, sateliite, torrents, etc.) and using an SPV capable thin client the hash could be verified, thus the Counterparty Protocol data could have it's integrity trustlessly verified (or not, as the case may be).
|
|
|
|
prophetx
Legendary
Offline
Activity: 1666
Merit: 1010
he who has the gold makes the rules
|
|
December 07, 2014, 11:17:25 PM |
|
yes the prize amounts cannot be the same as powerball since it is unrealistic to use fixed pay outs unless this is being done by a large entity who already has the funds. the payout as i mentioned above should ensure that at least 33% of the tickets get something. does it do that?
You're going to need a big bankroll regardless, if you want to run any sort of lottery. That's because, by definition, if you're working with fixed probabilities there's no guarantee reality will follow exactly the expected distribution. What if only one person enters, and they win a prize? (The situation is different with a raffle, where the probabilities and payouts change together.) Real lotteries solve this problem by buying insurance and things like that. I originally followed the probabilities of the real Powerball for payouts, which means that you have about a 1/35 chance of winning a prize. I just pushed a change giving the ability to payout on fewer matched numbers, so that you can bring that number down if you like. If you give a small payout for even a single match, my back of the envelope calculations say people should have about a 50% chance of winning. cool thanks! Hopefully one of the dev's can check your code soon, so you can get the award. I'll keep bugging them but I guess it is the weekend.
|
|
|
|
semiel
Newbie
Offline
Activity: 16
Merit: 0
|
|
December 07, 2014, 11:20:04 PM |
|
yes the prize amounts cannot be the same as powerball since it is unrealistic to use fixed pay outs unless this is being done by a large entity who already has the funds. the payout as i mentioned above should ensure that at least 33% of the tickets get something. does it do that?
You're going to need a big bankroll regardless, if you want to run any sort of lottery. That's because, by definition, if you're working with fixed probabilities there's no guarantee reality will follow exactly the expected distribution. What if only one person enters, and they win a prize? (The situation is different with a raffle, where the probabilities and payouts change together.) Real lotteries solve this problem by buying insurance and things like that. I originally followed the probabilities of the real Powerball for payouts, which means that you have about a 1/35 chance of winning a prize. I just pushed a change giving the ability to payout on fewer matched numbers, so that you can bring that number down if you like. If you give a small payout for even a single match, my back of the envelope calculations say people should have about a 50% chance of winning. cool thanks! Hopefully one of the dev's can check your code soon, so you can get the award. I'll keep bugging them but I guess it is the weekend. No worries! Thanks for setting this all up! I should say, if there's anything you don't like about the way I interpreted the spec, let me know. I'm happy to make any tweaks that are necessary. I want everyone on both sides to feel good about how this went.
|
|
|
|
PhantomPhreak (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
December 07, 2014, 11:43:59 PM |
|
Hi Is anyone else having problems with Rock Paper Scissors? As my game history shows, I appear to win because my opponent often makes move "NA". Please could someone explain why the game does not appear to work effectively? Are players too impatient to wait for conformations? The problem is that the other user isn't finishing the game. There's no way to tell why not.
|
|
|
|
Anotheranonlol
|
|
December 08, 2014, 12:39:21 AM Last edit: December 08, 2014, 04:35:28 AM by Anotheranonlol |
|
I think it would be a good idea to create a specific section for Smart contracts on the CounterParty forums. At the moment most of the knowledge and community discusssion are to be found on Ethereum-centric boards.
The section can: -Focus on general smart contract discussion -cover an introduction to building & deploying a simple smart contract, with a 'hello world' test as well as links to useful resources for those playing with the technology -Include a subsection for bidding on smart contract writing -Include subsection for the showcase & trade of smart contracts/ smart contract lego-brick logic (whether it be snippets found online or new creations by freelancers)
I'd expect this ecosystem to broaden over time, and skilled Freelance smart contract writers to come into an increasing demand in future. Having CounterParty forums as one avenue they can congregate seems beneficial to both creators and consumers.
Especially with the introduction of multisig, it would be a cool idea to build a relatively simple 'smart contract' kickstarter/reverse kickstarter on top of CounterParty, where community can collaboratively chip in funds to realise the development of smart contract dApps.
|
|
|
|
LordMeowMeow
|
|
December 08, 2014, 01:42:18 AM |
|
I really like the idea of having the community support the protocol/CP team with bounties for additional features. The lotto idea was great indeed.
|
|
|
|
|
prophetx
Legendary
Offline
Activity: 1666
Merit: 1010
he who has the gold makes the rules
|
|
December 08, 2014, 02:32:35 AM |
|
yes the prize amounts cannot be the same as powerball since it is unrealistic to use fixed pay outs unless this is being done by a large entity who already has the funds. the payout as i mentioned above should ensure that at least 33% of the tickets get something. does it do that?
You're going to need a big bankroll regardless, if you want to run any sort of lottery. That's because, by definition, if you're working with fixed probabilities there's no guarantee reality will follow exactly the expected distribution. What if only one person enters, and they win a prize? (The situation is different with a raffle, where the probabilities and payouts change together.) Real lotteries solve this problem by buying insurance and things like that. I originally followed the probabilities of the real Powerball for payouts, which means that you have about a 1/35 chance of winning a prize. I just pushed a change giving the ability to payout on fewer matched numbers, so that you can bring that number down if you like. If you give a small payout for even a single match, my back of the envelope calculations say people should have about a 50% chance of winning. cool thanks! Hopefully one of the dev's can check your code soon, so you can get the award. I'll keep bugging them but I guess it is the weekend. No worries! Thanks for setting this all up! I should say, if there's anything you don't like about the way I interpreted the spec, let me know. I'm happy to make any tweaks that are necessary. I want everyone on both sides to feel good about how this went. ok thanks i am going to sleep now, it took me way longer than i thought to drive on a1a from miami beach. i'll bug people tomorrow about checking the code worst case i will try to see how to run it myself on the test net - i guess i might as well try since this (ethereum contracts) is a major new feature of XCP
|
|
|
|
|
deliciousowl
|
|
December 08, 2014, 02:02:49 PM |
|
I brought this up on github, and one of the core devs already said they'll add it. It's not a big deal.
|
|
|
|
prophetx
Legendary
Offline
Activity: 1666
Merit: 1010
he who has the gold makes the rules
|
|
December 08, 2014, 03:05:46 PM |
|
yes the prize amounts cannot be the same as powerball since it is unrealistic to use fixed pay outs unless this is being done by a large entity who already has the funds. the payout as i mentioned above should ensure that at least 33% of the tickets get something. does it do that?
You're going to need a big bankroll regardless, if you want to run any sort of lottery. That's because, by definition, if you're working with fixed probabilities there's no guarantee reality will follow exactly the expected distribution. What if only one person enters, and they win a prize? (The situation is different with a raffle, where the probabilities and payouts change together.) Real lotteries solve this problem by buying insurance and things like that. I originally followed the probabilities of the real Powerball for payouts, which means that you have about a 1/35 chance of winning a prize. I just pushed a change giving the ability to payout on fewer matched numbers, so that you can bring that number down if you like. If you give a small payout for even a single match, my back of the envelope calculations say people should have about a 50% chance of winning. cool thanks! Hopefully one of the dev's can check your code soon, so you can get the award. I'll keep bugging them but I guess it is the weekend. No worries! Thanks for setting this all up! I should say, if there's anything you don't like about the way I interpreted the spec, let me know. I'm happy to make any tweaks that are necessary. I want everyone on both sides to feel good about how this went. ok thanks i am going to sleep now, it took me way longer than i thought to drive on a1a from miami beach. i'll bug people tomorrow about checking the code worst case i will try to see how to run it myself on the test net - i guess i might as well try since this (ethereum contracts) is a major new feature of XCP so here is the review of you code, there are a couple issues that need to get resolved. https://gist.github.com/jorisbontje/353f69515a16cef7de7ba snippet from the conclusion: Then intend of the code is good, but in the implementation I have identified a couple flaws:
As stated under 6, the redemption deadline isn't fully implemented. This is problematic as it conflicts with the administrator being able to withdraw funds after the deadline. Winning numbers can be redrawn multiple times after the lottery deadline, potentially overriding previous drawings. https://github.com/PeterBorah/ethereum-powerball/blob/master/contracts/lotto.se#L62-L81 As this can be triggered by anyone this is a serious concern. Suggested is to 'freeze' the lottery after the lottery deadline until the redemption deadline has expired as well. Relying on block.prevhash is a security risk as this can be abused by miners / mining pools using a block withholding attack. If this is a real threat depends on the payout amount of the lotto. Since the RNG is configurable, I'd consider this to be currently good enough for the bounty. Minor feedback for improvement:
use def init for automatic initialization upon contract creation specify explicitly in requirements.txt which pyethereum / ethereum-serpent library are supported create user interface ;)
|
|
|
|
semiel
Newbie
Offline
Activity: 16
Merit: 0
|
|
December 08, 2014, 04:34:31 PM |
|
Thank you for the thorough review! I'll take a look at addressing the issues when I get the chance. (Might be a day or so.)
|
|
|
|
|
jonny1000
Member
Offline
Activity: 129
Merit: 14
|
|
December 08, 2014, 08:01:51 PM |
|
Hi Is anyone else having problems with Rock Paper Scissors? As my game history shows, I appear to win because my opponent often makes move "NA". Please could someone explain why the game does not appear to work effectively? Are players too impatient to wait for conformations? The problem is that the other user isn't finishing the game. There's no way to tell why not. Thanks for your reply. Do you often play the game? I keep trying but the other user never does anything. This makes the game unplayable. Cant the rules be changed so that players must reveal within say 2 blocks?
|
|
|
|
|