7

线上签名线上转账的重复操作问题

 3 years ago
source link: https://learnblockchain.cn/question/1745
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
线上签名线上转账的重复操作问题 | 登链社区 | 技术问答

线上签名线上转账的重复操作问题

由于计算逻辑比较复杂,打算在线下计算好结果之后,管理员签名,用户在线上转账,但是怎么保证用户不会重复领取呢,
如果用户提交后,还没打包,又提交一笔,由于上一笔未上交,所以当时是查不到已成功的订阅消息的,这就会导致成功多笔,怎么避免呢?

Tiny熊 - 布道者 1天前

  擅长:智能合约,以太坊

用户领取后,在链上记录一下。领取前检查下记录就可以。

您需要登录后才可以回答问题,登录 或者 注册

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK