From a6e4333e53344f439e8a5db47badd8a8c0600384 Mon Sep 17 00:00:00 2001 From: timlucmiptev Date: Mon, 30 Nov 2020 10:27:49 +0200 Subject: [PATCH] WIP: refactor dataflow and types --- install-zuse.sh | 3 +++ sur/btc-provider.hoon | 2 +- sur/btc-wallet-hook.hoon | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/install-zuse.sh b/install-zuse.sh index b2964f430..e708f07a3 100755 --- a/install-zuse.sh +++ b/install-zuse.sh @@ -9,3 +9,6 @@ PIER=$1 cp sys/zuse.hoon $PIER/ echo "zuse copied" + +cp lib/bip32.hoon $PIER/ +echo "lib/bip32/hoon copied" diff --git a/sur/btc-provider.hoon b/sur/btc-provider.hoon index de391c11c..23ac8fa22 100644 --- a/sur/btc-provider.hoon +++ b/sur/btc-provider.hoon @@ -38,7 +38,7 @@ [%get-block-count ~] [%get-block-and-fee ~] == - :: + :: +$ response $% [%get-address-info utxos=(set utxo) used=? blockcount=@ud] [%get-raw-tx =txid =rawtx] diff --git a/sur/btc-wallet-hook.hoon b/sur/btc-wallet-hook.hoon index f749a58ea..7f78744e8 100644 --- a/sur/btc-wallet-hook.hoon +++ b/sur/btc-wallet-hook.hoon @@ -6,7 +6,7 @@ :: blockcount included so that we only request address info when :: there's a newer block, in the case of addresses we are cooking :: -:: payment: a payment expected from another ship +:: payment: a payment expected from another ship :: - address: address generated for this payment :: piym: incoming payments. Stores all ship moons under their planet. :: piym-watch/poym-watch: