简体   繁体   English

在Ride4dApps中,充提dApp(Waves IDE中的例子)是如何处理延迟问题的?

[英]In Ride4dApps, how does the deposit and withdraw dApp(the example in Waves IDE) handle the delay issue?

Their seems to be a delay write key and transferring asset which means the deposit function could be manipulated what if someone deposits then immediately withdraws the money from the invoke account the dApp will still write a record with the amount specified?他们似乎是延迟写入密钥和转移资产,这意味着可以操纵存款功能,如果有人存款然后立即从调用帐户中提取资金,dApp 仍将写入指定金额的记录?

在此处输入图片说明

ScriptResult(WriteSet(), TransferSet()) is a total inseparable result of transaction. ScriptResult(WriteSet(), TransferSet())是一个完全不可分割的交易结果。 All transactions are processed strictly one after another.所有交易都经过严格的处理。 So such problem will never happen.所以这样的问题永远不会发生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM