-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Any interest in targeting steven for web browsers using emscripten? Could be a possible viable alternative web-based client (background why I'm interested: been working on https://github.com/satoshinm/NetCraft/ which I ported from https://github.com/fogleman/Craft, written in pure C so it ported easily with emscripten, however, steven is much more fully-featured so it could be a good replacement).
Steven almost compiles with emscripten when passing --target asmjs-unknown-emscripten to cargo build, after applying #68 and updating a dependency satoshinm#1 but the main problems then seem to be:
- OpenSSL: cross-compiling (or replacing? Replace OpenSSL with ring? #67) for the web
- Replacing download_vanilla - can't download arbitrary files (at least, I think that is the error I see in mangled C++ backtrace here: [WIP] Update steven for emscripten satoshinm/steven#1 (comment))
- Conditionally-compiling out other code as needed with
#[cfg(target_os = "emscripten")]
Metadata
Metadata
Assignees
Labels
No labels