Created
November 9, 2021 14:00
-
-
Save ShmoogleOsukami/67f537f91cc7a89014c4fe96861b64eb to your computer and use it in GitHub Desktop.
RPC Proxy remote hived setup for dlux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"targets": { | |
"hived": "http://127.0.0.1:8091", | |
"hivemind": "https://api.deathwing.me", | |
"remotehived": "https://api.deathwing.me" | |
}, | |
"timeouts": { | |
"hived": 20, | |
"hivemind": 20, | |
"remotehived": 20 | |
}, | |
"routes": { | |
"^bridge.(.*)": { | |
"target": "hivemind", | |
"cache": 20 | |
}, | |
"^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": "remotehived" | |
}, | |
"^condenser_api.(get_witness_by_account|get_witnesses_by_vote|lookup_accounts|get_vesting_delegations|get_hardfork_version|broadcast_(.*)|get_transaction)$": { | |
"target": "remotehived" | |
}, | |
"^condenser_api.(get_accounts)$": { | |
"target": "remotehived", | |
"cache": 10 | |
}, | |
"^condenser_api.(.*)$": { | |
"target": "remotehived" | |
}, | |
"^database_api.(.*)$": { | |
"target": "remotehived", | |
"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": "remotehived", | |
"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": "remotehived" | |
} | |
}, | |
"default-cache": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This may or may not currently work with dlux. Sort of hap hazardly getting it to work.