dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 07, 2015, 05:24:33 PM |
|
atm staking annual interest rate is 53% (which is basically what you get on JD - turns out the gambling losses don't add up to much i guess)
lending money to shorters on polo has an annual interest rate of 300% (.2999%/day)
Lending does seem to pay better than staking at the moment. Advertising that fact here will change that quickly as more people enter the lending market pushing interest rates down as they undercut each other. A week ago the interest rate was 0.8%, and now it's 0.3% already after curious' big dumps transferred CLAMs to people willing to lend them out. Is the CLAM digging over? I see that the price has stabilized above 0.002 and it looks that CLAM is consolidating its position for the next uptrend.
Here's a chart of digging over time. It has been very flat since curious stopped digging. It's not "over", in that it is still allowed. But it does appear to be "over" for now, in that nobody seems to be digging much right now. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FxL4dgIr.png&t=665&c=mjy03BcCT8I-wQ)
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Northstar
Newbie
Offline
Activity: 50
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 07, 2015, 05:34:48 PM |
|
atm staking annual interest rate is 53% (which is basically what you get on JD - turns out the gambling losses don't add up to much i guess)
lending money to shorters on polo has an annual interest rate of 300% (.2999%/day)
Lending does seem to pay better than staking at the moment. Advertising that fact here will change that quickly as more people enter the lending market pushing interest rates down as they undercut each other. A week ago the interest rate was 0.8%, and now it's 0.3% already after curious' big dumps transferred CLAMs to people willing to lend them out. Is the CLAM digging over? I see that the price has stabilized above 0.002 and it looks that CLAM is consolidating its position for the next uptrend.
Here's a chart of digging over time. It has been very flat since curious stopped digging. It's not "over", in that it is still allowed. But it does appear to be "over" for now, in that nobody seems to be digging much right now. https://i.imgur.com/xL4dgIr.pngDoog, how do you generate the digging charts? Is there a script or other tool available so everyone can keep track?
|
|
|
|
GordoZ
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 07, 2015, 08:13:49 PM |
|
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 07, 2015, 08:23:59 PM |
|
Doog, how do you generate the digging charts? Is there a script or other tool available so everyone can keep track?
I use a cobbled-together shell script, and gnuplot. The shell script ('cc' is an alias for 'clamd'): b=$(cc getblockcount) b1=$(($(head -1 ~/Documents/clam/getblock.2.dat | awk '{print $1}')+1))
echo "dumping blocks $b1 to $b" 1>&2
while ((b >= b1)) do echo $(cc getblock $(cc getblockhash $b) | grep -e height -e supply -e time -e difficulty | awk '{print $3}' | tr -d ,) ((b -= 1)) if ((b % 100 == 0)) then echo $b 1>&2 fi done
and the gnuplot script: #!/usr/bin/gnuplot
set terminal qt size 1350,710 set rmargin 5 set grid set timefmt "%s" set xdata time set xtics format "%b %d" set key bottom right
plot sin(x) # resize window with junk plot
plot [470707200+604800*0-86400*30*7.15:*] \ "~/Documents/clam/getblock.2.dat" using 6:($3/1e0) title "digsupply" with lines lw 3, \ "~/Documents/clam/getblock.2.dat" using 6:($4/1e0) title "stakesupply" with lines lw 3 \ ; pause -1
plot [470707200+86400*250:*] \ "~/Documents/clam/getblock.2.dat" using 6:($3/1e0) title "digsupply" with lines lw 3, \ ; pause -1
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Northstar
Newbie
Offline
Activity: 50
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 07, 2015, 10:59:32 PM |
|
Doog, how do you generate the digging charts? Is there a script or other tool available so everyone can keep track?
I use a cobbled-together shell script, and gnuplot. The shell script ('cc' is an alias for 'clamd'): b=$(cc getblockcount) b1=$(($(head -1 ~/Documents/clam/getblock.2.dat | awk '{print $1}')+1))
echo "dumping blocks $b1 to $b" 1>&2
while ((b >= b1)) do echo $(cc getblock $(cc getblockhash $b) | grep -e height -e supply -e time -e difficulty | awk '{print $3}' | tr -d ,) ((b -= 1)) if ((b % 100 == 0)) then echo $b 1>&2 fi done
and the gnuplot script: #!/usr/bin/gnuplot
set terminal qt size 1350,710 set rmargin 5 set grid set timefmt "%s" set xdata time set xtics format "%b %d" set key bottom right
plot sin(x) # resize window with junk plot
plot [470707200+604800*0-86400*30*7.15:*] \ "~/Documents/clam/getblock.2.dat" using 6:($3/1e0) title "digsupply" with lines lw 3, \ "~/Documents/clam/getblock.2.dat" using 6:($4/1e0) title "stakesupply" with lines lw 3 \ ; pause -1
plot [470707200+86400*250:*] \ "~/Documents/clam/getblock.2.dat" using 6:($3/1e0) title "digsupply" with lines lw 3, \ ; pause -1
Thanks Doog, trying to make sense of the code without past experience. Where is it obtaining the data from, through API? This is run in Linux I presume, any way to emulate this in windows? I'm a coding no0b Edit: I guess all the staking info is found in that getblock.2.dat file? How does that work?
|
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 04:15:04 AM |
|
Any chance you can add the Clamour info to the OP, and/or website.
Of course! Waiting for the compiled version of the new client with all of the new bells and whistles.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 04:29:58 AM |
|
Thanks Doog, trying to make sense of the code without past experience. Where is it obtaining the data from, through API? This is run in Linux I presume, any way to emulate this in windows? I'm a coding no0b
The data is being fetched here: cc getblock $(cc getblockhash $b
cc is clamd. It's using 'clamd getblockhash' to get the hash of each block, and 'clamd getblock' to get data about each block. Both of those commands are talking to a fully-synced local instance of the CLAM client. When I used to run Windows I mostly used "cygwin" (I think it was called) when I wanted to run bash scripts (which is what that first script above is). There was "MinGW" or something too, which I think did something similar. It's been a long time though, so I don't know what people use these days. https://www.cygwin.com/ -- "Get that Linux feeling - on Windows" http://www.mingw.org/ -- "Minimalist GNU for Windows"
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 10:10:52 AM |
|
Clam has been added to https://alterdice.com for betting and recently to our new exchange. Bringing us to 12 supported currencies. That's great. I just tried the site out and was able to turn 400 satoshis into over 6 BTC exploiting a bug that a lot of new dice sites have. Here's the relevant line from your provably fair verification code: hashed_result = hashlib.sha512(str(seed_server) + str(seed_client) + str(roll_number)).hexdigest()
Stringing the client seed together with the roll number like that lets me make the same rolls twice: "x1"+"2" == "x" + "12"... (I reported this to the owner privately and he already shut the betting down to implement a fix, so don't bother trying to exploit it).
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
edmundduke
Legendary
Offline
Activity: 1624
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 10:15:49 AM |
|
Clam has been added to https://alterdice.com for betting and recently to our new exchange. Bringing us to 12 supported currencies. That's great. I just tried the site out and was able to turn 400 satoshis into over 6 BTC exploiting a bug that a lot of new dice sites have. Here's the relevant line from your provably fair verification code: hashed_result = hashlib.sha512(str(seed_server) + str(seed_client) + str(roll_number)).hexdigest()
Stringing the client seed together with the roll number like that lets me make the same rolls twice: "x1"+"2" == "x" + "12"... (I reported this to the owner privately and he already shut the betting down to implement a fix, so don't bother trying to exploit it). I was just about to see what the new site is about when i got an error "Can't establish a connection to the server" and looks like the answer why it happened is right here. That was a really fast find, well done doog. You most likely saved the owner a lot of headache.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 10:41:14 AM |
|
That was a really fast find, well done doog. You most likely saved the owner a lot of headache.
Yeah, I expect the bug bounty will be massive! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Also: For every user you refer you will receive a 15% of the 1% house edge that they wager. Also you will receive 15% of all trade fee's we collect from the same users. Say you referral Bob, and Bob does 10 rolls of 1BTC each. No matter win or lose you will receive 0.00015 BTC per roll, coming to a 0.0015 BTC overall just for referring Bob to play here!
15% of 1% of 1 BTC per roll is 0.0015 BTC per roll, coming to 0.015 BTC over all. The example is off by a factor of 10.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Bitcoiner2015
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 10:46:16 AM |
|
Clam has been added to https://alterdice.com for betting and recently to our new exchange. Bringing us to 12 supported currencies. That's great. I just tried the site out and was able to turn 400 satoshis into over 6 BTC exploiting a bug that a lot of new dice sites have. Here's the relevant line from your provably fair verification code: hashed_result = hashlib.sha512(str(seed_server) + str(seed_client) + str(roll_number)).hexdigest()
Stringing the client seed together with the roll number like that lets me make the same rolls twice: "x1"+"2" == "x" + "12"... (I reported this to the owner privately and he already shut the betting down to implement a fix, so don't bother trying to exploit it). $2400, not a bad days work dooglus!
|
|
|
|
Kefkius
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 64
Merit: 20
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 10:52:39 AM |
|
Clam has been added to https://alterdice.com for betting and recently to our new exchange. Bringing us to 12 supported currencies. That's great. I just tried the site out and was able to turn 400 satoshis into over 6 BTC exploiting a bug that a lot of new dice sites have. Here's the relevant line from your provably fair verification code: hashed_result = hashlib.sha512(str(seed_server) + str(seed_client) + str(roll_number)).hexdigest()
Stringing the client seed together with the roll number like that lets me make the same rolls twice: "x1"+"2" == "x" + "12"... (I reported this to the owner privately and he already shut the betting down to implement a fix, so don't bother trying to exploit it). Sounds like adding Clam was a great decision, alterdicecom. It could have been someone with less integrity finding that vulnerability.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 11:53:33 AM |
|
$2400, not a bad days work dooglus!
After he fixed the exploit I carried on playing and built the 6.2 BTC up to 12 BTC, then lost it all. Just as my balance hit zero I got a PM, thanking me for reporting the exploit and saying I could keep whatever I had won using it. What is it the kids say? fml? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) He ended up tipping me 3 BTC which is better than I was expecting. (But worse than the 12 BTC I could have had).
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
edmundduke
Legendary
Offline
Activity: 1624
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 12:00:37 PM |
|
$2400, not a bad days work dooglus!
After he fixed the exploit I carried on playing and built the 6.2 BTC up to 12 BTC, then lost it all. Just as my balance hit zero I got a PM, thanking me for reporting the exploit and saying I could keep whatever I had won using it. What is it the kids say? fml? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) He ended up tipping me 3 BTC which is better than I was expecting. (But worse than the 12 BTC I could have had). It is still a really nice bounty for such a serious issue. Ofc the 12 BTC would have been excellent, but seems "You don't always win ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) " Still congraz on the bounty ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) well deserved.
|
|
|
|
alterdicecom
Newbie
Offline
Activity: 20
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 12:00:55 PM |
|
$2400, not a bad days work dooglus!
After he fixed the exploit I carried on playing and built the 6.2 BTC up to 12 BTC, then lost it all. Just as my balance hit zero I got a PM, thanking me for reporting the exploit and saying I could keep whatever I had won using it. What is it the kids say? fml? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) He ended up tipping me 3 BTC which is better than I was expecting. (But worse than the 12 BTC I could have had). Thank you dooglus for your honesty. We are glad we were able to fix it quickly with a minimal impact. You are welcome back any time ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
bobboooiie
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 12:12:37 PM |
|
$2400, not a bad days work dooglus!
After he fixed the exploit I carried on playing and built the 6.2 BTC up to 12 BTC, then lost it all. Just as my balance hit zero I got a PM, thanking me for reporting the exploit and saying I could keep whatever I had won using it. What is it the kids say? fml? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) He ended up tipping me 3 BTC which is better than I was expecting. (But worse than the 12 BTC I could have had). Thats better than stamp of solvency, EVEN dooglus loses at our casino!
|
|
|
|
o_dima
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 12:50:18 PM |
|
LOL. Voted. ![Roll Eyes](https://bitcointalk.org/Smileys/default/rolleyes.gif) #7a69a853Elect dooglus as Clamperor For Life. Duties include passing the butter at the dinner table and destroying all who oppose Clam.
|
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 01:00:58 PM Last edit: December 08, 2015, 03:17:06 PM by SuperClam |
|
Petition Id: 066b223d Link: http://txti.es/066b223d
CLAMour Instructions: https://bitcointalk.org/index.php?topic=623147.msg13098673#msg13098673 Transaction Fee Pooling to Improve SecurityPetition Reasoning:- To prevent block creators from executing chain size attacks.
- To make transaction fees earned, and thus block reward, more predictable, constant and smooth.
- To add incentive for nodes to broadcast and share user transactions.
Current Network Behavior:- Transaction fees are awarded to the node creating/staking the block.
- The block creator essentially pays the fee to themselves, and thus may avoid transaction fees entirely.
- A block creator can potentially attack the network by creating nearly free spam transactions.
- This adds incentive for nodes to not broadcast the transactions it is aware of, in the hope of keeping the fee for blocks they stake.
Proposed Network Behavior:- Transaction fees are awarded into a 'transaction fee pool'.
- When a block is created, the creator increases the pool balance by the amount of fees paid by transactions in that block.
- When a block is created, the creator awards themselves 1% of the new pool balance and simultaneously reduces that balance by 1%.
Technical Notes:- An integer would be added to blocks in order to store the amount of CLAM currently in the fee pool.
- The change would be consensus enforced by requiring blocks properly attribute the pool to be valid.
- The change would become active when 95% of staked blocks report a version indicating support for the change.
|
|
|
|
SuperClam (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 08, 2015, 01:03:13 PM |
|
Petition Id: 02fde4a4 Link: http://txti.es/02fde4a4
CLAMour Instructions: https://bitcointalk.org/index.php?topic=623147.msg13098673#msg13098673 Chain AnalyticsReasoning:- It is extremely important that we have thorough and detailed data concerning the block chain and network. - Detailed and thorough data can be utilized by investors to inform decisions, developers to gain insight and users to identify problems. - This petition proposes that the client begins to store this important data and make it available to the end user. Current Network Behavior:- A small subset of data is available via the 'getinfo', 'getstakinginfo' and other commands. Proposed Network Behavior:- The following data should be made available via RPC and UI: - Blocks - Average block size - Average block time - Transactions per block - Average fees paid per block - Transactions - Average transaction size(in bytes) - Average transaction size(in CLAM) - Average fees paid per transaction - Average fees paid per byte - Average outputs per transaction - Average inputs per transaction - Average fee paid as a percentage of sent - Money Supply - Velocity, count of CLAM moved - CLAMspeech - Average CLAMspeech size in bytes - CLAMour - Petition identifiers and source links - Petition support - Mempool - Average size of mempool(in bytes) - Average size of mempool(in transactions) Technical Notes:- This data would be stored 'off-chain' and could thus be optional. - This data would be stored in reference to the specific block to which it pertains. - This individual block data could then be iterated to calculate specific results over various time windows. - This data would be made available via the 'getinfo' command and/or other RPC commands. - Mempool data would only be relevant to the specific node in question. - Mempool data would only be relevant during time periods in which the node was actively sync'd.
|
|
|
|
|