Author

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

hero member
Activity: 546
Merit: 500
How to import thousands of privkey from blockchain.info to CLAMs wallet-qt ?

No idea for a easy approaching to do that ?
I can do that single by single but they are really a lot . it takes a lot time
sr. member
Activity: 420
Merit: 250
"to endure to achieve"
@SuperClam

Is there an up-to-date bootstrap to download somewhere?
I've tried the whole day to sync - and it's been 'hanging' on '23 weeks behind' for hours now..
Tried restart client but no good..
legendary
Activity: 2210
Merit: 1109
thanks chilly2k and dooglus, I will try getting a node running somewhere this week  Grin
legendary
Activity: 2940
Merit: 1333
Can you share some details about the node-install on ubuntu chilly2k? thanks

I built the CLAM client on a new debian machine yesterday. I didn't build the QT client, only clamd, but it was pretty straightforward.

I didn't keep a log of everything I did, but it was very close to the following:

Code:
sudo apt-get install git build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-test-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libdb5.3++-dev
git clone https://github.com/nochowderforyou/clams.git
cd clams
git checkout v1.4.16
./autogen.sh
./configure --with-incompatible-bdb
cd src
make -j 4 clamd

The --with-incompatible-bdb bit is because my wallets were made using a too-new version of BDB. The older recommended version isn't available in the debian repositories as far as I can tell.

Edit: doc/build-unix.md tells me that I can get the old 4.8 version if I wanted it:

Code:
db4.8 packages are available [here](https://launchpad.net/~bitcoin/+archive/bitcoin).
 You can add the repository using the following command:

        sudo add-apt-repository ppa:bitcoin/bitcoin
        sudo apt-get update

 Ubuntu 12.04 and later have packages for libdb5.1-dev and libdb5.1++-dev,
 but using these will break binary wallet compatibility, and is not recommended.

for Debian 7 (Wheezy) and later:
 The oldstable repository contains db4.8 packages.
 Add the following line to /etc/apt/sources.list,
 replacing [mirror] with any official debian mirror.

deb http://[mirror]/debian/ oldstable main

To enable the change run

sudo apt-get update

for other Debian & Ubuntu (with ppa):

sudo apt-get install libdb4.8-dev libdb4.8++-dev

Edit: extra steps to build the QT client:

Code:
$ sudo apt-get install libprotobuf-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools protobuf-compiler libqrencode-dev
$ ./configure --with-incompatible-bdb
$ cd src
$ make -j 4 qt/clam-qt
legendary
Activity: 1007
Merit: 1000
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!
Maybe, between the two of you, you could get a guide together for the community?
can you give a link? I read the last 20 pages but did not find it... Tongue

They were running it on a similar device; not exactly a raspberry pi.

Don't have the time at the moment to dig Sad  Was it chilly2k, maybe?  Can't remember Sad

   Not me,  I'm on an Ubuntu server...  Cheesy

Although the raspberry pi is a cool idea.  To many other projects. 

Ubuntu is no problem too, if I can get it running on that I might get it running on a raspberry too. Can you share some details about the node-install on ubuntu chilly2k? thanks

It was quite a while ago, so I don't remember the details.  I know I compiled the source for the clamd.  I couldn't get the QT to compile, but didn't really try that hard.  
I think the toughest part was getting all of the dependency's straightened out.   I'm no linux compiling expert, I think I followed some info, but I have a feeling it wasn't anything specific to clams.  
legendary
Activity: 2940
Merit: 1333
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.

Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!

Maybe, between the two of you, you could get a guide together for the community?

can you give a link? I read the last 20 pages but did not find it... Tongue

Links:

A Raspberry Pi 2 or Odroid C1 costs only $USD 35; either should be able to run clamd. I'm not sure whether the weaker CPUs will make staking more erratic, or it doesn't really matter. (If it does matter - the C1 CPU clocks 60% faster than the Pi2)

I have an Odroid C1 right next to me, might try compiling and running clamd for a bit, just out of curiosity. Smiley

FWIW, I compiled clam for the Odroid C1 a few hours ago, and it's currently syncing. It did die with a segmentation fault ( Shocked ) after syncing a few thousand blocks, but has not skipped a beat since I restarted it. I'm doing a sync from scratch to give it a good workout.

The seemingly random segfault bothers me a little. Once fully synced I'll move the db elsewhere temporarily then try another sync from scratch, to see if it dies at the same place. Hopefully it does. [edit: running from a virgin data dir didn't segfault.]

I did the consistent experience in a slightly different way. The Odroid C1 only has a local address, with no gateway IP translation, so the only peer it can connect to is my local server. It didn't crash at all during the second sync attempt... hopefully this was an edge case, where a newer block offered by a peer when barely synced caused something obscure to trigger a crash, rather than it being a more "random" event.

The client is fully synced now, and I can see it's trying to stake, too. With a relatively fresh deposit of only 108 CLAM it may take a while. Smiley



With a "typical" maximum power consumption of only 2.5W - a few dollars worth of electricity per year - this sort of setup could be very handy for someone who doesn't leave their main machine powered on 24/7.

Odroid C1 update: the little cigarette pack sized computer has now successfully staked.

http://clamsight.com/tx/36402fb5bfccb4651d4bf0cfbf1fcc114d5caaa7d3164028ac189439303b0fc7

