From 685dfb6a803d811dcf6cd0189242a0a0eb04664f Mon Sep 17 00:00:00 2001 From: Dev Random Date: Mon, 2 Apr 2018 16:37:47 -0700 Subject: [PATCH] Updated Comments:BIP 0174 (markdown) --- Comments:BIP-0174.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Comments:BIP-0174.md b/Comments:BIP-0174.md index e70613b..d308746 100644 --- a/Comments:BIP-0174.md +++ b/Comments:BIP-0174.md @@ -13,3 +13,9 @@ Each input has its own partial signatures map; it isn't global. > HD derivation entries waste space by repeating the public key. I recommend using the following map key instead: `{0x03}|{input index}|{pubkey index}`, which also matches previous point. The hd keypaths (unlike the partial signatures map) is global. Public keys are not duplicated in the map. + +## Further response from devrandom + +I understand the response to the first question. + +As to the second question - the public key is already present in the redeem script, so it does not seem necessary to duplicate it in the map key. Instead, could refer to the public key index within the redeem script.