Skip to content
Snippets Groups Projects
Commit 87c44578 authored by Andrzej Lisak's avatar Andrzej Lisak
Browse files

[ABW]: tests for muting as well as some negative for bridge.get_discussion

parent f4a878d3
No related branches found
No related tags found
1 merge request!204tests for muting as well as some negative for bridge.get_discussion
Showing
with 4426 additions and 0 deletions
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z": {
"active_votes": [],
"author": "gary-smith",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "so frustrated was mining for a while found a few blocks and received no reward now i know why thank you !",
"category": "mining",
"children": 0,
"created": "2016-08-21T12:52:06",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160821t125207685z",
"post_id": 693858,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T12:52:06",
"url": "/mining/@gtg/missing-rewards-while-mining#@gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z"
},
"gtg/missing-rewards-while-mining": {
"active_votes": [
{
"rshares": "93765183",
"voter": "gandalf"
},
{
"rshares": "503120540",
"voter": "paco-steem"
},
{
"rshares": "5941196935",
"voter": "spaninv"
},
{
"rshares": "9975325205",
"voter": "johnerfx"
},
{
"rshares": "382763916645",
"voter": "taoteh1221"
},
{
"rshares": "393291314",
"voter": "stiletto"
},
{
"rshares": "867516503",
"voter": "johnerminer"
},
{
"rshares": "2480411371",
"voter": "gary-smith"
},
{
"rshares": "49812626493",
"voter": "gtg"
},
{
"rshares": "7921157988",
"voter": "dasha"
},
{
"rshares": "30256483332",
"voter": "r4fken"
},
{
"rshares": "4368322380",
"voter": "thegoodguy"
},
{
"rshares": "1775754972",
"voter": "screasey"
},
{
"rshares": "14634652647",
"voter": "artakan"
},
{
"rshares": "539611572",
"voter": "qonq99"
},
{
"rshares": "4923096406",
"voter": "fishborne"
},
{
"rshares": "1377860390",
"voter": "steeminer"
},
{
"rshares": "726277176",
"voter": "spinner"
},
{
"rshares": "16175410131",
"voter": "thebluepanda"
},
{
"rshares": "2362437240",
"voter": "ullikume"
},
{
"rshares": "2988929662",
"voter": "mione"
},
{
"rshares": "851733457",
"voter": "steeminion"
},
{
"rshares": "14814536032",
"voter": "sponge-bob"
},
{
"rshares": "512292840",
"voter": "kev7000"
},
{
"rshares": "289407830",
"voter": "steeminnow"
},
{
"rshares": "11301045003",
"voter": "brains"
}
],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "Suppose your miner node found `pow2`, but your `total_missed` count increased, instead of generating a block.\n\nIf this happens, double check your keys used in the `config.ini` file.\n\n```\nwitness = \"minerwitness\"\n\nminer = [\"minerwitness\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner1\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner2\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner3\",\"WIF_ACTIVE_PRIVATE_KEY\"]\n\nmining-threads = 4\n\nprivate-key = WIF_SIGNING_PRIVATE_KEY\n```\n\nUsing keys without paying attention to their roles is a common mistake. @artakan [found out](https://steemit.com/mining/@artakan/important-info-for-steem-miner-do-not-use-your-steemit-com-account \"@artakan - Do not use your steemit.com account for mining\")\nthat issues with missing blocks tend to happen when you are using an account that was created through [steemit.com](https://steemit.com/ \"Blogging is the new mining\") but seems to work for the mined account.\n\nSo erroneous configuration might work for your mined account by pure coincidence. In other words, the same key has been defined for all roles, so: `WIF_ACTIVE_PRIVATE_KEY` is exactly the same as `WIF_SIGNING_PRIVATE_KEY`.\n\n![witness](https://grey.house/img/witness2.jpg)\n\nIf you believe this idea is of use and value to Steem, please vote for me as a [witness](https://steemit.com/witness-category/@gtg/witness-gtg \"witness-gtg\")\neither on [Steemit's Witnesses List](https://steemit.com/~witnesses \"Witnesses\") \nor by using your `cli_wallet` command:\n`vote_for_witness \"YOURACCOUNT\" \"gtg\" true true`",
"category": "mining",
"children": 6,
"created": "2016-08-21T12:29:18",
"curator_payout_value": "0.000 HBD",
"depth": 0,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemit.com/mining/@artakan/important-info-for-steem-miner-do-not-use-your-steemit-com-account"
],
"tags": [
"mining",
"steem",
"steem-mining"
],
"users": [
"artakan"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 568650179247,
"payout": 0.432,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.432 HBD",
"percent_steem_dollars": 10000,
"permlink": "missing-rewards-while-mining",
"post_id": 693716,
"promoted": "0.000 HBD",
"replies": [
"gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z",
"gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z",
"timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 26
},
"title": "Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T13:02:30",
"url": "/mining/@gtg/missing-rewards-while-mining"
},
"gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "I encourage miners to visit [Steemit Chat](https://steemit.chat/channel/mining \"#mining\") where you can find help and share your experience.",
"category": "mining",
"children": 0,
"created": "2016-08-21T13:12:45",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemit.chat/channel/mining"
],
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160821t131242531z",
"post_id": 693986,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T13:12:45",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z"
},
"gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "yes, you can want to use [steemd.com/@youraccount](https://steemd.com) link to check witness details (at the time of generating block your miner become witness)",
"category": "mining",
"children": 2,
"created": "2016-08-27T15:38:00",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemd.com"
],
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "timcliff",
"parent_permlink": "re-gtg-missing-rewards-while-mining-20160827t141319137z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z",
"post_id": 767496,
"promoted": "0.000 HBD",
"replies": [
"timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T15:38:00",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z"
},
"gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "Please use your **active private key** for a miner, instead your owner key.",
"category": "mining",
"children": 0,
"created": "2016-08-27T18:39:45",
"curator_payout_value": "0.000 HBD",
"depth": 4,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "timcliff",
"parent_permlink": "re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z",
"post_id": 769396,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T18:39:45",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z"
},
"timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z": {
"active_votes": [],
"author": "timcliff",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "Is there a way to check the \"total_missed\" count without using cli_wallet?",
"category": "mining",
"children": 3,
"created": "2016-08-27T14:13:18",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160827t141319137z",
"post_id": 766749,
"promoted": "0.000 HBD",
"replies": [
"gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T14:13:18",
"url": "/mining/@gtg/missing-rewards-while-mining#@timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z"
},
"timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z": {
"active_votes": [],
"author": "timcliff",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "I've been mining since last Friday and haven't found a block yet, so there are no witness details for my account yet. I wanted to check the \"total_missed\" count, since it sounds like this post could be describing my issue. After talking to peeps on Steemit chat, it sounds like I need to change the keys I'm using. I'm currently using my 'owner private' key for both.",
"category": "mining",
"children": 1,
"created": "2016-08-27T15:51:15",
"curator_payout_value": "0.000 HBD",
"depth": 3,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z",
"post_id": 767624,
"promoted": "0.000 HBD",
"replies": [
"gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T15:51:15",
"url": "/mining/@gtg/missing-rewards-while-mining#@timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z"
}
}
}
{
"code": -32602,
"data": "invalid account name length: `x`",
"message": "Invalid parameters"
}
---
test_name: Hivemind bridge_api.get_discussion non existing permlink patterns test
marks:
- patterntest # originally observer was not validated (and since it was not part of query its nonexistence did not make result empty)
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"gtg", "permlink":"missing-rewards-while-mining", "observer":"x"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "bad_observer"
directory: "bridge_api_negative/get_discussion"
error_response: true
{
"code": -32602,
"data": "invalid account (not specified)",
"message": "Invalid parameters"
}
{
"code": -32602,
"data": "invalid account (not specified)",
"message": "Invalid parameters"
}
---
test_name: Hivemind bridge_api.get_discussion non existing permlink patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"", "permlink":"blahblah"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "no_author"
directory: "bridge_api_negative/get_discussion"
error_response: true
{
"code": -32602,
"data": "permlink cannot be blank",
"message": "Invalid parameters"
}
{
"code": -32602,
"data": "permlink cannot be blank",
"message": "Invalid parameters"
}
---
test_name: Hivemind bridge_api.get_discussion non existing permlink patterns test
marks:
- patterntest
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"gtg", "permlink":""}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "no_permlink"
directory: "bridge_api_negative/get_discussion"
error_response: true
{
"id": 1,
"jsonrpc": "2.0",
"result": {}
}
{
"code": -32602,
"data": "Post nonexisting/blahblah does not exist",
"message": "Invalid parameters"
}
---
test_name: Hivemind bridge_api.get_discussion non existing permlink patterns test
marks:
- patterntest # original returns empty result
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"nonexisting", "permlink":"blahblah"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "not_existing_author"
directory: "bridge_api_negative/get_discussion"
error_response: true
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z": {
"active_votes": [],
"author": "gary-smith",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "so frustrated was mining for a while found a few blocks and received no reward now i know why thank you !",
"category": "mining",
"children": 0,
"created": "2016-08-21T12:52:06",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160821t125207685z",
"post_id": 693858,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T12:52:06",
"url": "/mining/@gtg/missing-rewards-while-mining#@gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z"
},
"gtg/missing-rewards-while-mining": {
"active_votes": [
{
"rshares": "93765183",
"voter": "gandalf"
},
{
"rshares": "503120540",
"voter": "paco-steem"
},
{
"rshares": "5941196935",
"voter": "spaninv"
},
{
"rshares": "9975325205",
"voter": "johnerfx"
},
{
"rshares": "382763916645",
"voter": "taoteh1221"
},
{
"rshares": "393291314",
"voter": "stiletto"
},
{
"rshares": "867516503",
"voter": "johnerminer"
},
{
"rshares": "2480411371",
"voter": "gary-smith"
},
{
"rshares": "49812626493",
"voter": "gtg"
},
{
"rshares": "7921157988",
"voter": "dasha"
},
{
"rshares": "30256483332",
"voter": "r4fken"
},
{
"rshares": "4368322380",
"voter": "thegoodguy"
},
{
"rshares": "1775754972",
"voter": "screasey"
},
{
"rshares": "14634652647",
"voter": "artakan"
},
{
"rshares": "539611572",
"voter": "qonq99"
},
{
"rshares": "4923096406",
"voter": "fishborne"
},
{
"rshares": "1377860390",
"voter": "steeminer"
},
{
"rshares": "726277176",
"voter": "spinner"
},
{
"rshares": "16175410131",
"voter": "thebluepanda"
},
{
"rshares": "2362437240",
"voter": "ullikume"
},
{
"rshares": "2988929662",
"voter": "mione"
},
{
"rshares": "851733457",
"voter": "steeminion"
},
{
"rshares": "14814536032",
"voter": "sponge-bob"
},
{
"rshares": "512292840",
"voter": "kev7000"
},
{
"rshares": "289407830",
"voter": "steeminnow"
},
{
"rshares": "11301045003",
"voter": "brains"
}
],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "Suppose your miner node found `pow2`, but your `total_missed` count increased, instead of generating a block.\n\nIf this happens, double check your keys used in the `config.ini` file.\n\n```\nwitness = \"minerwitness\"\n\nminer = [\"minerwitness\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner1\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner2\",\"WIF_ACTIVE_PRIVATE_KEY\"]\nminer = [\"miner3\",\"WIF_ACTIVE_PRIVATE_KEY\"]\n\nmining-threads = 4\n\nprivate-key = WIF_SIGNING_PRIVATE_KEY\n```\n\nUsing keys without paying attention to their roles is a common mistake. @artakan [found out](https://steemit.com/mining/@artakan/important-info-for-steem-miner-do-not-use-your-steemit-com-account \"@artakan - Do not use your steemit.com account for mining\")\nthat issues with missing blocks tend to happen when you are using an account that was created through [steemit.com](https://steemit.com/ \"Blogging is the new mining\") but seems to work for the mined account.\n\nSo erroneous configuration might work for your mined account by pure coincidence. In other words, the same key has been defined for all roles, so: `WIF_ACTIVE_PRIVATE_KEY` is exactly the same as `WIF_SIGNING_PRIVATE_KEY`.\n\n![witness](https://grey.house/img/witness2.jpg)\n\nIf you believe this idea is of use and value to Steem, please vote for me as a [witness](https://steemit.com/witness-category/@gtg/witness-gtg \"witness-gtg\")\neither on [Steemit's Witnesses List](https://steemit.com/~witnesses \"Witnesses\") \nor by using your `cli_wallet` command:\n`vote_for_witness \"YOURACCOUNT\" \"gtg\" true true`",
"category": "mining",
"children": 6,
"created": "2016-08-21T12:29:18",
"curator_payout_value": "0.000 HBD",
"depth": 0,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemit.com/mining/@artakan/important-info-for-steem-miner-do-not-use-your-steemit-com-account"
],
"tags": [
"mining",
"steem",
"steem-mining"
],
"users": [
"artakan"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 568650179247,
"payout": 0.432,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.432 HBD",
"percent_steem_dollars": 10000,
"permlink": "missing-rewards-while-mining",
"post_id": 693716,
"promoted": "0.000 HBD",
"replies": [
"gary-smith/re-gtg-missing-rewards-while-mining-20160821t125207685z",
"gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z",
"timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 26
},
"title": "Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T13:02:30",
"url": "/mining/@gtg/missing-rewards-while-mining"
},
"gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "I encourage miners to visit [Steemit Chat](https://steemit.chat/channel/mining \"#mining\") where you can find help and share your experience.",
"category": "mining",
"children": 0,
"created": "2016-08-21T13:12:45",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemit.chat/channel/mining"
],
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160821t131242531z",
"post_id": 693986,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-21T13:12:45",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-gtg-missing-rewards-while-mining-20160821t131242531z"
},
"gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "yes, you can want to use [steemd.com/@youraccount](https://steemd.com) link to check witness details (at the time of generating block your miner become witness)",
"category": "mining",
"children": 2,
"created": "2016-08-27T15:38:00",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"is_paidout": false,
"json_metadata": {
"links": [
"https://steemd.com"
],
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "timcliff",
"parent_permlink": "re-gtg-missing-rewards-while-mining-20160827t141319137z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z",
"post_id": 767496,
"promoted": "0.000 HBD",
"replies": [
"timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T15:38:00",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z"
},
"gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z": {
"active_votes": [],
"author": "gtg",
"author_payout_value": "0.000 HBD",
"author_reputation": 57.34,
"beneficiaries": [],
"blacklists": [],
"body": "Please use your **active private key** for a miner, instead your owner key.",
"category": "mining",
"children": 0,
"created": "2016-08-27T18:39:45",
"curator_payout_value": "0.000 HBD",
"depth": 4,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "timcliff",
"parent_permlink": "re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z",
"post_id": 769396,
"promoted": "0.000 HBD",
"replies": [],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T18:39:45",
"url": "/mining/@gtg/missing-rewards-while-mining#@gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z"
},
"timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z": {
"active_votes": [],
"author": "timcliff",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "Is there a way to check the \"total_missed\" count without using cli_wallet?",
"category": "mining",
"children": 3,
"created": "2016-08-27T14:13:18",
"curator_payout_value": "0.000 HBD",
"depth": 1,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "missing-rewards-while-mining",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-missing-rewards-while-mining-20160827t141319137z",
"post_id": 766749,
"promoted": "0.000 HBD",
"replies": [
"gtg/re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T14:13:18",
"url": "/mining/@gtg/missing-rewards-while-mining#@timcliff/re-gtg-missing-rewards-while-mining-20160827t141319137z"
},
"timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z": {
"active_votes": [],
"author": "timcliff",
"author_payout_value": "0.000 HBD",
"author_reputation": 25.0,
"beneficiaries": [],
"blacklists": [],
"body": "I've been mining since last Friday and haven't found a block yet, so there are no witness details for my account yet. I wanted to check the \"total_missed\" count, since it sounds like this post could be describing my issue. After talking to peeps on Steemit chat, it sounds like I need to change the keys I'm using. I'm currently using my 'owner private' key for both.",
"category": "mining",
"children": 1,
"created": "2016-08-27T15:51:15",
"curator_payout_value": "0.000 HBD",
"depth": 3,
"is_paidout": false,
"json_metadata": {
"tags": [
"mining"
]
},
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 0,
"parent_author": "gtg",
"parent_permlink": "re-timcliff-re-gtg-missing-rewards-while-mining-20160827t153756820z",
"payout": 0.0,
"payout_at": "2016-09-21T13:01:45",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z",
"post_id": 767624,
"promoted": "0.000 HBD",
"replies": [
"gtg/re-timcliff-re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t183943508z"
],
"stats": {
"flag_weight": 0.0,
"gray": false,
"hide": false,
"total_votes": 0
},
"title": "RE: Missing rewards while mining - common mistake with keys",
"updated": "2016-08-27T15:51:15",
"url": "/mining/@gtg/missing-rewards-while-mining#@timcliff/re-gtg-re-timcliff-re-gtg-missing-rewards-while-mining-20160827t155116406z"
}
}
}
{
"code": -32602,
"data": "Account nonexisting does not exist",
"message": "Invalid parameters"
}
---
test_name: Hivemind bridge_api.get_discussion non existing permlink patterns test
marks:
- patterntest # originally observer was not validated (and since it was not part of query its nonexistence did not make result empty)
- negative
includes:
- !include ../../common.yaml
stages:
- name: get_discussion
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"gtg", "permlink":"missing-rewards-while-mining", "observer":"nonexisting"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "not_existing_observer"
directory: "bridge_api_negative/get_discussion"
error_response: true
This diff is collapsed.
This diff is collapsed.
---
test_name: Hivemind bridge_api.get_discussion patterns test
marks:
- patterntest # difference in blacklists due to lack of global blacklists now
includes:
- !include ../../common.yaml
stages:
- name: bridge_api.get_discussion patterns test
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"chitty", "permlink":"a-balanced-voting-system-is-impossible-with-current-witness-s-payouts"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "chitty"
directory: "bridge_api_patterns/get_discussion"
This diff is collapsed.
---
test_name: Hivemind bridge_api.get_discussion patterns test
marks:
- patterntest # ignoreall ignores gtg (mock data) - author of some comments
# difference in blacklists due to lack of global blacklists now
includes:
- !include ../../common.yaml
stages:
- name: bridge_api.get_discussion patterns test
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "bridge.get_discussion"
params: {"author":"chitty", "permlink":"a-balanced-voting-system-is-impossible-with-current-witness-s-payouts", "observer":"ignoreall"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "mutes_comments"
directory: "bridge_api_patterns/get_discussion"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment