Bitcoin Forum
December 06, 2016, 06:00:00 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: LiteDice  (Read 2851 times)
mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
July 15, 2012, 11:22:41 PM
 #1

I've been working on redesigning some of the backend bitcoin payment stuff that I have been using and in the process made it fairly simple to have it support alt-coins with the same basic design/networking.  My end goal was to make it much simpler to put basic (and not so basic) ***coin projects together without having to do security from the bottom up for each project.  Not really sure when/if those bits will ever be directly released but in the meantime I threw together a simple proof-of-concept to try things out.

http://greenishblue.info/litedice

The display/explanations may be a little rough around the edges but it is fully functional.  As always don't gamble with any coins you can't afford to lose and if you run into any issues let me know the tx hash and I'll track it down.

1481047200
Hero Member
*
Offline Offline

Posts: 1481047200

View Profile Personal Message (Offline)

Ignore
1481047200
Reply with quote  #2

1481047200
Report to moderator
1481047200
Hero Member
*
Offline Offline

Posts: 1481047200

View Profile Personal Message (Offline)

Ignore
1481047200
Reply with quote  #2

1481047200
Report to moderator
1481047200
Hero Member
*
Offline Offline

Posts: 1481047200

View Profile Personal Message (Offline)

Ignore
1481047200
Reply with quote  #2

1481047200
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ElectricMucus
Legendary
*
Offline Offline

Activity: 1540


Drama Junkie


View Profile
July 16, 2012, 12:36:45 AM
 #2

Nice  Cool

Though the house edge is a little too high for my taste. Satoshidice has 1.9% why is this 3%?

First they ignore you, then they laugh at you, then they keep laughing, then they start choking on their laughter, and then they go and catch their breath. Then they start laughing even more.
AndrewBUD
Sr. Member
****
Offline Offline

Activity: 336


I will Squirt you with this sprinkler :)


View Profile
July 16, 2012, 12:46:34 AM
 #3

1dice was 3% for a while..... just  recently changed back to 1.9% ...

mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
July 16, 2012, 01:16:48 AM
 #4

I figured it was safest to start with the edge on the high side and adjust lower later if possible.  The actual house edge (as opposed to the average displayed) depends on the bet size due to the minimum amount returned for a loss (which has to be somewhat higher than the 1dice ones due to the current fee rules on the litecoin network) so basically I wanted to make sure the expected return stays positive even with a lot of small bets.

mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
July 16, 2012, 10:41:01 PM
 #5

Sorry if the return txs were a little slow there for a bit, seems my local litecoind decided to ban me for trying to relay too many transactions through it at once, at least that problem shouldn't happen again  Smiley

bncbnc
Member
**
Offline Offline

Activity: 76


View Profile
July 17, 2012, 12:36:50 AM
 #6

First bet of 5btc, I won but never was paid:
http://greenishblue.info/litedice/1511b6a5bed84571437c9bb8a0ccd701eea4d2277e2d7dd3d418c0f4f31c6747-1.html

My second bet of 1btc, I lost, but was paid my 0.01: http://greenishblue.info/litedice/ebe5569392c7f877345ef7d8637816ab8568b7b8d576571bd9609439f955c5f1-1.html

Whats going on?
smoothie
Legendary
*
Offline Offline

Activity: 1834


LEALANA Monero Physical Silver Coins


View Profile
July 17, 2012, 12:44:30 AM
 #7



Don;'t you know?.......SCAM! lol j/k

███████████████████████████████████████

            ,╓p@@███████@╗╖,           
        ,p████████████████████N,       
      d█████████████████████████b     
    d██████████████████████████████æ   
  ,████²█████████████████████████████, 
 ,█████  ╙████████████████████╨  █████y
 ██████    `████████████████`    ██████
║██████       Ñ███████████`      ███████
███████         ╩██████Ñ         ███████
███████    ▐▄     ²██╩     a▌    ███████
╢██████    ▐▓█▄          ▄█▓▌    ███████
 ██████    ▐▓▓▓▓▌,     ▄█▓▓▓▌    ██████─
           ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌          
           ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌          
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─  
     ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩    
        ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀       
           ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀`          
                   ²²²                 
███████████████████████████████████████

. ★☆ WWW.LEALANA.COM        My PGP fingerprint is A764D833.        SMOOTHIE'S HEALTH AND FITNESS JOURNAL          History of Monero development Visualization ★☆ .
LEALANA  PHYSICAL MONERO COINS 999 FINE SILVER.
 
mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
July 17, 2012, 02:30:47 PM
 #8


Hmm, it looks like I have 3 payments now in the outgoing queue that are stuck at 0 confirmations but it has sent other payments in the meantime just fine, must be something about those it doesn't like.  I'm working on it, will (hopefully) get it sent shortly.

mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
July 17, 2012, 04:18:24 PM
 #9

http://abe.liteco.in/tx/5e8888caffda681b90f02bf93544375bf2ed22c3765e2035038630924c2febd6

And there it goes.  Guess I gotta go through and check my locking, looks like it was trying to double-spend one of those inputs with another tx created at the same time.

bncbnc
Member
**
Offline Offline

Activity: 76


View Profile
July 18, 2012, 02:48:51 PM
 #10

http://abe.liteco.in/tx/5e8888caffda681b90f02bf93544375bf2ed22c3765e2035038630924c2febd6

And there it goes.  Guess I gotta go through and check my locking, looks like it was trying to double-spend one of those inputs with another tx created at the same time.

Beautiful. I was addicted to SatoshiDice (And lost like 40btc), I feel like having access to this one may be bad for me (But good for you I guess Smiley)
mystery2048
Member
**
Offline Offline

Activity: 70


View Profile
July 19, 2012, 06:30:29 AM
 #11

Oh, nice project you have there... Smiley

Important: https://bitcointalk.org/index.php?topic=92424.0;all

Donations: 1HWMQv2VYviAgpy6NWNvVg9JhKm4zcMGS5
Tittiez
Hero Member
*****
Offline Offline

Activity: 686



View Profile
August 01, 2012, 02:28:32 AM
 #12

I love this
tacotime
Legendary
*
Offline Offline

Activity: 1484



View Profile
August 01, 2012, 02:37:07 AM
 #13

you might wanna make it wait for 6 confirmations before you send out the return for rewards, it seems pretty dangerous to have it wait for 0 confirmations to send it.

edit: I see you changed that right after I mentioned it, haha.

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
AMD FTW
Full Member
***
Offline Offline

Activity: 167


View Profile
August 01, 2012, 05:45:09 AM
 #14

OH yeah, just played the 512 game and lossed but played the max bet on game 1000 and won 416 LTC Smiley

Now Just waiting on my Deposit Smiley




Uploaded with ImageShack.us[/Share]
AMD FTW
Full Member
***
Offline Offline

Activity: 167


View Profile
August 01, 2012, 07:10:41 AM
 #15

Hmm

I got my first transaction (the loss) of .01 LTC back, within minutes after sending. Haven't receiving my big winnings yet. Going to get some sleep now, hopefully when I wake up they'll be in my account
DutchBrat
Hero Member
*****
Offline Offline

Activity: 868


View Profile
August 01, 2012, 11:17:34 AM
 #16

Uhmmm.... this is a nice house-edge:

2012-08-01 11:11:49   f2d09d1c3fcc6595...   Under 48000   16827   WIN   0.20000000 LTC   0.16216000 LTC

Shouldn't that be 0.2616 LTC

Now I win and get back less than I gambled !!!  Angry Undecided

http://greenishblue.info/litedice/f2d09d1c3fcc6595b824411f237cd76ab45a879348a55a9a82bb63d17e1ee410-1.html

Scott J
Legendary
*
Offline Offline

Activity: 1540



View Profile WWW
August 01, 2012, 11:33:46 AM
 #17

Waiting on payout on:

http://greenishblue.info/litedice/3c37dccf7d6776aa17ecd3fdde1dd6a30e529de8a98bead42bd6c86d7e53b153-1.html

and

http://greenishblue.info/litedice/47cb574b1dfd4c23c3dfe47d6958e89792d1366dc5e56cb0262a472d694c4ada-0.html

DutchBrat
Hero Member
*****
Offline Offline

Activity: 868


View Profile
August 01, 2012, 01:06:38 PM
 #18

I got my payout.....

But 0.16216 payout on a winning 0.20 bet is still wrong !!!!
mskwik
Full Member
***
Offline Offline

Activity: 125


View Profile
August 01, 2012, 01:10:46 PM
 #19

Yeah, I see around 40 bets queued up waiting for payout now but it'll catch back up shortly, the big win triggered a manual review on the payment backend, guess I should make it so that doesn't hold up the other payments in the queue.

Yes it should return winnings with 0 confirmations when it manages to respond fast enough (these Litecoin blocks come pretty fast) which is relatively safe because it uses the original tx in the payout, so if it ends up voided somehow the payout will as well.

And yes the tx fee can take a fairly large chunk percentage-wise at small amounts.  I don't necessarily want to make the min bet too large, but on very small bets it's way more than the house edge so can't afford to take it out of the house side either without a negative expected return (which isn't particularly sustainable).

DutchBrat
Hero Member
*****
Offline Offline

Activity: 868


View Profile
August 01, 2012, 01:12:32 PM
 #20

Yeah, I see around 40 bets queued up waiting for payout now but it'll catch back up shortly, the big win triggered a manual review on the payment backend, guess I should make it so that doesn't hold up the other payments in the queue.

Yes it should return winnings with 0 confirmations when it manages to respond fast enough (these Litecoin blocks come pretty fast) which is relatively safe because it uses the original tx in the payout, so if it ends up voided somehow the payout will as well.

And yes the tx fee can take a fairly large chunk percentage-wise at small amounts.  I don't necessarily want to make the min bet too large, but on very small bets it's way more than the house edge so can't afford to take it out of the house side either without a negative expected return (which isn't particularly sustainable).

Ah I see, my bad !
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!