Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

基于Merkle树交易存在性证明,go代码实现过程中遇到问题 #4363

Open
smartcl opened this issue Apr 11, 2024 · 2 comments
Open

Comments

@smartcl
Copy link

smartcl commented Apr 11, 2024

链版本:2.9.0 未开启国密
问题:文档如图上绿框的都对上了,算hash就对不上下一步
image
image

@smartcl smartcl closed this as completed Apr 11, 2024
@smartcl
Copy link
Author

smartcl commented Apr 11, 2024

区块里第一笔交易有什么特殊的处理方式么,使用相同的逻辑,多笔交易的中间交易是正确的,区块里的第一笔交易计算是错误的

@smartcl smartcl reopened this Apr 11, 2024
@bxq2011hust
Copy link
Member

检查下是不是第一笔交易没有right之类的边界问题导致的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants