Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: matthewh3 on February 13, 2012, 05:06:53 PM



Title: Litecoin with P2Pool
Post by: matthewh3 on February 13, 2012, 05:06:53 PM
Hi I'm following the litecoin P2Pool thread https://bitcointalk.org/index.php?topic=62842.0 (https://bitcointalk.org/index.php?topic=62842.0)  Everything is fine up to the final command minerd




10- Start P2Pool for Litecoins;

* First, install "litecoin_scrypt" to Python:

Code:
cd ~/p2pool/litecoin_scrypt
sudo python setup.py install

* Start your Litecoin P2Pool:

Code:
screen -d -m -S ltcp2pool ~/p2pool/run_p2pool.py --give-author 0 --net litecoin --bitcoind-rpc-port 9334 --bitcoind-p2p-port 9335 liteuserx nkrt345udsdfjhgjhsdfuyrt78rtTJHRFHTDTYD

* To connect to your Litecoin P2Pool output console:

Code:
screen -x ltcp2pool

* Blocks mined by P2Pool since you're in:

Code:
grep BLOCK ~/p2pool/data/litecoin/log

* Got share!

Code:
grep GOT\ SHARE ~/p2pool/data/litecoin/log


11- Point your miners to your newly Litecoin P2Pool;

Code:
minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x




Everything is fine up to the final command minerd when I get the following error -


:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found


?????????????????


Title: Re: Litecoin with P2Pool
Post by: marked on February 13, 2012, 05:49:57 PM
:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found

?????????????????

place "./" in front of minerd so it becomes
Quote
:~/p2pool/litecoin_scrypt$ ./minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x


It requires a deliberate prepending. This is a security feature of linux/unix so that you don't accidentally execute scripts/exe files from the current directory. Consider a file rm in the current directory.

rm contains "rm -rf *"

you can imaging the consequences of your entire directory or filesystems vanishing, while you wonder why rm <file> is taking longer than you expected.

marked



Title: Re: Litecoin with P2Pool
Post by: ThiagoCMC on February 13, 2012, 09:26:33 PM
Hi I'm following the litecoin P2Pool thread https://bitcointalk.org/index.php?topic=62842.0 (https://bitcointalk.org/index.php?topic=62842.0)  Everything is fine up to the final command minerd




10- Start P2Pool for Litecoins;

* First, install "litecoin_scrypt" to Python:

Code:
cd ~/p2pool/litecoin_scrypt
sudo python setup.py install

* Start your Litecoin P2Pool:

Code:
screen -d -m -S ltcp2pool ~/p2pool/run_p2pool.py --give-author 0 --net litecoin --bitcoind-rpc-port 9334 --bitcoind-p2p-port 9335 liteuserx nkrt345udsdfjhgjhsdfuyrt78rtTJHRFHTDTYD

* To connect to your Litecoin P2Pool output console:

Code:
screen -x ltcp2pool

* Blocks mined by P2Pool since you're in:

Code:
grep BLOCK ~/p2pool/data/litecoin/log

* Got share!

Code:
grep GOT\ SHARE ~/p2pool/data/litecoin/log


11- Point your miners to your newly Litecoin P2Pool;

Code:
minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x




Everything is fine up to the final command minerd when I get the following error -


:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found


?????????????????

Mattew,

 The miner is out of the scope of this guide... You must have it pre-installed in your mining rigs.

Best,
Thiago


Title: Re: Litecoin with P2Pool
Post by: matthewh3 on February 13, 2012, 10:35:10 PM
Hi I'm following the litecoin P2Pool thread https://bitcointalk.org/index.php?topic=62842.0 (https://bitcointalk.org/index.php?topic=62842.0)  Everything is fine up to the final command minerd




10- Start P2Pool for Litecoins;

* First, install "litecoin_scrypt" to Python:

Code:
cd ~/p2pool/litecoin_scrypt
sudo python setup.py install

* Start your Litecoin P2Pool:

Code:
screen -d -m -S ltcp2pool ~/p2pool/run_p2pool.py --give-author 0 --net litecoin --bitcoind-rpc-port 9334 --bitcoind-p2p-port 9335 liteuserx nkrt345udsdfjhgjhsdfuyrt78rtTJHRFHTDTYD

* To connect to your Litecoin P2Pool output console:

Code:
screen -x ltcp2pool

* Blocks mined by P2Pool since you're in:

Code:
grep BLOCK ~/p2pool/data/litecoin/log

* Got share!

Code:
grep GOT\ SHARE ~/p2pool/data/litecoin/log


11- Point your miners to your newly Litecoin P2Pool;

Code:
minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x




Everything is fine up to the final command minerd when I get the following error -


:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found


?????????????????

Mattew,

 The miner is out of the scope of this guide... You must have it pre-installed in your mining rigs.

Best,
Thiago

I have cpuminer installed.


Title: Re: Litecoin with P2Pool
Post by: matthewh3 on February 13, 2012, 10:43:10 PM
:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found

?????????????????

place "./" in front of minerd so it becomes
Quote
:~/p2pool/litecoin_scrypt$ ./minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x


It requires a deliberate prepending. This is a security feature of linux/unix so that you don't accidentally execute scripts/exe files from the current directory. Consider a file rm in the current directory.

rm contains "rm -rf *"

you can imaging the consequences of your entire directory or filesystems vanishing, while you wonder why rm <file> is taking longer than you expected.

marked



Thanks but I can only use the LTC wallet from the command line because I can't get the qt to work - https://bitcointalk.org/index.php?topic=63706.0 (https://bitcointalk.org/index.php?topic=63706.0)  Do you know any good guides to using the wallet (or the BTC wallet will do) from the command line.  The command 'help' is not enough to me because I'm not a command line expert.


Title: Re: Litecoin with P2Pool
Post by: ThiagoCMC on February 13, 2012, 11:04:58 PM
:~/p2pool/litecoin_scrypt$ minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x
No command 'minerd' found, did you mean:
 Command 'mined' from package 'mined' (universe)
minerd: command not found

?????????????????

place "./" in front of minerd so it becomes
Quote
:~/p2pool/litecoin_scrypt$ ./minerd --url http://IP_P2POOL_SERVER:9327/ --userpass ltcminer0:x


It requires a deliberate prepending. This is a security feature of linux/unix so that you don't accidentally execute scripts/exe files from the current directory. Consider a file rm in the current directory.

rm contains "rm -rf *"

you can imaging the consequences of your entire directory or filesystems vanishing, while you wonder why rm <file> is taking longer than you expected.

marked



Thanks but I can only use the LTC wallet from the command line because I can't get the qt to work - https://bitcointalk.org/index.php?topic=63706.0 (https://bitcointalk.org/index.php?topic=63706.0)  Do you know any good guides to using the wallet (or the BTC wallet will do) from the command line.  The command 'help' is not enough to me because I'm not a command line expert.

Mmm... I don't know any bitcoind tutorial but, here is some of important bitcoind command options:

bitcoind getconnectioncount
bitcoind getblockcount
bitcoind getbalance
bitcoind listtransactions
bitcoind sendtoaddress 1EYWT2sqGXGNz4v5TsakendqcjvHgWyMVc 10.0 

Cheers!
Thiago


Title: Re: Litecoin with P2Pool
Post by: ThiagoCMC on February 14, 2012, 01:29:28 AM
More bitcoind commands:

bitcoind listaccounts
bitcoind getaccountaddress ""

Best,
Thiago