目录
Liran Funaro

[bob] Reduce initial context from 25K to 19K (#614)

Type of change

  • Improvement (improvement to code, performance, etc)

Description

This commit reduces Bob’s initial context from 25K tokens to 19K.

  • Moving the testing rules to a skill
  • Removing some repeating lines

Signed-off-by: Liran Funaro liran.funaro@gmail.com

7天前1028次提交

Fabric-X Committer

Coverage Status

Setup and Testing

See setup for details on prerequisites and quick start guide.

Background

The lifecycle of a transaction consists of 3 main stages:

  • Execution: First the transaction is sent to an endorser that will execute the transaction based on its current view of the ledger (this view may be stale). Then the endorser signs the transaction and forwards it to the next stage.
  • Ordering: The orderer will receive in parallel the signed transactions from the endorsers and will send them in a specific order to the next stage.
  • Validation: It takes place at the committer and it checks whether:
    • the signature is valid (not corrupt and it belongs to the endorsers)
    • the tokens (inputs or Serial Numbers/SN) have not already spent in a previous transaction (using the order as defined by the orderer)
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号