Bitcoin Forum
November 24, 2026, 05:19:12 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 ... 502 »
  Print  
Author Topic: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"  (Read 1153978 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.
BayAreaCoins
Legendary
*
Offline

Activity: 4676
Merit: 1409


AltQuick.com Owner


View Profile WWW
June 20, 2015, 09:15:19 PM
 #3221

So we have an unfortunate situation that if everyone leaves JD, it's better for everyone, but if only a few leave, it's better for the ones who stay. Classic Prisoner's Dilemma stuff.

Cut off new investments until JD is <51% of the staking power.  Grandfather current investors in.  That way you aren't kicking anyone out of "Club Dooglus".

It won't fix the decentralization this week, but it will fix it down the road.

There are a number of positives that come from this as well.  People will encourage people to dig their clams (similar to getting ppl to mine DOGE.)  People can still buy/sell JD accounts that are already invested ect. Just another layer of value for JD + it in my heart of hearts Dooglus I think it is the right thing to do.  

https://AltQuick.com/exchange/ - A Bitcoin-based exchange for Altcoins, Signet, & Bitcoin Testnet (no fiat, stables, or KYC) - PGP D2F6EB9E127D75D6F994BA5F6862DDA3084922EE
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 20, 2015, 09:24:21 PM
Last edit: June 21, 2015, 01:36:51 AM by dooglus
 #3222


I would be very careful with that service. I only just heard of it, but some things just don't add up.

1) They claim to be staking 24k CLAMs:



but the CLAM rich-list doesn't show any address that could be theirs unless they have split the 24k into lots of different addresses:



The screenshot lists their 'staking address', but that address has never staked:



They also claim that they staked 287 times but made just 5.75 CLAMs profit. Since each stake makes at least 1 CLAM, this is clearly wrong.

It's hard to tell whether they're making up numbers and pretending to be staking, or whether they just aren't very good at presenting information. Either way, be careful.

I would expect at least a proper proof of solvency before depositing anything to such a site.

Edit: I tried visiting the site from multiple browsers, from different IP addresses, in incognito mode. Every time it told me the same: "Your Unique ID: C3438188-38". Why are all the unique ID's the same?

Edit2:

Quote
15:01:22 (1) <@dooglus> could you go to https://clamstaker.net/ and tell me your 'unique id' in the top left please?
15:01:42 (1074398) <whiskey> Your Unique ID: C3438188-38
15:01:42 (966139) <tryphe> dooglus, C3438188-38
15:01:47 (136) <@sqwerty> C3438188-38
15:01:59 (1074398) <whiskey> not very unique.
15:02:00 (1) <@dooglus> Smiley
15:02:04 (136) <@sqwerty> lol
15:02:06 (1152817) <GanooL> C3438188-38
15:02:09 (1008361) <pablotextoris> Your Unique ID: C3438188-38
15:02:19 (136) <@sqwerty> such unique
15:02:30 (1008361) <pablotextoris> so it doesnt seem to be unique Smiley

Edit3: everyone's deposit address is the same too...

Quote
Your Deposit Address:

xE6yftowRCu3NLj2cuzrPuqCWr7NJZrwZW

Pretty sure this is nothing but a scam.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
BayAreaCoins
Legendary
*
Offline

Activity: 4676
Merit: 1409


AltQuick.com Owner


View Profile WWW
June 20, 2015, 09:25:54 PM
 #3223


I would be very careful with that service. I only just heard of it, but some things just don't add up.

1) They claim to be staking 24k CLAMs:


but the CLAM rich-list doesn't show any address that could be theirs unless they have split the 24k into lots of different addresses:

The screenshot lists their 'staking address', but that address has never staked:


They also claim that they staked 287 times but made just 5.75 CLAMs profit. Since each stake makes at least 1 CLAM, this is clearly wrong.

It's hard to tell whether they're making up numbers and pretending to be staking, or whether they just aren't very good at presenting information. Either way, be careful.

I would expect at least a proper proof of solvency before depositing anything to such a site.

Will reference this post for the Reddit ppl.

Thanks Doog.

https://AltQuick.com/exchange/ - A Bitcoin-based exchange for Altcoins, Signet, & Bitcoin Testnet (no fiat, stables, or KYC) - PGP D2F6EB9E127D75D6F994BA5F6862DDA3084922EE
chilly2k
Legendary
*
Offline

Activity: 1007
Merit: 1000


View Profile
June 20, 2015, 09:33:01 PM
 #3224





    Their staking in the future.  Notice the last update July 2015.  Cheesy

edit: added big smile to show I'm just messing around...

BayAreaCoins
Legendary
*
Offline

Activity: 4676
Merit: 1409


AltQuick.com Owner


View Profile WWW
June 20, 2015, 09:35:15 PM
 #3225





    Their staking in the future.  Notice the last update July 2015.  Cheesy

edit: added big smile to show I'm just messing around...

LOL

They got that future shit I suppose Tongue

https://AltQuick.com/exchange/ - A Bitcoin-based exchange for Altcoins, Signet, & Bitcoin Testnet (no fiat, stables, or KYC) - PGP D2F6EB9E127D75D6F994BA5F6862DDA3084922EE
presstab
Legendary
*
Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
June 20, 2015, 11:26:36 PM
 #3226

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/

Let me know any feedback. Took some custimization to get clams working Cheesy

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 21, 2015, 02:10:10 AM
 #3227

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/

Let me know any feedback. Took some custimization to get clams working Cheesy

That's quite impressive. Here are my initial observations:

I like that there are charts of address balances over time. Would like to be able to set the range of the x-axis (maybe just links for last day, last week, last month, etc. would do for starters.

When I look here, the 'total change' column is missing the transaction fees. Block rewards are 1 CLAM plus fees, and so are often 1.0001, 1.0002, etc. That's getting rounded to just '1'.

The transaction view doesn't tell me whether each output is spent or not. It would be nice to have that information, along with a link to the spending transaction for each spent output.

This address shows large amounts being 'minted'. Each block only mints around 1 CLAM, but you're showing it minting 9 through 16 CLAMs per transaction.

The rich list takes quite a while to appear. Maybe you're computing it every time the page is hit rather than serving cached results.

The 'claim' feature is nice, but the column displaying the claimed name is too narrow to display much text.

The 2nd biggest address is the CLAM burn address, and shouldn't counted as part of the money supply. Those coins aren't spendable. cf. http://blocktree.io/richlist/CLAM

You might want to remove 'PoW difficulty' from the charts page - CLAM doesn't have any PoW and hasn't since before it was launched to the public.

The PoS difficulty looks better on a log y-axis chart, because at some point the difficulty rose by a factor of a million or so. On a linear y-axis chart all history before that time appears as if the difficulty was zero.

The 'weight' chart would be better relabelled as 'weight spent'. I was hoping for a chart of the network staking weight when I saw "weight", but didn't get it.

The 'coin supply' chart would be better if it plotted the 'active supply' number (see clamd getinfo / clamd getblock). There are 15 million CLAMs still waiting to be claimed, the majority of which will probably never be claimed. The active supply is a more interesting number, since it only counts coins that have ever moved.

It's hard to tell what 'Annual Stake Rate' chart is showing. A splke back around block 75k makes the scale too small for any recent blocks to show up at all. When I zoom in on the chart, the y-axis doesn't rescale. It would be useful if it did.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
presstab
Legendary
*
Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
June 21, 2015, 02:58:59 AM
 #3228

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/

Let me know any feedback. Took some custimization to get clams working Cheesy

That's quite impressive. Here are my initial observations:

I like that there are charts of address balances over time. Would like to be able to set the range of the x-axis (maybe just links for last day, last week, last month, etc. would do for starters.

When I look here, the 'total change' column is missing the transaction fees. Block rewards are 1 CLAM plus fees, and so are often 1.0001, 1.0002, etc. That's getting rounded to just '1'.

The transaction view doesn't tell me whether each output is spent or not. It would be nice to have that information, along with a link to the spending transaction for each spent output.

This address shows large amounts being 'minted'. Each block only mints around 1 CLAM, but you're showing it minting 9 through 16 CLAMs per transaction.

The rich list takes quite a while to appear. Maybe you're computing it every time the page is hit rather than serving cached results.

The 'claim' feature is nice, but the column displaying the claimed name is too narrow to display much text.

The 2nd biggest address is the CLAM burn address, and shouldn't counted as part of the money supply. Those coins aren't spendable. cf. http://blocktree.io/richlist/CLAM

You might want to remove 'PoW difficulty' from the charts page - CLAM doesn't have any PoW and hasn't since before it was launched to the public.

The PoS difficulty looks better on a log y-axis chart, because at some point the difficulty rose by a factor of a million or so. On a linear y-axis chart all history before that time appears as if the difficulty was zero.

The 'weight' chart would be better relabelled as 'weight spent'. I was hoping for a chart of the network staking weight when I saw "weight", but didn't get it.

The 'coin supply' chart would be better if it plotted the 'active supply' number (see clamd getinfo / clamd getblock). There are 15 million CLAMs still waiting to be claimed, the majority of which will probably never be claimed. The active supply is a more interesting number, since it only counts coins that have ever moved.

It's hard to tell what 'Annual Stake Rate' chart is showing. A splke back around block 75k makes the scale too small for any recent blocks to show up at all. When I zoom in on the chart, the y-axis doesn't rescale. It would be useful if it did.

Definitely still is a lot of work to do. Built it from the ground up, and only really been live for about two weeks. Definitely not made specifically for clams and still yet to be determined how much time I will spend on applications that are specific to one coin. The richlist I do need to work over it queries it live and for clams which has a shit load of addresses it doesn't work well, I will go to a list that updates a few times a day. Annual stake rate shows the Apr of the stake. Small inputs on clams are staking for an obsurd return on value that is why this spike is so large, might see if canvas js has some settings I can tweak in this regard... But however it is in fact that rate. My indexing does not index per output and doing such for clams would not exactly be good for my resources, and adding this to my server out of my own pocket I am not exactly thrilled to add more resources to it.

I will look into the rewards that you think are out of whack and see what I can figure out there. Still plenty of additional features and analysis that I would love to add over the next few weeks.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
SuperClam (OP)
Hero Member
*****
Offline

Activity: 784
Merit: 1002


CLAM Developer


View Profile WWW
June 21, 2015, 03:45:39 AM
 #3229

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/
Let me know any feedback. Took some custimization to get clams working Cheesy
That's quite impressive. Here are my initial observations:
I like that there are charts of address balances over time. Would like to be able to set the range of the x-axis (maybe just links for last day, last week, last month, etc. would do for starters.
When I look here, the 'total change' column is missing the transaction fees. Block rewards are 1 CLAM plus fees, and so are often 1.0001, 1.0002, etc. That's getting rounded to just '1'.
The transaction view doesn't tell me whether each output is spent or not. It would be nice to have that information, along with a link to the spending transaction for each spent output.
This address shows large amounts being 'minted'. Each block only mints around 1 CLAM, but you're showing it minting 9 through 16 CLAMs per transaction.
The rich list takes quite a while to appear. Maybe you're computing it every time the page is hit rather than serving cached results.
The 'claim' feature is nice, but the column displaying the claimed name is too narrow to display much text.
The 2nd biggest address is the CLAM burn address, and shouldn't counted as part of the money supply. Those coins aren't spendable. cf. http://blocktree.io/richlist/CLAM
You might want to remove 'PoW difficulty' from the charts page - CLAM doesn't have any PoW and hasn't since before it was launched to the public.
The PoS difficulty looks better on a log y-axis chart, because at some point the difficulty rose by a factor of a million or so. On a linear y-axis chart all history before that time appears as if the difficulty was zero.
The 'weight' chart would be better relabelled as 'weight spent'. I was hoping for a chart of the network staking weight when I saw "weight", but didn't get it.
The 'coin supply' chart would be better if it plotted the 'active supply' number (see clamd getinfo / clamd getblock). There are 15 million CLAMs still waiting to be claimed, the majority of which will probably never be claimed. The active supply is a more interesting number, since it only counts coins that have ever moved.
It's hard to tell what 'Annual Stake Rate' chart is showing. A splke back around block 75k makes the scale too small for any recent blocks to show up at all. When I zoom in on the chart, the y-axis doesn't rescale. It would be useful if it did.
Definitely still is a lot of work to do. Built it from the ground up, and only really been live for about two weeks. Definitely not made specifically for clams and still yet to be determined how much time I will spend on applications that are specific to one coin. The richlist I do need to work over it queries it live and for clams which has a shit load of addresses it doesn't work well, I will go to a list that updates a few times a day. Annual stake rate shows the Apr of the stake. Small inputs on clams are staking for an obsurd return on value that is why this spike is so large, might see if canvas js has some settings I can tweak in this regard... But however it is in fact that rate. My indexing does not index per output and doing such for clams would not exactly be good for my resources, and adding this to my server out of my own pocket I am not exactly thrilled to add more resources to it.
I will look into the rewards that you think are out of whack and see what I can figure out there. Still plenty of additional features and analysis that I would love to add over the next few weeks.

dooglus is "special" Grin

Believe it or not; that post was a compliment.

Notice the:
That's quite impressive.



He doesn't say that very often Tongue

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.
presstab
Legendary
*
Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
June 21, 2015, 04:17:54 AM
 #3230

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/
Let me know any feedback. Took some custimization to get clams working Cheesy
That's quite impressive. Here are my initial observations:
I like that there are charts of address balances over time. Would like to be able to set the range of the x-axis (maybe just links for last day, last week, last month, etc. would do for starters.
When I look here, the 'total change' column is missing the transaction fees. Block rewards are 1 CLAM plus fees, and so are often 1.0001, 1.0002, etc. That's getting rounded to just '1'.
The transaction view doesn't tell me whether each output is spent or not. It would be nice to have that information, along with a link to the spending transaction for each spent output.
This address shows large amounts being 'minted'. Each block only mints around 1 CLAM, but you're showing it minting 9 through 16 CLAMs per transaction.
The rich list takes quite a while to appear. Maybe you're computing it every time the page is hit rather than serving cached results.
The 'claim' feature is nice, but the column displaying the claimed name is too narrow to display much text.
The 2nd biggest address is the CLAM burn address, and shouldn't counted as part of the money supply. Those coins aren't spendable. cf. http://blocktree.io/richlist/CLAM
You might want to remove 'PoW difficulty' from the charts page - CLAM doesn't have any PoW and hasn't since before it was launched to the public.
The PoS difficulty looks better on a log y-axis chart, because at some point the difficulty rose by a factor of a million or so. On a linear y-axis chart all history before that time appears as if the difficulty was zero.
The 'weight' chart would be better relabelled as 'weight spent'. I was hoping for a chart of the network staking weight when I saw "weight", but didn't get it.
The 'coin supply' chart would be better if it plotted the 'active supply' number (see clamd getinfo / clamd getblock). There are 15 million CLAMs still waiting to be claimed, the majority of which will probably never be claimed. The active supply is a more interesting number, since it only counts coins that have ever moved.
It's hard to tell what 'Annual Stake Rate' chart is showing. A splke back around block 75k makes the scale too small for any recent blocks to show up at all. When I zoom in on the chart, the y-axis doesn't rescale. It would be useful if it did.
Definitely still is a lot of work to do. Built it from the ground up, and only really been live for about two weeks. Definitely not made specifically for clams and still yet to be determined how much time I will spend on applications that are specific to one coin. The richlist I do need to work over it queries it live and for clams which has a shit load of addresses it doesn't work well, I will go to a list that updates a few times a day. Annual stake rate shows the Apr of the stake. Small inputs on clams are staking for an obsurd return on value that is why this spike is so large, might see if canvas js has some settings I can tweak in this regard... But however it is in fact that rate. My indexing does not index per output and doing such for clams would not exactly be good for my resources, and adding this to my server out of my own pocket I am not exactly thrilled to add more resources to it.
I will look into the rewards that you think are out of whack and see what I can figure out there. Still plenty of additional features and analysis that I would love to add over the next few weeks.

dooglus is "special" Grin

Believe it or not; that post was a compliment.

Notice the:
That's quite impressive.



He doesn't say that very often Tongue

Maybe I worded my post poorly, I do very much appreciate all the feedback. It has me searching through my code at this very moment seeing how I can make it more efficient, as well as adjust some of the settings to display the information more properly. For example I have already customized the richlist code (other coins it is fine to calculate on the fly because the address count is not quite so high, and people really do like to see themselves move up this list in real time), the transaction input number so you can see exactly which input is being spent, address zoom, and a few other things as well. Its a work in progress and I do hope to be able to make as many people and coin communities as happy with the data analysis as possible. One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that.

Feel free to shout out any more bugs or suggestions.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 21, 2015, 05:40:33 AM
 #3231

Maybe I worded my post poorly, I do very much appreciate all the feedback. It has me searching through my code at this very moment seeing how I can make it more efficient, as well as adjust some of the settings to display the information more properly. For example I have already customized the richlist code (other coins it is fine to calculate on the fly because the address count is not quite so high, and people really do like to see themselves move up this list in real time), the transaction input number so you can see exactly which input is being spent, address zoom, and a few other things as well. Its a work in progress and I do hope to be able to make as many people and coin communities as happy with the data analysis as possible. One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that.

Feel free to shout out any more bugs or suggestions.

I figured you wanted feedback, so I gave it. I'm not good at sugar-coating it. I think your tool is good, and found a bunch of possible ways to improve it. That's all. Smiley

I figure with the rich-list you can keep a database table of address balances, and update it each time a new block is added to or removed from the chain. Then you can query it very quickly, esp. if there's an index on the balance column. See how blocktree does it - they have it always up to date and quick to query.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
presstab
Legendary
*
Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
June 21, 2015, 05:54:40 AM
 #3232

I have the richlist updating every 12 hours at the moment, so it should be temporary patch for the problem until I can redesign a bit of my code. I updated the richlist claim name length to display more text (and prevent user from recording a name that will be cutoff due to max size), and am not displaying the burn address... if its not part of the supply should it be included on a richlist? Up to you guys. Will play around with some of the other code tomorrow.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
tspacepilot
Legendary
*
Offline

Activity: 1456
Merit: 1090


I may write code in exchange for bitcoins.


View Profile
June 21, 2015, 07:39:00 AM
 #3233

But I'm not finding the libdb packages which the readme says I should find:

I use libdb5.3++-dev. It complains that the wallet.dat won't be compatible with those from official builds, but I don't care about that.

Edit: and I think I had to run:

  ./configure --with-incompatible-bdb

to tell it that I don't care.

Thanks, Dooglus, make now running Smiley
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 21, 2015, 08:06:32 AM
 #3234

I have the richlist updating every 12 hours at the moment, so it should be temporary patch for the problem until I can redesign a bit of my code. I updated the richlist claim name length to display more text (and prevent user from recording a name that will be cutoff due to max size), and am not displaying the burn address... if its not part of the supply should it be included on a richlist? Up to you guys. Will play around with some of the other code tomorrow.

I think hiding it is fine. It's an artifact of the initial distribution method.

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

Activity: 132
Merit: 100


willmathforcrypto.com


View Profile WWW
June 21, 2015, 02:17:27 PM
 #3235

I'm experimenting with multisig in clams. The first part worked (creating a p2sh and sending clams to it), but the second part (spending the funds) didn't do what I expected. I found a workaround, but it's possible there's a bug in signrawtransaction. Or I made a mistake, of course. Here's more detail:

1. I used "addmultisigaddress" and created a 2-of-2 address: 6WnV4Jhe7iNQLDekwr31h9zeoK1eaDMjAw

2. I sent 0.1 clams there (small enough that it's OK if I lose it). It's txout 0 of the transaction 21db92347e153a6afdddca7f96d444d81d7daa19674ed3101e50de72cb387b19. khashier shows this transaction, but is confused by the multisig address.

3. I used "createrawtransaction" to create an unsigned tx spending this back one of my ordinary addresses.

I had one private key in my wallet and the other on paper. Using "signrawtransaction" it would sign with the one in the wallet, as expected. But then if I tried to sign with "signrawtransaction" giving the other private key explicitly in the command line, it failed. (By "failed" I mean the partially signed transaction wasn't changed.)

To be more explicit, I did this:

Code:
signrawtransaction <unsignedrawtx>
<partiallysignedrawtx>
signrawtransaction <partiallysignedrawtx> [] ['SecondPrivateKey']
<partiallysignedrawtx>

After that I just used "importprivkey" to put the second private key into the wallet, and "signrawtransaction" fully signed the transaction and it worked. If someone knows an easier way I should've been doing this, please let me know.

cloverme
Legendary
*
Offline

Activity: 1512
Merit: 1059


SpacePirate.io


View Profile WWW
June 21, 2015, 03:38:20 PM
 #3236


I would be very careful with that service. I only just heard of it, but some things just don't add up.

Pretty sure this is nothing but a scam.

The private registration doesn't invoke the warm and fuzzies either.  Everything is hosted from namecheap... website, email, etc.

Domain Name: CLAMSTAKER.NET
Registry Domain ID: 1939815611_DOMAIN_NET-VRSN
Registrar WHOIS Server: whois.enom.com
Registrar URL: www.enom.com
Updated Date: 2015-06-18T03:54:36.00Z
Creation Date: 2015-06-18T10:54:00.00Z
Registrar Registration Expiration Date: 2016-06-18T10:54:00.00Z
Registrar: ENOM, INC.
Registrar IANA ID: 48
Reseller: NAMECHEAP.COM
Domain Status: clientTransferProhibited https://www.icann.org/epp#clientTransferProhibited
Registry Registrant ID:
Registrant Name: WHOISGUARD PROTECTED


I sent an email to abuse@namecheaphosting.com warning them of a potential scam site.

gjhiggins
Legendary
*
Offline

Activity: 2268
Merit: 1290



View Profile WWW
June 21, 2015, 04:01:29 PM
 #3237

Believe it or not; that post was a compliment.

I restrained an impulse to post a one-liner of my spontaneous applause but now that you bring it up explicitly, I can agree that it's a gem of a post.

Cheers

Graham
dooglus
Legendary
*
Offline

Activity: 2940
Merit: 1339



View Profile
June 21, 2015, 05:15:46 PM
Last edit: June 21, 2015, 05:30:43 PM by dooglus
 #3238

One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that.

I forgot to address that.

I created those weird staking transactions yesterday as an experiment.

There has been talk recently of porting Bitcoin's p2pool distributed staking pool code to CLAMs. p2pool pays its miners directly in the coinbase transaction, and I was wondering if that was even possible with CLAM. I was aware that there was some kind of check in place to make sure that the input and output were for the same address. It turns out that it's only checking the first (actually second, since the first is always zero) output's address, and so we are free to add extra outputs to pay other miners their reward.

So you won't find too many of those weird transactions in the blockchain so far, but if p2pool ever happens for CLAM you can expect to see lots of them.

I was intending to experiment with multiple input sources in staking transactions too, but didn't do that yet.

Edit: OK, so I tried it and it worked. You can have multiple inputs from different addresses, and multiple outputs to different addresses, just so long as the first input address is the same as the first output address:

http://khashier.com/tx/2d621c452eef8f3f8e260f949488ff015007303d2c04669f619c11a0a766d172

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
presstab
Legendary
*
Offline

Activity: 1330
Merit: 1000


Blockchain Developer


View Profile
June 21, 2015, 06:11:57 PM
 #3239

One thing that seriously has me bothered is the address that is sending outputs on coinstake transactions... I will need to perhaps reindex my db to deal with that.

I forgot to address that.

I created those weird staking transactions yesterday as an experiment.

There has been talk recently of porting Bitcoin's p2pool distributed staking pool code to CLAMs. p2pool pays its miners directly in the coinbase transaction, and I was wondering if that was even possible with CLAM. I was aware that there was some kind of check in place to make sure that the input and output were for the same address. It turns out that it's only checking the first (actually second, since the first is always zero) output's address, and so we are free to add extra outputs to pay other miners their reward.

So you won't find too many of those weird transactions in the blockchain so far, but if p2pool ever happens for CLAM you can expect to see lots of them.

I was intending to experiment with multiple input sources in staking transactions too, but didn't do that yet.

Edit: OK, so I tried it and it worked. You can have multiple inputs from different addresses, and multiple outputs to different addresses, just so long as the first input address is the same as the first output address:

http://khashier.com/tx/2d621c452eef8f3f8e260f949488ff015007303d2c04669f619c11a0a766d172

We had quite a lengthy conversation about this on the clams irc channel. I don't believe it quite makes sense, although if you think it does maybe I am missing part of it. Although you can include multiple inputs to the coinstake transaction, only one of them is part of the proofhash (the others are just along for the ride) and with a fixed reward of 1 clam including more inputs to the coinstake transaction would just reduce the return on investment, seeing as it does not alter the proofhash, thus it would actually be detrimental to your returns rather than creating more value. If you were in fact able to change your proofhash based on how many inputs you include this would be a significant security risk because it will allow stake grinding and computation attacks.

Also is the the type of chart that you clammers are looking for? I can also add 'total supply' on the y2 axis, but its boring and makes it sort of ugly.

Projects I Contribute To: libzerocoin | Veil | PIVX | HyperStake | Crown | SaluS
Trent Russell
Full Member
***
Offline

Activity: 132
Merit: 100


willmathforcrypto.com


View Profile WWW
June 21, 2015, 06:52:54 PM
 #3240

I added CLAM to my explorer/PoS analyzing site. clam.presstab.pw (once it propogates) or http://www.presstab.pw/phpexplorer/CLAM/

Let me know any feedback. Took some custimization to get clams working Cheesy

I also find your site impressive.

On the pages for transactions, you could include the "clamSpeech" part. Both my test transactions involving multisig included clamSpeech saying they were tests:

http://www.presstab.pw/phpexplorer/CLAM/tx.php?tx=21db92347e153a6afdddca7f96d444d81d7daa19674ed3101e50de72cb387b19
http://www.presstab.pw/phpexplorer/CLAM/tx.php?tx=92306e09cafe1bb860572047a019cdf4d6136e8e4c7e89fc07be51ded5de9c2a

About multisig addresses, the good news is that you do properly display the transactions (khashier doesn't at the moment). Both the transactions above are listed at:

http://www.presstab.pw/phpexplorer/CLAM/address.php?address=3J5fBSKLSGfPnkY4kVNTp9pMmGx6soN1ek

By the way, in my clam client the multisig address is showing as 6WnV4Jhe7iNQLDekwr31h9zeoK1eaDMjAw. It's the same 20 byte address, so it's not a problem. The difference seems to be whether the leading byte is x05 or x0d.

@Clam experts: What's the leading byte for clam p2sh addresses supposed to be? x05 or x0d?

Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 ... 502 »
  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!