Ipc extractor#3
Open
xyzconstant wants to merge 11 commits into
Open
Conversation
3b27bd0 to
8bd94fb
Compare
ba08e80 to
ba32233
Compare
1e6ea6a to
1e1546f
Compare
08a75bd to
20279f5
Compare
On upstream `corepc-client` was bumped to `v0.13.0` and `corepc-node` crate renamed to `bitcoind`. Bump rev to `8798e7f` on b10c's fork and adjust references to `corepc_node`/`Node` in the codebase accordingly. Cargo.lock is regenerated to satisfy `bitreq 0.3.5`.
This set the foundation for start implementing peer-observer#370.
- Add protobuf event schema BlockTip - Extend main peer_observer_event with IPC ones - Expose generated IPC protobuf bindings - Extend runtime error handling for NATS publish and system-time errors
Mirror capnp files at [Core v31.0](https://github.com/bitcoin/bitcoin/tree/v31.0), these files will be located at `extractors/ipc/capnp`
The `--ipc-socket-path` argument was previously unused. This change implements the full IPC connection workflow by instantiating the Mining interface and performing a `getTip` query to have a simple extraction process. Key changes: - Add `build.rs` to generate Rust bindings for the multiprocess schemas in `capnp/` - Integrate bindings using `capnp::generated_code!` macro - Implemented error handling for Capnp-specific RPC failures - Updated `main.rs` to a single-threaded runtime since `capnp_rpc::RpcSystem` is `!Send` - Create `ipc.rs` which encapsulates IPC communication logic
20279f5 to
9b727c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.