Post
Topic
Board Development & Technical Discussion
Merits 5 from 2 users
Re: FutureBitcoin security projects
by
pooya87
on 26/11/2021, 04:04:12 UTC
⭐ Merited by ETFbitcoin (4) ,Pmalek (1)
You would also need new OP codes and changes to bitcoin scripts so that they can fetch and verify output amounts and their total.
The idea also won't work because the attacker can simply send multiple 0.99999999BTC transactions out of that address even if you limit each transaction's total output value to 1BTC. Keep in mind that bitcoin blockchain is a not balance based database, it is an output based one.
The change can also be sent to a different address (eg. P2WPKH) then spent all at once.
You can't create any kind of limitation based on sum of multiple transactions because that would prevent regular use where user may need to make multiple payments themselves like the exchange's hot wallet handling thousands of 0.1BTC withdrawals.