From 9caa27ccd444b7259289adf2a1cce059e5d932aa Mon Sep 17 00:00:00 2001 From: Clark Moody Date: Fri, 29 Jul 2022 12:10:58 -0500 Subject: [PATCH] Two potential third-party services --- bip-alfredhodler-privatepayments.mediawiki | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bip-alfredhodler-privatepayments.mediawiki b/bip-alfredhodler-privatepayments.mediawiki index 96738251..bb411d23 100644 --- a/bip-alfredhodler-privatepayments.mediawiki +++ b/bip-alfredhodler-privatepayments.mediawiki @@ -157,7 +157,7 @@ When Bob wants to spend from such addresses, he calculates his private keys in t ''pc = p + s'' -==Test Vectors== +==Appendix A: Test Vectors== ===Alice's Wallet=== @@ -217,6 +217,16 @@ When Bob wants to spend from such addresses, he calculates his private keys in t '''pc:''' 0xf2f9c44c15a0b9f3590ab36e6324ab781b12e3f40abc745611d06a46894aab88 +==Appendix B: Potential OP_RUTURN Services== + +Compact Block Filters, as formulated in BIP-0158, do not cover OP_RETURN data payloads. In support of light wallets, an external service could publish transaction proofs for all transactions that include the tagged notification payload. Light wallets would download all such transactions, filter for matches against their payment code, then verify the transaction proofs against the block headers obtained over the P2P network. + +==Appendix C: Potential Notification Transaction Services== + +No specific instruction is given as to the details of the notification transaction beyond simply including the single OP_RETURN payload. Since no restriction exists for other inputs or outputs of this transaction, there is an opportunity for an external service to include this payload in a transaction completely unrelated to Alice's wallet. Such a service could charge a fee out-of-band to help cover fees. + +Another opportunity exists for an existing business to attach notification payloads to transactions sent during the normal course of operations. Large withdrawal transactions from mining pools or exchanges could include a marginal notification payload without affecting overall fees. + ==Reference== * [[bip-0032.mediawiki|BIP32 - Hierarchical Deterministic Wallets]] * [[bip-0043.mediawiki|BIP43 - Purpose Field for Deterministic Wallets]]