-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.example.hive.json
87 lines (87 loc) · 2.52 KB
/
config.example.hive.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"targets": {
"hived": "http://127.0.0.1:8091",
"hivemind": "http://127.0.0.1:8080"
},
"timeouts": {
"hived": 10,
"hivemind": 10
},
"routes": {
"^bridge.(.*)": {
"target": "hivemind",
"cache": 5
},
"^database_api.(list_comments|find_comments|list_votes|find_votes)$": {
"target": "hivemind"
},
"^condenser_api.(get_blog|get_follow_count$|get_following|get_followers|get_reblogged_by|get_account_reputations|get_content(.*)|get_trending_tags|get_active_votes|get_state|get_discussions_by(.*)|get_blog(.*)|get_account_votes)$": {
"target": "hivemind"
},
"^database_api.(get_follow_count$|get_following|get_followers|get_reblogged_by|get_account_reputations|get_content(.*)|get_trending_tags|get_active_votes|get_state|get_(.*)_by(.*)|get_blog(.*)|get_account_votes)$": {
"target": "hivemind",
"translate_to_app_base": true
},
"^database_api.(list_proposals|find_(.*)|lookup_accounts|get_vesting_delegations|broadcast_(.*)|get_transaction|find_accounts|get_hardfork_properties|get_nai_pool|get_current_price_feed)$": {
"target": "hived"
},
"^database_api.(list_proposal_votes)$": {
"target": "hived"
},
"^condenser_api.(get_witness_by_account|get_witnesses_by_vote|lookup_accounts|get_vesting_delegations|get_hardfork_version|broadcast_(.*)|get_transaction)$": {
"target": "hived"
},
"^condenser_api.(get_accounts)$": {
"target": "hived",
"cache": 5
},
"^condenser_api.(.*)$": {
"target": "hived"
},
"^database_api.(.*)$": {
"target": "hived",
"translate_to_app_base": true
},
"^tags_api.(.*)$": {
"target": "hivemind",
"translate_to_app_base": true
},
"^follow_api.(.*)$": {
"target": "hivemind",
"translate_to_app_base": true
},
"^hive.(.*)$": {
"target": "hivemind"
},
"^rc_api.(.*)$": {
"target": "hived"
},
"^login_api.(.*)$": {
"target": "hived",
"translate_to_app_base": true
},
"^network_broadcast_api.(.*)$": {
"target": "hived",
"translate_to_app_base": true
},
"^market_history_api.(.*)$": {
"target": "hived"
},
"^chain_api.(.*)$": {
"target": "hived"
},
"^block_api.(.*)$": {
"target": "hived"
},
"^account_by_key_api.(.*)$": {
"target": "hived"
},
"^transaction_status_api.(.*)$": {
"target": "hived"
},
"^account_history_api.(.*)$": {
"target": "hived"
}
},
"default-cache": 0
}