Search content
Sort by

Showing 20 of 311 results by anth0ny
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 21:28:50 UTC
Has there been any analysis of an "empty block attack"?  Imagine what would happen if an inordinate number of empty blocks were solved and submitted in succession?  Bitcoin would effectively cease functioning.

Someone (or a group of people working in concert) who can solve and submit an inordinate number of blocks (of any type) in succession can do bad things. This is a well-known problem for which there is no possible solution (at least no solution within the concept of having a decentralized proof of work blockchain).

Fortunately, in order to submit an inordinate number of blocks in succession with any significant probability, you have to have a lot of "mining power" (51% would definitely do it; maybe 33 1/3% under the right situations; probably somewhere in between the two under less "ideal" situations).

Seems to me the empty block thing is a huge oversight, and that empty blocks should not be valid and the network should reject them.

It's trivial to add one (or any number of) useless spam transactions to a block. If you're trying to save network bandwidth you could even calculate the spam transactions based on a formula, so you don't have to send the actual transaction content over the network. So rejecting empty blocks wouldn't add any security, and would really just add complications to the client. It could also potentially make Sybil attacks slightly easier (all you have to do to stop a miner from mining is stop them from getting new transactions, you don't have to shut down their network connection entirely).

You could have a rule where every block must have at least a certain number of bitcoin-days destroyed. But that would have its plusses and minuses. Something for an altcoin to consider (especially if you added something fun like negative transaction fees for "high priority" transactions), but not something that's necessary for bitcoin.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 21:20:28 UTC
Even an empty block helps people out. If nothing else, the empty block makes the coinbase transaction from 120 blocks previous become spendable. In practice, the empty block brings all those 5-confirmation transactions up to 6 confirmations (and 2-confirmation transactions up to 3 confirmations, etc.) The presence of the empty block makes transactions confirm faster than they would have if the empty block weren't there.

There is no need to try and "speed up" transactions artificially.

Where "artificially" means what, exactly? Everything we're doing is artificial.

Everything positive you said about an empty block applies to a block full of transaction, only the full block provided worth to the network because it contains transactions, which is a block's purpose.  You even admit in your post that a full block is better than an empty block.

Yep. A full block is better than an empty block. But the choice isn't between a full block and an empty block, it's between an empty block and a stale block.

And I still do not see any benefit from an empty block, but again I appreciate the attempt at explaining to me.

Compared to nothing? The benefits are the ones I listed, including speeding up the confirmation of transactions.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 16:14:39 UTC
I appreciate the answers, but the "increases security" reason seems like nonsense to me.  The purpose of the block is not to provide security, it is to record transactions.

No. That isn't right. Even an empty block helps people out. If nothing else, the empty block makes the coinbase transaction from 120 blocks previous become spendable. In practice, the empty block brings all those 5-confirmation transactions up to 6 confirmations (and 2-confirmation transactions up to 3 confirmations, etc.) The presence of the empty block makes transactions confirm faster than they would have if the empty block weren't there.

A full block is better than an empty block. But an empty block is better than nothing. (And a block at the same height and roughly the same time as someone else's partially propagated block, which temporarily splits the network into two chains of equal height, is significantly worse than nothing.)

Ideally, transaction fees probably wouldn't go solely to the block in which they were located, but would go to that block and future blocks which build upon them (maybe in a declining way like 50% to the first block, 25% to the second block, 13% to the third block....I don't know as I haven't fully thought about it). Right now it doesn't particularly matter, as the transaction fees are small compared to the block reward. But in the future when there are no block rewards at all, just transaction fees, there might be problems due to this (if someone puts an especially large fee on a transaction, there might be an incentive for miners to "steal" that transaction fee by orphaning the block which includes it instead of building upon the block which includes it). Fortunately there are many years before this will become an issue.

Yes, the empty block is followed by a block of transactions, but I still contend that the empty block is worthless to the network.

In addition to the direct benefits of faster confirmations and faster spending of generated coins, think about how the inclusion or non-inclusion of the empty block affects someone who is performing so-called "selfish mining" or some other sort of block delaying attack.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 13:49:45 UTC
As for transaction submission, most Eligius servers (*.eligius.st) will accept a P2P connection on a public bitcoin node that will accept the transactions, which has been sufficient for most since before and after I disabled the never-really-supported pushtx page that was being abused.

I'll have to try that, as well as try to find that updated description of what transactions are accepted.

There are a lot of transactions where I'd be happy to send a small fee. But $0.20+ to transfer $2.50 between wallets (where I control both ends so I don't really care about the speed or double-spend security of the transaction) is too much.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 13:37:05 UTC
and even then says it applies to transactions without a fee - ie, begger transactions.

I have to say that I've never heard of the term "begger transactions". If all miners cared about was maximizing profits, we'd probably have mostly empty blocks.

Yep, fortunately it's not the only thing we worry about, which is why Eligius still uses the largest block size of any pool to date (most others limit to some arbitrarily low number), mines transactions with a reduced fee schedule from the reference client, mines some non-standard transactions, and other things helpful to the network as a whole that most other pools don't care to put any effort towards which have nothing to do with miner profits.

I'm not sure why your partner would refer to transactions with no fee (or even with a fee less than 0.1 "TBC", as I understand it) as "begger transactions" then.

By the way, how is someone supposed to submit a low-fee transaction to Eligius? I believe the direct submission form was taken down. http://eligius.st/~wizkid057/newstats/pushtxn.php always gives me "Sorry, function disabled.  Contact wizkid057 directly if you need a transaction mined."

wizkid057: I need a transaction mined! (Well, not right now, but I often would like to send a small, low priority transaction for less than $0.20 in fees, and unfortunately the default client treats a $0.01 fee the same as no fee at all.)
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 13:15:12 UTC
and add hidden rules about what transactions they will ignore ...
This one is a simple lie.
The codebase used for Eligius's policy is in my public git repository, and documented on the website.

"Transactions without a fee will be processed based on confidential anti-spam testing." http://eligius.st/~gateway/faq-page/faq-5
That's (very) obsolete information

I figured as much, which is why I pointed it out.

Maybe kano wasn't intentionally lying, but rather was relying on the misinformation which is documented on the website.

and even then says it applies to transactions without a fee - ie, begger transactions.

I have to say that I've never heard of the term "begger transactions". If all miners cared about was maximizing short-term profits, we'd probably have mostly empty blocks, since every time you include a transaction you increase the probability of your block being orphaned, and transaction fees are tiny compared to total block reward.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 01:37:28 UTC
and add hidden rules about what transactions they will ignore ...
This one is a simple lie.
The codebase used for Eligius's policy is in my public git repository, and documented on the website.

"Transactions without a fee will be processed based on confidential anti-spam testing." http://eligius.st/~gateway/faq-page/faq-5
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 21/05/2015, 01:32:26 UTC
Honestly, IMO namecoin is quite dead at this point.  There is virtually no development anymore, the chain itself is full of spam and is borderline unusable for it's intended purpose anyway, adoption is virtually nil, etc.  It's pretty pointless these days.  Cool concept, poor execution.  

That said, I have no inclination to waste more resources on namecoin related things than I already am. (Ie, never going to code stats for it.)

Edit: Going to edit that second post to better reflect the current state of affairs.

Probably should edit the title of this post too: "105% PPS NMC"

Or am I mistaken about what the 105% refers to?
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 12/05/2015, 11:26:54 UTC
Oh, I though you were responding to Kano.

Yeah, I was agreeing with Kano. If I use a pool it's so I can get a definite payout in a short period of time. If I wanted to maximize my payout in the long run but not have any guarantee that the long-run completes within my lifetime, I'd solo mine.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 12/05/2015, 11:15:03 UTC
I think it's worth noting that with other pools you would have zero chance of getting paid for shares discarded during bad luck times. At least here those shares are never forgotten.
However, unlike PPLNS, you also have no chance of ever being paid more than PPS.
You win some you lose some Tongue

Yeah I'm not sure that a tiny chance of a dust payment at some unknown time in the future is worth much of anything. Maybe if you could transfer it to someone else for free. Smiley

The purpose of pools is supposed to be to get rid of those very small possibilities and indefinite timelines, isn't it?

PPLNS will pay some shares multiple times, and some shares not at all. Approximately half of income will be from shares will be paid more than PPS, and half your income from shares paid less than PPS. So being paid more than PPS by PPLNS is not a "very small possibility" on an "indefinite timeline", but a normal part of mining.

Umm, yeah, I was referring to CPPSRB. Tongue Yes, there's a chance that those buried shares I have on the Eligius pool might one day pay out, but if it ever happens most likely I'll never even know about it, because I don't ever check on them any more. Those shares *are* forgotten by me. I guess if they ever get paid out that they'll eventually get escheated to the state.
Post
Topic
Board Pools
Re: [10000Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB
by
anth0ny
on 12/05/2015, 10:58:54 UTC
I think it's worth noting that with other pools you would have zero chance of getting paid for shares discarded during bad luck times. At least here those shares are never forgotten.
However, unlike PPLNS, you also have no chance of ever being paid more than PPS.
You win some you lose some Tongue

Yeah I'm not sure that a tiny chance of a dust payment at some unknown time in the future is worth much of anything. Maybe if you could transfer it to someone else for free. Smiley

The purpose of pools is supposed to be to get rid of those very small possibilities and indefinite timelines, isn't it?
Post
Topic
Board Service Announcements
Re: [ANN] Atomic Trade New Virtual Currency Exchange USD BTC
by
anth0ny
on 25/08/2014, 20:37:33 UTC
Anyway shh I have work to do :-)

Okay sorry!  Cheesy
Post
Topic
Board Service Announcements
Re: [ANN] Atomic Trade New Virtual Currency Exchange USD BTC
by
anth0ny
on 25/08/2014, 20:34:13 UTC
The whole db cant be more than a couple of GB in size, since its a young and small exchange. I doubt its hard or expensive to make a daily backup. Byron could also setup a master/slave db system to avoid such problems in the future.

I did that at first but it caused sync problems and proved to be a bottleneck.

But now you see that you made a mistake, right?

In a manner of speaking yes I will not trust cloud storage ever!

Don't trust any storage ever!
Post
Topic
Board Service Announcements
Re: [ANN] Atomic Trade New Virtual Currency Exchange USD BTC
by
anth0ny
on 25/08/2014, 20:25:09 UTC
The whole db cant be more than a couple of GB in size, since its a young and small exchange. I doubt its hard or expensive to make a daily backup. Byron could also setup a master/slave db system to avoid such problems in the future.

I did that at first but it caused sync problems and proved to be a bottleneck.

But now you see that you made a mistake, right?
Post
Topic
Board Pools
Re: [6600Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB (New Thread)
by
anth0ny
on 01/05/2014, 01:11:15 UTC
Edit: well ... OK I'm stupid now aren't I Smiley

I think we tried to say that several times, in various different ways Cheesy
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BETA][EXCHANGE][REALTIME] CoinEX realtime exchange
by
anth0ny
on 27/04/2014, 00:15:33 UTC
Still trusting Coinex to fix this.
How are they supposed to fix it now?

They've still got the domain name to sell. And the software is probably worth something too.
Post
Topic
Board Announcements (Altcoins)
Re: [ANN][BETA][EXCHANGE][REALTIME] CoinEX realtime exchange
by
anth0ny
on 26/04/2014, 23:34:59 UTC
Did they ever explain what the hack was anyway?
Post
Topic
Board Pools
Re: [6600Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB (New Thread)
by
anth0ny
on 26/04/2014, 22:24:58 UTC
I spent the better part of the day investigating this issue.

  • It's not a pool side hack - No pool servers are or were compromised
  • It's not a pool-side close network hack - No datacenter infrastructure is compromised
  • It only affects certain clients, is not pool wide, and affects affected clients repeatedly

Presumably there is some issue with some client side routing hardware that is being exploited.  Anyone effected, please post how your connected to the net.  PC->Router->Cable Modem, etc, with makes/models of such so we can possibly narrow this down.

Also OS. If TCP sequence numbers are being predicted, it could be that the OS isn't making the initial sequence number hard enough to guess.

Really there's no excuse for not using SSL, though.
Post
Topic
Board Pools
Re: [6600Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB (New Thread)
by
anth0ny
on 26/04/2014, 14:44:07 UTC
Well then let me put it in clearer terms for you then since you are unable to understand or explain it or even suggest a solution Smiley

Anyone still mining here is at risk and there is no way to mitigate it with the current setup.

Disabling client.redirect doesn't solve the initial connect redirect issue (since that's not stratum)
So if it really is as bad as a MITM then you are screwed anyway until you can stop the MITM or move your pool somewhere else.

It's a lot easier to insert a single TCP packet (containing a client.redirect command) in one direction than it is to intercept an entire TCP connection in both directions.

Whether or not you want to call that a MITM attack is another matter.
It's the reply when you first connect ...

I guess TechByPC was wrong about explaining things technically being more enlightening than calling people names...
Post
Topic
Board Pools
Re: [6600Th] Eligius: 0% Fee BTC, 105% PPS NMC, No registration, CPPSRB (New Thread)
by
anth0ny
on 26/04/2014, 14:14:28 UTC
Well then let me put it in clearer terms for you then since you are unable to understand or explain it or even suggest a solution Smiley

Anyone still mining here is at risk and there is no way to mitigate it with the current setup.

Disabling client.redirect doesn't solve the initial connect redirect issue (since that's not stratum)
So if it really is as bad as a MITM then you are screwed anyway until you can stop the MITM or move your pool somewhere else.

It's a lot easier to insert a single TCP packet (containing a client.redirect command) in one direction than it is to intercept an entire TCP connection in both directions.

Whether or not you want to call the former a MITM attack is another matter. Really the attacker in that case isn't (necessarily) in the middle, she just pretends to be.

Not only that, but it would be important for Eligius to let us know what the data centre is that is doing or allowing one of their employees to do this MITM attack, so that we all know to not use that data centre.

By the way, neither requires being in the data centre of the server.  The latter (which I'd call a true MITM attack) just requires being somewhere in the middle (hence the name).

The former (which is probably more likely) doesn't even require that. It just requires correctly guessing TCP sequence numbers and spoofing of the source address. See, e.g., http://www.thegeekstuff.com/2012/01/tcp-sequence-number-attacks/

In any case, I think we have our answer to the question as to why the DOS is/was going on (*). Be careful what you wish for...

(*) Step 2: "[The attacker] floods Host B with new requests causing a Denial of service attack to stop Host B from communicating with A."