update release server with nevekonet library

This commit is contained in:
creating2morrow 2023-07-11 21:43:51 -04:00
parent 01405e3d6f
commit f82c92769a
6 changed files with 33 additions and 23 deletions

View file

@ -108,6 +108,13 @@ most of the complex logic stays in neveko-core, exported from [lib.rs](./neveko-
[the manual](./docs/man.md)
## Library
* hosting various hacking, networking, IT etc. related resources
* http://c2m66oddrzozztxyzjegbdwtgbeiibq5vz2tpchmqamrzcahcfoq.b32.i2p/library/Books
* have a request for a new book? send a message to nevekonet I2P inspIRC #random
* see `light-reading` for curated (< 1mb) in-browser reading over i2p
## Donations
This is just a hobby project but if anything here is useful donations are much appreciated!

View file

@ -22,6 +22,7 @@ http://c2m66oddrzozztxyzjegbdwtgbeiibq5vz2tpchmqamrzcahcfoq.b32.i2p
- /canary.txt
- /download/neveko-x86_64-linux-gnu-v0.4.8-alpha.tar.bz2 - latest neveko download
- /download/neveko-x86_64-linux-gnu-v0.4.8-alpha.tar.bz2.sig - detached sig
- /library - knowledge is power
# Monero remote node (stagenet)
http://xmr3kaacphwkk4z2gp35bdl47lrrnzimmyqj4oliauqrjzqecofa.b32.i2p
@ -32,9 +33,9 @@ NEVEKO Links (Clear)
git clone https://github.com/creating2morrow/neveko.git
-----BEGIN PGP SIGNATURE-----
iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZKxCVRwcY3JlYXRpbmdf
dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMcAYA/0M4RExS4oWIWbPG7y4K
jtPK0MErKQV+jWQNujT/oyZEAQD6Lq2DLG3lRS4DycEfukH8U53WEVCPfAWDoHFW
8v3vDA==
=PrlK
iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZK3bORwcY3JlYXRpbmdf
dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMc8EA/2VekgaXzCQ7nyTs1Ysl
7zDhyVUf2LcnDYub/l7Uj5DoAQDgk9pmuR/n4NXdFTMMBpvQFhaxGq5tpQFgL5ma
cw6KDw==
=VxhW
-----END PGP SIGNATURE-----

View file

@ -594,7 +594,10 @@ async fn trigger_msig_info_request(
}
}
Err(e) => {
error!("failed to {} info for order due to: {:?}", &request.msig_type, e);
error!(
"failed to {} info for order due to: {:?}",
&request.msig_type, e
);
Ok(Default::default())
}
}

View file

@ -488,7 +488,8 @@ fn update_wallet_lock(filename: &String, closing: bool) -> bool {
}
}
// TODO(c2m): search the app and use this output to either bail (false) or continue (true)
// TODO(c2m): search the app and use this output to either bail (false) or
// continue (true)
/// Performs the xmr rpc 'open_wallet' method
pub async fn open_wallet(filename: &String, password: &String) -> bool {

View file

@ -368,8 +368,7 @@ pub async fn transmit_order_request(
}
pub async fn init_mediator_wallet(orid: &String) {
let password = std::env::var(crate::MONERO_WALLET_PASSWORD)
.unwrap_or(utils::empty_string());
let password = std::env::var(crate::MONERO_WALLET_PASSWORD).unwrap_or(utils::empty_string());
let m_wallet = monero::create_wallet(orid, &password).await;
if !m_wallet {
log::error!("failed to create mediator wallet");

View file

@ -1270,17 +1270,16 @@ fn send_prepare_info_req(
mediator: String,
orid: &String,
vendor: String,
)
{
) {
let m_orid: String = String::from(orid);
let v_orid: String = String::from(orid);
tokio::spawn(async move {
let prepare_info = monero::prepare_wallet().await;
let ref_prepare_info: &String = &prepare_info.result.multisig_info;
utils::write_gui_db(
String::from(crate::GUI_MSIG_PREPARE_DB_KEY),
utils::empty_string(),
String::from(ref_prepare_info)
let ref_prepare_info: &String = &prepare_info.result.multisig_info;
utils::write_gui_db(
String::from(crate::GUI_MSIG_PREPARE_DB_KEY),
utils::empty_string(),
String::from(ref_prepare_info),
);
// Request mediator and vendor while we're at it
// Will coordinating send this on make requests next