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

fix: lookup of nesting addresses #402

Merged
merged 8 commits into from
May 7, 2020

Conversation

maltemoeser
Copy link
Member

@maltemoeser maltemoeser commented Apr 23, 2020

The index to look up which addresses wrap another address was never correctly created (it used txFirstSeen instead of txFirstSpent). In addition, multisig addresses can be wrapped by multiple (different) scripthash addresses (due to the order in which keys appear in the script).

Requires a reparse to correctly build the index.

Required checks:

@maltemoeser maltemoeser added the parser Issue related to the parser label Apr 23, 2020
@maltemoeser maltemoeser requested a review from mplattner April 23, 2020 21:00
@maltemoeser maltemoeser added this to the v0.6 milestone May 6, 2020
@maltemoeser maltemoeser force-pushed the fix/nesting-index branch from 0e1f85e to 6e9423f Compare May 7, 2020 15:23
@maltemoeser
Copy link
Member Author

Not sure why Travis is failing, seems to build fine locally and on CircleCI.

@maltemoeser maltemoeser merged commit d26b2af into citp:v0.6 May 7, 2020
@maltemoeser maltemoeser deleted the fix/nesting-index branch May 7, 2020 21:22
@mplattner
Copy link
Collaborator

Merged already, but still: had a closer look today. Looks good to me. 👍

@maltemoeser
Copy link
Member Author

@mplattner thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Issue related to the parser ready-for-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants