CREDITSCOM / node

Credits Node is the main module that provide an opportunity to run a node and participate in CREDITS blockchain network.
https://developers.credits.com/
GNU Affero General Public License v3.0
151 stars 16 forks source link

[BUG][CRITICAL] Non-existent addresses #46

Open PresidentNavalny opened 5 years ago

PresidentNavalny commented 5 years ago

My English is not perfect, so for a better understanding of the problem, after the English description I posted the Russian version of this text because most of the developers are Russian

I decided not to supplement the previous report #45, but to create a new one to highlight the problem. There are many similar methods that allow you to stop the network

To Reproduce Shut down the network again using a similar method that I described here #45. If you try to send a transaction to a nonexistent address, it will fail, the network will reject the transaction, or the wallet will not allow you to send it. but if you create a smart contract that sends the specified transaction addresses and specify a non-existent address, then after we send coins to this smart contract, the network stops. this way is even easier than the one I described here #45, you do not even need to specify in the smart contract many other smart contracts for which many transactions will be sent. it is enough to specify only 1 or several non-existent addresses. in this case, I have specified 27 times the non-existent address "chtozapizdec", although I am sure that it was enough to specify 1 time this address and the effect would be the same. 11 22

снова выключил сеть, с помощью похожего способа, который я описывал здесь #45. Если попытаться отправить транзакцию на несуществующий адрес, то этого сделать не удастся, сеть отклонит такую транзакцию, либо ее не даст отправить кошелек. но если создать смарт контракт, который пересылает указанным адресам транзакции и указать там несуществующий адрес, то, после того как мы отправим на этот смарт контракт монеты, сеть останавливается. этот способ даже легче чем тот который я описывал тут #45, даже не нужно указывать в смарт контракте много других смарт контрактов на которые будет отправлены много транзакций. достаточно указать всего 1 или несколько несуществующих адресов. в данном случае я указал 27 раз несуществующий адрес "chtozapizdec", хотя я уверен, что достаточно было указать 1 раз этот адрес и эффект был бы тот же.