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) [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 ## Donations
This is just a hobby project but if anything here is useful donations are much appreciated! 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 - /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 - latest neveko download
- /download/neveko-x86_64-linux-gnu-v0.4.8-alpha.tar.bz2.sig - detached sig - /download/neveko-x86_64-linux-gnu-v0.4.8-alpha.tar.bz2.sig - detached sig
- /library - knowledge is power
# Monero remote node (stagenet) # Monero remote node (stagenet)
http://xmr3kaacphwkk4z2gp35bdl47lrrnzimmyqj4oliauqrjzqecofa.b32.i2p http://xmr3kaacphwkk4z2gp35bdl47lrrnzimmyqj4oliauqrjzqecofa.b32.i2p
@ -32,9 +33,9 @@ NEVEKO Links (Clear)
git clone https://github.com/creating2morrow/neveko.git git clone https://github.com/creating2morrow/neveko.git
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZKxCVRwcY3JlYXRpbmdf iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZK3bORwcY3JlYXRpbmdf
dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMcAYA/0M4RExS4oWIWbPG7y4K dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMc8EA/2VekgaXzCQ7nyTs1Ysl
jtPK0MErKQV+jWQNujT/oyZEAQD6Lq2DLG3lRS4DycEfukH8U53WEVCPfAWDoHFW 7zDhyVUf2LcnDYub/l7Uj5DoAQDgk9pmuR/n4NXdFTMMBpvQFhaxGq5tpQFgL5ma
8v3vDA== cw6KDw==
=PrlK =VxhW
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View file

@ -594,7 +594,10 @@ async fn trigger_msig_info_request(
} }
} }
Err(e) => { 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()) 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 /// Performs the xmr rpc 'open_wallet' method
pub async fn open_wallet(filename: &String, password: &String) -> bool { 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) { pub async fn init_mediator_wallet(orid: &String) {
let password = std::env::var(crate::MONERO_WALLET_PASSWORD) let password = std::env::var(crate::MONERO_WALLET_PASSWORD).unwrap_or(utils::empty_string());
.unwrap_or(utils::empty_string());
let m_wallet = monero::create_wallet(orid, &password).await; let m_wallet = monero::create_wallet(orid, &password).await;
if !m_wallet { if !m_wallet {
log::error!("failed to create mediator wallet"); log::error!("failed to create mediator wallet");

View file

@ -1270,8 +1270,7 @@ fn send_prepare_info_req(
mediator: String, mediator: String,
orid: &String, orid: &String,
vendor: String, vendor: String,
) ) {
{
let m_orid: String = String::from(orid); let m_orid: String = String::from(orid);
let v_orid: String = String::from(orid); let v_orid: String = String::from(orid);
tokio::spawn(async move { tokio::spawn(async move {
@ -1280,7 +1279,7 @@ fn send_prepare_info_req(
utils::write_gui_db( utils::write_gui_db(
String::from(crate::GUI_MSIG_PREPARE_DB_KEY), String::from(crate::GUI_MSIG_PREPARE_DB_KEY),
utils::empty_string(), utils::empty_string(),
String::from(ref_prepare_info) String::from(ref_prepare_info),
); );
// Request mediator and vendor while we're at it // Request mediator and vendor while we're at it
// Will coordinating send this on make requests next // Will coordinating send this on make requests next