Skip to content

fix: lookup of nesting addresses#402

Merged
maltemoeser merged 8 commits intocitp:v0.6from
maltemoeser:fix/nesting-index
May 7, 2020
Merged

fix: lookup of nesting addresses#402
maltemoeser merged 8 commits intocitp:v0.6from
maltemoeser:fix/nesting-index

Conversation

@maltemoeser
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator

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

@maltemoeser
Copy link
Copy Markdown
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