This repository was archived by the owner on Nov 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Features/update for tsc spec compliance #57
Open
AustEcon
wants to merge
15
commits into
master
Choose a base branch
from
features/update-for-tsc-spec-compliance
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
3 tasks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats, you just opened your first pull request on libsv/go-payment_protocol! Thank you for contributing!
8eeaa02 to
a3461a8
Compare
AustEcon
added a commit
to electrumsv/electrumsv-dpp-proxy
that referenced
this pull request
Jul 28, 2022
jadwahab
reviewed
Jul 28, 2022
bb57364 to
8e9ef95
Compare
3bbe7ef to
472efa9
Compare
ea4c5a3 to
09dc8a0
Compare
cac0db3 to
09dc8a0
Compare
…: `features/updates-for-tsc-spec-compliance` - This in turn results in updates of the other vendored dependencies
…ent` and `PaymentACK`
… to the latest version of `go-dpp` feature branch commit
…-tsc-spec-compliance`
…the `JSONEnvelope` based signed model. This also removes `payd` as a dependency, although there are remnants of configuration variables.
… runtime error: invalid memory address or nil pointer dereference'. Generate the swagger update.
- This includes relayed `payment.error` messages over the websocket from the payee (for example: `bad-txns-premature-spend-of-coinbase`)
… fields of the dpp.PaymentACK struct (as this is not a part of the TSC specification) - The payee wallet returns a `server.ClientError` in the body of the `payment.error` websocket message (this has not changed) and this is parsed and translated into the appropriate http error response. The `PaymentACK` was being inappropriately used in some cases as a way to pass around error details. This is no longer the case. - A `PaymentACK` object is only returned in the cased of successful payment.
41625d4 to
890a9e0
Compare
3 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
As discussed with @jadwahab and @sirdeggen here is the PR for updating to the TSC spec: https://tsc.bitcoinassociation.net/standards/direct_payment_protocol/
Corresponding dual PR here: libsv/go-dpp#69
So far this only updates the
PaymentRequeststructure which is enough for now to get ElectrumSV through the first part of the data flow for development...Still to do:
PaymentPaymentACKUntil the
dpp-proxyis updated to the TSC spec, ElectrumSV will be building against this feature branch to avoid technical debt of the old message structures.