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

Dual consumption BUG #60

Open
yiuked opened this issue Sep 11, 2019 · 2 comments
Open

Dual consumption BUG #60

yiuked opened this issue Sep 11, 2019 · 2 comments

Comments

@yiuked
Copy link

yiuked commented Sep 11, 2019

If a user has a balance of 2, and now he initiates a transaction with a payment of 2, and then a transaction with a payment of 2 when no block is generated, is there a dual consumption problem?

@First-wang
Copy link

If a user has a balance of 2, and now he initiates a transaction with a payment of 2, and then a transaction with a payment of 2 when no block is generated, is there a dual consumption problem?

确实,part4中在寻找未花费输出的时候,直接从未花费交易里找,但该交易里有些输出可能已被花费了。。

@TXZdream
Copy link

If a user has a balance of 2, and now he initiates a transaction with a payment of 2, and then a transaction with a payment of 2 when no block is generated, is there a dual consumption problem?

确实,part4中在寻找未花费输出的时候,直接从未花费交易里找,但该交易里有些输出可能已被花费了。。

我在看博客时候看到了这个问题,所以来这里找答案,所以那里应该是寻找未花费vout而不是未花费交易吧

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

3 participants