Pages:
Author

Topic: A Complete Guide to P2Pool - Merged Mining (BTC/NMC/DVC/IXC/I0C) plus LTC, Linux - page 16. (Read 198753 times)

legendary
Activity: 1904
Merit: 1002
When I try to compile devcoin, it says make: *** No rule to make target 'bitcoind'. Stop.

Any ideas? I followed instructions accurately.

try
make devcoind
legendary
Activity: 924
Merit: 1000
Think. Positive. Thoughts.
When I try to compile devcoin, it says make: *** No rule to make target 'bitcoind'. Stop.

Any ideas? I followed instructions accurately.
legendary
Activity: 1270
Merit: 1000
Your having the same problem I was with orphans using hakabanes code. If you like we can connect our two pool together with my code to see if the orphans problem goes away?

...good job though Smiley

BTW, I found that you have to delete the data/digitalcoin folder between certain code changes. Maybe that was part of your problem.

Thanks CartmanSPC ,  I've added your pool to the boostrap_addr (is dgc.xpool.net right? ) let's see if the orphan rate drop

There's more to it than that but lets move this to PM's.
sr. member
Activity: 289
Merit: 251
Your having the same problem I was with orphans using hakabanes code. If you like we can connect our two pool together with my code to see if the orphans problem goes away?

...good job though Smiley

BTW, I found that you have to delete the data/digitalcoin folder between certain code changes. Maybe that was part of your problem.

Thanks CartmanSPC ,  I've added your pool to the boostrap_addr (is dgc.xpool.net right? ) let's see if the orphan rate drop
legendary
Activity: 1270
Merit: 1000
Your having the same problem I was with orphans using hakabanes code. If you like we can connect our two pool together with my code to see if the orphans problem goes away?

...good job though Smiley

BTW, I found that you have to delete the data/digitalcoin folder between certain code changes. Maybe that was part of your problem.
sr. member
Activity: 289
Merit: 251
I've finally got the pool to work!  Grin
Didn't found the exact problem but I've downloaded and compiled again the digicoin source and started flawlessly  Grin
If someone want to test the p2pool the final address is http://208.117.43.200:5400 (yes i've changed the port again), I'm putting on it about 1.1mh/s
sr. member
Activity: 289
Merit: 251
I had to turn off connecting to other Digitalcoin P2Pools using hakabanes code. Too many orphans.

Check to see that incoming TCP connections to the port your using (9327) are open on the firewall. Will try it now...ok it shows as being down so I can't connect to your pool either.

Sorry I've the pool still active but I've switched back to port 7998 , still same problem...I've the firewall temporary disableb and if I try to telnet 208.117.43.200 7998  the port result open.  
The strange thing is that I've managed to connect the miner to the pool only using the same username and pass in the digicoin.conf...well it only connect but then can't mine, the frontend graph don't show any miner  Roll Eyes

If someone want to give a try the p2pool url is 208.117.43.200:7998   and frontend is http://208.117.43.200:25397/static/ 
legendary
Activity: 1270
Merit: 1000
I had to turn off connecting to other Digitalcoin P2Pools using hakabanes code. Too many orphans.

Check to see that incoming TCP connections to the port your using (9327) are open on the firewall. Will try it now...ok it shows as being down so I can't connect to your pool either.
sr. member
Activity: 289
Merit: 251
Here is the link to the source. you only need the two networks.py and helper.py though.

https://github.com/hakabane/p2pool-altcoins

I was using hakabane network.py and helper.py files so I assume that the problem is not here...
Adding your pool url to bootstrap parameter can get past the p2pool error but still i cant connect with cgminer:

 
Code:
 [2013-06-01 14:34:44] Testing pool http://208.117.43.200:9327
 [2013-06-01 14:34:45] HTTP request failed: The requested URL returned error: 401
 [2013-06-01 14:34:45] HTTP request failed: The requested URL returned error: 401
 [2013-06-01 14:35:44] No servers were found that could be used to get work from.
 [2013-06-01 14:35:44] Please check the details from the list below of the servers you have input
 [2013-06-01 14:35:44] Most likely you have input the wrong URL, forgotten to add a port, or have no
t set up workers

double checked url and tried to change to other ports but with no luck....
legendary
Activity: 1270
Merit: 1000
Here is the link to the source. you only need the two networks.py and helper.py though.

https://github.com/hakabane/p2pool-altcoins
legendary
Activity: 2912
Merit: 1060
I dont know but it seems it keeps trying to connect to itself so I'm pretty sure it needs atleast one peer. It's how it secures itself.
sr. member
Activity: 289
Merit: 251
You have no peers
BOOTSTRAP_ADDRS=''.split(' '),
This is a peer2peer pool

Thanks for point me that...I thought would be able at least to mine locally, if If I were the first to setup a p2pool what address should i put?

Also, I've added 3-4 p2pool address founded in the digicoin OP first post but I can't connect to anyone (  Handshake timed out, disconnecting from x.x.x.x )  Huh
legendary
Activity: 2912
Merit: 1060
You have no peers
BOOTSTRAP_ADDRS=''.split(' '),
This is a peer2peer pool
sr. member
Activity: 289
Merit: 251
Hi,
I'm trying to start a digitalcoin p2pool, I've installed narken p2pool and already succesfully tested with litecoin, so I decided to try with other altcoin...on the digitalcoin thread there are posted the configurations for p2pool/networks.py and p2pool/bitcoin/networks.py

Code:
    digital=math.Object(
        PARENT=networks.nets['digital'],
        SHARE_PERIOD=15, # seconds target spacing
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares coinbase maturity
        SPREAD=30, # blocks
        IDENTIFIER='be43F6b8c6927210'.decode('hex'),
        PREFIX='b587193ba6d4749a'.decode('hex'),
        P2P_PORT=5477,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=9500,
        BOOTSTRAP_ADDRS=''.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),

Code:
    digital=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=7999,
        ADDRESS_VERSION=30,
        RPC_PORT=7998,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'digitalcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 1*10000000 >> (height + 1)//1080000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=30, # s targetspacing
        SYMBOL='DGC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'franko') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Doubloons/') if platform.system() == 'Darwin' else os.path.expanduser('~/.digitalcoin'), 'digitalcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://54.244.192.52/doubloon/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://54.244.192.52/doubloon/address/',
        SANE_TARGET_RANGE=(2**256//100000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),


My digitalcoin.conf is:

Code:
rpcuser=xxx
rpcpassword=xxx
server=1
daemon=1
rpcport=7998
port=7999


When I'm starting the p2pool I get this error:

Code:
2013-05-28 03:52:08.715777 Initializing work...
2013-05-28 03:52:08.800143     ...success!
2013-05-28 03:52:08.800265
2013-05-28 03:52:08.800346 Joining p2pool network using port 5477...
2013-05-28 03:52:08.801582     ...success!
2013-05-28 03:52:08.801656
2013-05-28 03:52:08.802686 Listening for workers on '' port 9500...
2013-05-28 03:52:08.839512     ...success!
2013-05-28 03:52:08.839627
2013-05-28 03:52:08.839696 Started successfully!
2013-05-28 03:52:08.839769 Go to http://127.0.0.1:9500/ to view graphs and statistics!
2013-05-28 03:52:08.839849 Donating 0.0% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!
2013-05-28 03:52:08.839930
2013-05-28 03:52:08.846531 Peer 0.0.0.0:5477 misbehaving, will drop and ban. Reason: was connected to self
2013-05-28 03:52:08.847887 Peer 127.0.0.1:33164 misbehaving, will drop and ban. Reason: was connected to self
2013-05-28 03:52:11.840261 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2013-05-28 03:52:11.840398  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-05-28 03:52:26.841202 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2013-05-28 03:52:26.841310  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-05-28 03:52:41.841972 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2013-05-28 03:52:41.842061  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2013-05-28 03:52:56.842672 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)


 it seems that I can't connect outside? I've also temporary disabled the firewall but with no change...

The command used to start the p2pool is that:

Code:
 screen -d -m -S ltcp2pool ./run_p2pool.py --give-author 0 --fee 0  --bitcoind-p2p-port 7999 --bitcoind-rpc-port 7998  --net digital xxx xxx

If I try to mine I can't even connect to the p2pool, can anyone give me an hint?  Embarrassed
legendary
Activity: 2912
Merit: 1060
legendary
Activity: 1666
Merit: 1010
he who has the gold makes the rules
anyone know what the parameter is to limit the payment tx to a miner so that it only get's sent out when they reach a certain threshold?

I'm getting these tiny micro payments every hour and it's causing litecoin qt to try to charge me 3.4 ltc just to send out 11 ltc!!
legendary
Activity: 2912
Merit: 1060
There's another nuance you should be aware of though. You can't spend virgin coins for 120 confirmations. Pros and cons baby.
legendary
Activity: 2912
Merit: 1060
There is no transfer. These are virgin coins that get attached to your address. They are attached not transferred.
newbie
Activity: 52
Merit: 0
Question:  If I mine BTC and earn a reward for shares at say ~.000xBTC or less, then how does that get transferred to my wallet without a network fee? My current pool saves my reward up to 1BTC then sends it to my address thus avoiding the fee. (currently @ 1.5GHs)
full member
Activity: 176
Merit: 100
Put it in the background still with the -daemon flag

if it is syncing from scratch it will take two to 8 hours depending on connection speed and server speed.
Pages:
Jump to: