Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
markprothro opened this issue Sep 26, 2024 · 1 comment
Open

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

markprothro opened this issue Sep 26, 2024 · 1 comment

Comments

@markprothro
Copy link

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
Copy link
Author

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());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant