Repository navigation
Do Receive checklist - #1
Merged
Merged
Conversation
DanGould
force-pushed
the
receive-checklist
branch
3 times, most recently
from
July 8, 2022 05:59
704929d to
47567c5
Compare
DanGould
force-pushed
the
receive-checklist
branch
4 times, most recently
from
July 14, 2022 15:10
b169d53 to
52fe533
Compare
Change endpoint from str to Url
DanGould
force-pushed
the
receive-checklist
branch
5 times, most recently
from
August 1, 2022 03:34
8bcd838 to
39b275a
Compare
DanGould
force-pushed
the
receive-checklist
branch
2 times, most recently
from
August 12, 2022 11:02
4baadcc to
4544624
Compare
[Content Type Spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type)'s *media/mime type* has to be `"text/plain"`, but a valid content-type could be `text/plain; charset=UTF-8` as in wasabi. Even the bip78 spec says "with text/plain *in* the Content-Type HTTP header"
Check !content_type.starts_with("text/plain")
DanGould
force-pushed
the
receive-checklist
branch
from
October 27, 2022 22:13
4544624 to
35769f1
Compare
DanGould
force-pushed
the
receive-checklist
branch
from
October 27, 2022 22:18
35769f1 to
541501d
Compare
Member
Author
|
This has been given approval in Kixunil#27 (comment), waiting for second pass. Merging here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first patch uses bitflags to modify SuspectProposal instead of UncheckedProposal, since it's in a suspicious state across many checks. Using flags allows those checks to be done in any order, then try to convert it to UnlockedProposal that has been checked. Maybe CheckedProposal is a better name for pre-locked state.
The second patch attemts to return "Well Known Errors" according to the spec. I have a hunch they're in the wrong place in bip78::receiver::error::InternalRequestError
closes Kixunil#26