From e2331a15748eb1032b5dbfd68370d80283cb434d Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Mon, 17 Mar 2014 11:28:43 -0400 Subject: [PATCH] Add in-repo BIP70 extension registration page --- bip-0070.mediawiki | 8 ++++---- bip-0070/extensions.mediawiki | 9 +++++++++ bip-0070/paymentrequest.proto | 6 +++--- 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 bip-0070/extensions.mediawiki diff --git a/bip-0070.mediawiki b/bip-0070.mediawiki index 44611188..158c8211 100644 --- a/bip-0070.mediawiki +++ b/bip-0070.mediawiki @@ -252,10 +252,10 @@ message with version=2. Old implementations should let the user know that they need to upgrade their software when they get an up-version PaymentDetails message. -Implementations that need to extend messages in this specification -shall use tags starting at 1000, and shall update the wiki page at -https://en.bitcoin.it/wiki/Payment_Request to avoid conflicts with -other extensions. +Implementations that need to extend messages in this specification shall use +tags starting at 1000, and shall update the +[[bip-0070/extensions.mediawiki|extensions page]] via pull-req to avoid +conflicts with other extensions. ==References== diff --git a/bip-0070/extensions.mediawiki b/bip-0070/extensions.mediawiki new file mode 100644 index 00000000..51400d88 --- /dev/null +++ b/bip-0070/extensions.mediawiki @@ -0,0 +1,9 @@ +==BIP70 Extensions== + +Add your extension below using tags starting at 1000 and submit a pull-req. + +{| +| Field Number || Extension Name || Field Name || Description +|- +| 1000 || [[https://example.com|(unassigned)]] || (unassigned) || (unassigned) +|} diff --git a/bip-0070/paymentrequest.proto b/bip-0070/paymentrequest.proto index f83b110a..6680810e 100644 --- a/bip-0070/paymentrequest.proto +++ b/bip-0070/paymentrequest.proto @@ -1,9 +1,9 @@ // // Simple Bitcoin Payment Protocol messages // -// Use fields 100+ for extensions; -// to avoid conflicts, register extensions via pull-req at: -// https://github.com/bitcoin/bips +// Use fields 1000+ for extensions; +// to avoid conflicts, register extensions via pull-req at +// https://github.com/bitcoin/bips/bip-0070/extensions.mediawiki // package payments;