Bitcoin Forum
June 24, 2021, 08:45:05 AM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 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 ... 498 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1148401 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
paulc010
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
October 25, 2014, 02:22:13 PM
 #1181

Damn I missed this....... updating now :/
1624524305
Hero Member
*
Offline Offline

Posts: 1624524305

View Profile Personal Message (Offline)

Ignore
1624524305
Reply with quote  #2

1624524305
Report to moderator
1624524305
Hero Member
*
Offline Offline

Posts: 1624524305

View Profile Personal Message (Offline)

Ignore
1624524305
Reply with quote  #2

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

Posts: 1624524305

View Profile Personal Message (Offline)

Ignore
1624524305
Reply with quote  #2

1624524305
Report to moderator
1624524305
Hero Member
*
Offline Offline

Posts: 1624524305

View Profile Personal Message (Offline)

Ignore
1624524305
Reply with quote  #2

1624524305
Report to moderator
almightyruler
Legendary
*
Offline Offline

Activity: 2226
Merit: 1084


View Profile
October 25, 2014, 04:32:44 PM
 #1182

Damn I missed this....... updating now :/

I missed it too. Perhaps this thread topic can be updated so that it displays more prominently when people view "new replies"

Hopefully I can use an earlier snapshot of the blockchain so I don't need to delete and sync from scratch.

On that note. @tryphe, if the code is being rewritten, please considering making recovering from forks easier. Perhaps in the -qt client, when a fork goes beyond a few PoS bocks fighting it out over a couple of minutes, show a dialog warning that the local blockchain does not match the preferred blockchain, and ask if the user wants to roll back to the most recent hardened checkpoint, and sync from there.
almightyruler
Legendary
*
Offline Offline

Activity: 2226
Merit: 1084


View Profile
October 25, 2014, 04:52:57 PM
 #1183

Has the block explorer been updated? I'm not sure if my updated client has managed to resolve the fork and hop onto the correct chain, or both the block explorer and my client are on the "old" fork.

./clamd getblockhash 170571
e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5
SuperClam
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
October 25, 2014, 05:02:28 PM
 #1184

Damn I missed this....... updating now :/
I missed it too. Perhaps this thread topic can be updated so that it displays more prominently when people view "new replies"
Hopefully I can use an earlier snapshot of the blockchain so I don't need to delete and sync from scratch.

Sorry, with this being a time-sensitive update and between Twitter, Reddit, Bitcointalk.org, the website, etc. we tried to get the information out there as much as possible.  I appended 'Mandatory Update' to the post topic; I assume that was the suggestion?

Has the block explorer been updated? I'm not sure if my updated client has managed to resolve the fork and hop onto the correct chain, or both the block explorer and my client are on the "old" fork.
./clamd getblockhash 170571
e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5


Poloniex and the block explorer were both verified as being on the right chain immediately after the forking block @ 170,000.  Just checked again now, and khashier.com:2750/chain/Clams does indeed appear to still be correct.

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
SuperClam
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
October 25, 2014, 05:12:17 PM
 #1185

Has the block explorer been updated? I'm not sure if my updated client has managed to resolve the fork and hop onto the correct chain, or both the block explorer and my client are on the "old" fork.
./clamd getblockhash 170571
e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5


Block #170571
hash: e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5

Looks good Grin

https://bitcointalk.org/index.php?topic=623147
Proof-Of-Chain, 100% Distributed BEFORE Launch.
Everyone who owned BTC, LTC, or DOGE at launch got free CLAMS.
paulc010
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
October 25, 2014, 06:03:01 PM
 #1186

Mine re-synced. I came looking here because I was hitting lots of blocks and my balance was going up too fast...... now I know why, it was 10 times too fast Cheesy
dooglus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1310



View Profile
October 25, 2014, 06:06:34 PM
 #1187

I'm seeing a LOT of orphan blocks in my debug.log:

