From 81c20a635e0af6a56977e73ce94fd56b634cab74 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 22 Jun 2018 12:07:11 -0700 Subject: [PATCH] Add sections for encoding, file extension, and mime-type --- bip-0174.mediawiki | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bip-0174.mediawiki b/bip-0174.mediawiki index a580bd59..1a620174 100644 --- a/bip-0174.mediawiki +++ b/bip-0174.mediawiki @@ -329,6 +329,13 @@ The Transaction Extractor does not need to know how to interpret scripts in orde A single entity is likely to be both a Transaction Extractor and an Input Finalizer. +==Encoding== + +A PSBT can be represented in two ways: in binary (as a file) or as a Base64 string using the encoding described in [https://tools.ietf.org/html/rfc4648#section-4 RFC4648]. + +Binary PSBT files should use the .psbt file extension. +A MIME type name will be added to this document once one has been registered. + ==Extensibility== The Partially Signed Transaction format can be extended in the future by adding