shrub/sur/btc-wallet-hook.hoon

13 lines
316 B
Plaintext
Raw Normal View History

2020-11-09 15:29:30 +03:00
/- *btc, bws=btc-wallet-store, bp=btc-provider
2020-10-24 19:13:36 +03:00
|%
2020-11-04 16:55:47 +03:00
:: req-id: hash of [xpub chyg idx]
2020-11-09 16:27:04 +03:00
:: back: lookup table of req-id -> requests from wallet-store
2020-11-04 16:55:47 +03:00
::
2020-11-09 16:27:04 +03:00
+$ back (map req-id:bp request:bws)
2020-11-16 20:06:45 +03:00
+$ btc-state [blockcount=@ud fee=sats t=@da]
2020-10-24 19:13:36 +03:00
+$ action
2020-11-04 16:55:47 +03:00
$% [%set-provider provider=ship]
2020-11-09 18:34:29 +03:00
[%force-retry ~]
2020-10-24 19:13:36 +03:00
==
--