(For those of you who have no idea what an Odroid C1 is - it's like a Raspberry Pi 2, but faster. Quad core ARM @1.5GHz)
legendary
Activity: 2210
Merit: 1109
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!
Maybe, between the two of you, you could get a guide together for the community?
can you give a link? I read the last 20 pages but did not find it... Tongue

They were running it on a similar device; not exactly a raspberry pi.

Don't have the time at the moment to dig Sad  Was it chilly2k, maybe?  Can't remember Sad

   Not me,  I'm on an Ubuntu server...  Cheesy

Although the raspberry pi is a cool idea.  To many other projects. 

Ubuntu is no problem too, if I can get it running on that I might get it running on a raspberry too. Can you share some details about the node-install on ubuntu chilly2k? thanks
legendary
Activity: 1007
Merit: 1000
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!
Maybe, between the two of you, you could get a guide together for the community?
can you give a link? I read the last 20 pages but did not find it... Tongue

They were running it on a similar device; not exactly a raspberry pi.

Don't have the time at the moment to dig Sad  Was it chilly2k, maybe?  Can't remember Sad

   Not me,  I'm on an Ubuntu server...  Cheesy

Although the raspberry pi is a cool idea.  To many other projects. 
hero member
Activity: 784
Merit: 1002
CLAM Developer
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!
Maybe, between the two of you, you could get a guide together for the community?
can you give a link? I read the last 20 pages but did not find it... Tongue

They were running it on a similar device; not exactly a raspberry pi.

Don't have the time at the moment to dig Sad  Was it chilly2k, maybe?  Can't remember Sad
legendary
Activity: 2210
Merit: 1109
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.

Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!

Maybe, between the two of you, you could get a guide together for the community?

can you give a link? I read the last 20 pages but did not find it... Tongue
hero member
Activity: 784
Merit: 1002
CLAM Developer
Eh, I wouldn't exactly say it reached the level of Litecoin. Nevertheless, I think it's been doing a great job so far.
At #17 with a 2.7 million marketcap, that's quite impressive.

Ripple gets to count it's pre-mine; all those massive distribution coins get to count their insta-mine; Bitcoin gets to count it's lost key and satoshi stockpile share of the money supply.....

Count all coins currently on chain, and controlled by user keys, and CLAM has a market capitalization of over 50 million USD.

Fair?  True?  Likely not - but, food for thought.

EDIT: Might also be worth mentioning that one would expect the incentive to claim to correlate positively with price.  This would suggest that at some point, given continued increase in price, all the CLAM that are likely to ever be claimed, will be.  Even currently, a single address claim of CLAM = ~4.6 * 0.0128 * 263$ = ~15.49 USD.
hero member
Activity: 756
Merit: 500
Eh, I wouldn't exactly say it reached the level of Litecoin. Nevertheless, I think it's been doing a great job so far.

At #17 with a 2.7 million marketcap, that's quite impressive.
hero member
Activity: 784
Merit: 1002
CLAM Developer
What is up with this coin?
It has almost reached the level of Litecoin.

Any explanation or guess is just that - a haphazard guess.
Markets are not often entirely transparent.

That said:

* Conservative distribution
* Fair distribution
* Distribution that aligns user/network growth with money supply expansion
* Awesome community members who give back, such as xploited's long-term support and dooglus' recent and sweeping contributions to the codebase
* And of course, utility and return via services such as the famous Just-Dice, FortuneJack, BitDice, etc.

In the future, I expect to add CLAMspeech, the advantage protected speech gives in fortifying the chain from interference, and the possibilities which it enables such as third-party applications.



But, again, your guess is as good as any other Grin
legendary
Activity: 1344
Merit: 1000
What is up with this coin?
It has almost reached the level of Litecoin.
hero member
Activity: 784
Merit: 1002
CLAM Developer
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!
Maybe, between the two of you, you could get a guide together for the community?
I shall look that up, thanks. If I/we have time we will make a (short) tutorial.

Feel free to submit it directly to the new website.

It is open source and we encourage everyone to help polish it into something we can all be proud of!

http://github.com/nochowderforyou/nochowderforyou.github.io



Otherwise, feel free to submit it as a simple document and we can mark it up with markdown ourselves Grin
legendary
Activity: 2210
Merit: 1109
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.

Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!

Maybe, between the two of you, you could get a guide together for the community?

I shall look that up, thanks. If I/we have time we will make a (short) tutorial.
hero member
Activity: 546
Merit: 500
How to import thousands of privkey from blockchain.info to CLAMs wallet-qt ?
hero member
Activity: 784
Merit: 1002
CLAM Developer
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.

Not aware of a "guide"; but, there was a user just a few pages back in the forum here who did just that!

Maybe, between the two of you, you could get a guide together for the community?
legendary
Activity: 2210
Merit: 1109
Is there a tutorial how to setup a CLAM Node with a raspberry Pi ? I sure would like to run a CLAM node.
hero member
Activity: 784
Merit: 1002
CLAM Developer
Thanks for the answer. I already did that and they were funded at 2014-may-12. Although, there are 7 addresses in the wallet, 5 of them have clams. May that be issue?
That really shouldn't be a problem. We expect to find multiple funded addresses per wallet.
You could try using the console in the CLAM client and importing the private keys one by one, although that isn't ideal since you'll potentially miss some funded "change" addresses:
Run the LTC client, go to the console, run "dumpprivkey ADDR" for a funded address. Copy the result.
Run the CLAM client, go to the console, run "importprivkey KEY import false" where KEY is the thing you copied in the previous step.
Repeat for each address. On the last one, write "true" instead of "false" to let it rescan the blockchain. That will take 5 or 10 minutes and will probably make the wallet appear to hang while it runs, but you'll see your 4.6 CLAMs start appearing pretty quickly.
updated client to .16
tested it now and it works  Grin importing privkey form litecoin works, like Dooglus said, with option import true on seems like client hangs but afetr 1 minutes you seen the coins appear and it is staking !

Awesome Grin

Welcome to the CLAM family! Grin Grin
Jump to: