Bitcoin Forum

Bitcoin => Mining support => Topic started by: VaultMiner on December 11, 2014, 07:33:32 AM



Title: P2Pool Version Dirty?
Post by: VaultMiner on December 11, 2014, 07:33:32 AM
I was looking for a P2Pool node to mine in and I saw that the version ended with -dirty. Can anyone explain to me what that means?  Is it caused by altered code?  It seemed most of the nodes with dirty had customer landing pages. I searched for the answer, but couldn't find any detailed answers.


Title: Re: P2Pool Version Dirty?
Post by: jonnybravo0311 on December 11, 2014, 07:02:34 PM
I was looking for a P2Pool node to mine in and I saw that the version ended with -dirty. Can anyone explain to me what that means?  Is it caused by altered code?  It seemed most of the nodes with dirty had customer landing pages. I searched for the answer, but couldn't find any detailed answers.

I answered you in the other thread you posted in the Mining forum.  Here's the copy/paste:

I must have missed your question in the p2pool thread.  It has to do with a git command.  The version info is pulled from you local git repo of p2pool.  Basically, in __init__.py, it makes a call like this:
Code:
git describe --always --dirty
As you rightfully suspect, if you've added files to your local repository (for example, a custom front end), then git will return back that your repository is "dirty".


Title: Re: P2Pool Version Dirty?
Post by: kano on December 11, 2014, 10:25:02 PM
VaultMiner: The question should be in the p2pool thread only ........