Bitcoin Forum
May 10, 2024, 09:19:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 »
1  Bitcoin / Development & Technical Discussion / Re: Compromise between fees and storage/bandwith cost on: October 30, 2021, 04:46:57 AM
[...]
What don't you like about this?

It's far more private than a ledger of transactions everyone can look at.

We can discard our private keys after each payment and expect other people to do the same but with the LN we have to hold our key even if we have no balance in our wallet, if the key is compromised then the intruder will be able to gather some additional info.

Also, the merchants can't use the LN to pay their employees/suppliers because the amounts are too high, so how can they unload their channels to receive more payments? I finally think that a block size increase based on technological progress makes sense.
2  Bitcoin / Development & Technical Discussion / Re: Compromise between fees and storage/bandwith cost on: October 29, 2021, 02:03:59 AM
Since scability is not a real issue, the LN doesn't accomplish anything
How's scalability not a real issue? The lightning network was made, because scalability is a very real issue and any block size increase is just a temporary solution.

You're probably right about the block size limit (that the expansion of the blockchain should be under controlled). But I'm not convinced about the LN. One of the main issue is that it requires users to create long term links which doesn't make sense if we consider that bitcoin transactions are supposed to be "pseudonymous". And I think Visa has already solved the problem you're talking about a few decades ago.  Cheesy

How are people growing LN adoption anyway? It does not seem to be the subject of late in the wider crypto community (DeFi, NTFs, and other trending stuff).

Exchanges (the preferred "wallet" by the majority of users) aren't promoting this tech either.

It's probably because of security and privacy concerns.
3  Bitcoin / Development & Technical Discussion / Re: Compromise between fees and storage/bandwith cost on: October 27, 2021, 10:38:52 PM
Less block space means higher transaction fees which could reduce BTC’s utility.
Higher transaction fees don't necessarily reduce bitcoin's utility. But, let's say they do. Don't we already scale with the lightning network? We've accepted the fact that there aren't solutions for the first layer.

Higher transaction fees means less people can use bitcoin as a medium of exchange which is a pretty good reason to assume that it would reduce it's utility.

Whatever you believe that can scale on a global level and with reduced usage of second layer solutions seems utopian, but you're free to implement it on a fork. Bitcoin is too expensive project for such radical changes.

I think it's obvious that bitcoin will never replace the dollar/EUR/YEN, etc or even come close to that but it could be useful for some type of transactions (espicially when it is not possible to use a credit card). Since scability is not a real issue, the LN doesn't accomplish anything. Changing the rules of the game when the game has already started will always be controversial, so if there was a fork to fix that problem I would believe most people would bet on that fork.
4  Bitcoin / Development & Technical Discussion / Compromise between fees and storage/bandwith cost on: October 24, 2021, 06:45:06 AM
Hi folks,

As BTC gains in popularity, we might have a discussion about increasing the block size limit. Less block space means higher transaction fees which could reduce BTC’s utility. More block space could increase the cost for running a full node. As of now, the limit does not accomodate the needs of the users. We could solve that problem by having an adjustable block size cap.

If we assume that the avg fee per vbyte and the block size limit are inversely correlated;

If we assume that the the demand for block space is constant;

If we assume that the block occupancy rate is constant;

Then we can stabilize the fees with this equation:

new block size limit = (fee revenue / avg fee on the previous block - block size) / block occupancy rate + previous block size limit

We’ll explain the equation step by step.

Step 1:

(fee revenue / avg fee on the previous block

We calculate the amout of space that would have been provided at the previous price.

Step 2:

Quantity supplied - block size)

We calculate the excess demand/supply without considering the block occupancy rate.

Step 3:

/ block occupancy rate

We calculate the excess demand/supply considering the block occupancy rate.

Step 4:

+ previous block size limit

We adjust the limit for the next block.

This system could reduce the wait for confirmations in peak periods while allowing miners to generate income when there’s a low activity on the network.
5  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 25, 2021, 04:16:45 AM
Just found a simple equation to balance supply and demand that could be easily introduced in btc source code:

next block size limit = previous block size limit + (total fee in the last period / avg fee in the previous period - space used in the last period) / block occupancy rate for the last period
Your equation does nothing to address the issue I brought up previously. Miners can and do receive transaction fees in ways that are not attached to the transaction. For example, viaBTC offers a paid transaction accelerator service for people who have attached too low of fees to their transaction. They charge a fortune for this service, so it is not widely used, but if pools have incentives to show transactions having lower fees than is actually the case, you can guarantee more pools would offer this service, and the cost would be very low.

As you said it is not a common practice, therefore it shoudn't have a significant impact on the result of the equation.

It is not a common practice now, but this is primarily because miners have no reason to engage in this practice currently, other than to help the less technically inclined get their low-fee transactions confirmed. If engaging in this practice would lead to potentially higher total fees, I can guarantee miners will make this practice much more common, or potentially will not even consider transactions that don't have their fees paid this way.

What I describe is an edge case, and for something like bitcoin, it will need to be considered. You should really always consider edge cases, and corner cases (a situation in which multiple edge cases are combined into one) in production code, however with something with bitcoin, where there is literally billions of dollars potentially available if problems can be exploited, it is especially important to address, even perceived unlikely, or unusual scenarios.

Users will always have the option to offer a commission on their transactions, which gives the miners an incentive to include those transactions in their block. I hardly see how miners could collude to prevent that.

...
Actually, you're wrong. The merchants will usually not charge the transaction fee to the customers.
Alas they do in all cases, some obvious and some not so obvious.

Some may say it up front on a sign and request that extra % as Fuzzy mentioned.

Others it is as simple as part of their business accounting.
All businesses that aren't going broke yesterday, will know their costs.
It is simply yet another cost to cover in their price.

According to https://ycharts.com/indicators/bitcoin_average_cost_per_transaction, for bitcoin, the avg cost per transaction was 231.90 USD yesterday (inflation + commissions), which is a lot higher than the avg cost for a CC transaction.
Why are you adding the cost of inflation to bitcoin transactions? The cost of inflation is generally not included in credit card transactions. If you are spending coin, you are going to be unaffected by any inflation. You might argue you are affected via any coin you don’t spend, but this is also true for USD based transactions.

If you are going to compare CC to BTC transactions, you need to make apples to apples comparison.

In the case of btc, inflation is part of the payment system, it is not the case for the traditional banking system where account balances' and payments are separate. I guess there are different ways of seeing it.
6  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 24, 2021, 03:31:52 PM
...
Actually, you're wrong. The merchants will usually not charge the transaction fee to the customers.
Alas they do in all cases, some obvious and some not so obvious.

Some may say it up front on a sign and request that extra % as Fuzzy mentioned.

Others it is as simple as part of their business accounting.
All businesses that aren't going broke yesterday, will know their costs.
It is simply yet another cost to cover in their price.

According to https://ycharts.com/indicators/bitcoin_average_cost_per_transaction, for bitcoin, the avg cost per transaction was 231.90 USD yesterday (inflation + commissions), which is a lot higher than the avg cost for a CC transaction.
7  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 23, 2021, 10:50:11 PM
Quote
(and we generally don't have to pay any conversion/transaction fee to make a purchase with a CC)
Actually we the consumer DO pay the tx fee. More specifically, the merchant pays it to the payment processor and their cost is added onto what we are paying for things - we just do not see it as a separate charge. The Merchants fee is generally anything from 2-6% of the transaction value. That is how/why some (local of course) merchants will give a discount for using cash vs credit/debit cards.

Actually, you're wrong. The merchants will usually not charge the transaction fee to the customers.
8  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 23, 2021, 07:59:00 PM
The disagreements (CMIIW) that we've had is; whether we should have sustainable limits on the block size increase. Believe that I've made my point here, so it's just a clarification.
I think a block size limit increase based on demand is more sustainable than a block size limit increase based on "what everyone can pay to run a full node" which doesn't make sense to me.
9  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 18, 2021, 04:52:48 PM
Just found a simple equation to balance supply and demand that could be easily introduced in btc source code:

next block size limit = previous block size limit + (total fee in the last period / avg fee in the previous period - space used in the last period) / block occupancy rate for the last period
Your equation does nothing to address the issue I brought up previously. Miners can and do receive transaction fees in ways that are not attached to the transaction. For example, viaBTC offers a paid transaction accelerator service for people who have attached too low of fees to their transaction. They charge a fortune for this service, so it is not widely used, but if pools have incentives to show transactions having lower fees than is actually the case, you can guarantee more pools would offer this service, and the cost would be very low.

As you said it is not a common practice, therefore it shoudn't have a significant impact on the result of the equation.

Now I challenge you to find an equation based on "not centralizing bitcoin too much".

Well, I had tried in the past, but it was a function, not an equation. It made me feel very ambitious.  Tongue

Yes, I think function is the right word, ultimately we want to find a function but for that we need to have an equation! Wink

Just found a simple equation to balance supply and demand that could be easily introduced in btc source code:

next block size limit = previous block size limit + (total fee in the last period / avg fee in the previous period - space used in the last period) / block occupancy rate for the last period

The harder part is testing the equation on various network condition and accepted by the community.
Absolutely, we can calculate the next limit without applying it and see if it seems to work in theory. If it does seem to work then we can give the system a test run, we would set a floor and a hard cap in the testing phase.

I'll just explain my equation to make sure everyone understands it:

total fee in the last period / avg fee in the previous period = quantity supplied (Qs) at the previous price for the total amount that was paid in the last period

Qs - space used in the last period = excess demand in the last period before considering the block occupancy rate (a negative value means there was an excess supply)

(Qs - space used in the last period) / block occupancy rate = excess demand in the last period after considering the block occupancy rate

Quote
Now I challenge you to find an equation based on "not centralizing bitcoin too much".
See BIP 103. The exact number and equation definitely need more research though.

It's an interesting proposal but it doesn't address the "market inefficiency" problem. I think this is where I and ranochigo have a disagrement, I don't think Bitcoin will ever scale as a medium of exchange because our credit cards are just too convenient (and we generally don't have to pay any conversion/transaction fee to make a purchase with a CC) but I do believe that it can answer a particular need and the block size limit can be high enough to answer that need without being too high.

10  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 16, 2021, 04:33:34 PM
Just found a simple equation to balance supply and demand that could be easily introduced in btc source code:

next block size limit = previous block size limit + (total fee in the last period / avg fee in the previous period - space used in the last period) / block occupancy rate for the last period

Now I challenge you to find an equation based on "not centralizing bitcoin too much".
11  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 15, 2021, 12:41:08 AM
Alright, alright, guys I'll reveal some facts that may shock you..

1.A shortage of supply (block space) forces many people to leave their coins on their exchange which is a lot more dangerous than a few people not being able to run a full (who probably do not own a wallet anway).
2.Running a full node does not give you a vote, you can "listen" to what others have to say but nobody cares about what you have to say (unless you have large holdings but you guys don't seem to like PoS).
3.A faster block propagation with less transactions per block does not allow transactions to be confirmed more quickly.
4.A miner who finds a new block has an advantage on his competitors as he will start mining the next block before them but any miner who finds a new block has that advantage (which makes the orphan block argument pretty worthless).
5.A higher block size limit may increase miners expenses but it may also increase miners income, therefore small mining farms are not kicked out of the game.
6.Network congestion is no bigger problem than many transactions not being picked by a miner/paying too much fees.

So.. I can only ask, what now? Lips sealed
12  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 14, 2021, 02:21:43 AM
A block size increase “based on demand”, and leaving it to the miners to decide how large the blocks should be “based on demand” is a very dangerous proposition, topcoin360. It will open an attack vector, that would possibly disrupt the network.

If you're worried about a congestion attack with a higher limit then you should also be worried about a DDoS attack with a lower limit. Idk what the exact limit should be, but I know that it should be updated more than once every 10 years.  Smiley

I didn't expect this thread to turn into a capitalism vs. communism debate (those who believe in free market and those who believe that everyone should run a full node Cheesy). The only thing I can tell you is the customers will always go to whoever can give them what they want.

Since we're talking about the possibility of a new consensus rule and not a vector of attack, I think we should discuss the technical details and see if it works in the first place. I've seen a potential flaw in the model I proposed, although it is very unlikely to happen, in theory the excess supply could exceed the actual limit which means the block size limit in the next epoch would be below 0. We can easily fix that problem by introducing a minimum of 1MB which is the current maximum value (that would be our starting point).

Open for discussion!
13  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 12, 2021, 08:16:54 PM
I've highlighted the constraints of the network with a larger block size and why a block size that is excessively large isn't favorable for the network. I'm not concerned about your algorithm, I'm concerned about whether you think it is okay for the so called self-regulated system to regulate the block size such that it can potentially take up to minutes to propagate across the network.

I understand your point but if the limit is not high enough then many people won't even be able to spend their coins which is another problem.

Do you think the point of the block size we have today is to introduce scarcity into the block or is it ensure that the blocks are appropriately sized and thereby preventing any issues, pertaining to the security of the network or it's resources? Your self-regulated system is not going to work if it can have the potential to make the network excessively centralized or insecure. There is a very good reason why most of Bitcoin's derivatives don't have a dynamic or an unlimited block size (for which a dynamic block size without any hard cap can also be considered as an unlimited block size).

It is to protect the network and I think we must have a limit. I just think the free market should decide what that limit should be and the miners should adapt accordingly.

Edit: If you think that it is fine for a dynamic block size without any upperlimits, then I rest my case. I don't have anything to add on ontop of what I've mentioned and I'm not a huge proponent of increasing it to meet a level that could be compared to the TPS of a mass adoption.
I believe you prefer a block size increase based on technological progress and I favor a block size increase based on demand. I proposed a way to calculate the block size limit, so far you haven't. I'll briefly explain how my equation could balance supply and demand..

new limit = (current total fee - previous total fee) / current avg + previous size limit

We calulate the excess demand or excess supply relative to the previous period then we adjust the block size limit to meet a new equilibrium (assuming that the demand is constant).

Could you tell us how would you determine what the block size limit should be in the future?
14  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 12, 2021, 05:47:57 PM
Do you think we should cap the block size with your variable block size scheme? You do realize that an increase in block size or transactions per block will inevitably result in the blocks being propagated through the network slowly or a far slower validation. This makes it unsuitable for smaller miners to be mining and will have to be directly connected to at least half of the network to achieve a lower stale rate. There is a reason why the blocks were capped at 1MB, and that any scheme should strive for a reasonable block size that doesn't compromise the security of Bitcoin. An increase in the stale rates also results in a decrease in the perceived security, as there can be multiple conflicting blocks at the same height.

I don't disagree that we need a block size increase. What I'm thinking of is a sustainable block size increase that balances the tradeoffs to the benefits.

As you mentioned earlier..

Quote
The issue surrounding block size has really been discussed over and over again and I doubt we would reach a new conclusion by doing it again.

Unless the block size limit is decided at the protocol level we will have to have this debate over and over again! By having a self-regulated system we wouldn't have that problem. So what is your solution?

I'll just bring some adjustments to mine;

new block size limit = previous block size limit + (current total fee - previous total fee)
                                                                                           current avg fee               

I know this calculation may not be very accurate but that's a starting point. I don't think we should forbid people from owning BTC because some miners aren't able to keep up with the demand.   
15  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 12, 2021, 07:59:14 AM
I'm far more concerned about the security of the network being impacted, instead of the issue surrounding the costs of a full nodes. In this day and age, most people simply wouldn't opt for a full node as their daily driver unless they're interested in Bitcoin. Most people wouldn't run a node, no matter how much money they can save simply because it is time consuming and not very rewarding.
The miners are the ones securing the network and I think most of them can easily afford to buy more storage/bandwith. In this regard, less people running a full node isn't really a threat...
The issue surrounding block size has really been discussed over and over again and I doubt we would reach a new conclusion by doing it again. Again, since this issue brings us to whether we scale on-chain or second layer, it doesn't make much sense to discuss it on this thread. I prefer the latter, 100MB blocks isn't really desirable for the near future.
If the demand for block space increases more than the supply then eventually the transaction fees will become so high that only the rich could afford them. Here's the problem and one solution..

In theory, the sender does not have any incentive to pay more than the "min fee" if there's no excess demand as he doesn't have to compete against other people for block space. If there's an excess demand then the block size limit willl determine how many transactions will pay more than the min fee, therefore the block size limit and the avg transaction fee are inversely related. We can balance the supply and demand with this simple equation:

new block size limit = previous block size limit x current avg fee / previous avg fee

We know that the avg fee depends on the amount of transactions that are waiting to be confirmed AND the block size limit, the demand for block space shouldn't change much in the short term.
16  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 11, 2021, 09:00:41 PM
The ideal block size should be something that still ensures that the network is sufficiently secure. It makes no sense for us to implement a dynamic size, where the size gets inflated to unrealistic limits at times just to accommodate the extra transactions. It would be far better for us to determine the specific and appropriate block size from the on-start because there isn't any downsides to that. If the demand isn't enough, then the blocks would naturally be smaller.

I get your point but as franky1 pointed out it may not be worth the hassle of running a full node if you do not make a lot of transactions, you may in this case use some third party services to verify your transactions. If you do make a lot of transactions then you could as well pay a lower fee on your transactions and spend more money on your storage/bandwith. I want to emphasize the fact that the cost for a full node can be shared between multiple persons, however the cost of a transaction can hardly be shared so transaction fees may have a bigger impact on centralization than the cost of running a full node.

That said, I just verified the avg transaction value on https://bitinfocharts.com/bitcoin/. It says it was approx. 71,125USD in the last 24h, the avg transaction fee was 2.44USD. For now I think your proposal makes more sense...
17  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 10, 2021, 07:44:30 PM
I'm against a dynamic block size because it fails to take into account the possibility of the miners intentionally colluding and manipulating the fee market, by either introducing scarcity or otherwise intentionally gaming the block size. Problem with dynamic block size is that it is difficult to accurately provision higher block size for the correct period, due to time lag mainly as the sample size is way too huge.
I'd like to remind you that any miner with a lot of hashrate can inflate the fees by choosing to not pick the transactions that pay a low fee. It is actually easier for a miner to do that with an inelasic supply, if the supply was elastic then inflating the fees would also increase the block size limit which would ultimately reduce the fees (it would then be pointless to inflate the fees in the first place).
I would rather just proposing a predictable block size increase, than to have a dynamic block size because it is honestly quite redundant. I don't expect Bitcoin to survive solely on on-chain transactions, that isn't feasible.
I see but what factor would you take into account to calculate the block size limit? I believe bitcoin can only survive with on chain scaling but that's another topic...
18  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 10, 2021, 04:17:28 AM
Unfortunately, that isn't what majority of the community wants. There is nothing wrong with increasing block size, but if you were to increase to that extent, then no one except a selected few can run a node because they are prohibitively expensive. Miners can only mine if they're fast enough, which would mean further centralization as they need to achieve the lowest latency possible to reduce orphans. Complete centralization of Bitcoin defeats the very purpose of it, and putting the control of it to a selected few only serves to discourage people from using it.

My apologies, I think you missed the point I was trying to make and it's probably because I did a spelling mistake. Here is the correction..

Quote
I'd rather have 10 persons running a full node and sharing the cost than have thousands of people using some third party services to make their transactions.

So what I was trying to say is 10 persons sharing the same computer is more decentralized than thousands of people using the same server. I think the majority of the community would agree with that.

I briefly read through the topic again. Are you still proposing a complicated dynamic block size as opposed to a simple and linear block size increase?

I'm still not convinced, what is your vision?

so yes fee's will be cheaper per transaction.. but the total the pool gets will be more

I agree with you but I also think that the size of the block chain should automatically adjust to the need of its users.
19  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 09, 2021, 04:41:42 AM
Quote

I'm just observing that many of those ideas are not being pursued (or maybe it's just the lack of action since 2017). Writing a BIP is something I might consider...

I believe you should do a thorough research of the counter-arguments in why those ideas are “not being pursued” first, before assuming that they were feasible ideas but ignored ideas.

Plus how would you define scaling. I’m curious.

Scaling is increasing the currency's utility by allowing more people to make transactions or allowing people to make more transactions.

The equation I found may not be accurate but I'll explain my reasoning;

If we assume that the user base is not going to change much in the short term AND people's habits are not going to change much in the short term then;

a) the volume of transactions on the network is proportional to the block size limit.

b) the price people are willing to pay to make a transaction when the limit is reached stays the same.

I'd rather have 10 persons running a full node and sharing the cost then have thousands of people using some third party services to make their transactions. As of now, the size of the block chain is controlled by a limit on the block size and by the level of difficulty to mine a block, the value of the second paramater can change depending on the network's hashrate but the value of the first paramater can't change because of the risk of a consensus problem. The system we have now benefits to speculators but does not benefit to the real users of the currency, if bitcoin isn't used as a medium of exchange then sooner or later the price of the coin will drop down to zero (or it will fall drastically to it's true value).

Using percentage also flawed since block reward changed every 4 years.

In my view the inflation is a flat fee that is charged to the hodlers, it won't affect you if you don't hold your coins.

The price of transaction always has been, and always will be measured in terms of BTC. If the price of BTC is too high, the market will respond accordingly. [...]

If btc's price is high then everyone has more money to outbid each other so I believe that the transaction fees may also increase (on top of that people tend to make more transactions when the price is high)...

I would also point out that your 1% transaction fee target is very high, even by traditional banking system standards. The cost of sending a wire transfer is at most $15 or $25 (if not waived), but it would be very unusual for someone to send a $2500 wire transfer. It is far more common for someone to send a six-figure wire transfer. It might cost $0.20 to write a check, but it would be very unusual to write a check for $20.

For someone who wants to move funds around the world OUTSIDE the banking system I think 1% is a good price.
20  Bitcoin / Development & Technical Discussion / Re: About block size limit and transactions fees on: August 07, 2021, 05:12:00 AM
--snip--
If the block size limit is lowered, the cost per transaction increases. There is the potential that transaction fees in total will increase more than the block size limit will decrease. So lowering the limit would increase total transaction fee revenue.[...]
In this case the network's hashrate will increase and it will be harder to maintain the attack. If the avg fee goes above 1% then the block size limit will increase in the next epoch.

If there were a situation in which bitcoin must have a dynamic block size limit, it would be superior to have the block size limit based on a sat/vByte basis. If the cost to include 200 bytes in a block becomes too high, the block size limit will increase, and if the cost to include 200 bytes in a block is too low, the maximum block size will decrease.
The problem with this proposal is that we don't know the real value of the fee, if the price of btc is high then the fee will be too expensive, if the price of btc is low then the price per vByte will be too low, we can determine a percentage but we can't determine btc's price.

Haha. I am the stupid one in the forum, I will never have better ideas to force out of my mind. But I believe I’m smart enough to know that everything that we thought are “good ideas”, they are actually not after 10 years of the Core Developers’ research and work on the protocol. If you are a developer, make a BIP, give all the technical details.
Didn't say any of that, I'm just observing that many of those ideas are not being pursued (or maybe it's just the lack of action since 2017). Writing a BIP is something I might consider...
Pages: [1] 2 3 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!