Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 431. (Read 2591971 times)

hero member
Activity: 798
Merit: 1000
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.

So basically they can't run from the same server, I would have to create a P2Pool2 folder and install P2Pool into it to run Litecoin say, and P2Pool3 to run Doge coin, etc.?

Correct. You can however merged mine nmc, etc

Sorry what's merge mining?



Merged mining allows you to compare mining results with multiple parallel blockchains that are compatible, so essentially mining two coins for each set of work.

You can only merge mine with additional compatible coins made for merged mining like Namecoin with Bitcoin.  You can't merge mine Litecoin with Bitcoin.

Some helpful threads:
Merged mining in general: https://bitcointalksearch.org/topic/merged-mining-how-does-it-really-work-131623

Merged Mining with p2pool: https://bitcointalksearch.org/topic/a-complete-guide-to-p2pool-merged-mining-btcnmcdvcixci0c-plus-ltc-linux-62842

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I was thinking about creating a public P2pool node. What kind of hardware and bandwidth would I need? Lets assume I get 1 TH.
I presume you mean you have 1TH?
1TH is probably somewhere close to the hash rate you need to reduce the extremely high variance that p2pool creates.
(as I pointed out before, 150GH/s had ridiculously high variance)
legendary
Activity: 2912
Merit: 1060
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.

So basically they can't run from the same server, I would have to create a P2Pool2 folder and install P2Pool into it to run Litecoin say, and P2Pool3 to run Doge coin, etc.?

Correct. You can however merged mine nmc, etc

Sorry what's merge mining?



Mine nmc, etc for free alongside btc
hero member
Activity: 630
Merit: 501
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.

So basically they can't run from the same server, I would have to create a P2Pool2 folder and install P2Pool into it to run Litecoin say, and P2Pool3 to run Doge coin, etc.?

Correct. You can however merged mine nmc, etc

Sorry what's merge mining?

legendary
Activity: 2912
Merit: 1060
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.

So basically they can't run from the same server, I would have to create a P2Pool2 folder and install P2Pool into it to run Litecoin say, and P2Pool3 to run Doge coin, etc.?

Correct. You can however merged mine nmc, etc
hero member
Activity: 630
Merit: 501
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.

So basically they can't run from the same server, I would have to create a P2Pool2 folder and install P2Pool into it to run Litecoin say, and P2Pool3 to run Doge coin, etc.?
sr. member
Activity: 314
Merit: 251
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?



You can run them on the same hardware, but you have to run them seperately.  ie. 2 processes each in it's own window from 2 different folders.  Also , make sure you don't have any port conflicts.
hero member
Activity: 630
Merit: 501
Does P2pool support multiple pools? Can run litecoin and bitcoin on the same server do or I need to run two separate P2Pool servers?

sr. member
Activity: 434
Merit: 250
Thanks for the replies to my previous question. I have another question that I can't seem to find an answer to. If I'm running a p2pool node, and it dies for some reason, do we lose all the work that went into the partial p2pool share?

There are no partial shares. Either a hash meets the difficulty requirement, or it doesn't. The shares the miner reports back that are lower difficulty is just for the graphs and so you can know the pool is working by estimating the miner's hash rate. But those aren't shares in terms of the PPLNS payment system. Real shares (that pay out) are reported immediately to the rest of the p2pool network to go onto the share chain, and then are paid on all blocks found until that share is too old.

All work miners do is meaningless in terms of getting paid until they find a share with a high enough difficulty to make it onto the share chain. "Normal" pools add tiny shares onto their payment databases constantly, but p2pool doesn't operate that way.
legendary
Activity: 2912
Merit: 1060
Thanks for the replies to my previous question. I have another question that I can't seem to find an answer to. If I'm running a p2pool node, and it dies for some reason, do we lose all the work that went into the partial p2pool share?

No the network keeps it


So, the miners who were mining on my node wouldn't benefit from their work that went into the partial share?

I mean saves it for you
legendary
Activity: 2660
Merit: 2868
Shitcoin Minimalist
Thanks for the replies to my previous question. I have another question that I can't seem to find an answer to. If I'm running a p2pool node, and it dies for some reason, do we lose all the work that went into the partial p2pool share?

No the network keeps it


So, the miners who were mining on my node wouldn't benefit from their work that went into the partial share?
legendary
Activity: 2912
Merit: 1060
Thanks for the replies to my previous question. I have another question that I can't seem to find an answer to. If I'm running a p2pool node, and it dies for some reason, do we lose all the work that went into the partial p2pool share?

No the network keeps it
legendary
Activity: 2660
Merit: 2868
Shitcoin Minimalist
Thanks for the replies to my previous question. I have another question that I can't seem to find an answer to. If I'm running a p2pool node, and it dies for some reason, do we lose all the work that went into the partial p2pool share?
newbie
Activity: 7
Merit: 0
I've heard in chat that

https://github.com/Rav3nPL/p2pool-rav

is where most of the alt coin support ends up. Not sure what the difference is, if any, between his and narken's though.

Thank You Roy, i will try that one.

Best Regards
sr. member
Activity: 434
Merit: 250
Hmm. I find that the pool hash rate on p2pool.info is far more steady and predictable than my own graphing. Is p2pool using a moving average?

Zoom to 1 Day on http://p2pool.info/ and compare to:

http://vtc-us-east.royalminingco.com/p2pool_share_history/diff_history.png
newbie
Activity: 7
Merit: 0
Hello again, I am getting these errors all the time when running p2pool.

I am trying to get auxblock from my BBQCoin daemon which is at port 9554 but p2pool keeps showing these errors:

Here are the messages:

> Error while calling merged getauxblock on http://127.0.0.1:9554:
> Traceback (most recent call last):
>   File "twisted\internet\defer.pyc", line 551, in _runCallbacks
>
>   File "twisted\internet\defer.pyc", line 1101, in gotResult
>
>   File "twisted\internet\defer.pyc", line 1043, in _inlineCallbacks
>
>   File "twisted\python\failure.pyc", line 382, in throwExceptionIntoGenerator
>
> --- ---
>   File "p2pool\util\deferral.pyc", line 41, in f
>
>   File "twisted\internet\defer.pyc", line 1043, in _inlineCallbacks
>
>   File "twisted\python\failure.pyc", line 382, in throwExceptionIntoGenerator
>
>   File "p2pool\util\jsonrpc.pyc", line 133, in _http_do
>
> p2pool.util.jsonrpc.NarrowError: -32601 Method not found


Does anyone know what's happening?

Thank You for your help!

P.S.: The other errors described in the post i did earlier are still happening too!
sr. member
Activity: 434
Merit: 250
I've heard in chat that

https://github.com/Rav3nPL/p2pool-rav

is where most of the alt coin support ends up. Not sure what the difference is, if any, between his and narken's though.
newbie
Activity: 7
Merit: 0
Hello Everyone,

I've installed https://github.com/narken/p2pool-altcoins  so i could run several alt-coin like Litecoin, Namecoin, BBQCoin, Terracoin, Novacoin, etc...

I did install it without problems on windows 7 but when i started it i have got the following:

2014-02-04 14:06:39.315217 p2pool (version 11.4-31-g19b3dd0)
2014-02-04 14:06:39.316300
2014-02-04 14:06:39.316411 Testing bitcoind RPC connection to 'http://127.0.0.1:10332/' with username 'MasterUser'...
2014-02-04 14:06:39.385996     ...success!
2014-02-04 14:06:39.386762     Current block hash: 71e2062395badb6901497039fd25ce405245543754611b169876f8f1a02d4626
2014-02-04 14:06:39.390741     Current block height: 508440
2014-02-04 14:06:39.390824
2014-02-04 14:06:39.390912 Testing bitcoind P2P connection to '127.0.0.1:10333'.
..

And that's it , the p2pool-altcoins program justs hangs in there waiting... and waiting....

My Litecoin wallet is synced and the conf file is:
server=1
listen=1
daemon=1
rpcuser=MasterUser
rpcpassword=SomeLongPassword
maxconnections=30
rpcport=10332
port=10333
rpcallowip=127.0.0.1
rpcconnect=127.0.0.1
addnode=70.71.0.93
addnode=190.191.141.145
addnode=75.135.81.210
addnode=69.57.165.193
addnode=168.61.25.9
addnode=71.171.90.204
addnode=172.219.27.30
addnode=88.60.62.215
addnode=124.170.3.229

p2pool-altcoins networks.py  litecoin configuration is:
 litecoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=9333,
        ADDRESS_VERSION=48,
        RPC_PORT=9332,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'litecoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=150, # s
        SYMBOL='LTC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Litecoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Litecoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.litecoin'), 'litecoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://explorer.litecoin.net/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://explorer.litecoin.net/address/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),

Does anyone know what could be the reason for p2pool-altcoins halt?

Best Regards

full member
Activity: 124
Merit: 251
I was thinking about creating a public P2pool node. What kind of hardware and bandwidth would I need? Lets assume I get 1 TH.

For 1 TH/s you're gonna need at least 1-2 GB RAM, a dual-core CPU, and probably a minimum connection speed of 5-10 Mbps.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
I was thinking about creating a public P2pool node. What kind of hardware and bandwidth would I need? Lets assume I get 1 TH.

Modern laptop will be OK, bandwidth 5 Mbps down/1 Mbps up should be enough. Of course, if you want to have bleeding edge efficiency on bitcoind template creation time and you planning to connect many devices, you should buy something faster. But for couple of Antminers of something like that, it should be fine.
Jump to: