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

Simplify return values of GetCoin/HaveCoin(InCache) #10581

Merged
merged 1 commit into from
Jun 27, 2017

Commits on Jun 26, 2017

  1. Simplify return values of GetCoin/HaveCoin(InCache)

    This removes the possibility for GetCoin/HaveCoin/HaveCoinInCache to return
    true while the respective coin is spent. By doing it across all calls, some
    extra checks can be eliminated.
    
    coins_tests is modified to call HaveCoin sometimes before and sometimes
    after AccessCoin. A further change is needed because the semantics for
    GetCoin slightly changed, causing a pruned entry in the parent cache to not
    be pulled into the child in FetchCoin.
    sipa committed Jun 26, 2017
    Configuration menu
    Copy the full SHA
    21180ff View commit details
    Browse the repository at this point in the history