From 042526d18be5f911a1b827cdf4fbe68c9951ab27 Mon Sep 17 00:00:00 2001
From: mtrela <mtrela@syncad.com>
Date: Wed, 18 Nov 2020 08:28:30 +0100
Subject: [PATCH] More cases for community

---
 .../mock_block_data_community.json            | 919 ++++++++++++++++--
 1 file changed, 849 insertions(+), 70 deletions(-)

diff --git a/mock_data/block_data/community_op/mock_block_data_community.json b/mock_data/block_data/community_op/mock_block_data_community.json
index 9232b1919..8519fe91c 100644
--- a/mock_data/block_data/community_op/mock_block_data_community.json
+++ b/mock_data/block_data/community_op/mock_block_data_community.json
@@ -419,9 +419,9 @@
               "parent_permlink": "hive-135485",
               "author": "test-safari",
               "permlink": "secrets1",
-              "title": "Secrets1",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 01",
+              "body": "tell me secret 01",
+              "json_metadata": "{}"
             }
           },
           {
@@ -431,9 +431,9 @@
               "parent_permlink": "hive-135485",
               "author": "test-safari",
               "permlink": "secrets2",
-              "title": "Secrets2",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 02",
+              "body": "tell me secret 02",
+              "json_metadata": "{}"
             }
           },
           {
@@ -443,9 +443,9 @@
               "parent_permlink": "hive-117600",
               "author": "test-safari",
               "permlink": "secrets3",
-              "title": "Secrets3",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 03",
+              "body": "tell me secret 03",
+              "json_metadata": "{}"
             }
           },
           {
@@ -455,9 +455,9 @@
               "parent_permlink": "hive-117600",
               "author": "test-safari",
               "permlink": "secrets4",
-              "title": "Secrets4",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 04",
+              "body": "tell me secret 04",
+              "json_metadata": "{}"
             }
           },
           {
@@ -467,9 +467,9 @@
               "parent_permlink": "hive-117600",
               "author": "test-safari",
               "permlink": "secrets5",
-              "title": "Secrets5",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 05",
+              "body": "tell me secret 05",
+              "json_metadata": "{}"
             }
           },
           {
@@ -479,9 +479,9 @@
               "parent_permlink": "hive-117600",
               "author": "test-safari",
               "permlink": "secrets6",
-              "title": "Secrets6",
-              "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
-              "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
+              "title": "I love secrets 06",
+              "body": "tell me secret 06",
+              "json_metadata": "{}"
             }
           },
           {
@@ -649,6 +649,83 @@
         "ref_block_prefix": 1,
         "expiration": "2020-03-23T12:17:00",
         "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-171488"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-171488\",\"account\":\"test-safari\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-171487"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-171487\",\"account\":\"test-safari\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"updateProps\",{\"community\":\"hive-171488\",\"props\":{\"title\":\"Hello\",\"about\":\"Nothing.\",\"is_nsfw\":true,\"description\":\"Nothing\",\"flag_text\":\"Lol\"}}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"updateProps\",{\"community\":\"hive-171487\",\"props\":{\"title\":\"Banana\",\"about\":\"Banana-nothing.\",\"is_nsfw\":true,\"description\":\"Cherry\",\"flag_text\":\"Lemon\"}}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-117600"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-117600\",\"account\":\"roadscape\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-117600\",\"account\":\"gtg\",\"role\":\"member\"}]"
+            }
+          }
         ]
       }
     ],
@@ -668,7 +745,52 @@
         "ref_block_num": 100001,
         "ref_block_prefix": 1,
         "expiration": "2020-03-23T12:17:00",
-        "operations": []
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"secrets1 are a spam\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets2\",\"notes\":\"secrets2 are a spam\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets5\",\"notes\":\"secret5 are a spam\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets2\",\"notes\":\"secrets1 are a spam, but I love them\"}]"
+            }
+          }
+        ]
       }
     ],
     "block_id": "004c4b4200000000000000000000000000000000",
@@ -682,7 +804,59 @@
     "transaction_merkle_root": "0000000000000000000000000000000000000000",
     "extensions": [],
     "witness_signature": "",
-    "transactions": [],
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets3\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"unpinPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets3\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets4\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets5\"}]"
+            }
+          }
+        ]
+      }
+    ],
     "block_id": "004c4b4300000000000000000000000000000000",
     "signing_key": "",
     "transaction_ids": []
@@ -694,7 +868,37 @@
     "transaction_merkle_root": "0000000000000000000000000000000000000000",
     "extensions": [],
     "witness_signature": "",
-    "transactions": [],
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"flagPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets5\",\"notes\":\"secrets5 are boring\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"flagPost\",{\"community\":\"hive-117600\",\"account\":\"test-safari\",\"permlink\":\"secrets6\",\"notes\":\"secrets5 are stupid\"}]"
+            }
+          }
+        ]
+      }
+    ],
     "block_id": "004c4b4400000000000000000000000000000000",
     "signing_key": "",
     "transaction_ids": []
@@ -706,55 +910,630 @@
     "transaction_merkle_root": "0000000000000000000000000000000000000000",
     "extensions": [],
     "witness_signature": "",
-    "transactions": [],
-    "block_id": "004c4b4500000000000000000000000000000000",
-    "signing_key": "",
-    "transaction_ids": []
-  },
-  "5000006": {
-    "previous": "004c4b4500000000000000000000000000000000",
-    "timestamp": "2016-09-15T19:47:39",
-    "witness": "initminer",
-    "transaction_merkle_root": "0000000000000000000000000000000000000000",
-    "extensions": [],
-    "witness_signature": "",
-    "transactions": [],
-    "block_id": "004c4b4600000000000000000000000000000000",
-    "signing_key": "",
-    "transaction_ids": []
-  },
-  "5000007": {
-    "previous": "004c4b4600000000000000000000000000000000",
-    "timestamp": "2016-09-15T19:47:42",
-    "witness": "initminer",
-    "transaction_merkle_root": "0000000000000000000000000000000000000000",
-    "extensions": [],
-    "witness_signature": "",
-    "transactions": [],
-    "block_id": "004c4b4700000000000000000000000000000000",
-    "signing_key": "",
-    "transaction_ids": []
-  },
-  "5000008": {
-    "previous": "004c4b4700000000000000000000000000000000",
-    "timestamp": "2016-09-15T19:47:45",
-    "witness": "initminer",
-    "transaction_merkle_root": "0000000000000000000000000000000000000000",
-    "extensions": [],
-    "witness_signature": "",
-    "transactions": [],
-    "block_id": "004c4b4800000000000000000000000000000000",
-    "signing_key": "",
-    "transaction_ids": []
-  },
-  "5000009": {
-    "previous": "004c4b4800000000000000000000000000000000",
-    "timestamp": "2016-09-15T19:47:48",
-    "witness": "initminer",
-    "transaction_merkle_root": "0000000000000000000000000000000000000000",
-    "extensions": [],
-    "witness_signature": "",
-    "transactions": [],
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171487\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171488\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-135485\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-117600\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "test-safari"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-165317\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "gtg"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171487\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "gtg"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171488\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "gtg"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-135485\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "gtg"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-186669\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "gtg"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-103459\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "roadscape"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171487\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "roadscape"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171488\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "roadscape"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-135485\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "roadscape"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-186669\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "roadscape"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-104647\"}]"
+            }
+          }
+        ]
+      }
+    ],
+    "block_id": "004c4b4500000000000000000000000000000000",
+    "signing_key": "",
+    "transaction_ids": []
+  },
+  "5000006": {
+    "previous": "004c4b4500000000000000000000000000000000",
+    "timestamp": "2016-09-15T19:47:39",
+    "witness": "initminer",
+    "transaction_merkle_root": "0000000000000000000000000000000000000000",
+    "extensions": [],
+    "witness_signature": "",
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171487\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-171488\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-135485\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-117600\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-165317\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-186669\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-103459\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-188204\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-149232\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "good-karma"
+              ],
+              "id": "community",
+              "json": "[\"subscribe\",{\"community\":\"hive-104647\"}]"
+            }
+          }
+        ]
+      }
+    ],
+    "block_id": "004c4b4600000000000000000000000000000000",
+    "signing_key": "",
+    "transaction_ids": []
+  },
+  "5000007": {
+    "previous": "004c4b4600000000000000000000000000000000",
+    "timestamp": "2016-09-15T19:47:42",
+    "witness": "initminer",
+    "transaction_merkle_root": "0000000000000000000000000000000000000000",
+    "extensions": [],
+    "witness_signature": "",
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-117600"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-117600"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-117600\",\"account\":\"abit\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-117600",
+              "author": "abit",
+              "permlink": "anaconda01",
+              "title": "powerful snake 01",
+              "body": "only snakes 01",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"abit\",\"permlink\":\"anaconda01\"}]"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-117600",
+              "author": "abit",
+              "permlink": "anaconda02",
+              "title": "powerful snake 02",
+              "body": "only snakes 02",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"abit\",\"permlink\":\"anaconda02\"}]"
+            }
+          }
+        ]
+      }
+    ],
+    "block_id": "004c4b4700000000000000000000000000000000",
+    "signing_key": "",
+    "transaction_ids": []
+  },
+  "5000008": {
+    "previous": "004c4b4700000000000000000000000000000000",
+    "timestamp": "2016-09-15T19:47:45",
+    "witness": "initminer",
+    "transaction_merkle_root": "0000000000000000000000000000000000000000",
+    "extensions": [],
+    "witness_signature": "",
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-117600",
+              "author": "good-karma",
+              "permlink": "spider01",
+              "title": "powerful spider 01",
+              "body": "only spiders 01",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"permlink\":\"spider01\"}]"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-117600",
+              "author": "good-karma",
+              "permlink": "spider02",
+              "title": "powerful spider 02",
+              "body": "only spiders 02",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"permlink\":\"spider02\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"permlink\":\"spider02\",\"notes\":\"I hate spiders 02\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"permlink\":\"spider01\",\"notes\":\"I hate spiders 01\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "abit"
+              ],
+              "id": "community",
+              "json": "[\"unmutePost\",{\"community\":\"hive-117600\",\"account\":\"good-karma\",\"permlink\":\"spider01\",\"notes\":\"I hate spiders 02, but they are funny\"}]"
+            }
+          }
+        ]
+      }
+    ],
+    "block_id": "004c4b4800000000000000000000000000000000",
+    "signing_key": "",
+    "transaction_ids": []
+  },
+  "5000009": {
+    "previous": "004c4b4800000000000000000000000000000000",
+    "timestamp": "2016-09-15T19:47:48",
+    "witness": "initminer",
+    "transaction_merkle_root": "0000000000000000000000000000000000000000",
+    "extensions": [],
+    "witness_signature": "",
+    "transactions": [
+      {
+        "ref_block_num": 100001,
+        "ref_block_prefix": 1,
+        "expiration": "2020-03-23T12:17:00",
+        "operations": [
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "hive-135485"
+              ],
+              "id": "community",
+              "json": "[\"setRole\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"role\":\"admin\"}]"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-135485",
+              "author": "blocktrades",
+              "permlink": "crocodile01",
+              "title": "powerful crocodile 01",
+              "body": "only crocodiles 01",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-135485",
+              "author": "blocktrades",
+              "permlink": "crocodile02",
+              "title": "powerful crocodile 02",
+              "body": "only crocodiles 02",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "comment_operation",
+            "value": {
+              "parent_author": "",
+              "parent_permlink": "hive-135485",
+              "author": "blocktrades",
+              "permlink": "crocodile03",
+              "title": "powerful crocodile 03",
+              "body": "only crocodiles 03",
+              "json_metadata": "{}"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile01\",\"notes\":\"I hate crocodiles 01\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile02\",\"notes\":\"I hate crocodiles 02\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile03\",\"notes\":\"I hate crocodiles 03\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile03\",\"notes\":\"I hate crocodiles 03, but they are cool\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile02\"}]"
+            }
+          },
+          {
+            "type": "custom_json_operation",
+            "value": {
+              "required_auths": [],
+              "required_posting_auths": [
+                "blocktrades"
+              ],
+              "id": "community",
+              "json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"blocktrades\",\"permlink\":\"crocodile03\"}]"
+            }
+          }
+        ]
+      }
+    ],
     "block_id": "004c4b4900000000000000000000000000000000",
     "signing_key": "",
     "transaction_ids": []
-- 
GitLab