Author

Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin" - page 204. (Read 1151369 times)

newbie
Activity: 50
Merit: 0
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'):

Code:
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:

Code:
#!/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?
legendary
Activity: 2940
Merit: 1333
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'):

Code:
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:

Code:
#!/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
newbie
Activity: 50
Merit: 0
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.png

Doog, how do you generate the digging charts? Is there a script or other tool available so everyone can keep track?
legendary
Activity: 2940
Merit: 1333
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.

member
Activity: 62
Merit: 10
liberty
true.  lending is very manual as rates move around
hero member
Activity: 568
Merit: 500
https://bit-exo.com/?ref=gamblingbad
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) 

compound formula is annualrate=(1+dayrate/100)^365 - 1

Polo take 15% fee + and your clam dont get lent out all the time
legendary
Activity: 1007
Merit: 1000

   Any chance you can add the Clamour info to the OP, and/or website.   
member
Activity: 62
Merit: 10
liberty
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.

probably.

clam is performing well compared to other alts during this upside move of btc
legendary
Activity: 1344
Merit: 1000
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.
member
Activity: 62
Merit: 10
liberty
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) 

compound formula is annualrate=(1+dayrate/100)^365 - 1
hero member
Activity: 784
Merit: 1002
CLAM Developer
Hi All
I found a bitcoin client fork that shows you your clam balance without having to load it in the clam client. just for those who don't want to mess around with their wallet and find out if they have clams
bitcoin-0.11.2-win32-setup-clamfork.zip - link removed
bitcoin-0.11.2-win64-setup-clamfork.zip - link removed
it also means you can send bitcoin and continue with bitcoin core without clam client.
Beware Newbies offering crypto software
In pre-compiled Windows binary format, especially. Where's the source code?

Deleted the quoted post.

Can't allow it for security reasons.

Where's the source code?
legendary
Activity: 2940
Merit: 1333
Hi All
I found a bitcoin client fork that shows you your clam balance without having to load it in the clam client. just for those who don't want to mess around with their wallet and find out if they have clams

bitcoin-0.11.2-win32-setup-clamfork.zip - link removed
bitcoin-0.11.2-win64-setup-clamfork.zip - link removed

it also means you can send bitcoin and continue with bitcoin core without clam client.

Beware Newbies offering crypto software

In pre-compiled Windows binary format, especially. Where's the source code?
legendary
Activity: 2940
Merit: 1333
doog's null prop does not show on txti.

txti pages seem to be strangely cached.

Try adding ?wgjwlvj to the end of the URL, for any random word wgjwlvj:

  http://txti.es/clamour?wgjwlvj

That tricks whatever is caching it into giving you the live version.
legendary
Activity: 2968
Merit: 1198
Hi All
I found a bitcoin client fork that shows you your clam balance without having to load it in the clam client. just for those who don't want to mess around with their wallet and find out if they have clams

bitcoin-0.11.2-win32-setup-clamfork.zip - link removed
bitcoin-0.11.2-win64-setup-clamfork.zip - link removed

it also means you can send bitcoin and continue with bitcoin core without clam client.

Beware Newbies offering crypto software
legendary
Activity: 2968
Merit: 1198
As for knowing the voting weights of the other ~17%, we can't, unless they tell us. All we can do is count up the votes on the blockchain and see what is actually being voted for.

Sure we can. We can count up all the votes from the blockchain and then substract what JD reports. That tells us exactly what the rest (non-JD) of the blockchain is voting.

Right. I mean we can't know the weights, we can only know the results.

It's also kind of tricky to subtract off the JD blocks, because it's not trivial to identify the JD blocks. Some deposits stake before they are moved to an xJDCLAMZ address. Perhaps I should tag each JD vote with an identifying mark to make this easier.

I more meant we could subtract the JD weights. Of course that is a moving target, but probably doesn't move that fast, and can be recorded over a time window (if someone chooses to do so or if this function is added to the JD back end).

full member
Activity: 340
Merit: 164
doog's null prop does not show on txti.
legendary
Activity: 2968
Merit: 1198
Coins that are backing an order on the book can be lent out.

I think you mean "can't", right? Otherwise your point is good.

Yup, typo. Will fix.
legendary
Activity: 2940
Merit: 1333
Coins that are backing an order on the book can be lent out.

I think you mean "can't", right? Otherwise your point is good.
sr. member
Activity: 315
Merit: 250
Jump to: