CartmanSPC
Legendary
Offline
Activity: 1270
Merit: 1000
|
|
February 27, 2014, 07:00:12 PM |
|
- raise mintxfee and minrelaytxfee back to defaults (0.0001)
Anyone know where (in the coin source) the default mins can be found? Searched but could not find it. Trying to see what would be good values for some altcoins.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4242
Merit: 1313
|
|
February 27, 2014, 07:41:50 PM |
|
- raise mintxfee and minrelaytxfee back to defaults (0.0001)
Anyone know where (in the coin source) the default mins can be found? Searched but could not find it. Trying to see what would be good values for some altcoins. Probably in ~/.bitcoin/bitcoin.conf e.g. mintxfee=0.0001 minrelaytxfee=0.0001 blockprioritysize=8000 blockminsize=10000 Then your bitcoind will use those to construct the block. In most alts it is in the same spot, with a different name. Assuming I understood what you were asking. :-)
|
|
|
|
fruor
|
|
February 27, 2014, 08:15:00 PM |
|
My patch has no effect on running your own node. It's purpose is to let each miner on a public node get the share difficulty target they would get as if they were running their own node. But if small mining rigs run their own node, it still seems impossible to get rewarded (my p2pool environment shows enough hashrate to at least find a block several times a day). If I understand it correctly you are forcing the node (not the pool) to give you a small share difficulty, but if you run your own node it will be using standard difficulties anyway? roy7 you have my deepest respect for your efforts to make p2pool useable for small miners. However I still cannot follow how this can be achieved, I'm talking cpu-mining for scrypt coins. My current try is to setup a node on each cpu-machine and connect to their localhost using your hack /0.0001. Is this overkill? BTW: I'm not aiming for botnets, they may be better off with centralized pools anyway, but for a build-in mining functionality in a coin wallet.
|
|
|
|
roy7
|
|
February 27, 2014, 09:08:40 PM |
|
But if small mining rigs run their own node, it still seems impossible to get rewarded (my p2pool environment shows enough hashrate to at least find a block several times a day). If I understand it correctly you are forcing the node (not the pool) to give you a small share difficulty, but if you run your own node it will be using standard difficulties anyway?
roy7 you have my deepest respect for your efforts to make p2pool useable for small miners. However I still cannot follow how this can be achieved, I'm talking cpu-mining for scrypt coins. My current try is to setup a node on each cpu-machine and connect to their localhost using your hack /0.0001. Is this overkill?
The issue is that bigger miners are given higher share targets so they don't use up too much of the share chain themselves. p2pool is designed around the idea that each miner is running their own node. So a node = a miner. Thus, a node scales the difficulty for the workers connected to that node (all of your mining gear) to a higher level if you have a high combined speed. This causes an issue for a public node with lots of small miners that the target share difficulty is being set to the combined total speed, not each miner's speed. So 100 people at 5GH will each be given a target share difficulty for a 500 GH miner. The same difficulty a 500 GH miner would have on his own private node. If these miners ran their own private node with just 5GH of speed, they'd have lower targets. So that is what my patch did, lower the target share difficulty for an address based only on the addresses' speed, not the node's total combined speed. This is also why the patch does nothing for a miner running his own private node, you already have a target based on your personal speed. My patch changes the vardiff algorithm as above. If you set a target yourself with /DIFF, then the vardiff isn't used and my patch does nothing. /DIFF also overrides the dust prevention so you'll get the smallest shares you can no matter how little they pay. This can result in tx fees that cost more to spend the shares than they are worth. I don't think people should do that if they are mining long-term, but it's the easiest way to try and make "Why am I not getting paid" complaints go away. No matter what vardiff does or what /DIFF you set, you will never get a share difficulty target below the minimum share difficulty for the network.
|
|
|
|
|
roy7
|
|
February 27, 2014, 11:33:39 PM |
|
You could change networks.py to try and have a lower share difficulty but it'll go back up once more hash power joins the network. The way p2pool is designed, there is always going to be some level of hash power that is so small the variance is too high for people to stomach. For them it's probably better to use a proxypool like doge.st is designing.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4242
Merit: 1313
|
|
February 28, 2014, 12:45:27 AM |
|
You could change networks.py to try and have a lower share difficulty but it'll go back up once more hash power joins the network. The way p2pool is designed, there is always going to be some level of hash power that is so small the variance is too high for people to stomach. For them it's probably better to use a proxypool like doge.st is designing. vertcoind is running fine, and I was going to try running p2pool on VTC to try out your mod, but am getting an error: exceptions.ImportError: No module named vtc_scrypt Any suggestions one what dependencies on Ubuntu 13 are needed for p2pool? I am using the donSchoe / p2pool-vtc fork from github. :-)
|
|
|
|
roy7
|
|
February 28, 2014, 01:07:46 AM |
|
vertcoind is running fine, and I was going to try running p2pool on VTC to try out your mod, but am getting an error:
exceptions.ImportError: No module named vtc_scrypt
Any suggestions one what dependencies on Ubuntu 13 are needed for p2pool? I am using the donSchoe / p2pool-vtc fork from github.
:-)
Check the README file for instructions on installing the vertcoin_scrypt module.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4242
Merit: 1313
|
|
February 28, 2014, 01:38:32 AM |
|
vertcoind is running fine, and I was going to try running p2pool on VTC to try out your mod, but am getting an error:
exceptions.ImportError: No module named vtc_scrypt
Any suggestions one what dependencies on Ubuntu 13 are needed for p2pool? I am using the donSchoe / p2pool-vtc fork from github.
:-)
Check the README file for instructions on installing the vertcoin_scrypt module. The subtly hidden readme. ;-) Usually they just say "see docs". lol. edit: that did it. Thanks for the pointer. I'll check out your mod for it next. ;-)
|
|
|
|
roy7
|
|
February 28, 2014, 02:12:53 AM |
|
The subtly hidden readme. ;-) Usually they just say "see docs". lol.
edit: that did it. Thanks for the pointer. I'll check out your mod for it next. ;-)
The p2pool-vtc repo already has my patch applied.
|
|
|
|
CartmanSPC
Legendary
Offline
Activity: 1270
Merit: 1000
|
|
February 28, 2014, 07:00:58 AM |
|
- raise mintxfee and minrelaytxfee back to defaults (0.0001)
Anyone know where (in the coin source) the default mins can be found? Searched but could not find it. Trying to see what would be good values for some altcoins. Probably in ~/.bitcoin/bitcoin.conf Assuming I understood what you were asking. :-) where in the coin source (ex: https://github.com/bitcoin/bitcoin/tree/master/src). Different coins prob. have different default minimums.
|
|
|
|
cr1776
Legendary
Offline
Activity: 4242
Merit: 1313
|
|
February 28, 2014, 08:21:34 AM |
|
- raise mintxfee and minrelaytxfee back to defaults (0.0001)
Anyone know where (in the coin source) the default mins can be found? Searched but could not find it. Trying to see what would be good values for some altcoins. Probably in ~/.bitcoin/bitcoin.conf Assuming I understood what you were asking. :-) where in the coin source (ex: https://github.com/bitcoin/bitcoin/tree/master/src). Different coins prob. have different default minimums. I think this is what you are looking for around line 53-55: main.cpp: /** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */ int64_t CTransaction::nMinTxFee = 10000; // Override with -mintxfee /** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */ int64_t CTransaction::nMinRelayTxFee = 1000; :-)
|
|
|
|
CartmanSPC
Legendary
Offline
Activity: 1270
Merit: 1000
|
|
February 28, 2014, 08:24:02 AM |
|
- raise mintxfee and minrelaytxfee back to defaults (0.0001)
Anyone know where (in the coin source) the default mins can be found? Searched but could not find it. Trying to see what would be good values for some altcoins. Probably in ~/.bitcoin/bitcoin.conf Assuming I understood what you were asking. :-) where in the coin source (ex: https://github.com/bitcoin/bitcoin/tree/master/src). Different coins prob. have different default minimums. I think this is what you are looking for around line 53-55: main.cpp: /** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */ int64_t CTransaction::nMinTxFee = 10000; // Override with -mintxfee /** Fees smaller than this (in satoshi) are considered zero fee (for relaying) */ int64_t CTransaction::nMinRelayTxFee = 1000; Thanks! That's it...actually now seeing it I remember where it was...man im loosing it lately...too much stuff going on..lack of sleep At least now it's documented
|
|
|
|
smooth
Legendary
Offline
Activity: 2968
Merit: 1198
|
|
February 28, 2014, 10:49:13 PM |
|
I have blockprioritysize=0 and mintxfee=0.01 yet I'm still getting transactions with smaller fees. Does anyone know why before I start digging into the source code?
2014-02-28 14:48:26.238012 New work for worker! Difficulty: 156.935343 Share difficulty: 504240.247210 Total block value: 25.016500 BTC including 2 transactions
EDIT: Just a guess but maybe "per KB" is actually applied "per 1/2 KB"?
|
|
|
|
cr1776
Legendary
Offline
Activity: 4242
Merit: 1313
|
|
February 28, 2014, 11:04:07 PM |
|
The subtly hidden readme. ;-) Usually they just say "see docs". lol.
edit: that did it. Thanks for the pointer. I'll check out your mod for it next. ;-)
The p2pool-vtc repo already has my patch applied. Good to know. It seems to be working perfectly. I might have to try it on the btc side. Thanks.
|
|
|
|
gyverlb (OP)
|
|
March 01, 2014, 10:16:29 AM |
|
I have blockprioritysize=0 and mintxfee=0.01 yet I'm still getting transactions with smaller fees. Does anyone know why before I start digging into the source code?
2014-02-28 14:48:26.238012 New work for worker! Difficulty: 156.935343 Share difficulty: 504240.247210 Total block value: 25.016500 BTC including 2 transactions
EDIT: Just a guess but maybe "per KB" is actually applied "per 1/2 KB"?
Transactions can take less than a KB... Why would you want to use such values (especially mintxfee=0.01)? And ask for directions in the thread where it's explained why you are not advised to (you are hurting your income and everyone else's)?
|
|
|
|
smoothrunnings
|
|
March 01, 2014, 10:28:50 AM |
|
I have blockprioritysize=0 and mintxfee=0.01 yet I'm still getting transactions with smaller fees. Does anyone know why before I start digging into the source code?
2014-02-28 14:48:26.238012 New work for worker! Difficulty: 156.935343 Share difficulty: 504240.247210 Total block value: 25.016500 BTC including 2 transactions
EDIT: Just a guess but maybe "per KB" is actually applied "per 1/2 KB"?
Transactions can take less than a KB... Why would you want to use such values (especially mintxfee=0.01)? And ask for directions in the thread where it's explained why you are not advised to (you are hurting your income and everyone else's)? So even if mintxfee=0.00001? I am not sure why smooth put 0.01 when it doesn't clearly say that in the OP's post. I am too not sure if the OP's post really helps everyone or only help people like him who don't use the settings possibly to gain more coins?
|
|
|
|
smooth
Legendary
Offline
Activity: 2968
Merit: 1198
|
|
March 01, 2014, 10:33:08 AM |
|
Transactions can take less than a KB...
I think I misinterpreted this statement about rounding up from https://en.bitcoin.it/wiki/Transaction_fees as applying to mintxfee. It probably doesn't (but I will look at the code soon). "the reference implementation will round up the transaction size to the next thousand bytes and add a fee of 0.1 mBTC (0.0001 BTC) per thousand bytes" Why would you want to use such values (especially mintxfee=0.01)? And ask for directions in the thread where it's explained why you are not advised to (you are hurting your income and everyone else's)?
I chose those values for testing purposes to simplify the collection of transactions (generally down to one or two) since I was seeing similarly confusing behavior with more reasonable settings.
|
|
|
|
sshapiroNJ
Newbie
Offline
Activity: 55
Merit: 0
|
|
March 01, 2014, 04:57:31 PM |
|
Now I got pros and cons of using P2Pool mining ! Thanks a lot for this guide-book!
|
|
|
|
smoothrunnings
|
|
March 01, 2014, 07:18:03 PM |
|
Just out of curiosity does anyone use the settings the OP posts about in this thread?
I he or she makes some recommendations that I would like know if people are using or if there is some other sweet spot such as maxconnections= in bitcoin.conf?
Thanks,
|
|
|
|
|