Pages:
Author

Topic: Adjustable Blocksize Cap: Why not? - page 2. (Read 1392 times)

member
Activity: 78
Merit: 28
January 19, 2021, 09:43:54 AM
#70
Hi folks,

I just wanna tell you a little tale.. Once upon a time, the square tv was invented. It was a miraculous invention allowing people to watch movies, series, news, porn, anything you can imagine but in black and white. And then came the plasma tv, the lcd I don't know if you can remember that time... Now I can't find any square tv in any nearby store and even if I could I wouldn't buy it. For those who believed that the 16:9 format wouldn't replace the 4:3 format you turned out to be wrong.

All I'm trying to say is btc could go from one of the greatest success to one of the biggest failure if NOTHING is done to make it serve its purpose, which is to be a medium of exchange. So speculators please shut up and let the smart people talk.

Ty everyone, have a good one!

Sharp's the word.
What do you think about various ideas of sharding? Could they address this problem? What properties should have a sharding solution in order to be acceptable?
copper member
Activity: 1666
Merit: 1901
Amazon Prime Member #7
January 18, 2021, 10:09:11 PM
#69
and I haven't studied the data supporting it.

Does that mean you found data used for BIP 103? I skimmed https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-July/thread.html#9763, but couldn't find any link of data supporting it.
No. You can look at historical data regarding increases in processing power, and network capacity, both at specific price points. You can also look at near term projections of both of the above.


1. Need to change Bitcoin protocol to explicitly disallow transaction low fees. Currently minimum fees is only set with parameter minrelayfee, but miner could include transaction with 0 fees on mined block.

It is not possible to prohibit transaction fees under any threshold at the protocol level. A business could for example privately send a transaction that pays a transaction fee of 0.01 btc to a mining pool, and privately receive a refund of 0.005 btc separately when this transaction confirms. Miners will not do this unless there are insufficient transactions to fill blocks that pay the minimum protocol-required transaction fees.
legendary
Activity: 1468
Merit: 1102
January 18, 2021, 10:33:44 AM
#68
Disadvantages:
1. Need to change Bitcoin protocol to explicitly disallow transaction low fees. Currently minimum fees is only set with parameter minrelayfee, but miner could include transaction with 0 fees on mined block.
My suggestion was to introduce a minimum fee in the Bitcoin system. And it is better to introduce such changes at the protocol level. You claim that the disadvantage is that "Need to change Bitcoin protocol to explicitly disallow transaction low fees". Smiley

Although this is not entirely true. The minimum fee can be entered at the level of miners, without changing the protocol. If, for example, 95% of miners vote for this and activate this mode, then blocks with transactions with a fee less than the established one will be considered invalid by the rest of the miners. But I emphasize that it is better to introduce such changes at the protocol level.

Quote
2. Miners could manipulate minimum fee simply by including their own transaction when all transaction on mempool isn't enough to fill the block.
1. Miners can still fill blocks with their own transactions (spam from miners). But so far, there is no evidence that this happened in reality.

2. Such "spam from miners" is very easy to detect. And the entire Bitcoin community very quickly learns that some miner is engaged in malicious activity.

3. The community has the ability to react to such an event. Most miners should block the "malicious" miner.
If the majority of miners cannot overcome this phenomenon, then the bitcoin community can replace the miners.

4.The mining system is a billion-dollar business, and there is no reason for miners to engage in any malicious activity, because it will cause much more damage than the likely profit.

5.The probability of any malicious activity from miners is very low, practically zero. Therefore, I suggest that we stop discussing any arguments that start with the words "bad, malicious  miners". It's just a waste of time. The same as spending time discussing of the "Perpetuum mobile".
member
Activity: 75
Merit: 22
January 18, 2021, 02:56:34 AM
#67
As far as I understand your principle, you propose to regulate the transaction fee through changing the block size.
I suggest another option: adjust the block size by changing the transaction fee.

Let's say we have a sample computer of the lower segment, and we focus on it when setting constraints.

We can count the parameter:
1. The maximum block size that our sample computer can process in the time we need.

Additionally, we can evaluate one more parameter:
2. We estimate the maximum level of growth of bitcoin, based on the level of technology development that we can afford.
    Based on it, we calculate the parameter: average block size.

The main idea is really not bad but I think we'd have a hard time to get everyone to agree on those terms... As you suggested, there would be a strong correlation between the min fee and the amount of transactions that is being processed by the network. We could consider the variation in the amount of transactions from one block to another one to calculate the min fee on the next one. The min fees would then determine the size of the blockchain on the long term so we could rise the block size limit 10x (or even more) and it shouldn't cause any problem. For now we would just need to all agree on the same formula to calculate those min fees...

legendary
Activity: 1456
Merit: 1176
Always remember the cause!
January 17, 2021, 04:07:02 PM
#66
Hi folks,

I just wanna tell you a little tale.. Once upon a time, the square tv was invented. It was a miraculous invention allowing people to watch movies, series, news, porn, anything you can imagine but in black and white. And then came the plasma tv, the lcd I don't know if you can remember that time... Now I can't find any square tv in any nearby store and even if I could I wouldn't buy it. For those who believed that the 16:9 format wouldn't replace the 4:3 format you turned out to be wrong.

All I'm trying to say is btc could go from one of the greatest success to one of the biggest failure if NOTHING is done to make it serve its purpose, which is to be a medium of exchange. So speculators please shut up and let the smart people talk.

Ty everyone, have a good one!
Thanks for proving what you really are. Can't expect more commitment or brainstorming from a BCH shiller except the typical "I am right, BTC should change because TV changed" argument.

When will you boneheads realize that there is a huge difference between all the kind of consumer technologies you guys quote and Bitcoin. Bitcoin is the secure, permissionless and foundational network layer for a new kind of money. People are ascribing value to all the other decentralized digital assets because Bitcoin enables that confidence. It is not a software plaything with low barrier of understanding so that it can be a hobbyist dev's plaything. That is the case with stuff like ETH, DeFi, ICOs, Solidity and all the others that people like you get inspired by and then turn to ask "Why can't Bitcoin do this?"

That does not mean that Bitcoin isn't moving fast enough in terms of innovation. It is. Its just not as glamorous as declaring 10000 TPS like a PoS shitcoin.
Bitcoin is not a sect or a cult! Please don't put yourself in such a stupid position, lecturing others about how "special" is your cult, it is just disgusting and has pretty reached and surpassed its expiration date, update yourself.

@topcoin360 is not a BCH shill or a POS enthusiast, all this user wants, rightfully, is remembering the cause, the original philosophy behind bitcoin innovation, and he has every right to ask for more active and ambitious research and discussion, don't make this sub-forum a scene for showing your royalty to the myths and gods of your cult.

legendary
Activity: 1468
Merit: 1102
January 17, 2021, 08:25:26 AM
#65
As far as I understand your principle, you propose to regulate the transaction fee through changing the block size.
I suggest another option: adjust the block size by changing the transaction fee.

Let's say we have a sample computer of the lower segment, and we focus on it when setting constraints.

We can count the parameter:
1. The maximum block size that our sample computer can process in the time we need.

Additionally, we can evaluate one more parameter:
2. We estimate the maximum level of growth of bitcoin, based on the level of technology development that we can afford.
    Based on it, we calculate the parameter: average block size.

I don't know why, but everyone decided that the 2nd parameter must be adjusted through the 1st.
Suppose we have a parameter 1: 10 MB.
And parameter 2 : 100gb per year. - >the average block size should be ~2mb.
These parameters can be very different.

Algorithm diagram:
1. When switching to a new scheme, the values of parameters 1-2 are set, and the minimum transaction fee is assigned.
2. After 2016 blocks (this value may be different), the recalculation takes place.
If the average size of the resulting blocks is higher than the parameter 2, the minimum fee increases.
If the average size of the resulting blocks is lower than the parameter 2, the minimum fee is reduced.

The calculation of the average block can be done for the last period, you can calculate for the last few periods.

3. The fee can be changed with a certain step, for example, 10-20%. That is, if the average block has not changed much, then it is better not to change the fee .
4 You can always calculate the maximum fee amount for the next period. Towards the end of the period, it becomes more accurate.
And if you make a transaction at the very end of the period, you can make a fee =maximum (the current fee , the maximum possible for the next period). This should save you from possible problems at the junction of periods.

Advantages:
1. Excellent system response to peak loads. Since there is a margin due to the large size of the maximum block.
2. The percentage of non-occurrence of transactions in the nearest block is sharply reduced and is close to zero.
3. There is no need for dynamic fee calculation. It is enough to get the set amount of fee from the system.
4. the overall growth of the blockchain should not be very different from what we wanted.
5. You will not have spam.

Disadvantages:
?
legendary
Activity: 1904
Merit: 1159
January 17, 2021, 03:11:46 AM
#64
Hi folks,

I just wanna tell you a little tale.. Once upon a time, the square tv was invented. It was a miraculous invention allowing people to watch movies, series, news, porn, anything you can imagine but in black and white. And then came the plasma tv, the lcd I don't know if you can remember that time... Now I can't find any square tv in any nearby store and even if I could I wouldn't buy it. For those who believed that the 16:9 format wouldn't replace the 4:3 format you turned out to be wrong.

All I'm trying to say is btc could go from one of the greatest success to one of the biggest failure if NOTHING is done to make it serve its purpose, which is to be a medium of exchange. So speculators please shut up and let the smart people talk.

Ty everyone, have a good one!
Thanks for proving what you really are. Can't expect more commitment or brainstorming from a BCH shiller except the typical "I am right, BTC should change because TV changed" argument.

When will you boneheads realize that there is a huge difference between all the kind of consumer technologies you guys quote and Bitcoin. Bitcoin is the secure, permissionless and foundational network layer for a new kind of money. People are ascribing value to all the other decentralized digital assets because Bitcoin enables that confidence. It is not a software plaything with low barrier of understanding so that it can be a hobbyist dev's plaything. That is the case with stuff like ETH, DeFi, ICOs, Solidity and all the others that people like you get inspired by and then turn to ask "Why can't Bitcoin do this?"

That does not mean that Bitcoin isn't moving fast enough in terms of innovation. It is. Its just not as glamorous as declaring 10000 TPS like a PoS shitcoin.
member
Activity: 75
Merit: 22
January 17, 2021, 12:53:08 AM
#63
Hi folks,

I just wanna tell you a little tale.. Once upon a time, the square tv was invented. It was a miraculous invention allowing people to watch movies, series, news, porn, anything you can imagine but in black and white. And then came the plasma tv, the lcd I don't know if you can remember that time... Now I can't find any square tv in any nearby store and even if I could I wouldn't buy it. For those who believed that the 16:9 format wouldn't replace the 4:3 format you turned out to be wrong.

All I'm trying to say is btc could go from one of the greatest success to one of the biggest failure if NOTHING is done to make it serve its purpose, which is to be a medium of exchange. So speculators please shut up and let the smart people talk.

Ty everyone, have a good one!
legendary
Activity: 990
Merit: 1108
January 16, 2021, 09:43:18 AM
#62
The user is talking about preventing miners from filling the blocks with cheap fee transactions. You cannot prevent that by anything that is not consensus rules such as a simple configuration that already exists called minrelaytxfee.

You can prevent it by creating a backlog of high-fee paying transaction, which Bitcoin has achieved by constraining the block size.
legendary
Activity: 1468
Merit: 1102
January 16, 2021, 08:11:00 AM
#61
The bitcoin system does not have enough information.
1)It doesn't know the value of bitcoin in the real world.
2) It does not know about the level of technology development.

