Pierre Krieger

Results 575 comments of Pierre Krieger

If you just want to check whether a node is reachable, you can replace all the bootnodes in the chain spec with that single node. Smoldot at the moment doesn't...

After https://github.com/paritytech/smoldot/pull/1688, the light client code is now parametrized over a "platform". In other words, the code no longer calls `ffi::Instant::now()`, but `Platform::now()` where `Platform` is a trait. The next...

After https://github.com/paritytech/smoldot/pull/1698, there is now a `smoldot-light-base` package in the `bin` directory. It contains the light client node code in a platform-agnostic way. By using it as a dependency, it...

Some links: https://fnordig.de/2022/01/31/rust-libraries-on-ios/ https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-21-rust-on-android.html

> Have you looked at uniffi created by mozilla? It's a cross language binding tools that can let rust code be deployed to not only ios(swift) but android(kotlin), and other...

cc https://github.com/paritytech/smoldot/pull/2675

The documentation of the `Platform` trait are normally good enough that you shouldn't have to read the JS code. Feel free to point out things that you don't understand in...

> I've had a go and am also a bit perplexed. I had a go: https://github.com/gilescope/dotsamaworld/commit/22566351f594168e51addc7042867423be063d22 Your `new_task_rx` variable will then receive tasks that must be executed until they finished....

The biggest challenge is implementing the `Platform` trait.