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

Verify Tx with Ancestry - replaces SPV Envelope #37

Merged
merged 14 commits into from Dec 15, 2021

Conversation

sirdeggen
Copy link
Contributor

@sirdeggen sirdeggen commented Dec 10, 2021

Actually using the functions for verification created in a previous PR.

spv/ancestors_json.go Outdated Show resolved Hide resolved
spv/envelope.go Outdated Show resolved Hide resolved
spv/verifier.go Outdated Show resolved Hide resolved
Darren Kellenschwiler added 10 commits December 14, 2021 08:19
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
requires corresponding change removing VarInt length prefix in Byte() function

Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
…nt from interface

Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
@sirdeggen sirdeggen force-pushed the feat/implement-ancestor-verification-remove-varint branch from f4b6a37 to 6649159 Compare December 14, 2021 14:23
Darren Kellenschwiler added 2 commits December 14, 2021 08:26
This reverts commit 2242b1f.

We are reverting to using VarInts in front of flagTx types now too.

Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Copy link
Contributor

@tigh-latte tigh-latte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few qqs, looking good

spv/verifier.go Outdated Show resolved Hide resolved
spv/verifypayment.go Show resolved Hide resolved
spv/verifypayment.go Outdated Show resolved Hide resolved
Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
Copy link
Contributor

@tigh-latte tigh-latte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice work again

Signed-off-by: Darren Kellenschwiler <d.kellenschwiler@nchain.com>
@mergify mergify bot merged commit b482a46 into master Dec 15, 2021
@mergify mergify bot deleted the feat/implement-ancestor-verification-remove-varint branch December 15, 2021 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants