Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jussi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
jussi
Commits
a5094edd
Commit
a5094edd
authored
5 years ago
by
justinw
Browse files
Options
Downloads
Patches
Plain Diff
Add example config file for using hivemind as a tags/follows replacement with jussi
parent
988107a2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
EXAMPLE_hivemind_upstream_config.json
+285
-0
285 additions, 0 deletions
EXAMPLE_hivemind_upstream_config.json
with
285 additions
and
0 deletions
EXAMPLE_hivemind_upstream_config.json
0 → 100644
+
285
−
0
View file @
a5094edd
{
"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
]
]
}
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment