Post
Topic
Board Development & Technical Discussion
Re: FutureBitcoin security projects
by
Satnamakoto
on 26/11/2021, 15:20:15 UTC
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.

Thanks for answering, if the hacker wants to send more than 0.99BTC he would need the master private key regardless of the type of btc address he wants to send, exchanges should only reprogram his code so that the master private key acts when it is necessary, this is not a problem, the idea is to use the master private key to a lesser extent.