Bitcoin Forum
May 04, 2024, 09:27:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Litecoin with P2Pool  (Read 5323 times)
matthewh3 (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1003



View Profile WWW
February 13, 2012, 05:06:53 PM
 #1

Hi I'm following the litecoin P2Pool thread 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


HuhHuhHuhHuhHuh??

1714814853
Hero Member
*
Offline Offline

Posts: 1714814853

View Profile Personal Message (Offline)

Ignore
1714814853
Reply with quote  #2

1714814853
Report to moderator
1714814853
Hero Member
*
Offline Offline

Posts: 1714814853

View Profile Personal Message (Offline)

Ignore
1714814853
Reply with quote  #2

1714814853
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714814853
Hero Member
*
Offline Offline

Posts: 1714814853

View Profile Personal Message (Offline)

Ignore
1714814853
Reply with quote  #2

1714814853
Report to moderator
marked
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
February 13, 2012, 05:49:57 PM
 #2

:~/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

HuhHuhHuhHuhHuh??

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

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 13, 2012, 09:26:33 PM
 #3

Hi I'm following the litecoin P2Pool thread 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


HuhHuhHuhHuhHuh??

Mattew,

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

Best,
Thiago
matthewh3 (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1003



View Profile WWW
February 13, 2012, 10:35:10 PM
 #4

Hi I'm following the litecoin P2Pool thread 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


HuhHuhHuhHuhHuh??

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.

matthewh3 (OP)
Legendary
*
Offline Offline

Activity: 1372
Merit: 1003



View Profile WWW
February 13, 2012, 10:43:10 PM
 #5

:~/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

HuhHuhHuhHuhHuh??

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  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.

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 13, 2012, 11:04:58 PM
Last edit: February 14, 2012, 12:32:07 AM by ThiagoCMC
 #6

:~/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

HuhHuhHuhHuhHuh??

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  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
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
February 14, 2012, 01:29:28 AM
 #7

More bitcoind commands:

bitcoind listaccounts
bitcoind getaccountaddress ""

Best,
Thiago
Pages: [1]
  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!