Skip to content
Snippets Groups Projects

Update SetRole/SetUserTitle so that you have to be subscribed to get it, also...

Merged Howo requested to merge feature/role-only-if-subscribed into develop
1 file
+ 256
241
Compare changes
  • Side-by-side
  • Inline
@@ -4337,246 +4337,6 @@
"author": "blocktrades",
"permlink": "elephant01"
}
},
{
"type": "account_create_operation",
"value": {
"creator": "root",
"new_account_name": "howo",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "notmember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "ismember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "notmembermuted",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "isoldmember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "hive-199999",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
}
]
}
@@ -4756,7 +4516,262 @@
"id": "community",
"json": "[\"setRole\",{\"community\":\"hive-198723\",\"account\":\"alice\",\"role\":\"member\"}]"
}
},
}
]
}
]
},
"5000011": {
"transactions": [
{
"type": "account_create_operation",
"value": {
"creator": "root",
"new_account_name": "howo",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "notmember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "ismember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "notmembermuted",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "isoldmember",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
},
{
"type": "account_create_operation",
"value": {
"creator": "howo",
"new_account_name": "hive-199999",
"owner": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"active": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"posting": {
"weight_threshold": 1,
"account_auths": [],
"key_auths": [
[
"STM8JH4fTJr73FQimysjmXCEh2UvRwZsG6ftjxsVTmYCeEehZgh25",
1
]
]
},
"memo_key": "",
"json_metadata": "",
"extensions": []
}
}
]
},
"5000012": {
"transactions": [
{
"ref_block_num": 100001,
"ref_block_prefix": 1,
"expiration": "2020-03-23T12:17:00",
"operations": [
{
"type": "custom_json_operation",
"value": {
Loading