Minimum code change needed to immediately resolve capacity emergency

diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
index 351911a..ef56709 100644
--- a/src/consensus/consensus.h
+++ b/src/consensus/consensus.h
@@ -13,7 +13,7 @@ static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000;
 /** The maximum allowed weight for a block, see BIP 141 (network rule) */
 static const unsigned int MAX_BLOCK_WEIGHT = 4000000;
 /** The maximum allowed size for a block excluding witness data, in bytes (network rule) */
-static const unsigned int MAX_BLOCK_BASE_SIZE = 1000000;
+static const unsigned int MAX_BLOCK_BASE_SIZE = 4000000;
 /** The maximum allowed number of signature check operations in a block (network rule) */
 static const int64_t MAX_BLOCK_SIGOPS_COST = 80000;
 /** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index 00ac0b9..aeeba53 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -13,7 +13,7 @@

 static const int SERIALIZE_TRANSACTION_NO_WITNESS = 0x40000000;

-static const int WITNESS_SCALE_FACTOR = 4;
+static const int WITNESS_SCALE_FACTOR = 1;

 /** An outpoint - a combination of a transaction hash and an index n into its vout */
 class COutPoint

Posted Jun 8, 2017, 4:02 AM UTC

225
7queue•

You ever look at the miner code? Lock step ...

I'm starting to see the method behind all this madness.

If one were to use Game Theory and use the Metro as a model, how do you fit all the passengers that need to get places? Uber? Bus? Transporter?

Just thinking out loud here, will try this on my test bed.

How can a Point of Sale system utilize a 10 minute window that may or may not include the sales transaction?

On a side note, I do not consider what most call a full node a full node but a wallet transaction node, a full node needs more data and indexes. I just changed one line of code!

1
Crully•

You could improve the current situation with 0 code changes. Signal SegWit.

I'm pretty sure that the wallet and exchanges would be happy to implement it, since they are probably involved in a lot of transactions, and see the flak from users when they get charges a fortune.

-8
jessquit•

Bigger blocks offer much better scaling than Segwit

5
hhtoavon•

Or do the above with a single variable change and minimal risk to the $40 billion network

Litecoin is the Segwit coin going forward

3
Symphonic_Rainboom•

Segwit is a much larger code change than this.

1