Commit Graph

177 Commits

Author SHA1 Message Date
timlucmiptev
17ea091741 fix txinfo return 2021-05-26 18:30:15 -07:00
timlucmiptev
83e8e02e6c WIP: pioym-to-history 2021-05-26 18:30:15 -07:00
timlucmiptev
98443d7027 remove %create-raw-tx 2021-05-26 18:30:15 -07:00
timlucmiptev
6a4ebcf239 support for only doing witness part 2021-05-26 18:30:15 -07:00
timlucmiptev
dd59a81adf WIP: new, cleaner TXBU compiles 2021-05-26 18:30:15 -07:00
timlucmiptev
2c8053f278 working decode 2021-05-26 18:30:15 -07:00
timlucmiptev
ddf09695f4 types update 2021-05-26 18:30:15 -07:00
timlucmiptev
31d4e08224 outputs/inputs parsing 2021-05-26 18:30:15 -07:00
timlucmiptev
79fa5743aa creates tx properly from inputs/outputs 2021-05-26 18:30:15 -07:00
timlucmiptev
8fa6fdb545 %broadcast-tx types work 2021-05-26 18:30:15 -07:00
timlucmiptev
9eeaa31f4f refactored RPC parsing 2021-05-26 18:30:15 -07:00
timlucmiptev
676e70a260 initial bad-tx error handling 2021-05-26 18:30:15 -07:00
timlucmiptev
4b2920a1fb fix a serious change address bug w nixt 2021-05-26 18:30:15 -07:00
timlucmiptev
01cb50c73b PSBT is in correct format 2021-05-26 18:30:15 -07:00
timlucmiptev
1bf0add6ce PSBT is correct and parseable 2021-05-26 18:30:15 -07:00
timlucmiptev
d62dfcd34f psbt almost there 2021-05-26 18:30:14 -07:00
timlucmiptev
83167a93d1 fix CRITICAL bug with rawtx byt length 2021-05-26 18:30:14 -07:00
timlucmiptev
55a9728c80 hdkey includes pubkey 2021-05-26 18:30:14 -07:00
timlucmiptev
16d97f4084 use rev for flip 2021-05-26 18:30:14 -07:00
timlucmiptev
42fc1ec631 rename 2021-05-26 18:30:14 -07:00
timlucmiptev
5c9fc540e7 cleaned up byt gates; start encoding gates for PSBT 2021-05-26 18:30:14 -07:00
timlucmiptev
5251e02d63 byt concact 2021-05-26 18:30:14 -07:00
timlucmiptev
f8eaa347c5 psbt skeleton 2021-05-26 18:30:14 -07:00
timlucmiptev
b4cd9c6d0e change address doesn't keep generating gaps 2021-05-26 18:30:14 -07:00
timlucmiptev
1f229801c9 refactor bump-nixt 2021-05-26 18:30:14 -07:00
timlucmiptev
727e6b97b6 ported 2021-05-26 18:30:14 -07:00
timlucmiptev
8df6ac81f2 btc fixes 2021-05-26 18:30:14 -07:00
timlucmiptev
30b185a59f minor changes 2021-05-26 18:30:14 -07:00
timlucmiptev
d8bd3871b8 integrated fingerprint 2021-05-26 18:30:14 -07:00
timlucmiptev
0774ef65dc refactor wallet-store types into btc 2021-05-26 18:30:14 -07:00
timlucmiptev
98fa36ffd6 working HD path for PSBT 2021-05-26 18:30:14 -07:00
timlucmiptev
1497b4127c PSBT docs; parse PSBTs 2021-05-26 18:30:14 -07:00
timlucmiptev
ecb40418e6 type framework for parse 2021-05-26 18:30:14 -07:00
timlucmiptev
16a6ab9091 keyval type for PSBT 2021-05-26 18:30:14 -07:00
timlucmiptev
3063697a3b generalized buffer for PSBT 2021-05-26 18:30:14 -07:00
timlucmiptev
33cb694b8c sensible naming 2021-05-26 18:30:14 -07:00
timlucmiptev
37e143048b update poym with tx info 2021-05-26 18:30:14 -07:00
timlucmiptev
8c13a23b5f working %create-raw-tx 2021-05-26 18:30:14 -07:00
timlucmiptev
a8cd63265d refactor UTXO selection 2021-05-26 18:30:14 -07:00
timlucmiptev
63dd964a1b everything compiles 2021-05-26 18:30:14 -07:00
timlucmiptev
f806f5f23a spendable updates for selecting utxos 2021-05-26 18:30:14 -07:00
timlucmiptev
bcb273f614 extracts PSBT txids 2021-05-26 18:30:14 -07:00
timlucmiptev
29f1357a4c working tx vals fetching 2021-05-26 18:30:14 -07:00
timlucmiptev
893521176b WIP: piym and history handling 2021-05-26 18:30:14 -07:00
timlucmiptev
b9f63c20ef add used field to addi 2021-05-26 18:30:14 -07:00
timlucmiptev
aeb954848e watch logic; ARCH update 2021-05-26 18:30:14 -07:00
timlucmiptev
10f060e368 all compiling 2021-05-26 18:30:14 -07:00
timlucmiptev
109d0a38fa get recvd time for each utxo 2021-05-26 18:30:14 -07:00
timlucmiptev
b4214870db provider time conversion 2021-05-26 18:30:14 -07:00
timlucmiptev
d4b25cc5f3 BTC signing removed; type changes 2021-05-26 18:30:14 -07:00
timlucmiptev
3a98672127 zuse installer 2021-05-26 18:30:13 -07:00
timlucmiptev
f5960c656c add marks 2021-05-26 18:30:13 -07:00
timlucmiptev
8d90e96251 skeleton view 2021-05-26 18:30:13 -07:00
timlucmiptev
17a5ef4566 poym works 2021-05-26 18:30:13 -07:00
timlucmiptev
1a972b1a97 WIP: return txid in %raw-tx 2021-05-26 18:30:13 -07:00
timlucmiptev
484e4cc1f8 working raw-tx fetch 2021-05-26 18:30:13 -07:00
timlucmiptev
36dcca24a7 WIP: handle %generate-txbu 2021-05-26 18:30:13 -07:00
timlucmiptev
57968162ec return txbu from sut 2021-05-26 18:30:13 -07:00
timlucmiptev
663aacbc23 syntax cleanup 2021-05-26 18:30:13 -07:00
timlucmiptev
83cf3a4b45 syntax on (list input) cast 2021-05-26 18:30:13 -07:00
timlucmiptev
055906378a refactor select-utxos 2021-05-26 18:30:13 -07:00
timlucmiptev
77f15b16b2 utxo selection 2021-05-26 18:30:13 -07:00
timlucmiptev
3eff79d695 get-block-and-fee 2021-05-26 18:30:13 -07:00
timlucmiptev
f6afc46bd5 last-block, update/watch rolled into address-info 2021-05-26 18:30:13 -07:00
timlucmiptev
ada891684e wallet store stores last-block 2021-05-26 18:30:13 -07:00
timlucmiptev
eae1fb3a44 factored out HTTP/RPC processing to lib 2021-05-26 18:30:13 -07:00
timlucmiptev
f20a2bbc12 docs, btc-provider refactored 2021-05-26 18:30:13 -07:00
timlucmiptev
9bb35bdc3b WIP: rip out btc-rpc work 2021-05-26 18:30:13 -07:00
timlucmiptev
d9e2aa98fc sysfiles 2021-05-26 18:30:13 -07:00
timlucmiptev
001f42c949 WIP: lib/btc-wallet-store refactored 2021-05-26 18:30:13 -07:00
timlucmiptev
7c79c7c5da working %address-info 2021-05-26 18:30:12 -07:00
timlucmiptev
d3897ec13a refactor xpub hashing 2021-05-26 18:30:12 -07:00
timlucmiptev
d4725c7280 working scanning 2021-05-26 18:30:12 -07:00
timlucmiptev
926c508961 change provider types; refactor gen-adress 2021-05-26 18:30:12 -07:00
timlucmiptev
ca310028f5 notes and scan-done 2021-05-26 18:30:12 -07:00
timlucmiptev
0b3620e9e1 refactor walt door to one param 2021-05-26 18:30:12 -07:00
timlucmiptev
033065b6c4 gen-address 2021-05-26 18:30:12 -07:00
timlucmiptev
f3ae3be90e get types straight for next index 2021-05-26 18:30:12 -07:00
timlucmiptev
4e8f0feda7 xpub to cord 2021-05-26 18:30:12 -07:00
timlucmiptev
84cca6d26f address derivation for BIP84 works 2021-05-26 18:30:12 -07:00
timlucmiptev
e03d084fb0 skeleton for btc-wallet-store 2021-05-26 18:30:12 -07:00
timlucmiptev
146d2f963e rpc error-handling skeleton 2021-05-26 18:30:12 -07:00
timlucmiptev
827be962c4 mark outgoing RPC wire better 2021-05-26 18:30:12 -07:00
timlucmiptev
2fed91e172 RPC refactor 2021-05-26 18:30:12 -07:00
timlucmiptev
c962435265 working lib skeleton; action restriction 2021-05-26 18:30:12 -07:00
timlucmiptev
dc09351e0e btc-provider lib 2021-05-26 18:30:12 -07:00
timlucmiptev
9dfe6210d2 making rpc calls for listunspents 2021-05-26 18:30:12 -07:00
timlucmiptev
91dfde532c upgrade to hash160/256 2021-05-26 18:30:12 -07:00
timlucmiptev
4c385796c8 re-worked as provider; parse out ElectRS response 2021-05-26 18:30:12 -07:00
timlucmiptev
39605a1087 WIP: can partially sign txs 2021-05-26 18:30:12 -07:00
timlucmiptev
a8527625b3 WIP: wrote down starting point for hash-legacy 2021-05-26 18:30:12 -07:00
timlucmiptev
efdcdf0fdc sighash-witness works 2021-05-26 18:30:11 -07:00
timlucmiptev
a4901b7efa bech32 uses real address type checks 2021-05-26 18:30:11 -07:00
timlucmiptev
5280f8f43e script-pubkey using buffer 2021-05-26 18:30:11 -07:00
timlucmiptev
435ef838ce generalize to-script-pubkey 2021-05-26 18:30:11 -07:00
timlucmiptev
e2bd7bc006 hashing prevouts/sequences/outputs successfully 2021-05-26 18:30:11 -07:00
timlucmiptev
9332a749d8 working prevouts hash 2021-05-26 18:30:11 -07:00
timlucmiptev
2ed13a1bde zeros-brip improvements and hash-160 handles 0s 2021-05-26 18:30:11 -07:00
timlucmiptev
a7415aba4a buffer implementation 2021-05-26 18:30:11 -07:00
timlucmiptev
33e2655fd6 to-hex as byts 2021-05-26 18:30:11 -07:00