首页> 外国专利> METHODS AND PROCESSORS FOR PERFORMING RESOURCE DEDUCTION FOR EXECUTION OF SMART CONTRACT

METHODS AND PROCESSORS FOR PERFORMING RESOURCE DEDUCTION FOR EXECUTION OF SMART CONTRACT

机译:执行智能合同执行资源扣除的方法和处理器

摘要

A first logic circuit included in a processor receives a first digital signal, where the first logic circuit includes a special purpose register, a comparator, and an adder, where the special purpose register stores a first resource balance for executing a smart contract, where the first digital signal includes a resource deduction quota corresponding to a code set in the smart contract. The first logic circuit reads the first resource balance from the special purpose register. The first logic circuit compares, using the comparator, the first resource balance with the resource deduction quota. In response to the first resource balance being greater than or equal to the resource deduction quota, the first logic circuit subtracts, using the adder, the resource deduction quota from the first resource balance to obtain a second resource balance. The first logic circuit stores the second resource balance in the special purpose register.
机译:包括在处理器中的第一逻辑电路接收第一数字信号,其中第一逻辑电路包括专用寄存器,比较器和加法器,其中特殊目的寄存器存储用于执行智能合同的第一资源平衡,其中 第一数字信号包括对应于智能合同中的代码的资源推导配额。 第一逻辑电路从专用寄存器读取第一资源余额。 第一个逻辑电路使用比较器进行比较,使用资源推导配额进行第一资源平衡。 响应于第一资源平衡大于或等于资源推导配额,第一逻辑电路使用加法器中减去来自第一资源余额的资源推导配额来获得第二资源平衡。 第一逻辑电路在特殊目的寄存器中存储第二资源平衡。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号