Richy_T
Well-Known Member
- Dec 27, 2015
- 1,085
- 2,741
I suspect this should be possible with a simple patch to the binary too.whatever@perle:/tmp/bitcoin$ git diff
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
I suspect this should be possible with a simple patch to the binary too.whatever@perle:/tmp/bitcoin$ git diff
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
That would not be wise: while the block size would be the same, the consensus algorithm is not the same: classic has a limit on the maximum size of a transaction (if I remember correctly) and on the maximum number of byte hashed allowed in a tx.whatever@perle:/tmp/bitcoin$ git diff
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
index ad9cc26..de58c2b 100644
--- a/src/consensus/consensus.h
+++ b/src/consensus/consensus.h
@@ -7,7 +7,7 @@
#define BITCOIN_CONSENSUS_CONSENSUS_H
/** The maximum allowed size for a serialized block, in bytes (network rule) */
-static const unsigned int MAX_BLOCK_SIZE = 1000000;
+static const unsigned int MAX_BLOCK_SIZE = 2000000;
/** The maximum allowed number of signature check operations in a block (network rule) */
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
whatever@perle:/tmp/bitcoin$
That would not be wise: while the block size would be the same, the consensus algorithm is not the same: classic has a limit on the maximum size of a transaction (if I remember correctly) and on the maximum number of byte hashed allowed in a tx.
This means that an attacker could create a special crafted transaction that would fork the network between the users of Classic and the "2mb patched core".
Okaaay...That would not be wise: while the block size would be the same, the consensus algorithm is not the same: classic has a limit on the maximum size of a transaction (if I remember correctly) and on the maximum number of byte hashed allowed in a tx.
This means that an attacker could create a special crafted transaction that would fork the network between the users of Classic and the "2mb patched core".
Well my maths holds then...no, there would be no minimum blocksize.
Please can you actually think this through. Do you understand the massive difference with respect to 51% and a hardfork versus a double spend? This is a mathematical factual difference, not a political opinion."narrow marginal victory"- b/c it's always been about 51% majority determining the longest chain.
Source: Bitcoin Whitepaper section 11"Even if this is accomplished, it does not throw the system open to arbitrary changes, such as creating value out of thin air or taking money that never belonged to the attacker. Nodes are not going to accept an invalid transaction as payment, and honest nodes will never accept a block containing them. An attacker can only try to change one of his own transactions to take back money he recently spent."
You keep framing this as a nefarious process. It is a market based process, which involves:you keep framing "consensus" as some sort of a process that needs to happen ahead of time before a new software release is put into play into the free market. the problem with this strategy is that it totally ignores the posturing and politics that go into that process. esp when there is alot of money involved. such as what we've seen over the past year with censorship, secret meetings, filtering of presentations (@Peter R), personal attacks, agreements btwn dipshits, etc. you'll never get a clear picture of where ppl stand until they're forced to make a choice which usually happens when money is immediately on the line.
Now, hold on a second.The paper then goes on to give statistical examples, it says if an attacker has 30% of the hash-rate and is 10 blocks behind the honest chain, there is only 4.17% chance the attacker has of catching up.
Hah, that old tactic, "Declare victory and go home". I've got some bad news for you, sunshine. The fight is only beginning. What you've seen from the "change the limit" side has just been trying to avoid the shit hitting the fan.The large block side resoundingly lost
This is how RBF slipped in with hardly a whisper despite some quite solid opposition from the community. Because it is part of the status quo. Oh, wait.Now instead of carrying on doing the same, lets look at why you keep being defeated. Why is Peter Todd consistently able to run circles around you? It is because you do not appear to understand these processes and how these work, you do not understand there is a natural bias in favor of the status quo and to overcome this you have to be pretty decisive and ruthless. The Core team on the other hand have a very strong knowledge of this process. It may not be easy for you to hear this, but its true.
Satoshi's termPutting aside loaded terms such as "attacker"
Well Satoshi's number assumes a 10 block lead already and then catching up to be level, my number assumes a 1 block lead and then overtaking to win.Earlier, you said even if you had 75% of the hash rate and were making chains with bigger blocks, there was a 20% chance that the smaller chain could overtake and invalidate your blocks.
How many times do I need to repeat, RBF has nothing to do with the rules for determining if blocks are valid. RBF is just some local mempool policy. RBF is neither a hardfrok or a softfork.This is how RBF slipped in with hardly a whisper despite some quite solid opposition from the community. Because it is part of the status quo. Oh, wait.
Well whether its necessary or not, why do you want such a narrow victory? What do you gain from it?"You can not have a narrow or marginal victory, the miners and economic majority will not let you. Once you learn this, you will win." -- @jonny1000
Don't think I agree, but it does sound very Yoda.
He was using it in a different way to how you are. Your usage is causing you to make erroneous assumptions so you should probably consider stopping if you seek to make an honest argument.Satoshi's term
OK, so just to be clear, you are taking directly comparable situations and using different goalposts to suit the argument you are trying to make.Well Satoshi's number assumes a 10 block lead already and then catching up top be level, my number assumes a 1 block lead and then overtaking to win.
Or to be more precise, one group will accept the other chain and both groups will accept the chain with the old rules, giving the chain that does not change the rules a huge advantage, which is difficult to overcome, unless you are smart about it.there are only two chains of different hash power, one of which will accept the other chain as valid should it manage to become longer and the other one that wouldn't.
No, I was not. If you want the comparison, I think it is as follows:OK, so just to be clear, you are taking directly comparable situations and using different goalposts to suit the argument you are trying to make.
You mean the calculation sector of the Bitcoin whitepaper?Jonny, could you link to that Satoshi thing? I could probably find it but if you have it open already... I'd like to see the context.
Yes in the scenario the Classic chain has 75% of the miners and a 1 block lead, the chances of Classic winning are c82%. The chances of the less than 1MB chain winning in two blocks is 25% * 25% = 6.25%, if you add up all the other ways the less than 1MB chain can win, it adds up to c18%.If you have 25% of the hashrate, your chance of finding the next block is 25% (in the case of the crippled chain, you are building on top of the last <1MB block, of course). Your chance of finding the next two blocks (and thus orphaning the >1MB block) would be 25% of 25% or ~6%. Congrats, you orphaned a block (nobody cares). Now you have to do it again.
Yes, if you are two blocks behind, the chances of winning within 3 blocks is 1.56%, however their is no requirement to win in three blocks. You could win in 5 blocks for example. Please note its impossible to win in 4 blocks, or any even number of blocks.If you are two blocks behind, you have to find the next three blocks. 25%*25%*25% or ~1.5% Could happen but still, nobody cares much.
Thanks. I'm sure I can find that I think I just glossed over that section the first time.You mean the calculation sector of the Bitcoin whitepaper?
What do you mean by winning though? This isn't a one-time thing. The smaller hash-rate chain has to keep on winning (against the odds) while the larger hash-rate chain just keeps rolling along until it pulls ahead by a lead which is realistically impossible to defeat. This is why your categorization of an attack is problematic. You assume attack parameters which applies a short-term highly concentrated conflict rather than a long-term community-led permanent change (It's a marathon, not a sprint.) and that it would produce an adverse effect (transactions would be identical between chains).if you add up all the other ways the less than 1MB chain can win, it adds up to c18%.