如何检查远程签名器是否按预期工作?
3 个回答
- 投票数
-
- 2019-04-03
我只是喜欢这样做...这是直接签名数据的请求,而不会忘记添加
--dry-run
标志.tezos-client sign bytes 0x03 for <tz alias or tz address>
此处
0x03
只是任何旧的随机数.您可以在此处输入任何十六进制值.如果远程签名者正在工作,您将收到如下消息:Signature: sigPab0p1MdqojAaNTvASSvLo4ULEujfNFurF71EdoruABoPLLwmSxEDJf4NfQx8nJi3ncjfMEJbiWojTDXDUB8wNF5fgFIbA
I just prefer to do this...it's a direct request to sign data without any possibility of forgetting to add the
--dry-run
flag.tezos-client sign bytes 0x03 for <tz alias or tz address>
Here
0x03
is just any old random number. You could put any hex value here. If the remote signer is working you'll get back a message like:Signature: sigPab0p1MdqojAaNTvASSvLo4ULEujfNFurF71EdoruABoPLLwmSxEDJf4NfQx8nJi3ncjfMEJbiWojTDXDUB8wNF5fgFIbA
-
- 2019-02-24
我发现您可以在
--dry-run
语句中使用transfer
选项,以便节点将事务发送到远程签名者进行签名,然后您可以检查远程签名者日志以查看一切是否正常.--dry-run
实际上不会将交易发送到网络.I figured out that you can use the
--dry-run
option in thetransfer
statement so that node will send transaction to remote-signer to sign, and you can check the remote-signer logs to see if everything is working fine or not.--dry-run
will not actually send the transaction to the network.-
请注意,--dry-run(或-D)选项必须出现在命令的末尾.Note that the --dry-run (or -D) options have to appear at the very end of the command.. a bit unusual.
- 2
- 2019-02-24
- nurikabe
-
-
这对于监视非常有用,但是我不想等待我的烘焙或认可操作来知道我的设置是否正常工作,如果我的设置不起作用,那么我会错过我的烘焙/认可.我想知道我的烘烤/背书操作之前.That is good for monitoring but i don't want to wait for my baking or endorsement operation to know if my setup is working or not, and then miss my baking/endorsement if the setup was not working. I want to know before my baking/endorsement operation.
- 1
- 2019-02-25
- Sachin Tomar
-
这不会以任何方式回答问题.OP询问如何测试"签名者"是否有效,而该软件不会这样做.This does not answer the question in any way. OP asked how to test that `signer` is working and this software will not do so.
- 2
- 2019-02-25
- utdrmac
-
不是直接否,而是间接♂️只是想提供帮助.但似乎--dry-run是一种不错的方法Not directly no, but indirectly ♂️ Just trying to help. But seems like the --dry-run is a decent approach
- 1
- 2019-02-25
- asbjornenge
-
我怎么知道启动的远程签名套接字正在正常运行,并且在没有实际发送传输事务的情况下接受来自我的baker服务器的签名请求.
现在,我只是将
.00005
从<key1>
转移到<key2>
,只是为了测试远程签名者设置正常.还有其他需要签名但不需要转移tz的交易吗?