Bitcoin Forum
June 03, 2024, 04:08:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 ... 570 »
2281  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: February 26, 2017, 08:27:09 PM
I think I found what is the cause of empty blocks. When p2pool receives a newer block header it immediately attempts to mine on top of it until it receives the corresponding block template from bitcoind. This can take some time as currently p2pool fetches templates on fixed intervals (AFAIK). The relevant code can be found here.

Let's look at the empty block (00000000000000000201d592fcfcf59af02bdfe822123154a4a724ec7ffa0982) and the one before it (0000000000000000000e689d993b465aaa23e56e87d0f6c649de4b98830f789c). The time interval between them is exactly 1487923858-1487923258=600 seconds! This indicates that the p2pool node was still mining without the block template from bitcoind.

I made a patch so that p2pool tries to fetch a new block template as soon as empty work is detected and give up working on the new block header if it can't get the template.
Good work, that explains it. You may also wish to decrease the time interval as well since transactions change so frequently. I noticed a long time ago when proxying to p2pool that stratum updates were few and far between. I suggest 60 seconds instead of 10 minutes... The stratum specification says it should be under 90 seconds IIRC.
2282  Bitcoin / Pools / Re: [∞ YH] solo.ckpool.org 1% fee solo mining USA/DE servers 228 blocks solved! on: February 26, 2017, 08:59:14 AM
Dear users mikesw, phongnui, orionberry and cobramining, you are still trying to log in with a regular username instead of a bitcoin address. Your username MUST be a valid bitcoin address to be able to mine here. Note that I've blocked a few IP addresses that are using invalid usernames. If you have confirmed that you have a correct username and are still having trouble connecting, message me your IP address and I'll unblock it.
2283  Bitcoin / Pools / Re: [∞ YH] solo.ckpool.org 1% fee solo mining USA/DE servers 228 blocks solved! on: February 26, 2017, 08:16:03 AM
I'll be upgrading the DE server in the near future to a more powerful dedicated one. It will still be located in DE and the server details won't change for any of you. Those mining on there should be redirected seamlessly without needing to do anything. I'll give notice once this process is complete.
All DE miners have been migrated to the new server seamlessly; it appears no miners were lost or had any downtime in the transfer. The new server is substantially more powerful than the old one, with equivalent performance to the main solo pool. Miners will not notice any difference, but this is to further minimise block change latencies and risk of orphans being produced. Additionally this server has DDoS protection as the main pool server does. You may wish to check your ping times since it's in a slightly different location, though they should be very respectable if you're in or near DE.
2284  Bitcoin / Bitcoin Technical Support / Re: About the hard disk space on: February 25, 2017, 10:48:14 PM
Hi, everyone.
A friend of mine told me I could use my CPU to process bitcoin transactions (to "blockchain" - his words) in order to make some additional money while my home computer is running. After a few days of searching I finally found the https://bitcoin.org/en/download page where to download a blockchaining software. And here comes my question: is that requirement for 100GB real? I mean do I really need 100GB free space on my hard drive in order to run the blockchaining software or is it just a tentative figure for the size it might reach some day in the distant future?
You can run the bitcoin core software in "pruned" mode which will take up no more than 2GB and it will still propagate transactions. If you are confusing terminology and thinking about "mining" and not "processing transactions" which is designed to make you money from bitcoin block generation, then no - you cannot meaningfully use an ordinary CPU to do bitcoin mining; it is all done with specialised hardware these days called ASICs.
2285  Bitcoin / Bitcoin Technical Support / Re: need help with stuck unconfirmed transaction, offering bonus fee. on: February 25, 2017, 12:01:20 AM
Try:
https://www.viabtc.com/tools/txaccelerator/
2286  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: February 24, 2017, 10:08:16 PM
One way to not mine empty ones, change The min size, but a empy block brings coins...

Block creation options:
-blockminsize=<n>   Set minimum block size in bytes (default: 0)
-blockmaxsize=<n>   Set maximum block size in bytes (default: 750000)
-blockprioritysize=<n>   Set maximum size of high-priority/low-fee transactions in bytes (default: 0)

This doesn't alter what's going on inside p2pool that mines an empty block (whatever that is). Perhaps the merged mining is the culprit... that almost certainly causes far more losses than any gains people think mining bullshit worthless coins might have. At 5-10% more reward due to transactions currently,  one really should try and mine transaction containing blocks as much as possible.
2287  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: February 24, 2017, 10:00:33 PM
Why wait 95% on a soft-fork? What happens if segwit miners starts mining segwit blocks right now?
Because of the way the soft fork works, unless a consensus is reached, the other nodes will simply reject all those blocks as invalid until the 95% is reached, so if a miner mines segwit blocks they end up being seen as invalid by all the other nodes and all the mining work is wasted. Once another 2 blocks are mined elsewhere on the network, even the miner's node will switch to the non-segwit mined blocks.
2288  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: February 24, 2017, 01:14:15 PM
sorry guys, don't know what is going on. Both blocks found today we're by me. And this is what I have in my settings.
blockmaxsize=970000
mintxfee=0.0001
minrelaytxfee=0.0001
maxconnections=100
gen=1

I don't understand why I mined one block with no fees and another with low fees.

My apologies.
It's in the p2pool code itself. If I recall correctly I believe a bug report was made a long time ago but the cause never found and a fix never committed.
2289  Bitcoin / Pools / Re: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: February 24, 2017, 11:23:37 AM
And at a time when fees are potentially up to 2BTC  Undecided
2290  Bitcoin / Mining / Re: Antpool mined 2 Blocks in 3 Seconds? on: February 23, 2017, 08:49:23 PM
the reason why they could mine so fast is because of more than 90k unconfirmed transactions.
That's nonsense; the two are unrelated.

Now I have a question which seems no one has a convincing answer to it. how is it possible to mine a block without providing the network with confirming and including transactions? see below:
https://blockchain.info/block-height/454073
https://blockchain.info/block-height/454040

There are many many threads on the forum about empty blocks. Search and you will find your answers. It has been answered thousands of times before.

https://bitcointalk.org/index.php?topic=1085800.0
2291  Bitcoin / Mining / Re: SOLO MINING - can i be bamboozled? on: February 23, 2017, 08:47:20 PM
You can't "redirect" a block; it is found at a particular address and can't be changed.
2292  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 22, 2017, 08:26:23 PM
Lauda your tolerance and persistence is commendable. However your effort is wasted. Selectively ignoring about 4 bitcointalk trolls in this argument will make your life much more enjoyable and any discussions regarding scaling much more useful as it increases the signal to noise ratio to about 100x higher.
EDIT: Of course people who respond by taking offence means they know they're trolls themselves, otherwise why would they get offended and think I was talking about them?
2293  Bitcoin / Mining speculation / Re: new BTC mining GPU mobo? on: February 22, 2017, 12:51:57 AM
Marketing bullshitspeak is the reason.
2294  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 21, 2017, 07:41:17 AM
Gotcha. How about if spammy looking transactions were filtered by each node when they are first broadcast? I suppose ultimately we'd be working toward prioritizing transactions based on their merits... I also see that it's risky to start judging transactions and dropping them, but perhaps there should be an obligation for the transaction creator to be legitimate and respectful of the limited blockspace? 
That would have zero effect. The transactions are INCLUDED IN THE BLOCK so if anything, ignoring the transactions in the first place means the node has to request them from the other node that sent it the block.

Now if you're talking about local block generation mining, bitcoind already does extensive ordering of transactions putting spammy transactions ultra low priority and likely not even stored in the mempool, so there's little room to move there. Filtering can always be improved but the problem isn't local block generation but block propagation of a intensely slow to validate block.
2295  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 20, 2017, 11:48:09 PM
Just as a question ... do you have an estimate of the % of solved blocks that are attributable to your SW?
On the client software side with cgminer it would be over 95% with what hardware is currently out there and knowing what is embedded on most of it. At the pool server end with ckpool it's probably less than 5% at present.
2296  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 20, 2017, 10:54:43 PM
I wonder who may have an incentive to code up an alternative implementation? Maybe somebody who already has millions of dollars tied up in capital equipment - someone whose continued profitability requires making any optimization allowed by the protocol...
I'd be happy to write a new client with emphasis purely on performance and scalability from scratch... if someone wanted to throw large sums of money at me to do so and keep sending me more indefinitely to maintain and update it.
2297  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 20, 2017, 08:48:45 PM
By the way, as far as I can understand the bitcoind code as I read it (and no doubt I will be corrected if I'm wrong which is fine), this is an attack vector that "choosing between them" is the least of your problems because it cannot process them both concurrently and then decide that (2) has finished long before it has finished processing (1). This means that if a (1) block hits even 1us before the (2), bitcoind will sit there processing it until it has finished before it can process (2). While this is purely a limitation of the software as it currently stands that it cannot process multiple blocks concurrently in a multithreaded fashion due to the coarse grained locking in the software, it doesn't change the fact there is no way to deal with this at present. It would require a drastic rewrite of the existing code to make the locking fine grained enough to do this, or a new piece of software written from the ground up; both of which carry their own risks.

Couldn't this issue be worked around by pre-filtering the traffic coming into the bitcoin daemon? "Bad" transaction detection would need to be at the protocol level. The simplest fix would be rejecting transactions over a certain size. Of course that's imperfect, but the filtering could become more fine-grained and accurate over time. It might even be possible to do this with firewall rules?
This is a block and the transactions it contains we're talking about, not a simply broadcast transaction, and we don't want to start filtering possibly valid blocks...

No filtering required. When a potentially solved block arrives, spawn a thread to start validating it. When another potentially solved block arrives, spawn another thread to start validating it. First one to validate is the one you build your candidate for the next round atop.
You missed the point of my original response entirely then - you CAN'T spawn a thread to validate it because of the locking I said before. If you spawn a thread to validate the block, nothing else can do anything in the meantime anyway - you can't process transactions, you can't validate other blocks. This is, again, a limitation of the code rather than a protocol problem but it would take a massive rewrite to get around this.
2298  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 20, 2017, 09:19:47 AM
By the way, as far as I can understand the bitcoind code as I read it (and no doubt I will be corrected if I'm wrong which is fine), this is an attack vector that "choosing between them" is the least of your problems because it cannot process them both concurrently and then decide that (2) has finished long before it has finished processing (1). This means that if a (1) block hits even 1us before the (2), bitcoind will sit there processing it until it has finished before it can process (2). While this is purely a limitation of the software as it currently stands that it cannot process multiple blocks concurrently in a multithreaded fashion due to the coarse grained locking in the software, it doesn't change the fact there is no way to deal with this at present. It would require a drastic rewrite of the existing code to make the locking fine grained enough to do this, or a new piece of software written from the ground up; both of which carry their own risks.

Couldn't this issue be worked around by pre-filtering the traffic coming into the bitcoin daemon? "Bad" transaction detection would need to be at the protocol level. The simplest fix would be rejecting transactions over a certain size. Of course that's imperfect, but the filtering could become more fine-grained and accurate over time. It might even be possible to do this with firewall rules?
This is a block and the transactions it contains we're talking about, not a simply broadcast transaction, and we don't want to start filtering possibly valid blocks...
2299  Bitcoin / Development & Technical Discussion / Re: Bitcoin Core 0.14.0 release candidate 1 available on: February 20, 2017, 05:23:33 AM
Nice to see the preciousblock feature. I assume you submit your block and then send the preciousblock message?
2300  Bitcoin / Bitcoin Discussion / Re: So who the hell is still supporting BU? on: February 19, 2017, 12:11:48 AM
I guess the bitcoind devs have never worked with multithreading then*? Such a pity. And such a cutting-edge 1990's technology. If inordinately large signature transactions ever become A Thing, miners employing bitcoind will be bankrupted by smarter miners.

C'est la guerre. To the wiser go the spoils.

*Yes, unnecessarily provocative. But it certainly points out just one more instance where devs are working on the wrong things.
It is a bit too harsh. While I'm continually frustrated by some of the limitations of the bitcoind client and the lack of emphasis on things that I am concerned about (since mining with it is my personal interest), it does not pay credence to how such code realistically evolves and the difficulties of keeping massive rewrites safely in check while evolving the client in multiple directions. I'm not much of a c++ coder myself so I can't do anything much to help but at least I do understand what's involved in maintaining such a massive project. It is impossible to know what issues will become problematic in the future when first starting a project; they only become apparent as it evolves and need to be tackled in a methodical manner. Emphasis has only been placed on speed of block processing, propagation, and work template generation in recent times and the improvement is already substantial but has a very long way to go. If the client was written from the ground up now with emphasis in those areas, knowing what we already do now know, it would no doubt look very different. Some things, though, are protocol limitations and not the client. Things like the quadratic scaling issue are in the current bitcoin protocol design and no amount of client rewrites without a protocol change will get around that. I'm not arguing for one only. Both need to be addressed.
Pages: « 1 ... 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 [115] 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 ... 570 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!