Therefore, theoretically, it is impossible to come up with an algorithm only within the system that would successfully regulate fees and block size.
legendary
Activity: 1468
Merit: 1102
January 16, 2021, 07:35:21 AM
#60
There is a very simple and elegant way to solve this problem. You need to enter a minimum fee amount.
It is a very lazy solution that only causes more problems than it solves.
For starters what would the minimum fee value be? Lets say the coin is worth $0.01 you hardcode the minimum to be 0.01X (X is the coin). Now price goes up to $10 and the minimum fee of that coin is suddenly 10 times more at $0.1, then it goes up to $100 and fee reaches $1 and so on.
Your solution simply added mandated hard forks each time there is a big price rise to reduce the minimum fee.
You just haven't tried it yet. Everything is known by comparison.

Managing the fee through the block size:
If there are few transactions, the fee is sharply reduced, to cents. If there are a lot of transactions, the fee increases dramatically, up to $10. That is, it can change 100 times. And in a very short time - in a day, 2.
As I wrote above, this is a bad way, because it constantly causes inconvenience to bona fide users.

Minimum fee management:
The fee is set in satoshi and, let's say, changes every 2 weeks. What is a change algorithm is a topic for discussion. Now the price does not change dramatically by 10 times. The recent sharp increase is just a 2-fold increase in 2 weeks.(even in December 2017, the growth was 2-fold in 2 weeks.) It's not that bad. Instead of 10 cents - 20 cents, instead of $ 1 - $ 2 before changing the fee. - not terrible, against the background of the current $10.  
As for hard forks. Since this is adding restrictions, you can theoretically do with a soft fork. Possible, You may need one hard fork.
sr. member
Activity: 270
Merit: 309
Shinji bgt gwh
January 16, 2021, 07:32:41 AM
#59
You can't include external data without oracle or someone who you must trust.
Maybe we can use Mining difficulty as a predicting tool for the price?
When bitcoin prices rise, mining profitability will rise, resulting in more people mining, and therefore increasing difficulty. we need to factor in mining hardware improvement though (Updated Moore's Law?)

Your computer is not other people’s computers. Plus the real problem is also bandwidth, and latency remember? The Initial Blockchain Download has become more and more difficult.

You want real scaling, a solution like this, if successful, is real scaling, https://medium.com/mit-media-lab-digital-currency-initiative/utreexo-demonstration-release-a0d87506fd70
is the validating process really significantly increase with that blocksize? i think if there will be any blocksize increase, it should be increased to the point where mini-computer like Raspberry Pi still can handle it.
and BTW, isn't that utreexo is just like a pruned node but with "compressed" UTXO?

I think, for now, there's no need for blocksize increase yet. the recent increase in bitcoin transaction fee are most likely because the significant price increase, and it maybe won't last forever, once the price fall significantly, the transaction fee will go down too(2017, mid-2019).  there needs some long-term transaction fee increase to make it worth it to increase the blocksize. Maybe when we start using bitcoin as a method of payment, not as speculative asset.
legendary
Activity: 1904
Merit: 1159
January 16, 2021, 07:13:54 AM
#58
total amount of all the transactions inputs - total amount of all the transactions outputs
                                                      nb of transactions

@amishmanish, I think this post may have addressed your concerns as well...                                                
If you are just calculating from the mempool then it becomes unrelated to the actual set of transactions you want to affect price-wise. This continuous variation also puts another set of calculations, consensus requirement and propagation delays for the miners to calculate, especially if you talk about adjusting size in every block. I don't think this is feasible.
--snip--
In continuation of this, it just occurred to me that any attempt at dynamically calculating the "miner fees" based on mempool transactions will automatically open up the network to all sort of nuisance attacks.

Not sure if I am thinking this correctly but a malicious actor could simply spam the chain with hundreds and thousands of transactions with bare minimum fee. The transactions just stay there, never being picked due to the very low fees and screwing up your calculations. You end up making an elegantly sybil-resistance system welcoming to the most basic of sybil attacks and manipulation.
legendary
Activity: 3472
Merit: 10611
January 16, 2021, 04:56:04 AM
#57
Your solution simply added mandated hard forks each time there is a big price rise to reduce the minimum fee.

Not necessarily. You can have a minimum fee scaling factor in a configuration file.
After all, this is not a consensus parameter. So after the price has gone up by an order of magnitude
for a long enough period, you could agree to have as many nodes as possible to update this scaling factor
to be 10 times smaller. Over time, more and more nodes will adopt this new value, and allow
the mempool acceptance and relay of transactions with 10x smaller fees.
Click on the quote in my comment and read the full comment first. The user is talking about preventing miners from filling the blocks with cheap fee transactions. You cannot prevent that by anything that is not consensus rules such as a simple configuration that already exists called minrelaytxfee.
legendary
Activity: 2898
Merit: 1823
January 16, 2021, 03:52:46 AM
#56
Sorry, I’m wrong. Growth will not be exponential, BUT a one time block size increase to 10MB, and with current Bitcoin on-chain usage keeping those blocks full, would make each node process 10 times the data, and make it “feel” exponential.
“feel” exponential - this is something new in cost estimation. Smiley

My computer, bought 5 years ago, processes a new block in less than 1 second. a 10mb block will process less than 10 seconds. And blocks appear once every 10 minutes. The only expense is disk space. At 10MB block - 0.5 TB per year. 2tb. hard disk ~$ 60 and this is for 4 years. The cost per year is $ 15, per month ~ $ 1.2. And now that I make a modest 12 transactions a year, look at the size of the average fee, and estimate how much I have costs due to 1MB. block.

You understand that it is your "concern" for the user that only brings them extra costs.

Even if we take the more expensive option, together hdd ssd. 2tb ssd - ~ $ 240. Divide by 48 months - $ 5 per month. The fee for one transaction per month is about the same level, and I will not pay this fee. That is, I will be at the same level in terms of costs. But in return, I get a 10-fold increase in the Bitcoin system. (10x! , Karl).


Your computer is not other people’s computers. Plus the real problem is also bandwidth, and latency remember? The Initial Blockchain Download has become more and more difficult.

You want real scaling, a solution like this, if successful, is real scaling, https://medium.com/mit-media-lab-digital-currency-initiative/utreexo-demonstration-release-a0d87506fd70

I want to see Bitcoin Cash’s blocks full, everyday, for a whole year.

You are more careful with your desires. If the Bitcoin Cache develops to the point that users will make 2.5 million transactions a day, and bitcoin will remain at its 350 thousand, then I do not think that this is a a good outcome for Bitcoin.. Smiley


Roll Eyes

Increasing transaction throughput, but centralizing the validators is not real scaling.
legendary
Activity: 990
Merit: 1108
January 16, 2021, 03:26:46 AM
#55
Your solution simply added mandated hard forks each time there is a big price rise to reduce the minimum fee.

Not necessarily. You can have a minimum fee scaling factor in a configuration file.
After all, this is not a consensus parameter. So after the price has gone up by an order of magnitude
for a long enough period, you could agree to have as many nodes as possible to update this scaling factor
to be 10 times smaller. Over time, more and more nodes will adopt this new value, and allow
the mempool acceptance and relay of transactions with 10x smaller fees.
legendary
Activity: 1904
Merit: 1159
January 16, 2021, 02:29:07 AM
#54
Ok, we must not forget that there is some electricity cost for mining blocks, mining an empty block is not profitable.
The question is not really about empty blocks. All miners don't work on the same set of transactions from the mempool. It can happen that some  miner arrives at the next acceptable hash immediately, rather than 10 mins after the current block.


total amount of all the transactions inputs - total amount of all the transactions outputs
                                                      nb of transactions

@amishmanish, I think this post may have addressed your concerns as well...                                                
If you are just calculating from the mempool then it becomes unrelated to the actual set of transactions you want to affect price-wise. This continuous variation also puts another set of calculations, consensus requirement and propagation delays for the miners to calculate, especially if you talk about adjusting size in every block. I don't think this is feasible.

Some kind of DAO based variation over periods of high fees maybe a different thing but that opens up to politics and is entirely not suited to Bitcoin's mathematical purity. That is why I have been asking if you have seen an actual implementation or you plan to think this over and then come up with calculations.

I think you should move this topic to "Bitcoin Discussion" already.
legendary
Activity: 3472
Merit: 10611
January 16, 2021, 01:27:42 AM
#53
There is a very simple and elegant way to solve this problem. You need to enter a minimum fee amount.
It is a very lazy solution that only causes more problems than it solves.
For starters what would the minimum fee value be? Lets say the coin is worth $0.01 you hardcode the minimum to be 0.01X (X is the coin). Now price goes up to $10 and the minimum fee of that coin is suddenly 10 times more at $0.1, then it goes up to $100 and fee reaches $1 and so on.
Your solution simply added mandated hard forks each time there is a big price rise to reduce the minimum fee.
member
Activity: 75
Merit: 22
January 15, 2021, 06:12:09 PM
#52
At least the number isn't entirely arbitrary picked.

2. How many previous block should be considered to calculate average transaction fee?
One.
3. How often should block limit changed?
On every block.

The number you chose have some obvious problem, have you considered the possibility of
1. Miner mine 2 blocks at once, where the 2nd block usually are empty.
2. Analysis which shows certain days allows you move Bitcoin quickly with lower fees. See https://bitcointalksearch.org/topic/bitcoin-transaction-fees-in-satskb-sunday-saturday-are-best-to-move-btc-5250569.
3. Messing with various transaction fee estimation algorithm, which leads user pays too much or waiting too long.

Ok, we must not forget that there is some electricity cost for mining blocks, mining an empty block is not profitable. An adjustable blocksize cap algorithm would reduce the limit of the block when the demand for space is low which would maintain some level of competition for block space but the algorithm would increase the limit in periods where the demand is high which would improve the network's reliability while reducing the transaction fees. The client software would have to be updated.

I think that an immediate adjustment to the change in price would be the best...

You can't include external data without oracle or someone who you must trust.

I wasn't thinking about importing the data from external sources. We can easily compute the avg transaction fee of the last block:

total amount of all the transactions inputs - total amount of all the transactions outputs
                                                      nb of transactions

@amishmanish, I think this post may have addressed your concerns as well...                                                
legendary
Activity: 1468
Merit: 1102
January 15, 2021, 05:31:07 PM
#51
I want to see Bitcoin Cash’s blocks full, everyday, for a whole year.
You are more careful with your desires. If the Bitcoin Cache develops to the point that users will make 2.5 million transactions a day, and bitcoin will remain at its 350 thousand, then I do not think that this is a a good outcome for Bitcoin.. Smiley
That's not the only metric people use to measure the overall success of the network, though.  If, for example, BCH's nodecount dropped to single digits, I wouldn't care how many millions of transactions it could process per day.
A blockchain of 10mb. blocks, in which 2.5 million transactions are made every day, will hold less than 10 users? This is so implausible that there is nothing to comment on.

Quote
If you can find a way to distinguish at protocol level between "natural growth" and "malicious growth", then let's hear it.  I get the part where encouraging a fee market is something many users are not fond of, but I see the sense behind it.  If something is valuable but there is very little cost to use it, people will simply abuse it.  That's just the nature of things.
"malicious growth" - As far as I understand, this is filling the blockchain with transactions with zero or very small fee.

There is a very simple and elegant way to solve this problem. You need to enter a minimum fee amount. Transactions with a fee of less than will be invalid. The problem is solved, and solved well. Because it will only affect those who make "malicious" transactions.

The way this is solved now, through the block size limit , is a terrible solution. I do not know if it is possible to come up with a worse solution than this. It does not solve the problem when the block is not complete - "malicious " transactions hit the block. When the blocks are full and there are queues, many good transactions are thrown out along with the "malicious " ones. For example, right now, when the average transaction is $ 10, many transactions with fees of several dollars do not fall into the blocks. Good customers who want to get into the nearest block should play the game "guess the right fee".

If you look at the analogy with your work. For you, the cost of service does not depend on the number of customers at the moment. And the cost of service does not change every second. Smiley
Pages:
Jump to: