Skip to content
Snippets Groups Projects
Unverified Commit 74a41ccb authored by roadscape's avatar roadscape Committed by GitHub
Browse files

Merge pull request #227 from steemit/add-hivemind-upstream-example-config

Example config file for using hivemind as a tags/follows replacement
parents 988107a2 a5094edd
No related branches found
No related tags found
No related merge requests found
{
"limits": {
"accounts_blacklist": [
"accounttoblock"
]
},
"upstreams": [
{
"name": "steemd",
"translate_to_appbase": true,
"urls": [
[
"steemd",
"https://your.steemd.url"
]
],
"ttls": [
[
"steemd",
3
]
],
"timeouts": [
[
"steemd",
3
]
]
},
{
"name": "appbase",
"urls": [
[
"appbase",
"https://your.steemd.url"
],
[
"appbase.account_history_api",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_account_history",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_ops_in_block",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_followers",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_following",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_follow_count",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_trending",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_hot",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_promoted",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_created",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_blog",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_feed",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_comments",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_replies_by_last_update",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_trending_tags",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_discussions_by_author_before_date",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_post_discussions_by_payout",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_comment_discussions_by_payout",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_blog",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_blog_entries",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_account_votes",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_state",
"https://your.hivemind.url"
],
[
"appbase.condenser_api.get_state.params=['witnesses']",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_state.params=['/witnesses']",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_state.params=['/~witnesses']",
"https://your.account.history.steemd.url"
],
[
"appbase.condenser_api.get_state.params=['~witnesses']",
"https://your.account.history.steemd.url"
],
[
"appbase.follow_api",
"https://your.hivemind.url"
],
[
"appbase.tags_api",
"https://your.hivemind.url"
]
],
"ttls": [
[
"appbase",
3
],
[
"appbase.login_api",
-1
],
[
"appbase.network_broadcast_api",
-1
],
[
"appbase.follow_api",
10
],
[
"appbase.market_history_api",
1
],
[
"appbase.condenser_api",
3
],
[
"appbase.condenser_api.get_block",
-2
],
[
"appbase.condenser_api.get_block_header",
-2
],
[
"appbase.condenser_api.get_content",
1
],
[
"appbase.condenser_api.get_state",
1
],
[
"appbase.condenser_api.get_state.params=['/trending']",
30
],
[
"appbase.condenser_api.get_state.params=['trending']",
30
],
[
"appbase.condenser_api.get_state.params=['/hot']",
30
],
[
"appbase.condenser_api.get_state.params=['/welcome']",
30
],
[
"appbase.condenser_api.get_state.params=['/promoted']",
30
],
[
"appbase.condenser_api.get_state.params=['/created']",
10
],
[
"appbase.condenser_api.get_dynamic_global_properties",
1
]
],
"timeouts": [
[
"appbase",
3
],
[
"appbase.network_broadcast_api",
0
],
[
"appbase.chain_api.push_block",
0
],
[
"appbase.chain_api.push_transaction",
0
],
[
"appbase.condenser_api.broadcast_block",
0
],
[
"appbase.condenser_api.broadcast_transaction",
0
],
[
"appbase.condenser_api.broadcast_transaction_synchronous",
0
],
[
"appbase.condenser_api.get_account_votes",
20
],
[
"appbase.condenser_api.get_ops_in_block.params=[2889020,false]",
20
],
[
"appbase.account_history_api.get_ops_in_block.params={\"block_num\":2889020,\"only_virtual\":false}",
20
]
]
},
{
"name": "hive",
"urls": [
[
"hive",
"https://your.hivemind.url"
]
],
"ttls": [
[
"hive",
-1
]
],
"timeouts": [
[
"hive",
30
]
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment