hacky version to have generator work

This commit is contained in:
timlucmiptev 2020-10-05 15:39:02 +03:00 committed by ixv
parent 449b760e4f
commit c4acde4431
2 changed files with 7 additions and 9 deletions

View File

@ -11,9 +11,9 @@
[[comm=command ~] ~]
==
:- %btc-bridge-command
?+ -.comm ~| [%unsupported-command -.comm] !!
%connect-as-host comm
%connect-as-client comm
%add-clients comm
%broadcast-tx comm
==
comm
::?+ -.comm ~|([%unsupported-command -.comm] !!)
:: %connect-as-host comm
:: %connect-as-client comm
:: %allow-clients comm
::==

View File

@ -1,6 +1,5 @@
/- *btc
|%
+$ tx @
+$ credentials [rpc-url=@t rpc-user=@t rpc-password=@t]
+$ status
$: [%host connected=? clients=(set ship)]
@ -15,7 +14,6 @@
+$ command
$% [%connect-as-host =credentials]
[%connect-as-client host=ship]
[%add-clients clients=(set ship)]
[%broadcast-tx =tx]
[%allow-clients clients=(set ship)]
==
--