Issue with partial signature entries

Dev Random committed 2018-03-31 11:50:06 -07:00
1 parent fbadd5957b
commit d9cc3f6ced
1 file changed
+5 -1
+5 -1
@@ -1 +1,5 @@
Comments for the Partially Signed Transaction Format # Comments for the Partially Signed Transaction Format
* Partial signature entries use the map key `{0x02}|{public key}`. However, a single public key may be involved in signing multiple inputs, and the signature will differ in each one. Since the map keys are to be unique, this is a problem. I suggest the following map key instead: `{0x02}|{input index}|{pubkey index}`
* 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.