Quote
received block bbd08b69888d5911f1d8
ProcessBlock: ORPHAN BLOCK, prev=d71bb0f13f3e2b7cd660
received block d71bb0f13f3e2b7cd660
ProcessBlock: ORPHAN BLOCK, prev=f195e50052dd11534ad7
received block f195e50052dd11534ad7
ProcessBlock: ORPHAN BLOCK, prev=f16a05c3f9b0a161146d
received block f16a05c3f9b0a161146d
ProcessBlock: ORPHAN BLOCK, prev=2c7ef5a2a52b11156f08
received block 2c7ef5a2a52b11156f08
ProcessBlock: ORPHAN BLOCK, prev=9de82b7d4692326d374a
received block 9de82b7d4692326d374a
ProcessBlock: ORPHAN BLOCK, prev=8aa7b6dd87ae1598585a
received block 8aa7b6dd87ae1598585a
ProcessBlock: ORPHAN BLOCK, prev=2bd912c37d4d31ef351d
received block 2bd912c37d4d31ef351d
ProcessBlock: ORPHAN BLOCK, prev=c80684c39b4f841a903f

I guess that's just someone staking on the wrong fork, right?

I'm on the same fork as poloniex and khashier - but it seems some big stakeholder didn't switch forks yet.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
paulc010
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
October 25, 2014, 10:56:12 PM
 #1188

I mined about 12 blocks on the old chain before I swapped over, although the network weight was still about 300k when I switched.

It was just main.cpp that changed wasn't it?
dooglus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1310



View Profile
October 25, 2014, 11:14:42 PM
 #1189

I mined about 12 blocks on the old chain before I swapped over, although the network weight was still about 300k when I switched.

It was just main.cpp that changed wasn't it?

Yes, I believe so.

Here: https://github.com/nochowderforyou/clams/commit/ecef9cee2e8fd7a4c47de8809e9d4cccd231f00f

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Karn
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250

"The mass of men lead lives of quiet desperation."


View Profile
October 26, 2014, 05:36:33 AM
 #1190

Crap just updated, sorry to find out about the exploit. Good job catching it so fast

“But it's a poor fellow who can't take his pleasure without asking other people's permission.” ― Hermann Hesse, Steppenwolf
ButtCrack
Sr. Member
****
Offline Offline

Activity: 432
Merit: 250


View Profile
October 26, 2014, 06:42:24 PM
 #1191

Has the block explorer been updated? I'm not sure if my updated client has managed to resolve the fork and hop onto the correct chain, or both the block explorer and my client are on the "old" fork.
./clamd getblockhash 170571
e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5


Block #170571
hash: e0d490a9b1e46a369b8344781f280119636ae48b718568dc1542c54968f3bde5

Looks good Grin
Can you post url of block exporer on OP ?
khashier.com:2750/chain/Clams
What is current recommended stack size and how long does it take to stake ?

Thanks !



             ▄█
            ██  ██
           ██  ████
          ██  ██  ██
         ██  ██    ██
        ██  ██  ██  ██
       ██  ██    ██  ██
      ██  ██  ██  ██  ██
     ██  ██  ████  ██  ██
    ██  ██  ██  ██  ██  ██
   ██  ██  ██    ██  ██  ██
  ██  ██  ██████████  ██  ██
 ██                    ██  ██
█████████████████████▄  ██  █
                         ██
▀███████████████████████████




█████ █   █ █████      ███          █████████████▄▄    ████            ████     ▄▄██████████      ▄▄██████████
  █   █   █ █         █████         ████████████████    ████          ████     █████████████     █████████████
  █   █████ █████    ███████        ███         ▀███     ████        ████     ███▀              ███▀
  █   █   █ █        ███ ███        ███          ███      ████      ████      ███               ███
  █   █   █ █████   ███   ███       ███          ███       ████    ████       ███               ███
                    ███   ███       ███         ▄███        ████  ████        ███▄              ███▄
                   ███     ███      ██████████████▀          ████████          ██████████▄▄      ██████████▄▄
                   ███     ███      ██████████████▄           ██████            ▀▀██████████      ▀▀██████████
                  ███       ███     ███         ▀███           ████                      ▀███              ▀███
                  █████████████     ███          ███           ████                       ███               ███
                 ███████████████    ███          ███           ████                       ███               ███
                 ███         ███    ███         ▄███           ████                      ▄███              ▄███
                ███           ███   ████████████████           ████           ██████████████    ██████████████
                ███           ███   █████████████▀▀            ████           ███████████▀▀     ███████████▀▀

█  █
█  █
█  █
█  █
█  █
█▄▄
▀▀█
█  █
█  █
█  █
█  █
█  █

█  █
█  █
█  █
█  █
█  █
█▄▄
▀▀█
█  █
█  █
█  █
█  █
█  █
TOKEN-SALE : Apr 16 2018
     DAICO :       May 16 2018

ANN Thread  ■  Whitepaper
■  Twitter
■  Telegram
■  Facebook
dooglus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1310



View Profile
October 26, 2014, 07:14:24 PM
 #1192

What is current recommended stack size and how long does it take to stake ?

I was intending to ask the same thing, re. optimal stack size.

The network difficulty target hovers around 200*2^224, meaning that on average it takes an output of weight N CLAM-days
2^256 / (N*200*2^224) = 2^32 / 200N = 21474836/N seconds = 248/N days to stake (assuming it never gets any weightier, which it of course will)

So a 5 CLAM output that is a week old (weight = 35) takes around 7 days to stake if it keeps that weight.

This looks like a dead end. Skip it if you like...

Quote
I guess the first thing to do is to find out how to calculate the expected time-to-stake taking the constant ageing into account:

Suppose we have an output with value V, and a network difficulty target of 200*2^224

For the first 1/V days it has a weight of 0 (weights are rounded down to an integer number of CLAM-days), so it can't stake.
ie. the probability of it staking in the first 1/V days is 0.

For the 2nd 1/V days it has a weight of 1, and has a 200*2^224/2^256 = 200/2^32 probability of staking each second.
The probability of it staking in the 2nd 1/V days is 1-(probability of it not staking in that period)
1/V days is 86400/V seconds, so that's:
= 1 - ((1-(200/2^32))^(86400/V))

For the 3rd 1/V days, weight = 2, probability of staking in any given second is 2*200/2^32,
and so the probability of it staking in the 3rd 1/V days is (1 - ((1-(400/2^32))^(86400/V)))

... and this feels like it's going nowhere.

Can someone with a clue help me out please?

The big picture:

No output gains any "weight" for the first 4 hours - it has 4 hours taken off its age before the weight calculation is done.

No output can stake until it is 'mature'. Staking makes it immature. It needs 500 confirmations after staking before it can stake again. 500 confirmations should take over 8 hours, so the 4 hours in the previous point should never be the limiting factor other than for recently moved (as opposed to staked) outputs. This probably puts an upper limit on the optimal output size. If I put all my CLAMs into a single large output, it will probably stake not long after it has its 500 confirmations, but then I have to wait another 8 hours for it to get another 500 confirmations, so I'm limited to staking a few times per day.

Weights are rounded down to the next integer CLAM-day. So if you split your outputs into 0.001 CLAM pieces, each one will take 1000 days before it reaches a weight of 1, and so won't be able to stake for a few years. This puts a lower limit on the optimal output size.

Perhaps this means that the optimal size is that which reaches 1 CLAM-day of weight just as the 500 confirmations are reached? 500 confirmation is meant to take 8.3333 hours, and 4 hours are taken off the age, so I want my output to have a weight of 1 when its effective age is 4.3333 hours. So its value needs to be 24/4.33333 = 5.54 CLAMs.

Thoughts?

Edit: of course, as they stake, the outputs will grow in size. We can't set them all to 5.54 CLAMs and expect them to stay at that size. Perhaps it's best to set them to 4 CLAMs, leave them to grow to 7 CLAMs, then when they reach 8, split them into two 4's and let them start over?

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
Arux
Hero Member
*****
Offline Offline

Activity: 500
Merit: 500



View Profile
October 26, 2014, 07:26:24 PM
 #1193



i mined a 1.0015 clams block reward  Huh (#172760 and i'm on the correct fork)
look like a smal loto reward but technically, that shouldn't be possible.

paulc010
Member
**
Offline Offline

Activity: 92
Merit: 10


View Profile
October 26, 2014, 08:08:31 PM
 #1194

You still get fees too which may account for it.

@dooglus I'm using mainly 2.5 CLAM piles now but not sure if it's staking any better/worse than it was at 5 CLAM piles. I have some remaining piles of 5 CLAMs that have a weight of  > 100 and there have been some 2.6 and 2.7 CLAM piles with much lower weight stake before them.....

I'm just going for lots of outputs = greater chance of getting a stake.
dooglus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1310



View Profile
October 26, 2014, 10:49:19 PM
 #1195

You still get fees too which may account for it.

@dooglus I'm using mainly 2.5 CLAM piles now but not sure if it's staking any better/worse than it was at 5 CLAM piles. I have some remaining piles of 5 CLAMs that have a weight of  > 100 and there have been some 2.6 and 2.7 CLAM piles with much lower weight stake before them.....

I'm just going for lots of outputs = greater chance of getting a stake.

You're right, that will have been transaction fees from the transaction(s) included in the block.

On average your 5 CLAM outputs will stake twice as quickly as your 2.5 CLAM outputs, but you have half as many of them, so it balances out.

And while you're staking, you get a small chance of staking each second. The chance is bigger for bigger piles, and for older piles, but is still pretty tiny. It's possible you'll get lucky and stake very quickly, but it's also possible it will take much longer than expected. Your weighty 5 CLAM outputs can take longer to stake than your lower weight 2.6 CLAM piles in the same way that a guy who buys 1 lottery ticket per week can win the lottery before a guy who buys 10 tickets per week.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
StakeHunter
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
October 27, 2014, 02:32:16 AM
 #1196

Any way to get to know how many CLAMS are "active" in the wild
I know there are millions possibly, but it would be nice to determine how many are staking...

garthkiser
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
October 27, 2014, 02:43:36 AM
 #1197

Any way to get to know how many CLAMS are "active" in the wild
I know there are millions possibly, but it would be nice to determine how many are staking...



There's a bot in the CLAMS IRC channel that displays blockchain info. Go to: http://webchat.freenode.net/?channels=clams

Then type "&help" to list all the commands.

"&clamsupply" shows the following:

<SuperClam> ---------------------------------------------------------------------------------------------------------
[19:43] <SuperClam>                                                                                             
[19:43] <SuperClam>                          Current CLAMS in Circulation(estimate): 124019.35870633 Clams
[19:43] <SuperClam>                                                                                             
[19:43] <SuperClam> ---------------------------------------------------------------------------------------------------------
[19:43] <SuperClam>   This information regardling currently claimed clams is an estimate based on moved piles of coins.
[19:43] <SuperClam>   There is no way to determine if a clam has been claimed until it has been moved on the chain
[19:43] <SuperClam>  -------------------------------------------------------------------------------------------------------
[19:43] <SuperClam>  Lottery Winnings: 58934.84937575 Clams
[19:43] <SuperClam>  Staking Earning: 10038.87704156 Clams
[19:43] <SuperClam>  Amount Claimed: 50904.10229422 Clams, 11053 Addresses

Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 726


Mixing reinvented for your privacy | chipmixer.com


View Profile
October 27, 2014, 06:13:05 PM
 #1198

No wonder my client stuck resynching, I just realized we got a hard fork. I am downloading the new client now.
what should I do if my blockchain already at 170980? do I need to redownload the whole blockchain again (as in delete the %appdata% folder)
or the new client will take care of that and resynch, deletes blocks & reconnects the chain automatically? (would save me some bandwidth)

so I just need to overwrite my current CLAM directory by unzipping the new client to old directory, right?
no need to move away wallet.dat and other things?
sorry for the newbie questions... I've never done this before Embarrassed

dooglus
Legendary
*
Offline Offline

Activity: 2926
Merit: 1310



View Profile
October 27, 2014, 06:19:37 PM
 #1199

No wonder my client stuck resynching, I just realized we got a hard fork. I am downloading the new client now.
what should I do if my blockchain already at 170980? do I need to redownload the whole blockchain again (as in delete the %appdata% folder)
or the new client will take care of that and resynch, deletes blocks & reconnects the chain automatically? (would save me some bandwidth)

so I just need to overwrite my current CLAM directory by unzipping the new client to old directory, right?
no need to move away wallet.dat and other things?
sorry for the newbie questions... I've never done this before Embarrassed

I don't know if it will resync automatically without having to do a whole new blockchain download from scratch, but I expect it will. It's worth a try.

It's always worth making a backup of your wallet.dat somewhere safe occasionally, just in case.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
StakeHunter
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
October 28, 2014, 01:53:06 AM
 #1200

Thanks garthkiser
Pages: « 1 ... 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 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 ... 498 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!