AnduroProject / alys

5 stars 0 forks source link

Windows deployment cargo run --bin app -- --dev #32

Open markprothro opened 1 month ago

markprothro commented 1 month ago

I am getting an issue with app.rs and the use of calls to unix signals. I commented this piece out as it did not look critical to a functioning server. Can this process be run on windows.? I am part of a startup that may be able to get you some extra work based on what you have here. I am new to the Rust and Solidity buy have been a microsoft dev for over 30 years.

307 | let mut stream = tokio::signal::unix::signal(tokio::signal::unix::SignalKind::terminate())?; | ^^^^ could not find unix in signal

markprothro commented 1 month ago

So I am now using ubuntu to run this guy and am getting as far as

2024-09-29T21:07:04.012323Z INFO app::app: Using bitcoin public key 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 2024-09-29T21:07:04.012779Z INFO app::app: Running authority123 thread 'main' panicked at app/src/engine.rs:240:73: called Result::unwrap() on an Err value: Auth(InvalidToken)

something is wrong with the public key that is being generated here in app.rs at line 205

let bitcoin_pk = bitcoin_sk.public_key(&bitcoin::key::Secp256k1::new());