Post
Topic
Board Development & Technical Discussion
Re: Adjustable Blocksize Cap: Why not?
by
topcoin360
on 15/01/2021, 03:20:04 UTC
I never agree with the number (plan next 40+ years or 17.7% as average growth rate), but the idea of BIP 103 isn't bad and more likely accepted considering Bitcoin community care about running full node at low-cost.
Besides, comparing predicting Bitcoin price and predicting computer/internet growth are like comparing apples and oranges.

There's is the cost of running a full node but there's also the cost of making an on chain transaction which seems to go up as btc gains in popularity. My point is just that it's still too early to make long term predictions. We should try new stuffs and learn from our mistakes, it's the only way we can improve a new tech such as btc.

If you want to call it proposal, there are many missing technical details,
1. What's the reason behind 0.1MB as min and 10MB as max?
2. How many previous block should be considered to calculate average transaction fee?
3. How often should block limit changed?
4. Do you have proposed formula/logic/code to set block size? Here's a very quick example of mine

Code:
A = 5 (acceptable fee/vbyte)
B = 144 (most recent blocks to be considered)

I = average transaction fee (in sat/vbyte) in last B block
N  = old block size limit
N+ = new block size limit

Code:
IF I less than A THEN
  N+ = N * (I/A * 0.2)
ELSE
  N+ = N + N * LOG2(I/A+1)

I think we're making progress here. Ok, let's just call it an idea for now.. I'll answer your questions.

1. What's the reason behind 0.1MB as min and 10MB as max?
These limits will allow the network to adapt to the demand in real time. I understand that the block reward is gradually disappearing so we need a system that will force the user to kind of "tip the waiter" but which will also allow more block space for peak periods. The 10MB limit seems reasonable and a 0.1 min value is almost nothing.
2. How many previous block should be considered to calculate average transaction fee?
One.
3. How often should block limit changed?
On every block.
4. Do you have proposed formula/logic/code to set block size?
No. We can discuss it first then move on to the next step. I will review your codes..

Code:
A = 5 (acceptable fee/vbyte)
B = 144 (most recent blocks to be considered)

I = average transaction fee (in sat/vbyte) in last B block
N  = old block size limit
N+ = new block size limit

Code:
IF I less than A THEN
  N+ = N * (I/A * 0.2)
ELSE
  N+ = N + N * LOG2(I/A+1)

Ok so I'll bring some modifications since we didn't agree on everything..

I = old avg transaction fee
I+ = new avg transaction fee
N  = old block size limit
N+ = new block size limit
n = block size formula
n = N * I+ / I

If n =< 0.1 then
N+ = 0.1

else N+ = n

else if n => 10 then
N+ = 10

The logic is there. I think that an immediate adjustment to the change in price would be the best...