change some ports,add Hush explorer,add Hush Discord and Website

This commit is contained in:
DenioD
2019-10-23 23:15:46 +02:00
parent 4a00e19b3f
commit 2dccd522a8
15 changed files with 90 additions and 3927 deletions

View File

@@ -17,18 +17,7 @@ lazy_static! {
}
// Check if there is an existing wallet
#[no_mangle]
pub extern fn litelib_wallet_exists(chain_name: *const c_char) -> bool {
let chain_name_str = unsafe {
assert!(!chain_name.is_null());
CStr::from_ptr(chain_name).to_string_lossy().into_owned()
};
let config = LightClientConfig::create_unconnected(chain_name_str);
config.wallet_exists()
}
// Initialize a new lightclient and store its value
#[no_mangle]