mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
set state to disconnected on some errors
This commit is contained in:
parent
65379105d0
commit
b8c25c82e4
@ -5,6 +5,7 @@ The below requires norsyr's fix to `decompress-point` in order to work.
|
|||||||
(don't need password if all run on localhost)
|
(don't need password if all run on localhost)
|
||||||
```
|
```
|
||||||
=rpc-pass '57a6662a8ddb792a557e9fe6d1a731f954db6c35e75a91e823ab20ea7a33585b'
|
=rpc-pass '57a6662a8ddb792a557e9fe6d1a731f954db6c35e75a91e823ab20ea7a33585b'
|
||||||
|
:btc-provider|command [%set-credentials [rpc-url='http://localhost:8332' rpc-user='__cookie__' rpc-pass] [rpc-url='http://localhost:50002']]=rpc-pass '57a6662a8ddb792a557e9fe6d1a731f954db6c35e75a91e823ab20ea7a33585b'
|
||||||
:btc-provider|command [%set-credentials [rpc-url='http://localhost:8332' rpc-user='__cookie__' rpc-pass] [rpc-url='http://localhost:50002']]
|
:btc-provider|command [%set-credentials [rpc-url='http://localhost:8332' rpc-user='__cookie__' rpc-pass] [rpc-url='http://localhost:50002']]
|
||||||
|
|
||||||
:btc-provider|action [%watch-address [%bech32 'bc1q59u5epktervh6fxqay2dlph0wxu9hjnx6v8n66'']]
|
:btc-provider|action [%watch-address [%bech32 'bc1q59u5epktervh6fxqay2dlph0wxu9hjnx6v8n66'']]
|
||||||
|
@ -174,9 +174,9 @@
|
|||||||
%400
|
%400
|
||||||
[`[%bad-request status] state]
|
[`[%bad-request status] state]
|
||||||
%401
|
%401
|
||||||
[`[%no-auth status] state]
|
[`[%no-auth status] state(connected.host-info %.n)]
|
||||||
%502
|
%502
|
||||||
[`[%not-connected status] state(connected.host-info %.y)]
|
[`[%not-connected status] state(connected.host-info %.n)]
|
||||||
%504
|
%504
|
||||||
[`[%not-connected status] state(connected.host-info %.n)]
|
[`[%not-connected status] state(connected.host-info %.n)]
|
||||||
==
|
==
|
||||||
|
Loading…
Reference in New Issue
Block a user