TODO notes

This commit is contained in:
timlucmiptev 2020-12-11 18:07:42 +02:00 committed by ixv
parent 4b2920a1fb
commit 31ae53fa77
2 changed files with 9 additions and 3 deletions

View File

@ -66,3 +66,8 @@ Maps:
- Change output Wallet derivation path
* Key: {0x2}|{33byte pubkey}
* Val: {4byte master xpub fingerprint}|{17byte HD path}
### Signed
Input: keeps above keyvals, and adds one more for the partial signature:
* (key type {0x2}|{publicKey})
* val: 71 byte signature

View File

@ -192,14 +192,15 @@
%broadcast-tx
:: TODO:
:: calc txid from poym's txbu
:: calc txid
:: make sure both are the same
:: calc txid from TX, or send it back to me
:: make sure both are the same; USE RETURN VALUE FROM RPC (sendrawtransaction)
:: remove from poym
:: broadcast to provider
:: add to wallet-store history
:: send message to peer
:: poke to peer
`state
::
:: %expect-payment
:: - check that src.bowl isn't past piym-limit in pend-piym
:: - check that payment is in piym
:: - add payment to pend-piym