Skip to content

[👣 TRACKING] Specify OHTTP relay <-> directory opt-in mechanism #472

@nothingmuch

Description

@nothingmuch

Instead of having relays maintain a list of directories they are authorized to relay for, directories could opt in via a TXT record or a .well-known/ URI.

This relaxes the anti-DoS semantics of OHTTP (where the concern is a malicious client getting a relay to DoS random servers on the open internet) from per-endpoint opt-in to per-protocol opt-in, which seems appropriate in this context.

Upon receiving an OHTTP request, a payjoin specific OHTTP relay would first check that the host is opting in to receiving OHTTP requests from such relays for the purpose of facilitating payjoin transactions.

Tracking Sequence

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions