protected store test
This commit is contained in:
@@ -93,7 +93,10 @@ impl JsVeilidCore {
|
||||
"capabilities.protocol_accept_ws" => Self::value_to_bool(val),
|
||||
"capabilities.protocol_connect_wss" => Self::value_to_bool(val),
|
||||
"capabilities.protocol_accept_wss" => Self::value_to_bool(val),
|
||||
"tablestore.directory" => Self::value_to_string(val),
|
||||
"table_store.directory" => Self::value_to_string(val),
|
||||
"protected_store.allow_insecure_fallback" => Self::value_to_bool(val),
|
||||
"protected_store.always_use_insecure_storage" => Self::value_to_bool(val),
|
||||
"protected_store.insecure_fallback_directory" => Self::value_to_string(val),
|
||||
"network.max_connections" => Self::value_to_u32(val),
|
||||
"network.node_id" => Self::value_to_dht_key(val),
|
||||
"network.node_id_secret" => Self::value_to_dht_key_secret(val),
|
||||
|
@@ -36,7 +36,10 @@ fn init_callbacks() {
|
||||
case "capabilities.protocol_accept_ws": return false;
|
||||
case "capabilities.protocol_connect_wss": return true;
|
||||
case "capabilities.protocol_accept_wss": return false;
|
||||
case "tablestore.directory": return "";
|
||||
case "table_store.directory": return "";
|
||||
case "protected_store.allow_insecure_fallback": return true;
|
||||
case "protected_store.always_use_insecure_storage": return false;
|
||||
case "protected_store.insecure_fallback_directory": return "";
|
||||
case "network.max_connections": return 16;
|
||||
case "network.node_id": return "ZLd4uMYdP4qYLtxF6GqrzBb32Z6T3rE2FWMkWup1pdY";
|
||||
case "network.node_id_secret": return "s2Gvq6HJOxgQh-3xIgfWSL3I-DWZ2c1RjZLJl2Xmg2E";
|
||||
|
Reference in New Issue
Block a user