This commit is contained in:
timlucmiptev 2020-12-10 11:14:03 +02:00 committed by ixv
parent 5c9fc540e7
commit 42fc1ec631

View File

@ -73,7 +73,7 @@
*map:psbt *map:psbt
-- --
++ hdkey ++ hdkey
|= [pubkey=bytc =target:psbt =^hdkey] |= [pubkey=bytc =target:psbt h=^hdkey]
^- keyval:psbt ^- keyval:psbt
=/ typ=@ux =/ typ=@ux
?- target ?- target
@ -82,14 +82,14 @@
== ==
:- (cat:byt ~[1^typ pubkey]) :- (cat:byt ~[1^typ pubkey])
%- cat:byt %- cat:byt
:~ fprint.hdkey :~ fprint.h
%- to-byts:buf %- to-byts:buf
:~ `@ux`bipt.hdkey 0x0 0x0 0x80 :~ `@ux`bipt.h 0x0 0x0 0x80
0x0 0x0 0x0 0x80 0x0 0x0 0x0 0x80
0x0 0x0 0x0 0x80 0x0 0x0 0x0 0x80
`@ux`chyg.hdkey 0x0 0x0 0x0 `@ux`chyg.h 0x0 0x0 0x0
== ==
(flip:byt [(met 3 idx.hdkey) idx.hdkey]) (flip:byt [(met 3 idx.h) idx.h])
== ==
:: +encode: make base64 cord of PSBT :: +encode: make base64 cord of PSBT
:: ::