Я пытаюсь изучить Steem Blockchain. Я пытаюсь настроить частную тестовую сеть. У меня есть аккаунт initminer. Тем не менее, когда я пытаюсь отправить новое сообщение, я получаю недостающее разрешение на перенос.
Запрос на размещение блогов:
локальный: 4000 / API / v1 / пользователь / postBlog
Body
{
"postTitle":"myFirstBlog",
"postBody":"hello this is my first blog",
"tags":"fristBlock myFrist"
}
Это запрос. Ниже приведен ответ.
Ответ:
{
"error": true,
"message": "Some error in posting blog",
"response": {
"name": "RPCError",
"jse_shortmsg": "Missing Posting Authority vinay001",
"jse_info": {
"code": 3030000,
"name": "tx_missing_posting_auth",
"message": "missing required posting authority",
"stack": [
{
"context": {
"level": "error",
"file": "transaction_util.hpp",
"line": 54,
"method": "verify_authority",
"hostname": "",
"timestamp": "2018-06-28T13:20:04"
},
"format": "Missing Posting Authority ${id}",
"data": {
"id": "vinay001",
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM6ZJoPsL2mFdgwCSBZumbkJFMxxejxmZWqFD4qKy7Z3D41u8VrZ",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM5PXPWrMDhUEuxQJLUEKeuWji1YDLEZWutvyL4w45DPc81RPPyM",
1
]
]
},
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8PMsuU15fwKZ68MUMMU6fTfhnBBFyEgjr7dTgafw329RZ9iqvu",
1
]
]
}
}
},
{
"context": {
"level": "warn",
"file": "transaction_util.hpp",
"line": 97,
"method": "verify_authority",
"hostname": "",
"timestamp": "2018-06-28T13:20:04"
},
"format": "",
"data": {
"auth_containers": [
{
"type": "comment_operation",
"value": {
"parent_author": "",
"parent_permlink": "fristBlock",
"author": "vinay001",
"permlink": "jacx7iwp3k",
"title": "myFirstBlog",
"body": "hello this is my first blog",
"json_metadata": "{\"tags\":[\"fristBlock\",\"myFrist\"]}"
}
}
],
"sigs": [
"STM8486K4JZN61pa6sUgN9cZgLCnZpQrq5b4z23mdvC95wuFK6Dey"
]
}
},
{
"context": {
"level": "warn",
"file": "transaction.cpp",
"line": 195,
"method": "verify_authority",
"hostname": "",
"timestamp": "2018-06-28T13:20:04"
},
"format": "",
"data": {
"*this": {
"ref_block_num": 60173,
"ref_block_prefix": 3336246025,
"expiration": "2018-06-28T13:21:03",
"operations": [
{
"type": "comment_operation",
"value": {
"parent_author": "",
"parent_permlink": "fristBlock",
"author": "vinay001",
"permlink": "jacx7iwp3k",
"title": "myFirstBlog",
"body": "hello this is my first blog",
"json_metadata": "{\"tags\":[\"fristBlock\",\"myFrist\"]}"
}
}
],
"extensions": [],
"signatures": [
"2016209a8a48f3ef7d722830a2e4d6c3e969a8c7d2caf68df636a2a51cc1ceec1314a249938913f71875db929444e549f8bcd1aea0fbddd706b3c05a7a65b83893"
]
}
}
},
{
"context": {
"level": "warn",
"file": "database.cpp",
"line": 3208,
"method": "_apply_transaction",
"hostname": "",
"timestamp": "2018-06-28T13:20:04"
},
"format": "",
"data": {
"trx": {
"ref_block_num": 60173,
"ref_block_prefix": 3336246025,
"expiration": "2018-06-28T13:21:03",
"operations": [
{
"type": "comment_operation",
"value": {
"parent_author": "",
"parent_permlink": "fristBlock",
"author": "vinay001",
"permlink": "jacx7iwp3k",
"title": "myFirstBlog",
"body": "hello this is my first blog",
"json_metadata": "{\"tags\":[\"fristBlock\",\"myFrist\"]}"
}
}
],
"extensions": [],
"signatures": [
"2016209a8a48f3ef7d722830a2e4d6c3e969a8c7d2caf68df636a2a51cc1ceec1314a249938913f71875db929444e549f8bcd1aea0fbddd706b3c05a7a65b83893"
]
}
}
},
{
"context": {
"level": "warn",
"file": "database.cpp",
"line": 776,
"method": "push_transaction",
"hostname": "",
"timestamp": "2018-06-28T13:20:04"
},
"format": "",
"data": {
"trx": {
"ref_block_num": 60173,
"ref_block_prefix": 3336246025,
"expiration": "2018-06-28T13:21:03",
"operations": [
{
"type": "comment_operation",
"value": {
"parent_author": "",
"parent_permlink": "fristBlock",
"author": "vinay001",
"permlink": "jacx7iwp3k",
"title": "myFirstBlog",
"body": "hello this is my first blog",
"json_metadata": "{\"tags\":[\"fristBlock\",\"myFrist\"]}"
}
}
],
"extensions": [],
"signatures": [
"2016209a8a48f3ef7d722830a2e4d6c3e969a8c7d2caf68df636a2a51cc1ceec1314a249938913f71875db929444e549f8bcd1aea0fbddd706b3c05a7a65b83893"
]
}
}
}
]
},
"message": "Missing Posting Authority vinay001"
}
}
Любая идея, почему у меня эта проблема. В моем аккаунте initminer есть все ключи, которые я вижу, когда использую get_account. Однако все ключи имеют одинаковое значение. Я не уверен, кто создает эти ключи и когда они создаются. Я полагаю, они создаются во время инициации блокчейна. Тем не менее, это не упоминается четко. Любые вклады по этому вопросу будут высоко оценены. Заранее спасибо.