diff --git a/hivemind/tavern/database_api_negative/find_comments/too_much_data.orig.json b/hivemind/tavern/database_api_negative/find_comments/too_much_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..266bfb83d31a481eef876a2ac80b158744a602ec --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_comments/too_much_data.orig.json @@ -0,0 +1,53 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-08-03T13:23:48", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "magicmonk", + "author_rewards": 831270, + "beneficiaries": [], + "body": "**Hello everyone on Steem!!**\n\n\n**I am super excited** to finally be part of Steem! I have so much to share with you all and I look forward to learning with and from everyone here.\n\nMy name is Eddie and I'm 33 years old. I immigrated to New Zealand from Taiwan when I was 11 without speaking any English (except how are you). A lot of my childhood consisted of looking up words in the dictionary in order to do homework, but I am glad to have had that experience. After a bit of struggle, I finally graduated from high school and university and now I'm a permanent high school maths teacher, and my English is now the least of my worries. I currently live in my own house on an acreage in Brisbane Australia, and I wouldn't live anywhere else. I still speak fluent Chinese and a while ago, I went on the world's most viewed dating show \"If You Are The One\" in China as an Australian contestant, you can watch my appearance here:\n\nhttps://www.youtube.com/watch?v=OtTAPhJZ5JE\n\n### My interests and hobbies\n\n\n\nOther than studying hard at mathematics and computers, I'm passionate about exercise. I have won two Brisbane Night Tennis Association competitions. I have competed in swing dance championships around Australia, and I regularly practice Tai Chi, Shaolin and Praying Mantis Kung Fu. I believe exercising improves health and having good health is important to living a good life.\n\n\n\n### My history with Youtube\n\nA few years ago I saw Khan Academy on Youtube. He was a great teacher, however, we have a different maths curriculum here in Australia, so I decided to start my own math teaching on Youtube for Australian students. I have 3.5 million views now, and funnily enough most of my viewers are actually from overseas. I still work as a high school teacher full time so I don't have much time for Youtube, but I make videos when I can :) \n\nMy students were so impressed with my Youtube channel that one of my best students made this video about me. \n\nhttps://www.youtube.com/watch?v=wZskm-oETMY\n\nMy goal is to demystify maths and other difficult subjects such as computer programming and make them accessible to everyone. I use basic terms and I explain slowly so anyone can understand. I'm not very smart myself so if I can learn these things then anyone can. My lessons are structured so if you watch my videos from beginning to end on the playlist, you can learn everything from basic algebra to Calculus. \n\nhttps://www.youtube.com/watch?v=rBf1eYwwQFE\n\nI believe Steem will benefit from my participation as I will link my articles to my website http://magicmonk.org and my Youtube channel so they will bring more users to Steem.\n\n**Please feel free to share your ideas, advice, feedback with me. I look forward to hearing from you all!!**", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 60, + "children_abs_rshares": 0, + "created": "2016-07-24T04:52:48", + "curator_payout_value": { + "amount": "248842", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 227413, + "json_metadata": "{\"tags\":[\"introduceyourself\"],\"links\":[\"https://www.youtube.com/watch?v=OtTAPhJZ5JE\"]}", + "last_payout": "2016-08-24T06:35:09", + "last_update": "2016-07-24T09:39:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 265, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_steem_dollars": 10000, + "permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "reward_weight": 10000, + "root_author": "magicmonk", + "root_permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "title": "Hello Steemit! My name's Eddie (a.k.a. the Magic Monk), I am a Youtuber and a high school teacher! Let the writing begin!", + "total_payout_value": { + "amount": "3020002", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_negative/find_comments/too_much_data.pat.json b/hivemind/tavern/database_api_negative/find_comments/too_much_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..32f05712bedcc6fb9453f5b96e1ff8da4075c1a1 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_comments/too_much_data.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "got an unexpected keyword argument 'limit'", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/find_comments/too_much_data.tavern.yaml b/hivemind/tavern/database_api_negative/find_comments/too_much_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..0fe69b4541f77c12f1278be7ecb4abcd626ee9ff --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_comments/too_much_data.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.find_comments unknown extra arguments + +marks: + - patterntest # fat node didn't care about extra arguments so it gave response like in database_api_patterns/find_comments/all_data.tavern.yaml + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_comments unknown extra arguments + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: + { + "comments": [["magicmonk","hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin"]], + "limit": 0, + "order": "", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "too_much_data" + directory: "database_api_negative/find_comments" + error_response: true diff --git a/hivemind/tavern/database_api_negative/find_votes/author.orig.json b/hivemind/tavern/database_api_negative/find_votes/author.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..61ca37bd308e82e1b4616abe150c1496a0ffec0f --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/author.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1280, + "method": "find_votes" + }, + "data": { + "a": "kental", + "p": "" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}" + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment kental/" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/author.pat.json b/hivemind/tavern/database_api_negative/find_votes/author.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..c4c0045ab0c20a563ed92cc3f9b88bf0d2558c12 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/author.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "permlink cannot be blank", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/author.tavern.yaml b/hivemind/tavern/database_api_negative/find_votes/author.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..05881d2c2ed1c0ed5d753a6b8b8e8b4ce46b5253 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/author.tavern.yaml @@ -0,0 +1,34 @@ +--- +test_name: Hivemind database_api.find_votes only author + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_votes only author + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author": "kental", + "permlink": "" + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "author" + directory: "database_api_negative/find_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/find_votes/bad_data.orig.json b/hivemind/tavern/database_api_negative/find_votes/bad_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..c2cf62fea11e64792ab74e3df4f8b0cb4862503e --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/bad_data.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1280, + "method": "find_votes" + }, + "data": { + "a": "hiveio", + "p": "firstpost" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}" + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment hiveio/firstpost" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/bad_data.pat.json b/hivemind/tavern/database_api_negative/find_votes/bad_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..91689d8158347183e6abd6fbb04e8648fa51b8b0 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/bad_data.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post hiveio/firstpost does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/bad_data.tavern.yaml b/hivemind/tavern/database_api_negative/find_votes/bad_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a1c01a901069e0779630047de2617ce26ee0e78a --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/bad_data.tavern.yaml @@ -0,0 +1,34 @@ +--- +test_name: Hivemind database_api.find_votes bad data + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_votes bad data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author": "hiveio", + "permlink": "firstpost" + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "bad_data" + directory: "database_api_negative/find_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/find_votes/no_data.orig.json b/hivemind/tavern/database_api_negative/find_votes/no_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..7fda07159df7368e2132e007c8ee62176431c604 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/no_data.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1280, + "method": "find_votes" + }, + "data": { + "a": "", + "p": "" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}" + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment /" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/no_data.pat.json b/hivemind/tavern/database_api_negative/find_votes/no_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..d6fea406282c3a7e87c0634218179092994089a6 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/no_data.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "invalid account (not specified)", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/no_data.tavern.yaml b/hivemind/tavern/database_api_negative/find_votes/no_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9afbd9ea2e258c18fb7be72df1499e2f2e69af21 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/no_data.tavern.yaml @@ -0,0 +1,48 @@ +--- +test_name: Hivemind database_api.find_votes no data + +marks: + - patterntest + - negative # on API docs it "shows" { + # "votes": [ + # { + # "id": 0, + # "voter": "", + # "author": "", + # "permlink": "", + # "weight": "0", + # "rshares": 0, + # "vote_percent": 0, + # "last_update": "2016-04-07T19:15:36", + # "num_changes": -1 + # } + # ] + # } + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_votes no data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author": "", + "permlink": "", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "no_data" + directory: "database_api_negative/find_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/find_votes/permlink.orig.json b/hivemind/tavern/database_api_negative/find_votes/permlink.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..1b292bf273da8675cdffa302e0c66c8ab9077af5 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/permlink.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1280, + "method": "find_votes" + }, + "data": { + "a": "", + "p": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}" + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment /hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/permlink.pat.json b/hivemind/tavern/database_api_negative/find_votes/permlink.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..d6fea406282c3a7e87c0634218179092994089a6 --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/permlink.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "invalid account (not specified)", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/find_votes/permlink.tavern.yaml b/hivemind/tavern/database_api_negative/find_votes/permlink.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..206f807371a6f6f2d2c92183b55fabab6c35e55f --- /dev/null +++ b/hivemind/tavern/database_api_negative/find_votes/permlink.tavern.yaml @@ -0,0 +1,34 @@ +--- +test_name: Hivemind database_api.find_votes only permlink + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_votes only permlink + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author": "", + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "permlink" + directory: "database_api_negative/find_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_no_permlink.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_no_permlink.orig.json index 27f427948e456e4ee7f6140dbdc458846be80a63..11e906968d91b64346cf6935aec1e92b6beb0d36 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_no_permlink.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_no_permlink.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1134, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "givemeyoursteem", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_post_not_found.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_post_not_found.orig.json index 9c07bc4ef033a664b2ccaa64e79f1352e0feba9d..a7329a5ed3c04f5f17e04f30319babac3c1ba8f9 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_post_not_found.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_author_last_update_post_not_found.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1134, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "givemeyoursteem", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..f35ba69df24386c9a8c8b6072c8f3cb2e95c20c7 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32000, + "data": { + "code": 13, + "message": "Day of month value is out of range 1..31", + "name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE", + "stack": [ + { + "context": { + "file": "time.cpp", + "hostname": "", + "level": "warn", + "line": 48, + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" + }, + "data": { + "what": "Day of month value is out of range 1..31" + }, + "format": "${what}: unable to convert ISO-formatted string to fc::time_point_sec" + } + ] + }, + "message": "Day of month value is out of range 1..31:Day of month value is out of range 1..31: unable to convert ISO-formatted string to fc::time_point_sec" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.pat.json b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..81c78942b4c30ed955f6b8b6525e3d863976f7a5 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Date is blank", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.tavern.yaml b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..26fc95cfe930cffafa06d13c9d83925c1e3ad188 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_no_date.tavern.yaml @@ -0,0 +1,31 @@ +--- +test_name: Hivemind database_api.list_comments test order "by_cashout_time" no date + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: list_comments no date + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_comments" + params: + { "start": ["", "", ""], "limit": 10, "order": "by_cashout_time" } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_cashout_time_no_date" + directory: "database_api_negative/list_comments" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_wrong_date.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_wrong_date.orig.json index 58a7e679d8e0e8b7be1b61c42774ca8415053351..c64da6709b1ecf269fde867a9be324a071f5481c 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_wrong_date.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_cashout_time_wrong_date.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "warn", "line": 48, - "method": "from_iso_string" + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" }, "data": { "what": "basic_string::at: __n (which is 0) >= this->size() (which is 0)" diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..f35ba69df24386c9a8c8b6072c8f3cb2e95c20c7 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32000, + "data": { + "code": 13, + "message": "Day of month value is out of range 1..31", + "name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE", + "stack": [ + { + "context": { + "file": "time.cpp", + "hostname": "", + "level": "warn", + "line": 48, + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" + }, + "data": { + "what": "Day of month value is out of range 1..31" + }, + "format": "${what}: unable to convert ISO-formatted string to fc::time_point_sec" + } + ] + }, + "message": "Day of month value is out of range 1..31:Day of month value is out of range 1..31: unable to convert ISO-formatted string to fc::time_point_sec" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.pat.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..81c78942b4c30ed955f6b8b6525e3d863976f7a5 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Date is blank", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.tavern.yaml b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..afa75edd3135f862eefbf935f975a446d66722f4 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_no_date.tavern.yaml @@ -0,0 +1,31 @@ +--- +test_name: Hivemind database_api.list_comments test order "by_last_update" no date + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: list_comments no date + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_comments" + params: + { "start": ["", "", "", ""], "limit": 10, "order": "by_last_update" } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_last_update_no_date" + directory: "database_api_negative/list_comments" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..f35ba69df24386c9a8c8b6072c8f3cb2e95c20c7 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32000, + "data": { + "code": 13, + "message": "Day of month value is out of range 1..31", + "name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE", + "stack": [ + { + "context": { + "file": "time.cpp", + "hostname": "", + "level": "warn", + "line": 48, + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" + }, + "data": { + "what": "Day of month value is out of range 1..31" + }, + "format": "${what}: unable to convert ISO-formatted string to fc::time_point_sec" + } + ] + }, + "message": "Day of month value is out of range 1..31:Day of month value is out of range 1..31: unable to convert ISO-formatted string to fc::time_point_sec" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.pat.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..b3dac27e6bde138cea26c6b8ecde2323392b8b2e --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "invalid account name length: `2016-08-24T21:29:42`", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.tavern.yaml b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1864ab9df3650937ed49fdc6c7a30715914a9fc2 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_author.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_comments "by_last_update" wrong author + +marks: + - patterntest # first arg is author, not date (error about date) + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: list_comments wrong author + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_comments" + params: + { + "start": ["2016-08-24T21:29:42", "", "", ""], + "limit": 10, + "order": "by_last_update", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_last_update_wrong_author" + directory: "database_api_negative/list_comments" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_date.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_date.orig.json index 58a7e679d8e0e8b7be1b61c42774ca8415053351..c64da6709b1ecf269fde867a9be324a071f5481c 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_date.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_date.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "warn", "line": 48, - "method": "from_iso_string" + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" }, "data": { "what": "basic_string::at: __n (which is 0) >= this->size() (which is 0)" diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..f35ba69df24386c9a8c8b6072c8f3cb2e95c20c7 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.orig.json @@ -0,0 +1,25 @@ +{ + "code": -32000, + "data": { + "code": 13, + "message": "Day of month value is out of range 1..31", + "name": "N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE", + "stack": [ + { + "context": { + "file": "time.cpp", + "hostname": "", + "level": "warn", + "line": 48, + "method": "from_iso_string", + "timestamp": "2020-09-10T17:10:39" + }, + "data": { + "what": "Day of month value is out of range 1..31" + }, + "format": "${what}: unable to convert ISO-formatted string to fc::time_point_sec" + } + ] + }, + "message": "Day of month value is out of range 1..31:Day of month value is out of range 1..31: unable to convert ISO-formatted string to fc::time_point_sec" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.pat.json b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..7aea68c64c54f5ad2e4f169ab7d3e48b1d1591fc --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Date should be in format Y-m-d H:M:S or Y-m-dTH:M:S", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.tavern.yaml b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c222338c6bed5ca6df52d64ed840b14c7833a7e --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_comments/by_last_update_wrong_day.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_comments "by_last_update" day out of range + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: list_comments day out of range + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_comments" + params: + { + "start": ["", "2016-04-66T21:29:42", "", ""], + "limit": 10, + "order": "by_last_update" + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_last_update_wrong_day" + directory: "database_api_negative/list_comments" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_comments/by_parent_child_no_permlink.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_parent_child_no_permlink.orig.json index 32645ddf9b7a897a33ff899ad237ce26d8267569..1cf6ed368a230c69c79f4ae000f332b14f20dd16 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_parent_child_no_permlink.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_parent_child_no_permlink.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1085, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "givemeyoursteem", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_root_child_no_permlink.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_root_child_no_permlink.orig.json index e260a8d794f900c7395e9d7318fcc0a2d780b355..9c58c31b7c1d21a917d5a582eaa1e3559b51fccd 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_root_child_no_permlink.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_root_child_no_permlink.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1061, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "vi1son", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_root_child_not_found.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_root_child_not_found.orig.json index c8ffd9fd709cca081de9890313952fbb7113161f..03eb06e3b5458b5eb2fdcc47266f8efc51532ef1 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_root_child_not_found.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_root_child_not_found.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1061, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "vi1son", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_root_no_permlink.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_root_no_permlink.orig.json index be3359808941c9520c9c73ecf8f0b45252e51255..995142633f30986dbb69803690a83a5fb4ae37b8 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_root_no_permlink.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_root_no_permlink.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1050, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "vi1son", diff --git a/hivemind/tavern/database_api_negative/list_comments/by_root_post_not_found.orig.json b/hivemind/tavern/database_api_negative/list_comments/by_root_post_not_found.orig.json index c1c6993f43772a102c882f96256f258ce7704753..660d5f2ffc23b7e1ca5f2d6d13354a3f5894f67e 100644 --- a/hivemind/tavern/database_api_negative/list_comments/by_root_post_not_found.orig.json +++ b/hivemind/tavern/database_api_negative/list_comments/by_root_post_not_found.orig.json @@ -11,7 +11,8 @@ "hostname": "", "level": "error", "line": 1050, - "method": "list_comments" + "method": "list_comments", + "timestamp": "2020-09-10T17:10:39" }, "data": { "a": "giv", diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..2dd665e7a393b2831a050b75222f2d625c2e3127 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "roelandp", + "p": "" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment roelandp/." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..683b97749173d116e21c9948a908a1a8ba9f7295 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post roelandp/ does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b8ab3326dd2ac113c7a127b31ada1ef927d04ac3 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_author.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" comment not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" comment not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["roelandp", "", ""], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_author" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..544103eae15d846fa5124aac0d4270d37b5e90ac --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "", + "p": "re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment /re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..fcca641a9b052e37473f79322e1c2350d469ce9c --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post /re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6c0290c7ddb100bd67c66a947252ac4594dc49e1 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_permlink.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test "by_comment_voter" permlink not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test "by_comment_voter" permlink not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z", ""], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_permlink" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..3a723301f171b72619556587c082669af2bfb52b --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "steemit", + "p": "re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment steemit/re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..fbc2af0f806c771f0a38a0f14edbc0b007b01a45 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post steemit/re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5ea4a7b89ddabdeb7abf604bdf32f3ca00c534c2 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_comment_voter_wrong_post.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test "by_comment_voter" comment not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test "by_comment_voter" comment not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["steemit", "re-roelandp-tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours-20160825t212252221z", ""], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_wrong_post" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..2dd665e7a393b2831a050b75222f2d625c2e3127 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "roelandp", + "p": "" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment roelandp/." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..683b97749173d116e21c9948a908a1a8ba9f7295 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post roelandp/ does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..dcd4d4a5536930a0850140ce3279d3423f64c491 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_author.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" comment not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_voter_comment" comment not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "roelandp", ""], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_author" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..d49d9462e3a55e6da40d2d36bc17859ca0ebbf89 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "", + "p": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment /tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..26ec2b030bc02b166fdbac00d1c04b5017902ccf --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post /tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..138b95619bb9973d7f3fdc94b005e4a9d0c7d05d --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_permlink.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_Comment" comment not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_voter_comment" comment not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours"], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_permlink" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.orig.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..ed21f994ca90c326977403d5d4b2ac7ee8708dfb --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32003, + "data": { + "code": 10, + "message": "Assert Exception", + "name": "assert_exception", + "stack": [ + { + "context": { + "file": "database_api.cpp", + "hostname": "", + "level": "error", + "line": 1215, + "method": "votes_impl", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "a": "roelandp", + "p": "tldr-an-exploration-in-st" + }, + "format": "comment != nullptr: Could not find comment ${a}/${p}." + } + ] + }, + "message": "Assert Exception:comment != nullptr: Could not find comment roelandp/tldr-an-exploration-in-st." +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.pat.json b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..9a42b71299e16cdcc2a5081bc961fd16231acde0 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Post roelandp/tldr-an-exploration-in-st does not exist", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..fcaf1d92938b9bfff86a70885c2023088a895a3e --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/by_voter_comment_wrong_post.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" comment not found + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_voter_comment" comment not found + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "roelandp", "tldr-an-exploration-in-st"], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_wrong_post" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_negative/list_votes/unknown_sort.orig.json b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..6c6ac14100d1e9af8ac0df5f0eaef12738ec56ce --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.orig.json @@ -0,0 +1,26 @@ +{ + "code": -32000, + "data": { + "code": 7, + "message": "Bad Cast", + "name": "bad_cast_exception", + "stack": [ + { + "context": { + "file": "exception.cpp", + "hostname": "", + "level": "error", + "line": 226, + "method": "throw_bad_enum_cast", + "timestamp": "2020-09-10T17:35:29" + }, + "data": { + "enum": "steem::plugins::database_api::sort_order_type", + "key": "by_author" + }, + "format": "invalid name '${key}' in enum '${enum}'" + } + ] + }, + "message": "Bad Cast:invalid name 'by_author' in enum 'steem::plugins::database_api::sort_order_type'" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/unknown_sort.pat.json b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..752354d3be4db7410fcfd36120cd4e1c2aa346a5 --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.pat.json @@ -0,0 +1,5 @@ +{ + "code": -32602, + "data": "Order by_author is not supported", + "message": "Invalid parameters" +} diff --git a/hivemind/tavern/database_api_negative/list_votes/unknown_sort.tavern.yaml b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..447b748c15233f973482ff4dc71d5fcef1f9994d --- /dev/null +++ b/hivemind/tavern/database_api_negative/list_votes/unknown_sort.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test invalid sort order by author + +marks: + - patterntest + - negative + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test invalid name by author + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "roelandp", "tldr-an-exploration-in-st"], + "limit": 10, + "order": "by_author", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "unknown_sort" + directory: "database_api_negative/list_votes" + error_response: true diff --git a/hivemind/tavern/database_api_patterns/find_comments/all_data.orig.json b/hivemind/tavern/database_api_patterns/find_comments/all_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..266bfb83d31a481eef876a2ac80b158744a602ec --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/all_data.orig.json @@ -0,0 +1,53 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-08-03T13:23:48", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "magicmonk", + "author_rewards": 831270, + "beneficiaries": [], + "body": "**Hello everyone on Steem!!**\n\n\n**I am super excited** to finally be part of Steem! I have so much to share with you all and I look forward to learning with and from everyone here.\n\nMy name is Eddie and I'm 33 years old. I immigrated to New Zealand from Taiwan when I was 11 without speaking any English (except how are you). A lot of my childhood consisted of looking up words in the dictionary in order to do homework, but I am glad to have had that experience. After a bit of struggle, I finally graduated from high school and university and now I'm a permanent high school maths teacher, and my English is now the least of my worries. I currently live in my own house on an acreage in Brisbane Australia, and I wouldn't live anywhere else. I still speak fluent Chinese and a while ago, I went on the world's most viewed dating show \"If You Are The One\" in China as an Australian contestant, you can watch my appearance here:\n\nhttps://www.youtube.com/watch?v=OtTAPhJZ5JE\n\n### My interests and hobbies\n\n\n\nOther than studying hard at mathematics and computers, I'm passionate about exercise. I have won two Brisbane Night Tennis Association competitions. I have competed in swing dance championships around Australia, and I regularly practice Tai Chi, Shaolin and Praying Mantis Kung Fu. I believe exercising improves health and having good health is important to living a good life.\n\n\n\n### My history with Youtube\n\nA few years ago I saw Khan Academy on Youtube. He was a great teacher, however, we have a different maths curriculum here in Australia, so I decided to start my own math teaching on Youtube for Australian students. I have 3.5 million views now, and funnily enough most of my viewers are actually from overseas. I still work as a high school teacher full time so I don't have much time for Youtube, but I make videos when I can :) \n\nMy students were so impressed with my Youtube channel that one of my best students made this video about me. \n\nhttps://www.youtube.com/watch?v=wZskm-oETMY\n\nMy goal is to demystify maths and other difficult subjects such as computer programming and make them accessible to everyone. I use basic terms and I explain slowly so anyone can understand. I'm not very smart myself so if I can learn these things then anyone can. My lessons are structured so if you watch my videos from beginning to end on the playlist, you can learn everything from basic algebra to Calculus. \n\nhttps://www.youtube.com/watch?v=rBf1eYwwQFE\n\nI believe Steem will benefit from my participation as I will link my articles to my website http://magicmonk.org and my Youtube channel so they will bring more users to Steem.\n\n**Please feel free to share your ideas, advice, feedback with me. I look forward to hearing from you all!!**", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 60, + "children_abs_rshares": 0, + "created": "2016-07-24T04:52:48", + "curator_payout_value": { + "amount": "248842", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 227413, + "json_metadata": "{\"tags\":[\"introduceyourself\"],\"links\":[\"https://www.youtube.com/watch?v=OtTAPhJZ5JE\"]}", + "last_payout": "2016-08-24T06:35:09", + "last_update": "2016-07-24T09:39:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 265, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_steem_dollars": 10000, + "permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "reward_weight": 10000, + "root_author": "magicmonk", + "root_permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "title": "Hello Steemit! My name's Eddie (a.k.a. the Magic Monk), I am a Youtuber and a high school teacher! Let the writing begin!", + "total_payout_value": { + "amount": "3020002", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/all_data.pat.json b/hivemind/tavern/database_api_patterns/find_comments/all_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..863b3cd999eb7a8d402ad70d66151b5d45dbcf63 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/all_data.pat.json @@ -0,0 +1,53 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-08-03T13:23:48", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "magicmonk", + "author_rewards": 831270, + "beneficiaries": [], + "body": "**Hello everyone on Steem!!**\n\n\n**I am super excited** to finally be part of Steem! I have so much to share with you all and I look forward to learning with and from everyone here.\n\nMy name is Eddie and I'm 33 years old. I immigrated to New Zealand from Taiwan when I was 11 without speaking any English (except how are you). A lot of my childhood consisted of looking up words in the dictionary in order to do homework, but I am glad to have had that experience. After a bit of struggle, I finally graduated from high school and university and now I'm a permanent high school maths teacher, and my English is now the least of my worries. I currently live in my own house on an acreage in Brisbane Australia, and I wouldn't live anywhere else. I still speak fluent Chinese and a while ago, I went on the world's most viewed dating show \"If You Are The One\" in China as an Australian contestant, you can watch my appearance here:\n\nhttps://www.youtube.com/watch?v=OtTAPhJZ5JE\n\n### My interests and hobbies\n\n\n\nOther than studying hard at mathematics and computers, I'm passionate about exercise. I have won two Brisbane Night Tennis Association competitions. I have competed in swing dance championships around Australia, and I regularly practice Tai Chi, Shaolin and Praying Mantis Kung Fu. I believe exercising improves health and having good health is important to living a good life.\n\n\n\n### My history with Youtube\n\nA few years ago I saw Khan Academy on Youtube. He was a great teacher, however, we have a different maths curriculum here in Australia, so I decided to start my own math teaching on Youtube for Australian students. I have 3.5 million views now, and funnily enough most of my viewers are actually from overseas. I still work as a high school teacher full time so I don't have much time for Youtube, but I make videos when I can :) \n\nMy students were so impressed with my Youtube channel that one of my best students made this video about me. \n\nhttps://www.youtube.com/watch?v=wZskm-oETMY\n\nMy goal is to demystify maths and other difficult subjects such as computer programming and make them accessible to everyone. I use basic terms and I explain slowly so anyone can understand. I'm not very smart myself so if I can learn these things then anyone can. My lessons are structured so if you watch my videos from beginning to end on the playlist, you can learn everything from basic algebra to Calculus. \n\nhttps://www.youtube.com/watch?v=rBf1eYwwQFE\n\nI believe Steem will benefit from my participation as I will link my articles to my website http://magicmonk.org and my Youtube channel so they will bring more users to Steem.\n\n**Please feel free to share your ideas, advice, feedback with me. I look forward to hearing from you all!!**", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 60, + "children_abs_rshares": 0, + "created": "2016-07-24T04:52:48", + "curator_payout_value": { + "amount": "248842", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 313559, + "json_metadata": "{\"tags\":[\"introduceyourself\"],\"links\":[\"https://www.youtube.com/watch?v=OtTAPhJZ5JE\"]}", + "last_payout": "2016-08-24T06:35:09", + "last_update": "2016-07-24T09:39:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 265, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_hbd": 10000, + "permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "reward_weight": 10000, + "root_author": "magicmonk", + "root_permlink": "hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin", + "title": "Hello Steemit! My name's Eddie (a.k.a. the Magic Monk), I am a Youtuber and a high school teacher! Let the writing begin!", + "total_payout_value": { + "amount": "3020002", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/all_data.tavern.yaml b/hivemind/tavern/database_api_patterns/find_comments/all_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6db0bc1e1635951db153b479e55ec66a115a26db --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/all_data.tavern.yaml @@ -0,0 +1,31 @@ +--- +test_name: Hivemind database_api.find_comments all data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_comments all data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: + { + "comments": [["magicmonk","hello-steemit-my-name-s-eddie-a-k-a-the-magic-monk-i-am-a-youtuber-and-a-high-school-teacher-let-the-writing-begin"]] + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "all_data" + directory: "database_api_patterns/find_comments" diff --git a/hivemind/tavern/database_api_patterns/find_comments.orig.json b/hivemind/tavern/database_api_patterns/find_comments/first.orig.json similarity index 100% rename from hivemind/tavern/database_api_patterns/find_comments.orig.json rename to hivemind/tavern/database_api_patterns/find_comments/first.orig.json diff --git a/hivemind/tavern/database_api_patterns/find_comments.pat.json b/hivemind/tavern/database_api_patterns/find_comments/first.pat.json similarity index 100% rename from hivemind/tavern/database_api_patterns/find_comments.pat.json rename to hivemind/tavern/database_api_patterns/find_comments/first.pat.json diff --git a/hivemind/tavern/database_api_patterns/find_comments/first.tavern.yaml b/hivemind/tavern/database_api_patterns/find_comments/first.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d13fe33d50449533df7824a2b3f1affacf72cfbf --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/first.tavern.yaml @@ -0,0 +1,28 @@ +--- + test_name: Hivemind database_api.find_comments patterns test + + marks: + - patterntest + + includes: + - !include ../../common.yaml + + stages: + - name: find_comments + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: {"comments":[["steemit","firstpost"]]} + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "first" + directory: "database_api_patterns/find_comments" diff --git a/hivemind/tavern/database_api_patterns/find_comments/mixed.orig.json b/hivemind/tavern/database_api_patterns/find_comments/mixed.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..9f5f23b4337335c1e784d8f3582dd22bc0905d50 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/mixed.orig.json @@ -0,0 +1,102 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-08-31T17:00:21", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 324640, + "beneficiaries": [], + "body": "Hello, World!\n\nMy intention is not to make it into top 19. I could name many other candidates (clearly more than 19) with greater commitment to steem(it) who are a lot more appropriate as witnesses, but I'm sure I can be useful as a backup witness.\n\nI introduced myself here:\nhttps://steemit.com/introduceyourself/@gtg/hello-world\nThose of you who use https://steemit.chat know me as **Gandalf**.\nFor some time, I\u2019ve been using my magic powers (mostly those related to security and infrastructure) to improve steemit. For example, I\u2019ve improved our \"Perfect\" Forward Secrecy and made our communication with site more secure.\n\nMy **seed node** (EU based):\n`seed-node = gtg.steem.house:2001`\nYou can also use it to rsync data dir\n`rsync -Pa rsync://gtg.steem.house/witness_node_data_dir .`\n\nMy **witness node** is on a separate data center (an EU-based one as well).\nIf you believe I can be of value to steemit, please vote for me:\n`vote_for_witness YOURACCOUNT gtg true true`\n\n", + "cashout_time": "1969-12-31T23:59:59", + "category": "witness-category", + "children": 7, + "children_abs_rshares": 0, + "created": "2016-08-05T14:02:24", + "curator_payout_value": { + "amount": "231879", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 463153, + "json_metadata": "{\"tags\":[\"witness-category\"],\"links\":[\"https://steemit.com/introduceyourself/@gtg/hello-world\"]}", + "last_payout": "2016-09-05T05:17:57", + "last_update": "2016-08-05T14:02:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 87, + "parent_author": "", + "parent_permlink": "witness-category", + "percent_steem_dollars": 10000, + "permlink": "witness-gtg", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "witness-gtg", + "title": "Witness \"gtg\"", + "total_payout_value": { + "amount": "703088", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-07-10T12:39:42", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 1135218, + "beneficiaries": [], + "body": "I'm Gandalf.\nThat's not my real name, but even my mom saved my number as ***Gandalf*** in her phone contact list.\nThat counts, right?\nI'm an IT Wizard, system admin, happily married, <strike>owner of a cat</strike>.\nOwned by a cat.\n\n\n\n**Nyunya** *(The Cat)* wants to watch everything I do, that's just her way of lending a helping paw. I\u2019m not sure if she is so fascinated by what I do or she wants to make sure I do it right.\n\nWhy am I here? What is my motivation?\nNot much different from that guiding my cat:\nCuriosity and to be a witness (node?) of what is emerging here.\n\nMay the STEEM be with you!", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 3, + "children_abs_rshares": 0, + "created": "2016-07-03T16:35:03", + "curator_payout_value": { + "amount": "16244", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 36906, + "json_metadata": "{\"tags\":[\"introduceyourself\",\"cats\"],\"image\":[\"https://grey.house/img/niunia.jpg\"]}", + "last_payout": "2016-08-13T21:04:45", + "last_update": "2016-07-10T12:39:42", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 44, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_steem_dollars": 10000, + "permlink": "hello-world", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "hello-world", + "title": "Hello, World!", + "total_payout_value": { + "amount": "254288", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/mixed.pat.json b/hivemind/tavern/database_api_patterns/find_comments/mixed.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..ab8c2a57360ce1845ef9731957ff0b2ec20517b7 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/mixed.pat.json @@ -0,0 +1,102 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-08-31T17:00:21", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 324640, + "beneficiaries": [], + "body": "Hello, World!\n\nMy intention is not to make it into top 19. I could name many other candidates (clearly more than 19) with greater commitment to steem(it) who are a lot more appropriate as witnesses, but I'm sure I can be useful as a backup witness.\n\nI introduced myself here:\nhttps://steemit.com/introduceyourself/@gtg/hello-world\nThose of you who use https://steemit.chat know me as **Gandalf**.\nFor some time, I\u2019ve been using my magic powers (mostly those related to security and infrastructure) to improve steemit. For example, I\u2019ve improved our \"Perfect\" Forward Secrecy and made our communication with site more secure.\n\nMy **seed node** (EU based):\n`seed-node = gtg.steem.house:2001`\nYou can also use it to rsync data dir\n`rsync -Pa rsync://gtg.steem.house/witness_node_data_dir .`\n\nMy **witness node** is on a separate data center (an EU-based one as well).\nIf you believe I can be of value to steemit, please vote for me:\n`vote_for_witness YOURACCOUNT gtg true true`\n\n", + "cashout_time": "1969-12-31T23:59:59", + "category": "witness-category", + "children": 7, + "children_abs_rshares": 0, + "created": "2016-08-05T14:02:24", + "curator_payout_value": { + "amount": "231879", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 624896, + "json_metadata": "{\"tags\":[\"witness-category\"],\"links\":[\"https://steemit.com/introduceyourself/@gtg/hello-world\"]}", + "last_payout": "2016-09-05T05:17:57", + "last_update": "2016-08-05T14:02:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 87, + "parent_author": "", + "parent_permlink": "witness-category", + "percent_hbd": 10000, + "permlink": "witness-gtg", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "witness-gtg", + "title": "Witness \"gtg\"", + "total_payout_value": { + "amount": "703088", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-07-10T12:39:42", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 1135218, + "beneficiaries": [], + "body": "I'm Gandalf.\nThat's not my real name, but even my mom saved my number as ***Gandalf*** in her phone contact list.\nThat counts, right?\nI'm an IT Wizard, system admin, happily married, <strike>owner of a cat</strike>.\nOwned by a cat.\n\n\n\n**Nyunya** *(The Cat)* wants to watch everything I do, that's just her way of lending a helping paw. I\u2019m not sure if she is so fascinated by what I do or she wants to make sure I do it right.\n\nWhy am I here? What is my motivation?\nNot much different from that guiding my cat:\nCuriosity and to be a witness (node?) of what is emerging here.\n\nMay the STEEM be with you!", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 3, + "children_abs_rshares": 0, + "created": "2016-07-03T16:35:03", + "curator_payout_value": { + "amount": "16244", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 51402, + "json_metadata": "{\"tags\":[\"introduceyourself\",\"cats\"],\"image\":[\"https://grey.house/img/niunia.jpg\"]}", + "last_payout": "2016-08-13T21:04:45", + "last_update": "2016-07-10T12:39:42", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 44, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_hbd": 10000, + "permlink": "hello-world", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "hello-world", + "title": "Hello, World!", + "total_payout_value": { + "amount": "254288", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/mixed.tavern.yaml b/hivemind/tavern/database_api_patterns/find_comments/mixed.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b28403b6bdbd35a6f98d98d6176abb7ab553edad --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/mixed.tavern.yaml @@ -0,0 +1,28 @@ +--- + test_name: Hivemind database_api.find_comments patterns test multiple comments, some not found + + marks: + - patterntest + + includes: + - !include ../../common.yaml + + stages: + - name: find_comments + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: {"comments":[["admin","firstPost"],["gtg","witness-gtg"],["steemit","firstPost"],["gtg","hello-world"]]} + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "mixed" + directory: "database_api_patterns/find_comments" diff --git a/hivemind/tavern/database_api_patterns/find_comments/multiple.orig.json b/hivemind/tavern/database_api_patterns/find_comments/multiple.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..6ca5477e37f045c9a54dd0d7269e57cdba48e8ed --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/multiple.orig.json @@ -0,0 +1,200 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-07-18T19:53:12", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "admin", + "author_rewards": 0, + "beneficiaries": [], + "body": "First Reply! Let's get this **party** started", + "cashout_time": "1969-12-31T23:59:59", + "category": "meta", + "children": 2, + "children_abs_rshares": 0, + "created": "2016-03-30T19:52:30", + "curator_payout_value": { + "amount": "0", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 1, + "id": 1, + "json_metadata": "", + "last_payout": "2016-08-24T19:59:42", + "last_update": "2016-03-30T19:52:30", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": -226592300084, + "net_votes": 8, + "parent_author": "steemit", + "parent_permlink": "firstpost", + "percent_steem_dollars": 10000, + "permlink": "firstpost", + "reward_weight": 10000, + "root_author": "steemit", + "root_permlink": "firstpost", + "title": "", + "total_payout_value": { + "amount": "0", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-08-31T17:00:21", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 324640, + "beneficiaries": [], + "body": "Hello, World!\n\nMy intention is not to make it into top 19. I could name many other candidates (clearly more than 19) with greater commitment to steem(it) who are a lot more appropriate as witnesses, but I'm sure I can be useful as a backup witness.\n\nI introduced myself here:\nhttps://steemit.com/introduceyourself/@gtg/hello-world\nThose of you who use https://steemit.chat know me as **Gandalf**.\nFor some time, I\u2019ve been using my magic powers (mostly those related to security and infrastructure) to improve steemit. For example, I\u2019ve improved our \"Perfect\" Forward Secrecy and made our communication with site more secure.\n\nMy **seed node** (EU based):\n`seed-node = gtg.steem.house:2001`\nYou can also use it to rsync data dir\n`rsync -Pa rsync://gtg.steem.house/witness_node_data_dir .`\n\nMy **witness node** is on a separate data center (an EU-based one as well).\nIf you believe I can be of value to steemit, please vote for me:\n`vote_for_witness YOURACCOUNT gtg true true`\n\n", + "cashout_time": "1969-12-31T23:59:59", + "category": "witness-category", + "children": 7, + "children_abs_rshares": 0, + "created": "2016-08-05T14:02:24", + "curator_payout_value": { + "amount": "231879", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 463153, + "json_metadata": "{\"tags\":[\"witness-category\"],\"links\":[\"https://steemit.com/introduceyourself/@gtg/hello-world\"]}", + "last_payout": "2016-09-05T05:17:57", + "last_update": "2016-08-05T14:02:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 87, + "parent_author": "", + "parent_permlink": "witness-category", + "percent_steem_dollars": 10000, + "permlink": "witness-gtg", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "witness-gtg", + "title": "Witness \"gtg\"", + "total_payout_value": { + "amount": "703088", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-08-24T09:30:03", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "steemit", + "author_rewards": 3548, + "beneficiaries": [], + "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.", + "cashout_time": "1969-12-31T23:59:59", + "category": "meta", + "children": 36, + "children_abs_rshares": 0, + "created": "2016-03-30T18:30:18", + "curator_payout_value": { + "amount": "756", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 0, + "json_metadata": "", + "last_payout": "2016-08-24T19:59:42", + "last_update": "2016-03-30T18:30:18", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 90, + "parent_author": "", + "parent_permlink": "meta", + "percent_steem_dollars": 10000, + "permlink": "firstpost", + "reward_weight": 10000, + "root_author": "steemit", + "root_permlink": "firstpost", + "title": "Welcome to Steem!", + "total_payout_value": { + "amount": "942", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-07-10T12:39:42", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 1135218, + "beneficiaries": [], + "body": "I'm Gandalf.\nThat's not my real name, but even my mom saved my number as ***Gandalf*** in her phone contact list.\nThat counts, right?\nI'm an IT Wizard, system admin, happily married, <strike>owner of a cat</strike>.\nOwned by a cat.\n\n\n\n**Nyunya** *(The Cat)* wants to watch everything I do, that's just her way of lending a helping paw. I\u2019m not sure if she is so fascinated by what I do or she wants to make sure I do it right.\n\nWhy am I here? What is my motivation?\nNot much different from that guiding my cat:\nCuriosity and to be a witness (node?) of what is emerging here.\n\nMay the STEEM be with you!", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 3, + "children_abs_rshares": 0, + "created": "2016-07-03T16:35:03", + "curator_payout_value": { + "amount": "16244", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 36906, + "json_metadata": "{\"tags\":[\"introduceyourself\",\"cats\"],\"image\":[\"https://grey.house/img/niunia.jpg\"]}", + "last_payout": "2016-08-13T21:04:45", + "last_update": "2016-07-10T12:39:42", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 44, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_steem_dollars": 10000, + "permlink": "hello-world", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "hello-world", + "title": "Hello, World!", + "total_payout_value": { + "amount": "254288", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/multiple.pat.json b/hivemind/tavern/database_api_patterns/find_comments/multiple.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..33430e267c4f50a180a60d0da884e8260bac1bd4 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/multiple.pat.json @@ -0,0 +1,200 @@ +{ + "comments": [ + { + "abs_rshares": 0, + "active": "2016-07-18T19:53:12", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "admin", + "author_rewards": 0, + "beneficiaries": [], + "body": "First Reply! Let's get this **party** started", + "cashout_time": "1969-12-31T23:59:59", + "category": "meta", + "children": 2, + "children_abs_rshares": 0, + "created": "2016-03-30T19:52:30", + "curator_payout_value": { + "amount": "0", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 1, + "id": 2, + "json_metadata": "", + "last_payout": "2016-08-24T19:59:42", + "last_update": "2016-03-30T19:52:30", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 8, + "parent_author": "steemit", + "parent_permlink": "firstpost", + "percent_hbd": 10000, + "permlink": "firstpost", + "reward_weight": 10000, + "root_author": "steemit", + "root_permlink": "firstpost", + "title": "", + "total_payout_value": { + "amount": "0", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-08-31T17:00:21", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 324640, + "beneficiaries": [], + "body": "Hello, World!\n\nMy intention is not to make it into top 19. I could name many other candidates (clearly more than 19) with greater commitment to steem(it) who are a lot more appropriate as witnesses, but I'm sure I can be useful as a backup witness.\n\nI introduced myself here:\nhttps://steemit.com/introduceyourself/@gtg/hello-world\nThose of you who use https://steemit.chat know me as **Gandalf**.\nFor some time, I\u2019ve been using my magic powers (mostly those related to security and infrastructure) to improve steemit. For example, I\u2019ve improved our \"Perfect\" Forward Secrecy and made our communication with site more secure.\n\nMy **seed node** (EU based):\n`seed-node = gtg.steem.house:2001`\nYou can also use it to rsync data dir\n`rsync -Pa rsync://gtg.steem.house/witness_node_data_dir .`\n\nMy **witness node** is on a separate data center (an EU-based one as well).\nIf you believe I can be of value to steemit, please vote for me:\n`vote_for_witness YOURACCOUNT gtg true true`\n\n", + "cashout_time": "1969-12-31T23:59:59", + "category": "witness-category", + "children": 7, + "children_abs_rshares": 0, + "created": "2016-08-05T14:02:24", + "curator_payout_value": { + "amount": "231879", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 624896, + "json_metadata": "{\"tags\":[\"witness-category\"],\"links\":[\"https://steemit.com/introduceyourself/@gtg/hello-world\"]}", + "last_payout": "2016-09-05T05:17:57", + "last_update": "2016-08-05T14:02:24", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 87, + "parent_author": "", + "parent_permlink": "witness-category", + "percent_hbd": 10000, + "permlink": "witness-gtg", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "witness-gtg", + "title": "Witness \"gtg\"", + "total_payout_value": { + "amount": "703088", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-08-24T09:30:03", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "steemit", + "author_rewards": 3548, + "beneficiaries": [], + "body": "Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power.", + "cashout_time": "1969-12-31T23:59:59", + "category": "meta", + "children": 36, + "children_abs_rshares": 0, + "created": "2016-03-30T18:30:18", + "curator_payout_value": { + "amount": "756", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 1, + "json_metadata": "", + "last_payout": "2016-08-24T19:59:42", + "last_update": "2016-03-30T18:30:18", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 90, + "parent_author": "", + "parent_permlink": "meta", + "percent_hbd": 10000, + "permlink": "firstpost", + "reward_weight": 10000, + "root_author": "steemit", + "root_permlink": "firstpost", + "title": "Welcome to Steem!", + "total_payout_value": { + "amount": "942", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + }, + { + "abs_rshares": 0, + "active": "2016-07-10T12:39:42", + "allow_curation_rewards": true, + "allow_replies": true, + "allow_votes": true, + "author": "gtg", + "author_rewards": 1135218, + "beneficiaries": [], + "body": "I'm Gandalf.\nThat's not my real name, but even my mom saved my number as ***Gandalf*** in her phone contact list.\nThat counts, right?\nI'm an IT Wizard, system admin, happily married, <strike>owner of a cat</strike>.\nOwned by a cat.\n\n\n\n**Nyunya** *(The Cat)* wants to watch everything I do, that's just her way of lending a helping paw. I\u2019m not sure if she is so fascinated by what I do or she wants to make sure I do it right.\n\nWhy am I here? What is my motivation?\nNot much different from that guiding my cat:\nCuriosity and to be a witness (node?) of what is emerging here.\n\nMay the STEEM be with you!", + "cashout_time": "1969-12-31T23:59:59", + "category": "introduceyourself", + "children": 3, + "children_abs_rshares": 0, + "created": "2016-07-03T16:35:03", + "curator_payout_value": { + "amount": "16244", + "nai": "@@000000013", + "precision": 3 + }, + "depth": 0, + "id": 51402, + "json_metadata": "{\"tags\":[\"introduceyourself\",\"cats\"],\"image\":[\"https://grey.house/img/niunia.jpg\"]}", + "last_payout": "2016-08-13T21:04:45", + "last_update": "2016-07-10T12:39:42", + "max_accepted_payout": { + "amount": "1000000000", + "nai": "@@000000013", + "precision": 3 + }, + "max_cashout_time": "1969-12-31T23:59:59", + "net_rshares": 0, + "net_votes": 44, + "parent_author": "", + "parent_permlink": "introduceyourself", + "percent_hbd": 10000, + "permlink": "hello-world", + "reward_weight": 10000, + "root_author": "gtg", + "root_permlink": "hello-world", + "title": "Hello, World!", + "total_payout_value": { + "amount": "254288", + "nai": "@@000000013", + "precision": 3 + }, + "total_vote_weight": 0, + "vote_rshares": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/multiple.tavern.yaml b/hivemind/tavern/database_api_patterns/find_comments/multiple.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..eacfc0e834fad5d096fcc6b17fb942ead7960e02 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/multiple.tavern.yaml @@ -0,0 +1,28 @@ +--- + test_name: Hivemind database_api.find_comments patterns test multiple comments + + marks: + - patterntest + + includes: + - !include ../../common.yaml + + stages: + - name: find_comments + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: {"comments":[["admin","firstpost"],["gtg","witness-gtg"],["steemit","firstpost"],["gtg","hello-world"]]} + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "multiple" + directory: "database_api_patterns/find_comments" diff --git a/hivemind/tavern/database_api_patterns/find_comments/no_data.orig.json b/hivemind/tavern/database_api_patterns/find_comments/no_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..a0d0268f862344dd18eb8dc09e99ee163572dda2 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/no_data.orig.json @@ -0,0 +1,3 @@ +{ + "comments": [] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/no_data.pat.json b/hivemind/tavern/database_api_patterns/find_comments/no_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..a0d0268f862344dd18eb8dc09e99ee163572dda2 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/no_data.pat.json @@ -0,0 +1,3 @@ +{ + "comments": [] +} diff --git a/hivemind/tavern/database_api_patterns/find_comments/no_data.tavern.yaml b/hivemind/tavern/database_api_patterns/find_comments/no_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f74b4b6e39cd0418f148aa7f9d09ca234afa03e8 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_comments/no_data.tavern.yaml @@ -0,0 +1,31 @@ +--- +test_name: Hivemind database_api.find_comments no data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_comments no data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_comments" + params: + { + "comments": [["magicmonk",""]] + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "no_data" + directory: "database_api_patterns/find_comments" diff --git a/hivemind/tavern/database_api_patterns/find_votes.pat.json b/hivemind/tavern/database_api_patterns/find_votes.pat.json deleted file mode 100644 index b2b834132eccc88ba1f8281acb1109631502dcfc..0000000000000000000000000000000000000000 --- a/hivemind/tavern/database_api_patterns/find_votes.pat.json +++ /dev/null @@ -1,1392 +0,0 @@ -[ - { - "author": "roelandp", - "last_update": "2016-08-25T21:14:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1443077144144, - "vote_percent": 10000, - "voter": "anonymous", - "weight": 14340640191507060 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:20:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 158985837190, - "vote_percent": 10000, - "voter": "highasfuck", - "weight": 18707262932859690 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 7872457033211, - "vote_percent": 10000, - "voter": "pharesim", - "weight": 575498905301694100 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:17:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1754932215280, - "vote_percent": 10000, - "voter": "hr1", - "weight": 240710957476907253 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:37:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 9910147284570, - "vote_percent": 5000, - "voter": "tombstone", - "weight": 1299387373405102838 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:37:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2921333226039, - "vote_percent": 10000, - "voter": "wang", - "weight": 731336847763362836 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2476131997, - "vote_percent": 10000, - "voter": "boy", - "weight": 140990083519884 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3005703855, - "vote_percent": 10000, - "voter": "bue-witness", - "weight": 171594258591508 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 557354442, - "vote_percent": 10000, - "voter": "bunny", - "weight": 31731545284403 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T15:42:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2152215026140, - "vote_percent": 2900, - "voter": "complexring", - "weight": 109163904259652527 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 42724131990, - "vote_percent": 10000, - "voter": "bue", - "weight": 2436002426376211 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1327124837, - "vote_percent": 10000, - "voter": "mini", - "weight": 75576094808278 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 170849766, - "vote_percent": 10000, - "voter": "moon", - "weight": 9726696370140 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:33:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 213971974610, - "vote_percent": 10000, - "voter": "alex90342fastn1", - "weight": 56900006113977735 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:23:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 325419220968, - "vote_percent": 10000, - "voter": "recursive2", - "weight": 50753603736711065 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:20:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2475275982937, - "vote_percent": 10000, - "voter": "recursive", - "weight": 375527808414782336 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 22569077480, - "vote_percent": 10000, - "voter": "lee3", - "weight": 3969872881386901 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 5527985680, - "vote_percent": 10000, - "voter": "lee5", - "weight": 940014962120641 - }, - { - "author": "roelandp", - "last_update": "2016-08-31T15:57:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 18764610643, - "vote_percent": 10000, - "voter": "proctologic", - "weight": 0 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 497724578, - "vote_percent": 10000, - "voter": "healthcare", - "weight": 28342603441817 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:40:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 26509133558, - "vote_percent": 10000, - "voter": "rimantas", - "weight": 2376597259548369 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 763596484, - "vote_percent": 10000, - "voter": "daniel.pan", - "weight": 43475002031803 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:22:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 912920285, - "vote_percent": 10000, - "voter": "relativelyboston", - "weight": 142306178993535 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:43:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 34274689880, - "vote_percent": 10000, - "voter": "alexgr", - "weight": 3421464289609674 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 230379526, - "vote_percent": 10000, - "voter": "helen.tan", - "weight": 13115655806944 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:09:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 4066971566, - "vote_percent": 10000, - "voter": "anonimau5", - "weight": 392558295604390 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T23:07:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 25306947578, - "vote_percent": 10000, - "voter": "steampunkpowered", - "weight": 1439719672253364 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:32:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 14374791197, - "vote_percent": 10000, - "voter": "valtr", - "weight": 3663255030285697 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T00:34:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 114552838509, - "vote_percent": 10000, - "voter": "edgeland", - "weight": 6427132097049241 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T04:42:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 78027243398, - "vote_percent": 10000, - "voter": "easteagle13", - "weight": 4245243212457860 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T05:16:33", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 12346039464, - "vote_percent": 10000, - "voter": "ervin-lemark", - "weight": 670067237184799 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2537078612, - "vote_percent": 1000, - "voter": "fkn", - "weight": 374519718550955 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:18:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 474012227, - "vote_percent": 10000, - "voter": "paco-steem", - "weight": 76333480467208 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 5434257068, - "vote_percent": 10000, - "voter": "spaninv", - "weight": 883355449557026 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:15:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 24560548658, - "vote_percent": 10000, - "voter": "instructor2121", - "weight": 2059748951836442 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:26:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 319656816349, - "vote_percent": 10000, - "voter": "teamsteem", - "weight": 61393558228792426 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 654686841103, - "vote_percent": 10000, - "voter": "nanzo-scoop", - "weight": 100198439550794443 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T08:02:39", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 11972225194, - "vote_percent": 10000, - "voter": "klye", - "weight": 644073708557952 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:35:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 27467897017, - "vote_percent": 10000, - "voter": "asch", - "weight": 7699618535330632 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T00:24:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2524835106, - "vote_percent": 3301, - "voter": "murh", - "weight": 142160137957230 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:51:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 17570378449, - "vote_percent": 10000, - "voter": "b4bb4r-5h3r", - "weight": 1645616034720202 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:25:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 324838465620, - "vote_percent": 10000, - "voter": "cyber", - "weight": 62064486103856892 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T03:25:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 233719327703, - "vote_percent": 10000, - "voter": "billbutler", - "weight": 12961183005643070 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:01:45", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 35246936805, - "vote_percent": 10000, - "voter": "justtryme90", - "weight": 3417177120253475 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:18:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 370370177, - "vote_percent": 10000, - "voter": "stiletto", - "weight": 58444042112179 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:51:45", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 172553610831, - "vote_percent": 10000, - "voter": "will-zewe", - "weight": 17041536787170570 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:16:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 81425950011, - "vote_percent": 10000, - "voter": "tim-johnston", - "weight": 7668178505528960 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T06:56:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 125775847425, - "vote_percent": 10000, - "voter": "beervangeer", - "weight": 6800860632666468 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:39:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 138061585013, - "vote_percent": 10000, - "voter": "schro", - "weight": 12233443676715403 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 281276583502, - "vote_percent": 10000, - "voter": "trogdor", - "weight": 44248091869338976 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:57:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 84900531486, - "vote_percent": 10000, - "voter": "geoffrey", - "weight": 8268884782924361 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:24:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 39470751272, - "vote_percent": 10000, - "voter": "honeythief", - "weight": 6526909402203450 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:15:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 239360246037, - "vote_percent": 10000, - "voter": "mauricemikkers", - "weight": 22810246454421459 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:29:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 6119814553, - "vote_percent": 10000, - "voter": "magnebit", - "weight": 1425217745352013 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T23:09:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 48965372388, - "vote_percent": 10000, - "voter": "razvanelulmarin", - "weight": 2779919300559947 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:44:45", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2236254142, - "vote_percent": 10000, - "voter": "superfreek", - "weight": 229037662256747 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:29:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 322845836, - "vote_percent": 10000, - "voter": "gerber", - "weight": 30259461532643 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:21:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 123824117, - "vote_percent": 10000, - "voter": "ales", - "weight": 16273835928044 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:47:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2935212438, - "vote_percent": 10000, - "voter": "sunshinecrypto", - "weight": 295418242319399 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:14:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 305474552136, - "vote_percent": 10000, - "voter": "roelandp", - "weight": 0 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T23:16:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 35513786437, - "vote_percent": 10000, - "voter": "ezzy", - "weight": 2011513336646451 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T01:12:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 25659817189, - "vote_percent": 10000, - "voter": "hitmeasap", - "weight": 1433205597705098 - }, - { - "author": "roelandp", - "last_update": "2016-08-30T00:55:27", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 9828610198, - "vote_percent": 10000, - "voter": "stealthtrader", - "weight": 0 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:32:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 11517864544, - "vote_percent": 10000, - "voter": "yogi.artist", - "weight": 2893684560218233 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:20:27", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 412711767083, - "vote_percent": 10000, - "voter": "juneaugoldbuyer", - "weight": 48469946909458748 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:36:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 50712863419, - "vote_percent": 10000, - "voter": "derekareith", - "weight": 14798174799565845 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T13:55:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 35940253714, - "vote_percent": 10000, - "voter": "worldfamous", - "weight": 1930628372283481 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 6382110232, - "vote_percent": 1000, - "voter": "furion", - "weight": 900253484956326 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:30:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 449718057019, - "vote_percent": 10000, - "voter": "neoxian", - "weight": 102444311094754580 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T02:11:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 592533760, - "vote_percent": 10000, - "voter": "busser", - "weight": 33071535350029 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:21:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2463120689, - "vote_percent": 10000, - "voter": "owdy", - "weight": 336595963016667 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 66703037, - "vote_percent": 1000, - "voter": "ch0c0latechip", - "weight": 9842319044101 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 61730866, - "vote_percent": 1000, - "voter": "doge4lyf", - "weight": 9320283101430 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T16:38:45", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 62798045, - "vote_percent": 10000, - "voter": "ghozia", - "weight": 3010480592967 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:38:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1295174354, - "vote_percent": 10000, - "voter": "vi1son", - "weight": 121386167168122 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:33:15", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 972775486, - "vote_percent": 10000, - "voter": "steem1653", - "weight": 254900818514848 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:30:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 21528676039, - "vote_percent": 10000, - "voter": "chriscrypto", - "weight": 4835041572912927 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:15:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 4808048774, - "vote_percent": 10000, - "voter": "sebastien", - "weight": 454188676220403 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:51:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 11386699716, - "vote_percent": 10000, - "voter": "asim", - "weight": 1132154611262255 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:18:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 13474441594, - "vote_percent": 10000, - "voter": "aaseb", - "weight": 1800317969822232 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:15:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 778189863, - "vote_percent": 10000, - "voter": "steem14", - "weight": 65547599354764 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:45:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 232922931345, - "vote_percent": 10000, - "voter": "nabilov", - "weight": 23648818749856712 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:26:33", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1663075250, - "vote_percent": 10000, - "voter": "pigatto", - "weight": 326294706972902 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:21:15", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 16588069588, - "vote_percent": 10000, - "voter": "anduweb", - "weight": 2110427009287203 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:26:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1716430046, - "vote_percent": 10000, - "voter": "arcange", - "weight": 335511603990795 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:29:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2639329881, - "vote_percent": 10000, - "voter": "imp3", - "weight": 613138379727735 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:03:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 37848363145, - "vote_percent": 10000, - "voter": "mynameisbrian", - "weight": 3659681696945682 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T03:40:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 193924738154, - "vote_percent": 10000, - "voter": "blueorgy", - "weight": 10629311203454025 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:26:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 10413503201, - "vote_percent": 10000, - "voter": "heimindanger", - "weight": 1995146954169480 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:58:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3045773193, - "vote_percent": 10000, - "voter": "azurejasper", - "weight": 295696727119125 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T08:34:45", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 136205648, - "vote_percent": 10000, - "voter": "ellamaeamor", - "weight": 7324954431630 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:36:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 4325417284, - "vote_percent": 10000, - "voter": "cryptohustlin", - "weight": 1293756878060590 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:39:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 19602046136, - "vote_percent": 10000, - "voter": "celsius100", - "weight": 1740160542238444 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:24:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 109399116, - "vote_percent": 10000, - "voter": "elmusic", - "weight": 10256635617832 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T08:24:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 379210483, - "vote_percent": 10000, - "voter": "meteor78", - "weight": 20393707603247 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2043355685, - "vote_percent": 1000, - "voter": "positive", - "weight": 294847866350382 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:17:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 190746623, - "vote_percent": 10000, - "voter": "strictlybusiness", - "weight": 24591876318894 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:53:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3726618587, - "vote_percent": 10000, - "voter": "joshglen", - "weight": 364124553770383 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:51:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 8656137777, - "vote_percent": 10000, - "voter": "winstonwolfe", - "weight": 861294373426438 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:38:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 737544850, - "vote_percent": 10000, - "voter": "happyphoenix", - "weight": 62433843229167 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:33:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 672065480, - "vote_percent": 10000, - "voter": "curator", - "weight": 181113788939196 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1666197673, - "vote_percent": 10000, - "voter": "dirty.hera", - "weight": 308139772097377 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:14:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 45913763443, - "vote_percent": 10000, - "voter": "gomeravibz", - "weight": 1695116440663136 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:49:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 5388352911, - "vote_percent": 10000, - "voter": "nekromarinist", - "weight": 538001334195297 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:11:33", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 29066230989, - "vote_percent": 10000, - "voter": "allasyummyfood", - "weight": 2802215769731967 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T00:54:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 11626372889, - "vote_percent": 10000, - "voter": "felixxx", - "weight": 650047031947827 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:17:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 19752627093, - "vote_percent": 10000, - "voter": "yng-entrepreneur", - "weight": 1853467546566796 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:27:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 21674528091, - "vote_percent": 10000, - "voter": "laoyao", - "weight": 4286839674777575 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T09:47:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2964837761, - "vote_percent": 10000, - "voter": "ullikume", - "weight": 159431593463425 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T23:42:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 88391723522, - "vote_percent": 10000, - "voter": "thisisbenbrick", - "weight": 4989401617302216 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:14:39", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 7956031103, - "vote_percent": 10000, - "voter": "jphamer1", - "weight": 764953363438110 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:14:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 18915024758, - "vote_percent": 10000, - "voter": "velourex", - "weight": 1820399897960274 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 52121575042, - "vote_percent": 10000, - "voter": "joele", - "weight": 8585148021405845 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:31:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3201272889, - "vote_percent": 10000, - "voter": "oflyhigh", - "weight": 785461477344246 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:40:15", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 31913009466, - "vote_percent": 10000, - "voter": "driv3n", - "weight": 2871236734243350 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:17:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3164651193, - "vote_percent": 10000, - "voter": "blow", - "weight": 382325428793746 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:29:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 20596454234, - "vote_percent": 10000, - "voter": "hanshotfirst", - "weight": 4744601400660209 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:48:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 102922516323, - "vote_percent": 10000, - "voter": "miacats", - "weight": 10317425343756290 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:40:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1357061673, - "vote_percent": 10000, - "voter": "nords", - "weight": 123570211024582 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:29:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 15285298550, - "vote_percent": 10000, - "voter": "solar", - "weight": 3533861406131841 - }, - { - "author": "roelandp", - "last_update": "2016-08-27T16:29:33", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 5402019036, - "vote_percent": 10000, - "voter": "matrixdweller", - "weight": 0 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:29:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 981458981, - "vote_percent": 10000, - "voter": "chinadaily", - "weight": 226621510945553 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T00:33:48", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 5473197578, - "vote_percent": 10000, - "voter": "solarguy", - "weight": 308098794015649 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:04:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3318805144, - "vote_percent": 10000, - "voter": "macartem", - "weight": 320428250024569 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:38:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 16160873155, - "vote_percent": 10000, - "voter": "yef99", - "weight": 1389667900948023 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:49:54", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 39960965274, - "vote_percent": 10000, - "voter": "sweetsssj", - "weight": 3983266268473525 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T07:28:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 25009624823, - "vote_percent": 10000, - "voter": "andrewawerdna", - "weight": 1346795608266775 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:48:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1316071065, - "vote_percent": 10000, - "voter": "imag1ne", - "weight": 132436874975066 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:52:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 58437147869, - "vote_percent": 10000, - "voter": "skum", - "weight": 5722785943450512 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:19:57", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1983029026, - "vote_percent": 10000, - "voter": "richardcrill", - "weight": 185931331161535 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T02:54:30", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 62191243, - "vote_percent": 10000, - "voter": "profanarky", - "weight": 3471064426385 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:26:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 81859852, - "vote_percent": 10000, - "voter": "happylovelife", - "weight": 7674659360793 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:29:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3743087760, - "vote_percent": 10000, - "voter": "ericbotticelli", - "weight": 350880274705530 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:15:15", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 155693801968, - "vote_percent": 10000, - "voter": "charlieshrem", - "weight": 13764401025164125 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:22:42", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 54219676, - "vote_percent": 10000, - "voter": "steemafon", - "weight": 8262519716740 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:19:33", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1079640233, - "vote_percent": 10000, - "voter": "burnin", - "weight": 191117769720912 - }, - { - "author": "roelandp", - "last_update": "2016-08-27T00:50:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 677943510, - "vote_percent": 10000, - "voter": "mrdeleted", - "weight": 0 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:45:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 53578816, - "vote_percent": 10000, - "voter": "echoesinthemind", - "weight": 5021265652106 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:16:24", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 67807559, - "vote_percent": 10000, - "voter": "pickoum", - "weight": 11168221241042 - } -] diff --git a/hivemind/tavern/database_api_patterns/find_votes/all_data.orig.json b/hivemind/tavern/database_api_patterns/find_votes/all_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..d24dc5a68552170105ea7ece8426bbb0177e93d2 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_votes/all_data.orig.json @@ -0,0 +1,235 @@ +{ + "votes": [ + { + "author": "kental", + "id": 1007667, + "last_update": "2016-07-24T17:35:57", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 2329409778, + "vote_percent": 10000, + "voter": "on0tole", + "weight": "5725626236557488" + }, + { + "author": "kental", + "id": 1008825, + "last_update": "2016-07-24T17:50:21", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 76250486, + "vote_percent": 10000, + "voter": "eduardf", + "weight": "351204348157886" + }, + { + "author": "kental", + "id": 1019899, + "last_update": "2016-07-24T20:36:12", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 201580361, + "vote_percent": 10000, + "voter": "arian1", + "weight": "928099862895377" + }, + { + "author": "kental", + "id": 1009222, + "last_update": "2016-07-24T17:55:57", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 125329863, + "vote_percent": 10000, + "voter": "antino", + "weight": "577106937499314" + }, + { + "author": "kental", + "id": 1036843, + "last_update": "2016-07-25T02:13:09", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": -1073621806, + "vote_percent": -10000, + "voter": "mrrobot", + "weight": 0 + }, + { + "author": "kental", + "id": 1009251, + "last_update": "2016-07-24T17:56:21", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 72897437, + "vote_percent": 10000, + "voter": "greenggc", + "weight": "335654507428219" + }, + { + "author": "kental", + "id": 1009129, + "last_update": "2016-07-24T17:54:33", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 47975555, + "vote_percent": 10000, + "voter": "basilisk", + "weight": "220961721236518" + }, + { + "author": "kental", + "id": 1009127, + "last_update": "2016-07-24T17:54:30", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 31114595, + "vote_percent": 10000, + "voter": "jpy", + "weight": "143307780795141" + }, + { + "author": "kental", + "id": 1009143, + "last_update": "2016-07-24T17:54:45", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 33707417, + "vote_percent": 10000, + "voter": "aud", + "weight": "155232520602848" + }, + { + "author": "kental", + "id": 1009152, + "last_update": "2016-07-24T17:54:51", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 44078823, + "vote_percent": 10000, + "voter": "nzd", + "weight": "202988781601736" + }, + { + "author": "kental", + "id": 1009132, + "last_update": "2016-07-24T17:54:36", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 42778061, + "vote_percent": 10000, + "voter": "gaming", + "weight": "197019079284514" + }, + { + "author": "kental", + "id": 1009139, + "last_update": "2016-07-24T17:54:42", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 49255541, + "vote_percent": 10000, + "voter": "fiction", + "weight": "226840883735348" + }, + { + "author": "kental", + "id": 1009157, + "last_update": "2016-07-24T17:54:57", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 49254543, + "vote_percent": 10000, + "voter": "kitchen", + "weight": "226812489297147" + }, + { + "author": "kental", + "id": 1009154, + "last_update": "2016-07-24T17:54:54", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 51845907, + "vote_percent": 10000, + "voter": "vogue", + "weight": "238751504226267" + }, + { + "author": "kental", + "id": 1009137, + "last_update": "2016-07-24T17:54:39", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 50538830, + "vote_percent": 10000, + "voter": "athletes", + "weight": "232756730610835" + }, + { + "author": "kental", + "id": 1009147, + "last_update": "2016-07-24T17:54:48", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 31100390, + "vote_percent": 10000, + "voter": "architecture", + "weight": "143224079345927" + }, + { + "author": "kental", + "id": 1006609, + "last_update": "2016-07-24T17:20:39", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 17937789, + "vote_percent": 10000, + "voter": "sharon", + "weight": "1930127299213" + }, + { + "author": "kental", + "id": 1006605, + "last_update": "2016-07-24T17:20:36", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 25593390, + "vote_percent": 10000, + "voter": "lillianjones", + "weight": "2557201200699" + }, + { + "author": "kental", + "id": 1006561, + "last_update": "2016-07-24T17:19:57", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 55121187, + "vote_percent": 10000, + "voter": "kental", + "weight": 0 + }, + { + "author": "kental", + "id": 1010055, + "last_update": "2016-07-24T18:07:18", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 18239813, + "vote_percent": 10000, + "voter": "miketr", + "weight": "83982871266768" + }, + { + "author": "kental", + "id": 1006611, + "last_update": "2016-07-24T17:20:39", + "num_changes": -1, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 32728077, + "vote_percent": 10000, + "voter": "bison015", + "weight": "3521535165912" + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_votes/all_data.pat.json b/hivemind/tavern/database_api_patterns/find_votes/all_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..df27deab82be13fa72058d707ae3aeed53f57876 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_votes/all_data.pat.json @@ -0,0 +1,235 @@ +{ + "votes": [ + { + "author": "kental", + "id": 1011491, + "last_update": "2016-07-24T17:35:57", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 2329409778, + "vote_percent": 10000, + "voter": "on0tole", + "weight": 5725626236557488 + }, + { + "author": "kental", + "id": 1012650, + "last_update": "2016-07-24T17:50:21", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 76250486, + "vote_percent": 10000, + "voter": "eduardf", + "weight": 351204348157886 + }, + { + "author": "kental", + "id": 1023745, + "last_update": "2016-07-24T20:36:12", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 201580361, + "vote_percent": 10000, + "voter": "arian1", + "weight": 928099862895377 + }, + { + "author": "kental", + "id": 1013048, + "last_update": "2016-07-24T17:55:57", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 125329863, + "vote_percent": 10000, + "voter": "antino", + "weight": 577106937499314 + }, + { + "author": "kental", + "id": 1040736, + "last_update": "2016-07-25T02:13:09", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": -1073621806, + "vote_percent": -10000, + "voter": "mrrobot", + "weight": 0 + }, + { + "author": "kental", + "id": 1013077, + "last_update": "2016-07-24T17:56:21", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 72897437, + "vote_percent": 10000, + "voter": "greenggc", + "weight": 335654507428219 + }, + { + "author": "kental", + "id": 1012955, + "last_update": "2016-07-24T17:54:33", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 47975555, + "vote_percent": 10000, + "voter": "basilisk", + "weight": 220961721236518 + }, + { + "author": "kental", + "id": 1012953, + "last_update": "2016-07-24T17:54:30", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 31114595, + "vote_percent": 10000, + "voter": "jpy", + "weight": 143307780795141 + }, + { + "author": "kental", + "id": 1012969, + "last_update": "2016-07-24T17:54:45", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 33707417, + "vote_percent": 10000, + "voter": "aud", + "weight": 155232520602848 + }, + { + "author": "kental", + "id": 1012978, + "last_update": "2016-07-24T17:54:51", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 44078823, + "vote_percent": 10000, + "voter": "nzd", + "weight": 202988781601736 + }, + { + "author": "kental", + "id": 1012958, + "last_update": "2016-07-24T17:54:36", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 42778061, + "vote_percent": 10000, + "voter": "gaming", + "weight": 197019079284514 + }, + { + "author": "kental", + "id": 1012965, + "last_update": "2016-07-24T17:54:42", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 49255541, + "vote_percent": 10000, + "voter": "fiction", + "weight": 226840883735348 + }, + { + "author": "kental", + "id": 1012983, + "last_update": "2016-07-24T17:54:57", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 49254543, + "vote_percent": 10000, + "voter": "kitchen", + "weight": 226812489297147 + }, + { + "author": "kental", + "id": 1012980, + "last_update": "2016-07-24T17:54:54", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 51845907, + "vote_percent": 10000, + "voter": "vogue", + "weight": 238751504226267 + }, + { + "author": "kental", + "id": 1012963, + "last_update": "2016-07-24T17:54:39", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 50538830, + "vote_percent": 10000, + "voter": "athletes", + "weight": 232756730610835 + }, + { + "author": "kental", + "id": 1012973, + "last_update": "2016-07-24T17:54:48", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 31100390, + "vote_percent": 10000, + "voter": "architecture", + "weight": 143224079345927 + }, + { + "author": "kental", + "id": 1010440, + "last_update": "2016-07-24T17:20:39", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 17937789, + "vote_percent": 10000, + "voter": "sharon", + "weight": 1930127299213 + }, + { + "author": "kental", + "id": 1010436, + "last_update": "2016-07-24T17:20:36", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 25593390, + "vote_percent": 10000, + "voter": "lillianjones", + "weight": 2557201200699 + }, + { + "author": "kental", + "id": 1010393, + "last_update": "2016-07-24T17:19:57", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 55121187, + "vote_percent": 10000, + "voter": "kental", + "weight": 0 + }, + { + "author": "kental", + "id": 1013880, + "last_update": "2016-07-24T18:07:18", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 18239813, + "vote_percent": 10000, + "voter": "miketr", + "weight": 83982871266768 + }, + { + "author": "kental", + "id": 1010442, + "last_update": "2016-07-24T17:20:39", + "num_changes": 0, + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + "rshares": 32728077, + "vote_percent": 10000, + "voter": "bison015", + "weight": 3521535165912 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_votes/all_data.tavern.yaml b/hivemind/tavern/database_api_patterns/find_votes/all_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9f3cff49a7ceea2e9c2f72459b3adfc24fec7ecd --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_votes/all_data.tavern.yaml @@ -0,0 +1,32 @@ +--- +test_name: Hivemind database_api.find_votes all data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.find_votes all data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author": "kental", + "permlink": "hi-steem-my-russian-trip-on-the-bike-big-party-in-moscow-tour-of-moscow-by-slava", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "all_data" + directory: "database_api_patterns/find_votes" \ No newline at end of file diff --git a/hivemind/tavern/database_api_patterns/find_votes.orig.json b/hivemind/tavern/database_api_patterns/find_votes/first.orig.json similarity index 100% rename from hivemind/tavern/database_api_patterns/find_votes.orig.json rename to hivemind/tavern/database_api_patterns/find_votes/first.orig.json diff --git a/hivemind/tavern/database_api_patterns/find_votes/first.pat.json b/hivemind/tavern/database_api_patterns/find_votes/first.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..8f157882440645918e7d26527b517a910d790dd1 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_votes/first.pat.json @@ -0,0 +1,1533 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3355166, + "last_update": "2016-08-25T21:14:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1443077144144, + "vote_percent": 10000, + "voter": "anonymous", + "weight": 14340640191507060 + }, + { + "author": "roelandp", + "id": 3355902, + "last_update": "2016-08-25T21:20:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 158985837190, + "vote_percent": 10000, + "voter": "highasfuck", + "weight": 18707262932859690 + }, + { + "author": "roelandp", + "id": 3360096, + "last_update": "2016-08-25T22:53:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 7872457033211, + "vote_percent": 10000, + "voter": "pharesim", + "weight": 575498905301694100 + }, + { + "author": "roelandp", + "id": 3355253, + "last_update": "2016-08-25T21:17:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1754932215280, + "vote_percent": 10000, + "voter": "hr1", + "weight": 240710957476907253 + }, + { + "author": "roelandp", + "id": 3356250, + "last_update": "2016-08-25T21:37:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 9910147284570, + "vote_percent": 5000, + "voter": "tombstone", + "weight": 1299387373405102838 + }, + { + "author": "roelandp", + "id": 3356245, + "last_update": "2016-08-25T21:37:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2921333226039, + "vote_percent": 10000, + "voter": "wang", + "weight": 731336847763362836 + }, + { + "author": "roelandp", + "id": 3360122, + "last_update": "2016-08-25T22:54:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2476131997, + "vote_percent": 10000, + "voter": "boy", + "weight": 140990083519884 + }, + { + "author": "roelandp", + "id": 3360116, + "last_update": "2016-08-25T22:53:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3005703855, + "vote_percent": 10000, + "voter": "bue-witness", + "weight": 171594258591508 + }, + { + "author": "roelandp", + "id": 3360126, + "last_update": "2016-08-25T22:54:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 557354442, + "vote_percent": 10000, + "voter": "bunny", + "weight": 31731545284403 + }, + { + "author": "roelandp", + "id": 3393900, + "last_update": "2016-08-26T15:42:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2152215026140, + "vote_percent": 2900, + "voter": "complexring", + "weight": 109163904259652527 + }, + { + "author": "roelandp", + "id": 3360117, + "last_update": "2016-08-25T22:53:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 42724131990, + "vote_percent": 10000, + "voter": "bue", + "weight": 2436002426376211 + }, + { + "author": "roelandp", + "id": 3360119, + "last_update": "2016-08-25T22:53:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1327124837, + "vote_percent": 10000, + "voter": "mini", + "weight": 75576094808278 + }, + { + "author": "roelandp", + "id": 3360127, + "last_update": "2016-08-25T22:54:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 170849766, + "vote_percent": 10000, + "voter": "moon", + "weight": 9726696370140 + }, + { + "author": "roelandp", + "id": 3356185, + "last_update": "2016-08-25T21:33:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 213971974610, + "vote_percent": 10000, + "voter": "alex90342fastn1", + "weight": 56900006113977735 + }, + { + "author": "roelandp", + "id": 3355967, + "last_update": "2016-08-25T21:23:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 325419220968, + "vote_percent": 10000, + "voter": "recursive2", + "weight": 50753603736711065 + }, + { + "author": "roelandp", + "id": 3355901, + "last_update": "2016-08-25T21:20:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2475275982937, + "vote_percent": 10000, + "voter": "recursive", + "weight": 375527808414782336 + }, + { + "author": "roelandp", + "id": 3355888, + "last_update": "2016-08-25T21:19:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 22569077480, + "vote_percent": 10000, + "voter": "lee3", + "weight": 3969872881386901 + }, + { + "author": "roelandp", + "id": 3355883, + "last_update": "2016-08-25T21:19:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5527985680, + "vote_percent": 10000, + "voter": "lee5", + "weight": 940014962120641 + }, + { + "author": "roelandp", + "id": 3654949, + "last_update": "2016-08-31T15:57:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 18764610643, + "vote_percent": 10000, + "voter": "proctologic", + "weight": 0 + }, + { + "author": "roelandp", + "id": 3360120, + "last_update": "2016-08-25T22:53:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 497724578, + "vote_percent": 10000, + "voter": "healthcare", + "weight": 28342603441817 + }, + { + "author": "roelandp", + "id": 3356613, + "last_update": "2016-08-25T21:40:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 26509133558, + "vote_percent": 10000, + "voter": "rimantas", + "weight": 2376597259548369 + }, + { + "author": "roelandp", + "id": 3360125, + "last_update": "2016-08-25T22:54:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 763596484, + "vote_percent": 10000, + "voter": "daniel.pan", + "weight": 43475002031803 + }, + { + "author": "roelandp", + "id": 3355959, + "last_update": "2016-08-25T21:22:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 912920285, + "vote_percent": 10000, + "voter": "relativelyboston", + "weight": 142306178993535 + }, + { + "author": "roelandp", + "id": 3356658, + "last_update": "2016-08-25T21:43:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 34274689880, + "vote_percent": 10000, + "voter": "alexgr", + "weight": 3421464289609674 + }, + { + "author": "roelandp", + "id": 3360128, + "last_update": "2016-08-25T22:54:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 230379526, + "vote_percent": 10000, + "voter": "helen.tan", + "weight": 13115655806944 + }, + { + "author": "roelandp", + "id": 3357663, + "last_update": "2016-08-25T22:09:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 4066971566, + "vote_percent": 10000, + "voter": "anonimau5", + "weight": 392558295604390 + }, + { + "author": "roelandp", + "id": 3360872, + "last_update": "2016-08-25T23:07:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 25306947578, + "vote_percent": 10000, + "voter": "steampunkpowered", + "weight": 1439719672253364 + }, + { + "author": "roelandp", + "id": 3356160, + "last_update": "2016-08-25T21:32:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 14374791197, + "vote_percent": 10000, + "voter": "valtr", + "weight": 3663255030285697 + }, + { + "author": "roelandp", + "id": 3364158, + "last_update": "2016-08-26T00:34:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 114552838509, + "vote_percent": 10000, + "voter": "edgeland", + "weight": 6427132097049241 + }, + { + "author": "roelandp", + "id": 3371947, + "last_update": "2016-08-26T04:42:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 78027243398, + "vote_percent": 10000, + "voter": "easteagle13", + "weight": 4245243212457860 + }, + { + "author": "roelandp", + "id": 3372412, + "last_update": "2016-08-26T05:16:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 12346039464, + "vote_percent": 10000, + "voter": "ervin-lemark", + "weight": 670067237184799 + }, + { + "author": "roelandp", + "id": 3355220, + "last_update": "2016-08-25T21:16:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2537078612, + "vote_percent": 1000, + "voter": "fkn", + "weight": 374519718550955 + }, + { + "author": "roelandp", + "id": 3355287, + "last_update": "2016-08-25T21:18:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 474012227, + "vote_percent": 10000, + "voter": "paco-steem", + "weight": 76333480467208 + }, + { + "author": "roelandp", + "id": 3355288, + "last_update": "2016-08-25T21:19:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5434257068, + "vote_percent": 10000, + "voter": "spaninv", + "weight": 883355449557026 + }, + { + "author": "roelandp", + "id": 3355187, + "last_update": "2016-08-25T21:15:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 24560548658, + "vote_percent": 10000, + "voter": "instructor2121", + "weight": 2059748951836442 + }, + { + "author": "roelandp", + "id": 3356014, + "last_update": "2016-08-25T21:26:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 319656816349, + "vote_percent": 10000, + "voter": "teamsteem", + "weight": 61393558228792426 + }, + { + "author": "roelandp", + "id": 3355235, + "last_update": "2016-08-25T21:16:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 654686841103, + "vote_percent": 10000, + "voter": "nanzo-scoop", + "weight": 100198439550794443 + }, + { + "author": "roelandp", + "id": 3377609, + "last_update": "2016-08-26T08:02:39", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 11972225194, + "vote_percent": 10000, + "voter": "klye", + "weight": 644073708557952 + }, + { + "author": "roelandp", + "id": 3356222, + "last_update": "2016-08-25T21:35:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 27467897017, + "vote_percent": 10000, + "voter": "asch", + "weight": 7699618535330632 + }, + { + "author": "roelandp", + "id": 3363922, + "last_update": "2016-08-26T00:24:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2524835106, + "vote_percent": 3301, + "voter": "murh", + "weight": 142160137957230 + }, + { + "author": "roelandp", + "id": 3360070, + "last_update": "2016-08-25T22:51:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 17570378449, + "vote_percent": 10000, + "voter": "b4bb4r-5h3r", + "weight": 1645616034720202 + }, + { + "author": "roelandp", + "id": 3356001, + "last_update": "2016-08-25T21:25:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 324838465620, + "vote_percent": 10000, + "voter": "cyber", + "weight": 62064486103856892 + }, + { + "author": "roelandp", + "id": 3369669, + "last_update": "2016-08-26T03:25:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 233719327703, + "vote_percent": 10000, + "voter": "billbutler", + "weight": 12961183005643070 + }, + { + "author": "roelandp", + "id": 3357495, + "last_update": "2016-08-25T22:01:45", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 35246936805, + "vote_percent": 10000, + "voter": "justtryme90", + "weight": 3417177120253475 + }, + { + "author": "roelandp", + "id": 3355286, + "last_update": "2016-08-25T21:18:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 370370177, + "vote_percent": 10000, + "voter": "stiletto", + "weight": 58444042112179 + }, + { + "author": "roelandp", + "id": 3357306, + "last_update": "2016-08-25T21:51:45", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 172553610831, + "vote_percent": 10000, + "voter": "will-zewe", + "weight": 17041536787170570 + }, + { + "author": "roelandp", + "id": 3358322, + "last_update": "2016-08-25T22:16:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 81425950011, + "vote_percent": 10000, + "voter": "tim-johnston", + "weight": 7668178505528960 + }, + { + "author": "roelandp", + "id": 3375798, + "last_update": "2016-08-26T06:56:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 125775847425, + "vote_percent": 10000, + "voter": "beervangeer", + "weight": 6800860632666468 + }, + { + "author": "roelandp", + "id": 3356596, + "last_update": "2016-08-25T21:39:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 138061585013, + "vote_percent": 10000, + "voter": "schro", + "weight": 12233443676715403 + }, + { + "author": "roelandp", + "id": 3355229, + "last_update": "2016-08-25T21:16:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 281276583502, + "vote_percent": 10000, + "voter": "trogdor", + "weight": 44248091869338976 + }, + { + "author": "roelandp", + "id": 3357417, + "last_update": "2016-08-25T21:57:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 84900531486, + "vote_percent": 10000, + "voter": "geoffrey", + "weight": 8268884782924361 + }, + { + "author": "roelandp", + "id": 3355975, + "last_update": "2016-08-25T21:24:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 39470751272, + "vote_percent": 10000, + "voter": "honeythief", + "weight": 6526909402203450 + }, + { + "author": "roelandp", + "id": 3357778, + "last_update": "2016-08-25T22:15:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 239360246037, + "vote_percent": 10000, + "voter": "mauricemikkers", + "weight": 22810246454421459 + }, + { + "author": "roelandp", + "id": 3356083, + "last_update": "2016-08-25T21:29:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 6119814553, + "vote_percent": 10000, + "voter": "magnebit", + "weight": 1425217745352013 + }, + { + "author": "roelandp", + "id": 3360901, + "last_update": "2016-08-25T23:09:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 48965372388, + "vote_percent": 10000, + "voter": "razvanelulmarin", + "weight": 2779919300559947 + }, + { + "author": "roelandp", + "id": 3356668, + "last_update": "2016-08-25T21:44:45", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2236254142, + "vote_percent": 10000, + "voter": "superfreek", + "weight": 229037662256747 + }, + { + "author": "roelandp", + "id": 3358655, + "last_update": "2016-08-25T22:29:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 322845836, + "vote_percent": 10000, + "voter": "gerber", + "weight": 30259461532643 + }, + { + "author": "roelandp", + "id": 3355931, + "last_update": "2016-08-25T21:21:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 123824117, + "vote_percent": 10000, + "voter": "ales", + "weight": 16273835928044 + }, + { + "author": "roelandp", + "id": 3356691, + "last_update": "2016-08-25T21:47:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2935212438, + "vote_percent": 10000, + "voter": "sunshinecrypto", + "weight": 295418242319399 + }, + { + "author": "roelandp", + "id": 3355163, + "last_update": "2016-08-25T21:14:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 305474552136, + "vote_percent": 10000, + "voter": "roelandp", + "weight": 0 + }, + { + "author": "roelandp", + "id": 3361047, + "last_update": "2016-08-25T23:16:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 35513786437, + "vote_percent": 10000, + "voter": "ezzy", + "weight": 2011513336646451 + }, + { + "author": "roelandp", + "id": 3366032, + "last_update": "2016-08-26T01:12:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 25659817189, + "vote_percent": 10000, + "voter": "hitmeasap", + "weight": 1433205597705098 + }, + { + "author": "roelandp", + "id": 3569669, + "last_update": "2016-08-30T00:55:27", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 9828610198, + "vote_percent": 10000, + "voter": "stealthtrader", + "weight": 0 + }, + { + "author": "roelandp", + "id": 3356151, + "last_update": "2016-08-25T21:32:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 11517864544, + "vote_percent": 10000, + "voter": "yogi.artist", + "weight": 2893684560218233 + }, + { + "author": "roelandp", + "id": 3355907, + "last_update": "2016-08-25T21:20:27", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 412711767083, + "vote_percent": 10000, + "voter": "juneaugoldbuyer", + "weight": 48469946909458748 + }, + { + "author": "roelandp", + "id": 3356233, + "last_update": "2016-08-25T21:36:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 50712863419, + "vote_percent": 10000, + "voter": "derekareith", + "weight": 14798174799565845 + }, + { + "author": "roelandp", + "id": 3388216, + "last_update": "2016-08-26T13:55:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 35940253714, + "vote_percent": 10000, + "voter": "worldfamous", + "weight": 1930628372283481 + }, + { + "author": "roelandp", + "id": 3355213, + "last_update": "2016-08-25T21:16:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 6382110232, + "vote_percent": 1000, + "voter": "furion", + "weight": 900253484956326 + }, + { + "author": "roelandp", + "id": 3356092, + "last_update": "2016-08-25T21:30:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 449718057019, + "vote_percent": 10000, + "voter": "neoxian", + "weight": 102444311094754580 + }, + { + "author": "roelandp", + "id": 3367663, + "last_update": "2016-08-26T02:11:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 592533760, + "vote_percent": 10000, + "voter": "busser", + "weight": 33071535350029 + }, + { + "author": "roelandp", + "id": 3355938, + "last_update": "2016-08-25T21:21:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2463120689, + "vote_percent": 10000, + "voter": "owdy", + "weight": 336595963016667 + }, + { + "author": "roelandp", + "id": 3355223, + "last_update": "2016-08-25T21:16:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 66703037, + "vote_percent": 1000, + "voter": "ch0c0latechip", + "weight": 9842319044101 + }, + { + "author": "roelandp", + "id": 3355224, + "last_update": "2016-08-25T21:16:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 61730866, + "vote_percent": 1000, + "voter": "doge4lyf", + "weight": 9320283101430 + }, + { + "author": "roelandp", + "id": 3396677, + "last_update": "2016-08-26T16:38:45", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 62798045, + "vote_percent": 10000, + "voter": "ghozia", + "weight": 3010480592967 + }, + { + "author": "roelandp", + "id": 3359169, + "last_update": "2016-08-25T22:38:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1295174354, + "vote_percent": 10000, + "voter": "vi1son", + "weight": 121386167168122 + }, + { + "author": "roelandp", + "id": 3356172, + "last_update": "2016-08-25T21:33:15", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 972775486, + "vote_percent": 10000, + "voter": "steem1653", + "weight": 254900818514848 + }, + { + "author": "roelandp", + "id": 3356108, + "last_update": "2016-08-25T21:30:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 21528676039, + "vote_percent": 10000, + "voter": "chriscrypto", + "weight": 4835041572912927 + }, + { + "author": "roelandp", + "id": 3358303, + "last_update": "2016-08-25T22:15:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 4808048774, + "vote_percent": 10000, + "voter": "sebastien", + "weight": 454188676220403 + }, + { + "author": "roelandp", + "id": 3357300, + "last_update": "2016-08-25T21:51:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 11386699716, + "vote_percent": 10000, + "voter": "asim", + "weight": 1132154611262255 + }, + { + "author": "roelandp", + "id": 3355269, + "last_update": "2016-08-25T21:18:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 13474441594, + "vote_percent": 10000, + "voter": "aaseb", + "weight": 1800317969822232 + }, + { + "author": "roelandp", + "id": 3355185, + "last_update": "2016-08-25T21:15:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 778189863, + "vote_percent": 10000, + "voter": "steem14", + "weight": 65547599354764 + }, + { + "author": "roelandp", + "id": 3356677, + "last_update": "2016-08-25T21:45:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 232922931345, + "vote_percent": 10000, + "voter": "nabilov", + "weight": 23648818749856712 + }, + { + "author": "roelandp", + "id": 3356010, + "last_update": "2016-08-25T21:26:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1663075250, + "vote_percent": 10000, + "voter": "pigatto", + "weight": 326294706972902 + }, + { + "author": "roelandp", + "id": 3355928, + "last_update": "2016-08-25T21:21:15", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 16588069588, + "vote_percent": 10000, + "voter": "anduweb", + "weight": 2110427009287203 + }, + { + "author": "roelandp", + "id": 3356009, + "last_update": "2016-08-25T21:26:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1716430046, + "vote_percent": 10000, + "voter": "arcange", + "weight": 335511603990795 + }, + { + "author": "roelandp", + "id": 3356082, + "last_update": "2016-08-25T21:29:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2639329881, + "vote_percent": 10000, + "voter": "imp3", + "weight": 613138379727735 + }, + { + "author": "roelandp", + "id": 3357522, + "last_update": "2016-08-25T22:03:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 37848363145, + "vote_percent": 10000, + "voter": "mynameisbrian", + "weight": 3659681696945682 + }, + { + "author": "roelandp", + "id": 3369930, + "last_update": "2016-08-26T03:40:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 193924738154, + "vote_percent": 10000, + "voter": "blueorgy", + "weight": 10629311203454025 + }, + { + "author": "roelandp", + "id": 3356019, + "last_update": "2016-08-25T21:26:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 10413503201, + "vote_percent": 10000, + "voter": "heimindanger", + "weight": 1995146954169480 + }, + { + "author": "roelandp", + "id": 3357428, + "last_update": "2016-08-25T21:58:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3045773193, + "vote_percent": 10000, + "voter": "azurejasper", + "weight": 295696727119125 + }, + { + "author": "roelandp", + "id": 3378330, + "last_update": "2016-08-26T08:34:45", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 136205648, + "vote_percent": 10000, + "voter": "ellamaeamor", + "weight": 7324954431630 + }, + { + "author": "roelandp", + "id": 3356240, + "last_update": "2016-08-25T21:36:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 4325417284, + "vote_percent": 10000, + "voter": "cryptohustlin", + "weight": 1293756878060590 + }, + { + "author": "roelandp", + "id": 3356605, + "last_update": "2016-08-25T21:39:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 19602046136, + "vote_percent": 10000, + "voter": "celsius100", + "weight": 1740160542238444 + }, + { + "author": "roelandp", + "id": 3358513, + "last_update": "2016-08-25T22:24:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 109399116, + "vote_percent": 10000, + "voter": "elmusic", + "weight": 10256635617832 + }, + { + "author": "roelandp", + "id": 3377950, + "last_update": "2016-08-26T08:24:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 379210483, + "vote_percent": 10000, + "voter": "meteor78", + "weight": 20393707603247 + }, + { + "author": "roelandp", + "id": 3355217, + "last_update": "2016-08-25T21:16:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2043355685, + "vote_percent": 1000, + "voter": "positive", + "weight": 294847866350382 + }, + { + "author": "roelandp", + "id": 3355266, + "last_update": "2016-08-25T21:17:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 190746623, + "vote_percent": 10000, + "voter": "strictlybusiness", + "weight": 24591876318894 + }, + { + "author": "roelandp", + "id": 3357351, + "last_update": "2016-08-25T21:53:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3726618587, + "vote_percent": 10000, + "voter": "joshglen", + "weight": 364124553770383 + }, + { + "author": "roelandp", + "id": 3356807, + "last_update": "2016-08-25T21:51:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 8656137777, + "vote_percent": 10000, + "voter": "winstonwolfe", + "weight": 861294373426438 + }, + { + "author": "roelandp", + "id": 3356267, + "last_update": "2016-08-25T21:38:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 737544850, + "vote_percent": 10000, + "voter": "happyphoenix", + "weight": 62433843229167 + }, + { + "author": "roelandp", + "id": 3356183, + "last_update": "2016-08-25T21:33:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 672065480, + "vote_percent": 10000, + "voter": "curator", + "weight": 181113788939196 + }, + { + "author": "roelandp", + "id": 3355893, + "last_update": "2016-08-25T21:19:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1666197673, + "vote_percent": 10000, + "voter": "dirty.hera", + "weight": 308139772097377 + }, + { + "author": "roelandp", + "id": 3355172, + "last_update": "2016-08-25T21:14:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 45913763443, + "vote_percent": 10000, + "voter": "gomeravibz", + "weight": 1695116440663136 + }, + { + "author": "roelandp", + "id": 3356782, + "last_update": "2016-08-25T21:49:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5388352911, + "vote_percent": 10000, + "voter": "nekromarinist", + "weight": 538001334195297 + }, + { + "author": "roelandp", + "id": 3357683, + "last_update": "2016-08-25T22:11:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 29066230989, + "vote_percent": 10000, + "voter": "allasyummyfood", + "weight": 2802215769731967 + }, + { + "author": "roelandp", + "id": 3365082, + "last_update": "2016-08-26T00:54:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 11626372889, + "vote_percent": 10000, + "voter": "felixxx", + "weight": 650047031947827 + }, + { + "author": "roelandp", + "id": 3358335, + "last_update": "2016-08-25T22:17:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 19752627093, + "vote_percent": 10000, + "voter": "yng-entrepreneur", + "weight": 1853467546566796 + }, + { + "author": "roelandp", + "id": 3356021, + "last_update": "2016-08-25T21:27:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 21674528091, + "vote_percent": 10000, + "voter": "laoyao", + "weight": 4286839674777575 + }, + { + "author": "roelandp", + "id": 3380477, + "last_update": "2016-08-26T09:47:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2964837761, + "vote_percent": 10000, + "voter": "ullikume", + "weight": 159431593463425 + }, + { + "author": "roelandp", + "id": 3362247, + "last_update": "2016-08-25T23:42:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 88391723522, + "vote_percent": 10000, + "voter": "thisisbenbrick", + "weight": 4989401617302216 + }, + { + "author": "roelandp", + "id": 3357768, + "last_update": "2016-08-25T22:14:39", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 7956031103, + "vote_percent": 10000, + "voter": "jphamer1", + "weight": 764953363438110 + }, + { + "author": "roelandp", + "id": 3357754, + "last_update": "2016-08-25T22:14:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 18915024758, + "vote_percent": 10000, + "voter": "velourex", + "weight": 1820399897960274 + }, + { + "author": "roelandp", + "id": 3355292, + "last_update": "2016-08-25T21:19:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 52121575042, + "vote_percent": 10000, + "voter": "joele", + "weight": 8585148021405845 + }, + { + "author": "roelandp", + "id": 3356136, + "last_update": "2016-08-25T21:31:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3201272889, + "vote_percent": 10000, + "voter": "oflyhigh", + "weight": 785461477344246 + }, + { + "author": "roelandp", + "id": 3356616, + "last_update": "2016-08-25T21:40:15", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 31913009466, + "vote_percent": 10000, + "voter": "driv3n", + "weight": 2871236734243350 + }, + { + "author": "roelandp", + "id": 3355260, + "last_update": "2016-08-25T21:17:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3164651193, + "vote_percent": 10000, + "voter": "blow", + "weight": 382325428793746 + }, + { + "author": "roelandp", + "id": 3356075, + "last_update": "2016-08-25T21:29:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 20596454234, + "vote_percent": 10000, + "voter": "hanshotfirst", + "weight": 4744601400660209 + }, + { + "author": "roelandp", + "id": 3356748, + "last_update": "2016-08-25T21:48:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 102922516323, + "vote_percent": 10000, + "voter": "miacats", + "weight": 10317425343756290 + }, + { + "author": "roelandp", + "id": 3356623, + "last_update": "2016-08-25T21:40:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1357061673, + "vote_percent": 10000, + "voter": "nords", + "weight": 123570211024582 + }, + { + "author": "roelandp", + "id": 3356079, + "last_update": "2016-08-25T21:29:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 15285298550, + "vote_percent": 10000, + "voter": "solar", + "weight": 3533861406131841 + }, + { + "author": "roelandp", + "id": 3445346, + "last_update": "2016-08-27T16:29:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5402019036, + "vote_percent": 10000, + "voter": "matrixdweller", + "weight": 0 + }, + { + "author": "roelandp", + "id": 3356080, + "last_update": "2016-08-25T21:29:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 981458981, + "vote_percent": 10000, + "voter": "chinadaily", + "weight": 226621510945553 + }, + { + "author": "roelandp", + "id": 3364133, + "last_update": "2016-08-26T00:33:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5473197578, + "vote_percent": 10000, + "voter": "solarguy", + "weight": 308098794015649 + }, + { + "author": "roelandp", + "id": 3357547, + "last_update": "2016-08-25T22:04:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3318805144, + "vote_percent": 10000, + "voter": "macartem", + "weight": 320428250024569 + }, + { + "author": "roelandp", + "id": 3356285, + "last_update": "2016-08-25T21:38:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 16160873155, + "vote_percent": 10000, + "voter": "yef99", + "weight": 1389667900948023 + }, + { + "author": "roelandp", + "id": 3356788, + "last_update": "2016-08-25T21:49:54", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 39960965274, + "vote_percent": 10000, + "voter": "sweetsssj", + "weight": 3983266268473525 + }, + { + "author": "roelandp", + "id": 3376674, + "last_update": "2016-08-26T07:28:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 25009624823, + "vote_percent": 10000, + "voter": "andrewawerdna", + "weight": 1346795608266775 + }, + { + "author": "roelandp", + "id": 3356733, + "last_update": "2016-08-25T21:48:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1316071065, + "vote_percent": 10000, + "voter": "imag1ne", + "weight": 132436874975066 + }, + { + "author": "roelandp", + "id": 3357331, + "last_update": "2016-08-25T21:52:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 58437147869, + "vote_percent": 10000, + "voter": "skum", + "weight": 5722785943450512 + }, + { + "author": "roelandp", + "id": 3358376, + "last_update": "2016-08-25T22:19:57", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1983029026, + "vote_percent": 10000, + "voter": "richardcrill", + "weight": 185931331161535 + }, + { + "author": "roelandp", + "id": 3369369, + "last_update": "2016-08-26T02:54:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 62191243, + "vote_percent": 10000, + "voter": "profanarky", + "weight": 3471064426385 + }, + { + "author": "roelandp", + "id": 3358561, + "last_update": "2016-08-25T22:26:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 81859852, + "vote_percent": 10000, + "voter": "happylovelife", + "weight": 7674659360793 + }, + { + "author": "roelandp", + "id": 3358649, + "last_update": "2016-08-25T22:29:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3743087760, + "vote_percent": 10000, + "voter": "ericbotticelli", + "weight": 350880274705530 + }, + { + "author": "roelandp", + "id": 3355189, + "last_update": "2016-08-25T21:15:15", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 155693801968, + "vote_percent": 10000, + "voter": "charlieshrem", + "weight": 13764401025164125 + }, + { + "author": "roelandp", + "id": 3355954, + "last_update": "2016-08-25T21:22:42", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 54219676, + "vote_percent": 10000, + "voter": "steemafon", + "weight": 8262519716740 + }, + { + "author": "roelandp", + "id": 3355889, + "last_update": "2016-08-25T21:19:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1079640233, + "vote_percent": 10000, + "voter": "burnin", + "weight": 191117769720912 + }, + { + "author": "roelandp", + "id": 3417652, + "last_update": "2016-08-27T00:50:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 677943510, + "vote_percent": 10000, + "voter": "mrdeleted", + "weight": 0 + }, + { + "author": "roelandp", + "id": 3359929, + "last_update": "2016-08-25T22:45:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 53578816, + "vote_percent": 10000, + "voter": "echoesinthemind", + "weight": 5021265652106 + }, + { + "author": "roelandp", + "id": 3355227, + "last_update": "2016-08-25T21:16:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 67807559, + "vote_percent": 10000, + "voter": "pickoum", + "weight": 11168221241042 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/find_votes/first.tavern.yaml b/hivemind/tavern/database_api_patterns/find_votes/first.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9c1026dcc53203e74a2d9ceec486e9c2662d4956 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/find_votes/first.tavern.yaml @@ -0,0 +1,32 @@ +--- +test_name: Hivemind database_api.find_votes patterns test + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: find_votes + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.find_votes" + params: + { + "author":"roelandp", + "permlink":"tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours" + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "first" + directory: "database_api_patterns/find_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..e30adbe6634d844d6f502b1572c845190b374954 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3343005, + "last_update": "2016-08-25T21:51:03", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "8656137777", + "vote_percent": 10000, + "voter": "winstonwolfe", + "weight": "861294373426438" + }, + { + "author": "roelandp", + "id": 3342451, + "last_update": "2016-08-25T21:38:18", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 737544850, + "vote_percent": 10000, + "voter": "happyphoenix", + "weight": "62433843229167" + }, + { + "author": "roelandp", + "id": 3342235, + "last_update": "2016-08-25T21:33:48", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 672065480, + "vote_percent": 10000, + "voter": "curator", + "weight": "181113788939196" + }, + { + "author": "roelandp", + "id": 3341523, + "last_update": "2016-08-25T21:19:48", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1666197673, + "vote_percent": 10000, + "voter": "dirty.hera", + "weight": "308139772097377" + }, + { + "author": "roelandp", + "id": 3341256, + "last_update": "2016-08-25T21:14:30", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "45913763443", + "vote_percent": 10000, + "voter": "gomeravibz", + "weight": "1695116440663136" + }, + { + "author": "roelandp", + "id": 3342963, + "last_update": "2016-08-25T21:49:51", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "5388352911", + "vote_percent": 10000, + "voter": "nekromarinist", + "weight": "538001334195297" + }, + { + "author": "roelandp", + "id": 3343754, + "last_update": "2016-08-25T22:11:33", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "29066230989", + "vote_percent": 10000, + "voter": "allasyummyfood", + "weight": "2802215769731967" + }, + { + "author": "roelandp", + "id": 3351018, + "last_update": "2016-08-26T00:54:48", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "11626372889", + "vote_percent": 10000, + "voter": "felixxx", + "weight": "650047031947827" + }, + { + "author": "roelandp", + "id": 3344113, + "last_update": "2016-08-25T22:17:00", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "19752627093", + "vote_percent": 10000, + "voter": "yng-entrepreneur", + "weight": "1853467546566796" + }, + { + "author": "roelandp", + "id": 3341826, + "last_update": "2016-08-25T21:27:21", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": "21674528091", + "vote_percent": 10000, + "voter": "laoyao", + "weight": "4286839674777575" + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..859142b7e18ace8ec598157722a62f35a1515fc8 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3356807, + "last_update": "2016-08-25T21:51:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 8656137777, + "vote_percent": 10000, + "voter": "winstonwolfe", + "weight": 861294373426438 + }, + { + "author": "roelandp", + "id": 3356267, + "last_update": "2016-08-25T21:38:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 737544850, + "vote_percent": 10000, + "voter": "happyphoenix", + "weight": 62433843229167 + }, + { + "author": "roelandp", + "id": 3356183, + "last_update": "2016-08-25T21:33:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 672065480, + "vote_percent": 10000, + "voter": "curator", + "weight": 181113788939196 + }, + { + "author": "roelandp", + "id": 3355893, + "last_update": "2016-08-25T21:19:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1666197673, + "vote_percent": 10000, + "voter": "dirty.hera", + "weight": 308139772097377 + }, + { + "author": "roelandp", + "id": 3355172, + "last_update": "2016-08-25T21:14:30", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 45913763443, + "vote_percent": 10000, + "voter": "gomeravibz", + "weight": 1695116440663136 + }, + { + "author": "roelandp", + "id": 3356782, + "last_update": "2016-08-25T21:49:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 5388352911, + "vote_percent": 10000, + "voter": "nekromarinist", + "weight": 538001334195297 + }, + { + "author": "roelandp", + "id": 3357683, + "last_update": "2016-08-25T22:11:33", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 29066230989, + "vote_percent": 10000, + "voter": "allasyummyfood", + "weight": 2802215769731967 + }, + { + "author": "roelandp", + "id": 3365082, + "last_update": "2016-08-26T00:54:48", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 11626372889, + "vote_percent": 10000, + "voter": "felixxx", + "weight": 650047031947827 + }, + { + "author": "roelandp", + "id": 3358335, + "last_update": "2016-08-25T22:17:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 19752627093, + "vote_percent": 10000, + "voter": "yng-entrepreneur", + "weight": 1853467546566796 + }, + { + "author": "roelandp", + "id": 3356021, + "last_update": "2016-08-25T21:27:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 21674528091, + "vote_percent": 10000, + "voter": "laoyao", + "weight": 4286839674777575 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cc2b9959c31c1bac0066a03b12f4f48094500a58 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_all_good_data.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" all good data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" all good data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", "winstonwolfe"], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_all_good_data" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.orig.json similarity index 100% rename from hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.orig.json rename to hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.orig.json diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..a463bd3e292a808e25c8044612c4230ca021dad3 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3355166, + "last_update": "2016-08-25T21:14:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1443077144144, + "vote_percent": 10000, + "voter": "anonymous", + "weight": 14340640191507060 + }, + { + "author": "roelandp", + "id": 3355902, + "last_update": "2016-08-25T21:20:09", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 158985837190, + "vote_percent": 10000, + "voter": "highasfuck", + "weight": 18707262932859690 + }, + { + "author": "roelandp", + "id": 3360096, + "last_update": "2016-08-25T22:53:06", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 7872457033211, + "vote_percent": 10000, + "voter": "pharesim", + "weight": 575498905301694100 + }, + { + "author": "roelandp", + "id": 3355253, + "last_update": "2016-08-25T21:17:21", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 1754932215280, + "vote_percent": 10000, + "voter": "hr1", + "weight": 240710957476907253 + }, + { + "author": "roelandp", + "id": 3356250, + "last_update": "2016-08-25T21:37:36", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 9910147284570, + "vote_percent": 5000, + "voter": "tombstone", + "weight": 1299387373405102838 + }, + { + "author": "roelandp", + "id": 3356245, + "last_update": "2016-08-25T21:37:18", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2921333226039, + "vote_percent": 10000, + "voter": "wang", + "weight": 731336847763362836 + }, + { + "author": "roelandp", + "id": 3360122, + "last_update": "2016-08-25T22:54:00", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2476131997, + "vote_percent": 10000, + "voter": "boy", + "weight": 140990083519884 + }, + { + "author": "roelandp", + "id": 3360116, + "last_update": "2016-08-25T22:53:51", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 3005703855, + "vote_percent": 10000, + "voter": "bue-witness", + "weight": 171594258591508 + }, + { + "author": "roelandp", + "id": 3360126, + "last_update": "2016-08-25T22:54:03", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 557354442, + "vote_percent": 10000, + "voter": "bunny", + "weight": 31731545284403 + }, + { + "author": "roelandp", + "id": 3393900, + "last_update": "2016-08-26T15:42:12", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 2152215026140, + "vote_percent": 2900, + "voter": "complexring", + "weight": 109163904259652527 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1400a2ee93cd0a92b9c0649fcc60d850a7ed58af --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_first.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: list_votes_by_comment_voter + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start":["roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", "nxt2"], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_first" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..5bb4ff4bf0930f4719cd75c08002a8a5a7e9f13c --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "steemit", + "id": 9, + "last_update": "2016-04-07T19:15:36", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 375241, + "vote_percent": 100, + "voter": "dantheman", + "weight": "32866333630" + }, + { + "author": "steemit", + "id": 4, + "last_update": "2016-04-06T19:29:03", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 886132, + "vote_percent": 10000, + "voter": "mr11acdee", + "weight": "876019385955" + }, + { + "author": "steemit", + "id": 0, + "last_update": "2016-03-30T20:13:00", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 5100, + "vote_percent": 10000, + "voter": "steemit78", + "weight": "5100000000" + }, + { + "author": "steemit", + "id": 88, + "last_update": "2016-04-09T17:34:36", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 1259167, + "vote_percent": 10000, + "voter": "anonymous", + "weight": "312616340416" + }, + { + "author": "steemit", + "id": 257, + "last_update": "2016-04-15T10:12:36", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 318519, + "vote_percent": 10000, + "voter": "hello", + "weight": 3369765102 + }, + { + "author": "steemit", + "id": 255, + "last_update": "2016-04-15T10:12:30", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 153384, + "vote_percent": 10000, + "voter": "world", + "weight": 472619298 + }, + { + "author": "steemit", + "id": 316, + "last_update": "2016-04-16T17:12:54", + "num_changes": -1, + "permlink": "firstpost", + "rshares": -936400, + "vote_percent": -100, + "voter": "ned", + "weight": 0 + }, + { + "author": "steemit", + "id": 258, + "last_update": "2016-04-15T10:12:39", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 59412, + "vote_percent": 10000, + "voter": "fufubar1", + "weight": 21052793 + }, + { + "author": "steemit", + "id": 256, + "last_update": "2016-04-15T10:12:33", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 14997, + "vote_percent": 10000, + "voter": "anonymous1", + "weight": 437001 + }, + { + "author": "steemit", + "id": 6, + "last_update": "2016-04-07T14:55:15", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 1441, + "vote_percent": 100, + "voter": "red", + "weight": 3754 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..69633aaaaba552e920480b78acc0393b24dac9e6 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "steemit", + "id": 9, + "last_update": "2016-04-07T19:15:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 375241, + "vote_percent": 100, + "voter": "dantheman", + "weight": 32866333630 + }, + { + "author": "steemit", + "id": 4, + "last_update": "2016-04-06T19:29:03", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 886132, + "vote_percent": 10000, + "voter": "mr11acdee", + "weight": 876019385955 + }, + { + "author": "steemit", + "id": 2, + "last_update": "2016-03-30T20:13:00", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 5100, + "vote_percent": 10000, + "voter": "steemit78", + "weight": 5100000000 + }, + { + "author": "steemit", + "id": 89, + "last_update": "2016-04-09T17:34:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 1259167, + "vote_percent": 10000, + "voter": "anonymous", + "weight": 312616340416 + }, + { + "author": "steemit", + "id": 258, + "last_update": "2016-04-15T10:12:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 318519, + "vote_percent": 10000, + "voter": "hello", + "weight": 3369765102 + }, + { + "author": "steemit", + "id": 256, + "last_update": "2016-04-15T10:12:30", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 153384, + "vote_percent": 10000, + "voter": "world", + "weight": 472619298 + }, + { + "author": "steemit", + "id": 317, + "last_update": "2016-04-16T17:12:54", + "num_changes": 0, + "permlink": "firstpost", + "rshares": -936400, + "vote_percent": -100, + "voter": "ned", + "weight": 0 + }, + { + "author": "steemit", + "id": 259, + "last_update": "2016-04-15T10:12:39", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 59412, + "vote_percent": 10000, + "voter": "fufubar1", + "weight": 21052793 + }, + { + "author": "steemit", + "id": 257, + "last_update": "2016-04-15T10:12:33", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 14997, + "vote_percent": 10000, + "voter": "anonymous1", + "weight": 437001 + }, + { + "author": "steemit", + "id": 7, + "last_update": "2016-04-07T14:55:15", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 1441, + "vote_percent": 100, + "voter": "red", + "weight": 3754 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c8fffafe41475d0fe7728165b36f355db103903c --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_no_data.tavern.yaml @@ -0,0 +1,34 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" no data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" no data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "", ""], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_no_data" + directory: "database_api_patterns/list_votes" + diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..d3ec2b7f4c0438f8b29ad954f238de1296f46b35 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3341364, + "last_update": "2016-08-25T21:16:24", + "num_changes": -1, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 67807559, + "vote_percent": 10000, + "voter": "pickoum", + "weight": "11168221241042" + }, + { + "author": "anxietymaven", + "id": 3397159, + "last_update": "2016-08-26T22:06:21", + "num_changes": 0, + "permlink": "re-adm-re-anxietymaven-ask-yourself-one-question-fuck-steemit-or-nah-20160825t211407406z", + "rshares": -742966944841, + "vote_percent": -10000, + "voter": "pfunk", + "weight": 0 + }, + { + "author": "jamielefay", + "id": 3344706, + "last_update": "2016-08-25T22:28:54", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 2476122539, + "vote_percent": 10000, + "voter": "boy", + "weight": "6006017962432724" + }, + { + "author": "jamielefay", + "id": 3344694, + "last_update": "2016-08-25T22:28:45", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 3005691694, + "vote_percent": 10000, + "voter": "bue-witness", + "weight": "7417167962646132" + }, + { + "author": "jamielefay", + "id": 3344711, + "last_update": "2016-08-25T22:28:57", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 557353091, + "vote_percent": 10000, + "voter": "bunny", + "weight": "1350783817158092" + }, + { + "author": "jamielefay", + "id": 3344696, + "last_update": "2016-08-25T22:28:48", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": "42722553918", + "vote_percent": 10000, + "voter": "bue", + "weight": "104552198157919482" + }, + { + "author": "jamielefay", + "id": 3344699, + "last_update": "2016-08-25T22:28:48", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 1327119432, + "vote_percent": 10000, + "voter": "mini", + "weight": "3221828527667312" + }, + { + "author": "jamielefay", + "id": 3344712, + "last_update": "2016-08-25T22:29:00", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 170849766, + "vote_percent": 10000, + "voter": "moon", + "weight": "414011598841308" + }, + { + "author": "jamielefay", + "id": 3344702, + "last_update": "2016-08-25T22:28:51", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 497724578, + "vote_percent": 10000, + "voter": "healthcare", + "weight": "1207918840148852" + }, + { + "author": "jamielefay", + "id": 3344709, + "last_update": "2016-08-25T22:28:54", + "num_changes": -1, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 763593782, + "vote_percent": 10000, + "voter": "daniel.pan", + "weight": "1851065537354896" + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..66564c2b33b0a306ce261ba4ac22676f52b0c882 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "roelandp", + "id": 3355227, + "last_update": "2016-08-25T21:16:24", + "num_changes": 0, + "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", + "rshares": 67807559, + "vote_percent": 10000, + "voter": "pickoum", + "weight": 11168221241042 + }, + { + "author": "anxietymaven", + "id": 3411283, + "last_update": "2016-08-26T22:06:21", + "num_changes": 0, + "permlink": "re-adm-re-anxietymaven-ask-yourself-one-question-fuck-steemit-or-nah-20160825t211407406z", + "rshares": -742966944841, + "vote_percent": -10000, + "voter": "pfunk", + "weight": 0 + }, + { + "author": "jamielefay", + "id": 3358180, + "last_update": "2016-08-25T22:28:54", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 2476122539, + "vote_percent": 10000, + "voter": "boy", + "weight": 6006017962432724 + }, + { + "author": "jamielefay", + "id": 3358176, + "last_update": "2016-08-25T22:28:45", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 3005691694, + "vote_percent": 10000, + "voter": "bue-witness", + "weight": 7417167962646132 + }, + { + "author": "jamielefay", + "id": 3358182, + "last_update": "2016-08-25T22:28:57", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 557353091, + "vote_percent": 10000, + "voter": "bunny", + "weight": 1350783817158092 + }, + { + "author": "jamielefay", + "id": 3358177, + "last_update": "2016-08-25T22:28:48", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 42722553918, + "vote_percent": 10000, + "voter": "bue", + "weight": 104552198157919482 + }, + { + "author": "jamielefay", + "id": 3358178, + "last_update": "2016-08-25T22:28:48", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 1327119432, + "vote_percent": 10000, + "voter": "mini", + "weight": 3221828527667312 + }, + { + "author": "jamielefay", + "id": 3358183, + "last_update": "2016-08-25T22:29:00", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 170849766, + "vote_percent": 10000, + "voter": "moon", + "weight": 414011598841308 + }, + { + "author": "jamielefay", + "id": 3358179, + "last_update": "2016-08-25T22:28:51", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 497724578, + "vote_percent": 10000, + "voter": "healthcare", + "weight": 1207918840148852 + }, + { + "author": "jamielefay", + "id": 3358181, + "last_update": "2016-08-25T22:28:54", + "num_changes": 0, + "permlink": "ahe-ey-sky-falling-an-original-novel-part-1-audiobook", + "rshares": 763593782, + "vote_percent": 10000, + "voter": "daniel.pan", + "weight": 1851065537354896 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..41e6d0afb3d37a737c2d1c5d92293f6c73a5580c --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_one_before_last.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" one before last voter + +marks: + - patterntest # only first is correct, rest is basically random + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" one before last voter + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", "pickoum"], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_one_before_last" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..a5c362ed7ac2ee7cced6918d8674e03f39aedb35 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "steemit", + "id": 603086, + "last_update": "2016-07-19T04:40:30", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 95219365, + "vote_percent": 10000, + "voter": "curator", + "weight": 0 + }, + { + "author": "steemit", + "id": 1614263, + "last_update": "2016-07-31T19:55:21", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 232295871, + "vote_percent": 10000, + "voter": "dubovoy", + "weight": 0 + }, + { + "author": "steemit", + "id": 4098784, + "last_update": "2016-09-09T15:34:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 0, + "vote_percent": 10000, + "voter": "solos", + "weight": 0 + }, + { + "author": "steemit", + "id": 650424, + "last_update": "2016-07-19T20:29:33", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 96945805, + "vote_percent": 10000, + "voter": "creatorgalaxy", + "weight": 0 + }, + { + "author": "steemit", + "id": 776832, + "last_update": "2016-07-21T12:24:27", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 99813231, + "vote_percent": 10000, + "voter": "trigonice29", + "weight": 0 + }, + { + "author": "steemit", + "id": 3479202, + "last_update": "2016-08-28T16:49:57", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 0, + "vote_percent": 10000, + "voter": "blysards", + "weight": 0 + }, + { + "author": "steemit", + "id": 2783362, + "last_update": "2016-08-16T10:07:39", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 3721016208, + "vote_percent": 10000, + "voter": "uwe69", + "weight": 0 + }, + { + "author": "steemit", + "id": 911514, + "last_update": "2016-07-23T13:32:36", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 1279854, + "vote_percent": 10000, + "voter": "nigmat", + "weight": 0 + }, + { + "author": "steemit", + "id": 2217163, + "last_update": "2016-08-07T05:23:48", + "num_changes": 0, + "permlink": "firstpost", + "rshares": "13974353753", + "vote_percent": 10000, + "voter": "magicmonk", + "weight": 0 + }, + { + "author": "steemit", + "id": 2633913, + "last_update": "2016-08-13T15:16:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": "4968585456", + "vote_percent": 10000, + "voter": "satoshifpv", + "weight": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..a5c362ed7ac2ee7cced6918d8674e03f39aedb35 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "steemit", + "id": 603086, + "last_update": "2016-07-19T04:40:30", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 95219365, + "vote_percent": 10000, + "voter": "curator", + "weight": 0 + }, + { + "author": "steemit", + "id": 1614263, + "last_update": "2016-07-31T19:55:21", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 232295871, + "vote_percent": 10000, + "voter": "dubovoy", + "weight": 0 + }, + { + "author": "steemit", + "id": 4098784, + "last_update": "2016-09-09T15:34:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 0, + "vote_percent": 10000, + "voter": "solos", + "weight": 0 + }, + { + "author": "steemit", + "id": 650424, + "last_update": "2016-07-19T20:29:33", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 96945805, + "vote_percent": 10000, + "voter": "creatorgalaxy", + "weight": 0 + }, + { + "author": "steemit", + "id": 776832, + "last_update": "2016-07-21T12:24:27", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 99813231, + "vote_percent": 10000, + "voter": "trigonice29", + "weight": 0 + }, + { + "author": "steemit", + "id": 3479202, + "last_update": "2016-08-28T16:49:57", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 0, + "vote_percent": 10000, + "voter": "blysards", + "weight": 0 + }, + { + "author": "steemit", + "id": 2783362, + "last_update": "2016-08-16T10:07:39", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 3721016208, + "vote_percent": 10000, + "voter": "uwe69", + "weight": 0 + }, + { + "author": "steemit", + "id": 911514, + "last_update": "2016-07-23T13:32:36", + "num_changes": -1, + "permlink": "firstpost", + "rshares": 1279854, + "vote_percent": 10000, + "voter": "nigmat", + "weight": 0 + }, + { + "author": "steemit", + "id": 2217163, + "last_update": "2016-08-07T05:23:48", + "num_changes": 0, + "permlink": "firstpost", + "rshares": "13974353753", + "vote_percent": 10000, + "voter": "magicmonk", + "weight": 0 + }, + { + "author": "steemit", + "id": 2633913, + "last_update": "2016-08-13T15:16:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": "4968585456", + "vote_percent": 10000, + "voter": "satoshifpv", + "weight": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4b13493664c6630ce81a5b805afb7f2efdf41ba0 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_comment_voter_only_voter.tavern.yaml @@ -0,0 +1,35 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" only voter + +marks: + - patterntest # shows first post votes because primary ordering is by comment and when comment is skipped it can only start with the very first post + - failing + - xfail # to be checked why there is such a difference in order (both old and new is by voter id in this case since comment is the same) + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" only voter + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "", "winstonwolfe"], + "limit": 10, + "order": "by_comment_voter", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_comment_voter_only_voter" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..9cf5fe8cd6c7d0486405bf37b633b74323358011 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "satoshi", + "id": 54513, + "last_update": "2016-06-05T06:52:00", + "num_changes": -1, + "permlink": "bulk-generate-privkeys", + "rshares": "4800000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 287703877 + }, + { + "author": "au1nethyb1", + "id": 54508, + "last_update": "2016-06-05T06:50:27", + "num_changes": -1, + "permlink": "reducing-friction-for-critical-mass-adoption-of-steemit", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 4 + }, + { + "author": "blocktrades", + "id": 54511, + "last_update": "2016-06-05T06:50:48", + "num_changes": -1, + "permlink": "-blocktrades-adds-support-for-directly-buyingselling-steem", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 1 + }, + { + "author": "nextgencrypto", + "id": 54512, + "last_update": "2016-06-05T06:51:15", + "num_changes": -1, + "permlink": "request-for-proposal-steem-wordpress-plugin", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 2 + }, + { + "author": "dan", + "id": 54509, + "last_update": "2016-06-05T06:50:36", + "num_changes": -1, + "permlink": "is-the-dao-going-to-be-doa", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 3 + }, + { + "author": "judyhopps", + "id": 54507, + "last_update": "2016-06-05T06:50:03", + "num_changes": -1, + "permlink": "hi-i-googled-something-and-ended-up-here", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 17 + }, + { + "author": "clains", + "id": 54504, + "last_update": "2016-06-05T06:48:18", + "num_changes": -1, + "permlink": "hello-world-my-name-is-clains", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 9 + }, + { + "author": "smooth", + "id": 54505, + "last_update": "2016-06-05T06:48:27", + "num_changes": -1, + "permlink": "voting-is-a-popularity-contest", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 12 + }, + { + "author": "bleepcoin", + "id": 54506, + "last_update": "2016-06-05T06:48:30", + "num_changes": -1, + "permlink": "hi-im-ollie", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 71 + }, + { + "author": "donkeypong", + "id": 54502, + "last_update": "2016-06-05T06:48:12", + "num_changes": -1, + "permlink": "my-name-is-ziggy-aka-donkeypongs-companion", + "rshares": "5100000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 61 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..cf770eccbc2c3e60a9b2684d4e4d9477ee867984 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "satoshi", + "id": 54696, + "last_update": "2016-06-05T06:52:00", + "num_changes": 0, + "permlink": "bulk-generate-privkeys", + "rshares": 4800000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 287703877 + }, + { + "author": "au1nethyb1", + "id": 54697, + "last_update": "2016-06-05T06:50:27", + "num_changes": 0, + "permlink": "reducing-friction-for-critical-mass-adoption-of-steemit", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 4 + }, + { + "author": "blocktrades", + "id": 54690, + "last_update": "2016-06-05T06:50:48", + "num_changes": 0, + "permlink": "-blocktrades-adds-support-for-directly-buyingselling-steem", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 1 + }, + { + "author": "nextgencrypto", + "id": 54694, + "last_update": "2016-06-05T06:51:15", + "num_changes": 0, + "permlink": "request-for-proposal-steem-wordpress-plugin", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 2 + }, + { + "author": "dan", + "id": 54691, + "last_update": "2016-06-05T06:50:36", + "num_changes": 0, + "permlink": "is-the-dao-going-to-be-doa", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 3 + }, + { + "author": "judyhopps", + "id": 54746, + "last_update": "2016-06-05T06:50:03", + "num_changes": 0, + "permlink": "hi-i-googled-something-and-ended-up-here", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 17 + }, + { + "author": "clains", + "id": 54710, + "last_update": "2016-06-05T06:48:18", + "num_changes": 0, + "permlink": "hello-world-my-name-is-clains", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 9 + }, + { + "author": "smooth", + "id": 54689, + "last_update": "2016-06-05T06:48:27", + "num_changes": 0, + "permlink": "voting-is-a-popularity-contest", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 12 + }, + { + "author": "bleepcoin", + "id": 54726, + "last_update": "2016-06-05T06:48:30", + "num_changes": 0, + "permlink": "hi-im-ollie", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 71 + }, + { + "author": "donkeypong", + "id": 54704, + "last_update": "2016-06-05T06:48:12", + "num_changes": 0, + "permlink": "my-name-is-ziggy-aka-donkeypongs-companion", + "rshares": 5100000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 61 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b0b164f802e5de346302e6d9b6750d4948c639cb --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_author_permlink.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" author + permlink + +marks: + - patterntest # show "voter": "nxt2" votes, not connected with author and permlink (like no data) + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_comment_voter" author + permlink + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours"], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_author_permlink" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes_by_voter_comment.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.orig.json similarity index 100% rename from hivemind/tavern/database_api_patterns/list_votes_by_voter_comment.orig.json rename to hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.orig.json diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..a83d7a85223d82fa697a5c47d90231d54190160b --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "steemit", + "id": 9, + "last_update": "2016-04-07T19:15:36", + "num_changes": 0, + "permlink": "firstpost", + "rshares": 375241, + "vote_percent": 100, + "voter": "dantheman", + "weight": 32866333630 + }, + { + "author": "admin", + "id": 74, + "last_update": "2016-04-08T20:09:33", + "num_changes": 0, + "permlink": "firstpost", + "rshares": -375241, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "proskynneo", + "id": 10, + "last_update": "2016-04-07T19:55:42", + "num_changes": 0, + "permlink": "steemit-firstpost-1", + "rshares": 375241, + "vote_percent": 100, + "voter": "dantheman", + "weight": 7884736843 + }, + { + "author": "red", + "id": 279, + "last_update": "2016-04-15T18:24:48", + "num_changes": 0, + "permlink": "steemit-firstpost-2", + "rshares": -376603, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "red", + "id": 11, + "last_update": "2016-04-07T19:15:24", + "num_changes": 0, + "permlink": "red-dailydecrypt-1", + "rshares": 375241, + "vote_percent": 100, + "voter": "dantheman", + "weight": 33132337607 + }, + { + "author": "abit", + "id": 68, + "last_update": "2016-04-08T19:13:21", + "num_changes": 0, + "permlink": "abit-first-post", + "rshares": -375241, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "abit", + "id": 280, + "last_update": "2016-04-15T18:25:33", + "num_changes": 0, + "permlink": "witness-category", + "rshares": -376603, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "abit", + "id": 72, + "last_update": "2016-04-08T19:14:27", + "num_changes": 0, + "permlink": "miner-category", + "rshares": -375241, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "abit", + "id": 71, + "last_update": "2016-04-08T19:14:00", + "num_changes": 0, + "permlink": "spam", + "rshares": -375241, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + }, + { + "author": "abit", + "id": 73, + "last_update": "2016-04-08T19:14:33", + "num_changes": 0, + "permlink": "abit-spam-post1", + "rshares": -375241, + "vote_percent": -100, + "voter": "dantheman", + "weight": 0 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c18772b63d851de8c93d6ae25a41368cd8121fbc --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_first.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: list_votes_by_voter_comment + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start":["nxt2", "roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours"], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_first" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..9cf5fe8cd6c7d0486405bf37b633b74323358011 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "satoshi", + "id": 54513, + "last_update": "2016-06-05T06:52:00", + "num_changes": -1, + "permlink": "bulk-generate-privkeys", + "rshares": "4800000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 287703877 + }, + { + "author": "au1nethyb1", + "id": 54508, + "last_update": "2016-06-05T06:50:27", + "num_changes": -1, + "permlink": "reducing-friction-for-critical-mass-adoption-of-steemit", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 4 + }, + { + "author": "blocktrades", + "id": 54511, + "last_update": "2016-06-05T06:50:48", + "num_changes": -1, + "permlink": "-blocktrades-adds-support-for-directly-buyingselling-steem", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 1 + }, + { + "author": "nextgencrypto", + "id": 54512, + "last_update": "2016-06-05T06:51:15", + "num_changes": -1, + "permlink": "request-for-proposal-steem-wordpress-plugin", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 2 + }, + { + "author": "dan", + "id": 54509, + "last_update": "2016-06-05T06:50:36", + "num_changes": -1, + "permlink": "is-the-dao-going-to-be-doa", + "rshares": "4900000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 3 + }, + { + "author": "judyhopps", + "id": 54507, + "last_update": "2016-06-05T06:50:03", + "num_changes": -1, + "permlink": "hi-i-googled-something-and-ended-up-here", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 17 + }, + { + "author": "clains", + "id": 54504, + "last_update": "2016-06-05T06:48:18", + "num_changes": -1, + "permlink": "hello-world-my-name-is-clains", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 9 + }, + { + "author": "smooth", + "id": 54505, + "last_update": "2016-06-05T06:48:27", + "num_changes": -1, + "permlink": "voting-is-a-popularity-contest", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 12 + }, + { + "author": "bleepcoin", + "id": 54506, + "last_update": "2016-06-05T06:48:30", + "num_changes": -1, + "permlink": "hi-im-ollie", + "rshares": "5000000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 71 + }, + { + "author": "donkeypong", + "id": 54502, + "last_update": "2016-06-05T06:48:12", + "num_changes": -1, + "permlink": "my-name-is-ziggy-aka-donkeypongs-companion", + "rshares": "5100000000", + "vote_percent": 10000, + "voter": "nxt2", + "weight": 61 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..cf770eccbc2c3e60a9b2684d4e4d9477ee867984 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "satoshi", + "id": 54696, + "last_update": "2016-06-05T06:52:00", + "num_changes": 0, + "permlink": "bulk-generate-privkeys", + "rshares": 4800000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 287703877 + }, + { + "author": "au1nethyb1", + "id": 54697, + "last_update": "2016-06-05T06:50:27", + "num_changes": 0, + "permlink": "reducing-friction-for-critical-mass-adoption-of-steemit", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 4 + }, + { + "author": "blocktrades", + "id": 54690, + "last_update": "2016-06-05T06:50:48", + "num_changes": 0, + "permlink": "-blocktrades-adds-support-for-directly-buyingselling-steem", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 1 + }, + { + "author": "nextgencrypto", + "id": 54694, + "last_update": "2016-06-05T06:51:15", + "num_changes": 0, + "permlink": "request-for-proposal-steem-wordpress-plugin", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 2 + }, + { + "author": "dan", + "id": 54691, + "last_update": "2016-06-05T06:50:36", + "num_changes": 0, + "permlink": "is-the-dao-going-to-be-doa", + "rshares": 4900000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 3 + }, + { + "author": "judyhopps", + "id": 54746, + "last_update": "2016-06-05T06:50:03", + "num_changes": 0, + "permlink": "hi-i-googled-something-and-ended-up-here", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 17 + }, + { + "author": "clains", + "id": 54710, + "last_update": "2016-06-05T06:48:18", + "num_changes": 0, + "permlink": "hello-world-my-name-is-clains", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 9 + }, + { + "author": "smooth", + "id": 54689, + "last_update": "2016-06-05T06:48:27", + "num_changes": 0, + "permlink": "voting-is-a-popularity-contest", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 12 + }, + { + "author": "bleepcoin", + "id": 54726, + "last_update": "2016-06-05T06:48:30", + "num_changes": 0, + "permlink": "hi-im-ollie", + "rshares": 5000000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 71 + }, + { + "author": "donkeypong", + "id": 54704, + "last_update": "2016-06-05T06:48:12", + "num_changes": 0, + "permlink": "my-name-is-ziggy-aka-donkeypongs-companion", + "rshares": 5100000000, + "vote_percent": 10000, + "voter": "nxt2", + "weight": 61 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..859a30b5a8c2b07e65133f5e17b32947da670ce6 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_no_data.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" no data + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_voter_comment" no data + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["", "", ""], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_no_data" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.orig.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.orig.json new file mode 100644 index 0000000000000000000000000000000000000000..814436f3225f139a458f5111048435cf54fb8b71 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.orig.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "wackou", + "id": 4468, + "last_update": "2016-05-04T05:20:06", + "num_changes": -1, + "permlink": "wackou-witness-post", + "rshares": 3782373700, + "vote_percent": 10000, + "voter": "bunny", + "weight": 27 + }, + { + "author": "bue-witness", + "id": 107, + "last_update": "2016-04-10T15:31:15", + "num_changes": -1, + "permlink": "bue-witness-post", + "rshares": 206, + "vote_percent": 10000, + "voter": "bunny", + "weight": 5 + }, + { + "author": "boy", + "id": 193, + "last_update": "2016-04-13T18:12:15", + "num_changes": -1, + "permlink": "news", + "rshares": 3936, + "vote_percent": 10000, + "voter": "bunny", + "weight": 41823962 + }, + { + "author": "bue", + "id": 169, + "last_update": "2016-04-13T12:09:39", + "num_changes": -1, + "permlink": "news", + "rshares": 3936, + "vote_percent": 10000, + "voter": "bunny", + "weight": 13204514 + }, + { + "author": "pop", + "id": 4460, + "last_update": "2016-05-04T05:16:42", + "num_changes": -1, + "permlink": "china", + "rshares": 3859565000, + "vote_percent": 10000, + "voter": "bunny", + "weight": 94422 + }, + { + "author": "pop", + "id": 4459, + "last_update": "2016-05-04T05:16:39", + "num_changes": -1, + "permlink": "taiwanese", + "rshares": 3936756300, + "vote_percent": 10000, + "voter": "bunny", + "weight": 79128 + }, + { + "author": "ice", + "id": 4462, + "last_update": "2016-05-04T05:16:48", + "num_changes": -1, + "permlink": "taiwan", + "rshares": 3859565000, + "vote_percent": 10000, + "voter": "bunny", + "weight": 44360 + }, + { + "author": "pharesim", + "id": 11966, + "last_update": "2016-08-27T00:39:00", + "num_changes": -1, + "permlink": "witness-post", + "rshares": 3627991100, + "vote_percent": 10000, + "voter": "bunny", + "weight": 3 + }, + { + "author": "silver", + "id": 4495, + "last_update": "2016-05-04T05:21:57", + "num_changes": -1, + "permlink": "panama-papers", + "rshares": 3319225900, + "vote_percent": 10000, + "voter": "bunny", + "weight": 6663372 + }, + { + "author": "dele-puppy", + "id": 4480, + "last_update": "2016-05-04T05:20:54", + "num_changes": -1, + "permlink": "dele-puppy-witness-thread", + "rshares": 3550799800, + "vote_percent": 10000, + "voter": "bunny", + "weight": 2464 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.pat.json b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.pat.json new file mode 100644 index 0000000000000000000000000000000000000000..5cb3537be99bb35734d08b37271df803e9e284dc --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.pat.json @@ -0,0 +1,114 @@ +{ + "votes": [ + { + "author": "wackou", + "id": 4443, + "last_update": "2016-05-04T05:20:06", + "num_changes": 0, + "permlink": "wackou-witness-post", + "rshares": 3782373700, + "vote_percent": 10000, + "voter": "bunny", + "weight": 27 + }, + { + "author": "bue-witness", + "id": 108, + "last_update": "2016-04-10T15:31:15", + "num_changes": 0, + "permlink": "bue-witness-post", + "rshares": 206, + "vote_percent": 10000, + "voter": "bunny", + "weight": 5 + }, + { + "author": "boy", + "id": 194, + "last_update": "2016-04-13T18:12:15", + "num_changes": 0, + "permlink": "news", + "rshares": 3936, + "vote_percent": 10000, + "voter": "bunny", + "weight": 41823962 + }, + { + "author": "bue", + "id": 170, + "last_update": "2016-04-13T12:09:39", + "num_changes": 0, + "permlink": "news", + "rshares": 3936, + "vote_percent": 10000, + "voter": "bunny", + "weight": 13204514 + }, + { + "author": "pop", + "id": 4467, + "last_update": "2016-05-04T05:16:42", + "num_changes": 0, + "permlink": "china", + "rshares": 3859565000, + "vote_percent": 10000, + "voter": "bunny", + "weight": 94422 + }, + { + "author": "pop", + "id": 4468, + "last_update": "2016-05-04T05:16:39", + "num_changes": 0, + "permlink": "taiwanese", + "rshares": 3936756300, + "vote_percent": 10000, + "voter": "bunny", + "weight": 79128 + }, + { + "author": "ice", + "id": 4471, + "last_update": "2016-05-04T05:16:48", + "num_changes": 0, + "permlink": "taiwan", + "rshares": 3859565000, + "vote_percent": 10000, + "voter": "bunny", + "weight": 44360 + }, + { + "author": "pharesim", + "id": 11967, + "last_update": "2016-08-27T00:39:00", + "num_changes": 1, + "permlink": "witness-post", + "rshares": 3627991100, + "vote_percent": 10000, + "voter": "bunny", + "weight": 3 + }, + { + "author": "silver", + "id": 4448, + "last_update": "2016-05-04T05:21:57", + "num_changes": 0, + "permlink": "panama-papers", + "rshares": 3319225900, + "vote_percent": 10000, + "voter": "bunny", + "weight": 6663372 + }, + { + "author": "dele-puppy", + "id": 4442, + "last_update": "2016-05-04T05:20:54", + "num_changes": 0, + "permlink": "dele-puppy-witness-thread", + "rshares": 3550799800, + "vote_percent": 10000, + "voter": "bunny", + "weight": 2464 + } + ] +} diff --git a/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.tavern.yaml b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.tavern.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ab74e942fd98fd496295a6906752dff9c2076147 --- /dev/null +++ b/hivemind/tavern/database_api_patterns/list_votes/by_voter_comment_voter.tavern.yaml @@ -0,0 +1,33 @@ +--- +test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" voter + +marks: + - patterntest + +includes: + - !include ../../common.yaml + +stages: + - name: database_api.list_votes patterns test order "by_voter_comment" voter + request: + url: "{service.proto:s}://{service.server:s}:{service.port}/" + method: POST + headers: + content-type: application/json + json: + jsonrpc: "2.0" + id: 1 + method: "database_api.list_votes" + params: + { + "start": ["bunny", "", ""], + "limit": 10, + "order": "by_voter_comment", + } + response: + status_code: 200 + verify_response_with: + function: validate_response:compare_response_with_pattern + extra_kwargs: + method: "by_voter_comment_voter" + directory: "database_api_patterns/list_votes" diff --git a/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json b/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json deleted file mode 100644 index 7c879abf6b46b4cd3f0fe20d947190e6550ef157..0000000000000000000000000000000000000000 --- a/hivemind/tavern/database_api_patterns/list_votes_by_comment_voter.pat.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "author": "roelandp", - "last_update": "2016-08-25T21:14:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1443077144144, - "vote_percent": 10000, - "voter": "anonymous", - "weight": 14340640191507060 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:20:09", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 158985837190, - "vote_percent": 10000, - "voter": "highasfuck", - "weight": 18707262932859690 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:06", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 7872457033211, - "vote_percent": 10000, - "voter": "pharesim", - "weight": 575498905301694100 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:17:21", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 1754932215280, - "vote_percent": 10000, - "voter": "hr1", - "weight": 240710957476907253 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:37:36", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 9910147284570, - "vote_percent": 5000, - "voter": "tombstone", - "weight": 1299387373405102838 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T21:37:18", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2921333226039, - "vote_percent": 10000, - "voter": "wang", - "weight": 731336847763362836 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:00", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2476131997, - "vote_percent": 10000, - "voter": "boy", - "weight": 140990083519884 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:53:51", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 3005703855, - "vote_percent": 10000, - "voter": "bue-witness", - "weight": 171594258591508 - }, - { - "author": "roelandp", - "last_update": "2016-08-25T22:54:03", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 557354442, - "vote_percent": 10000, - "voter": "bunny", - "weight": 31731545284403 - }, - { - "author": "roelandp", - "last_update": "2016-08-26T15:42:12", - "num_changes": 0, - "permlink": "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", - "rshares": 2152215026140, - "vote_percent": 2900, - "voter": "complexring", - "weight": 109163904259652527 - } -] diff --git a/hivemind/tavern/database_api_patterns/list_votes_by_voter_comment.pat.json b/hivemind/tavern/database_api_patterns/list_votes_by_voter_comment.pat.json deleted file mode 100644 index 33adf27f7e8b00f7c180deef5bb17d92ab4050f5..0000000000000000000000000000000000000000 --- a/hivemind/tavern/database_api_patterns/list_votes_by_voter_comment.pat.json +++ /dev/null @@ -1,102 +0,0 @@ -[ - { - "author": "steemit", - "last_update": "2016-04-07T19:15:36", - "num_changes": 0, - "permlink": "firstpost", - "rshares": 375241, - "vote_percent": 100, - "voter": "dantheman", - "weight": 32866333630 - }, - { - "author": "admin", - "last_update": "2016-04-08T20:09:33", - "num_changes": 0, - "permlink": "firstpost", - "rshares": -375241, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "proskynneo", - "last_update": "2016-04-07T19:55:42", - "num_changes": 0, - "permlink": "steemit-firstpost-1", - "rshares": 375241, - "vote_percent": 100, - "voter": "dantheman", - "weight": 7884736843 - }, - { - "author": "red", - "last_update": "2016-04-15T18:24:48", - "num_changes": 0, - "permlink": "steemit-firstpost-2", - "rshares": -376603, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "red", - "last_update": "2016-04-07T19:15:24", - "num_changes": 0, - "permlink": "red-dailydecrypt-1", - "rshares": 375241, - "vote_percent": 100, - "voter": "dantheman", - "weight": 33132337607 - }, - { - "author": "abit", - "last_update": "2016-04-08T19:13:21", - "num_changes": 0, - "permlink": "abit-first-post", - "rshares": -375241, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "abit", - "last_update": "2016-04-15T18:25:33", - "num_changes": 0, - "permlink": "witness-category", - "rshares": -376603, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "abit", - "last_update": "2016-04-08T19:14:27", - "num_changes": 0, - "permlink": "miner-category", - "rshares": -375241, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "abit", - "last_update": "2016-04-08T19:14:00", - "num_changes": 0, - "permlink": "spam", - "rshares": -375241, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - }, - { - "author": "abit", - "last_update": "2016-04-08T19:14:33", - "num_changes": 0, - "permlink": "abit-spam-post1", - "rshares": -375241, - "vote_percent": -100, - "voter": "dantheman", - "weight": 0 - } -] diff --git a/hivemind/tavern/test_database_api_patterns.tavern.yaml b/hivemind/tavern/test_database_api_patterns.tavern.yaml index 1cfce8eb08b10a5d9121d5019e6ce5fc8529a62e..abb1b877785c38e344d0dc2950c7cd460e4599fc 100644 --- a/hivemind/tavern/test_database_api_patterns.tavern.yaml +++ b/hivemind/tavern/test_database_api_patterns.tavern.yaml @@ -1,32 +1,3 @@ ---- - test_name: Hivemind database_api.find_comments patterns test - - marks: - - patterntest - - includes: - - !include common.yaml - - stages: - - name: find_comments - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "database_api.find_comments" - params: {"comments":[["steemit","firstpost"]]} - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "find_comments" - directory: "database_api_patterns" - ######################## CASHOUT TIME ######################## --- test_name: Hivemind database_api.list_comments patterns test order "by_cashout_time" date and author @@ -807,104 +778,3 @@ stages: error_response: true ignore_tags: ["timestamp"] - ---- -test_name: Hivemind database_api.list_votes patterns test order "by_voter_comment" - -marks: - - patterntest - -includes: - - !include common.yaml - -stages: - - name: list_votes_by_voter_comment - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "database_api.list_votes" - params: - { - "start":["nxt2", "roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours"], - "limit": 10, - "order": "by_voter_comment", - } - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "list_votes_by_voter_comment" - directory: "database_api_patterns" - ---- -test_name: Hivemind database_api.list_votes patterns test order "by_comment_voter" - -marks: - - patterntest - -includes: - - !include common.yaml - -stages: - - name: list_votes_by_comment_voter - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "database_api.list_votes" - params: - { - "start":["roelandp", "tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours", "nxt2"], - "limit": 10, - "order": "by_comment_voter", - } - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "list_votes_by_comment_voter" - directory: "database_api_patterns" - ---- -test_name: Hivemind database_api.find_votes patterns test - -marks: - - patterntest - -includes: - - !include common.yaml - -stages: - - name: find_votes - request: - url: "{service.proto:s}://{service.server:s}:{service.port}/" - method: POST - headers: - content-type: application/json - json: - jsonrpc: "2.0" - id: 1 - method: "database_api.find_votes" - params: - { - "author":"roelandp", - "permlink":"tldr-an-exploration-in-steem-botting-what-i-learned-since-it-s-inception-and-downfall-over-the-course-of-20-hours" - } - response: - status_code: 200 - verify_response_with: - function: validate_response:compare_response_with_pattern - extra_kwargs: - method: "find_votes" - directory: "database_api_patterns"