每次交易都处于待处理状态

时间:2018-11-28 10:05:56

标签: hyperledger hyperledger-sawtooth

我正在尝试执行一项操作,但未得到执行

intkey set MyKey 99

执行此操作后的响应

{
"link": "http://127.0.0.1:8008/batch_statuses?id=59ce07c44962ed9ff56103909ab6f050bb8f4886651e5d3840a211b7604e215251448743d69362b6ee3479563d3f0967a76d5b7c63356b9e5206a0046913c341"
}

完整回复

{
"data": [
{
"id": "63c93b07c96199f13e493a7bd3b5fc38c281b2156868cf09b9f8165ed81704ae54dbcf5e9b42ca14a2bbf999cd3425824f9323208a18688fb0af05b9b2ec8f58",
"invalid_transactions": [],
"status": "PENDING"
}
],
"link": "http://127.0.0.1:8008/batch_statuses?id=63c93b07c96199f13e493a7bd3b5fc38c281b2156868cf09b9f8165ed81704ae54dbcf5e9b42ca14a2bbf999cd3425824f9323208a18688fb0af05b9b2ec8f58"
}

Rest API表示

[2018-11-29 15:27:49.470 INFO helpers] POST /batches HTTP/1.1: 202 status, 348 size, in 0.004132 s

设置TP

2018-11-29 15:27:08.987 INFO core] register attempt: OK
[2018-11-29 15:27:08.997 INFO handler] Setting setting 

sawtooth.settings.vote.authorized_keys changed from None to 03a42a2930130b5aea1c6e753bac90467d1e4c5a774fd4713ca80ef0fabac8a8f6

我得到的不是200,而是等待了很长时间才能执行,但是它仍处于待处理状态

0 个答案:

没有答案