Commit Graph

46 Commits

Author SHA1 Message Date
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
timlucmiptev
e809cb2f3a working decode of bech32 to hex 2021-05-26 18:30:11 -07:00
timlucmiptev
b1c1a631b8 naming 2021-05-26 18:30:11 -07:00
timlucmiptev
ca18222e12 clean up sha256 2021-05-26 18:30:11 -07:00
timlucmiptev
767e64b24a fully working address balance getting 2021-05-26 18:30:11 -07:00
timlucmiptev
290ed873ab address transformations to HTTP 2021-05-26 18:30:11 -07:00
timlucmiptev
87b7b230f6 move Electrum to GET 2021-05-26 18:30:11 -07:00
timlucmiptev
a066d6f337 refactor types into sur; initial types 2021-05-26 18:30:11 -07:00
timlucmiptev
350c004411 bip84 account address getting 2021-05-26 18:30:11 -07:00
timlucmiptev
2199dbb05c notes 2021-05-26 18:30:11 -07:00
timlucmiptev
bd6e1e9634 touchups 2021-05-26 18:30:11 -07:00
timlucmiptev
60b20ed206 works 2021-05-26 18:30:11 -07:00
timlucmiptev
be4dba3281 WIP: encodes but can't decode on the other end 2021-05-26 18:30:11 -07:00
timlucmiptev
01cf606061 rename to btc 2021-05-26 18:30:11 -07:00
timlucmiptev
5b4619c1e8 handle leading/trailing zeros correctly in hash-160 2021-05-26 18:30:11 -07:00
timlucmiptev
ffa34f53a8 to-n-bits works 2021-05-26 18:30:11 -07:00
timlucmiptev
f55908c87e hash 160 2021-05-26 18:30:11 -07:00
timlucmiptev
831422afb4 input verification added 2021-05-26 18:30:11 -07:00
timlucmiptev
30da0bb513 clean up decoder 2021-05-26 18:30:11 -07:00
timlucmiptev
4b381e5a0a polymod works 2021-05-26 18:30:11 -07:00
timlucmiptev
ec6b540483 w btc-node 2021-05-26 18:30:11 -07:00
timlucmiptev
a610064e47 use a standard bip32 2021-05-26 18:30:11 -07:00
timlucmiptev
c28b412ee4 all workiing 2021-05-26 18:30:11 -07:00
timlucmiptev
3b7d3985f2 WIP: key derivation *should* be working for I/IL/IR 2021-05-26 18:30:10 -07:00
timlucmiptev
ded87398de parse xpub to unit 2021-05-26 18:30:10 -07:00
timlucmiptev
ca760c2a61 consolidate into lib 2021-05-26 18:30:10 -07:00
timlucmiptev
ce2ce2f586 working point getting 2021-05-26 18:30:10 -07:00
timlucmiptev
4a14878468 working zpub to bytes 2021-05-26 18:30:10 -07:00