MCPcopy Index your code
hub / github.com/2nd-Layer/rust-cardano-ouroboros-network

github.com/2nd-Layer/rust-cardano-ouroboros-network @0.2.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.8 ↗ · + Follow
109 symbols 199 edges 17 files 2 documented · 2% updated 3y ago0.2.8 · 2021-12-11★ 3711 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cardano Rust Ouroboros Network

This crate implements the networking layer for the Ouroboros blockchain protocol.

Mini-protocol Implementation Status

Protocol Name Implementation Status
BlockFetch Not Implemented
ChainSync Implemented
Handshake Implemented
KeepAlive Not Implemented
LocalStateQuery Not Implemented
LocalTxMonitor Not Implemented
LocalTxSubmission Not Implemented
TipSample Not Implemented
TxSubmission Partially Implemented
TxSubmission2 Not Implemented

Contributing

Submit Pull Requests

This repository implements a GitHub Action to make sure that the PR name follows Conventional Commits specification. Make sure your PRs follow the referred specification to pass Continuous Integration testing.

Cardano Project Catalyst

We regularly apply for funding from individual funds of Cardano Project Catalyst, below you can see our history of applications for funding:

Closed Funding Rounds

Ouroboros Network Protocol Documenation

There are two documents which describe various levels of the networking layer of the Cardano Node Shelley implementation:

This document explains the technical requirements and key constraints for the networking layer of the Cardano Shelley implementation of Ouroboros Praos. This is a design document.

This document is a technical specification of the networking protocol. It includes serialisation formats, necessary details of multiplexer and technical specifications of mini-protocols used by either node-to-node and node-to-client flavors of the protocol.

Wireshark Plug-in

Emurgo CDDL CodeGen

Codegen serialization logic for CBOR automatically from a CDDL specification.

Instead of hand-writing CBOR code and writing tests to make sure it matches your CDDL spec, it's much faster to just generate the code from the spec! It will save time and make it easier to keep all your code in sync with any changes to your specification.

You can learn more about CDDL here.

Reference implementations

License

This project is licensed under either of the following licenses: - GNU General Public License v3.0 (LICENSE or https://www.gnu.org/licenses/gpl-3.0-standalone.html) - GNU Lesser General Public License v3.0 (COPYING.LESSER or https://www.gnu.org/licenses/lgpl-3.0-standalone.html)

If for some reason you need different license, please open an issue, we will evaluate your request for project-specific licensing.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 63
Function 19
Class 14
Enum 9
Interface 4

Languages

Rust100%

Modules by API surface

src/protocols/chainsync.rs23 symbols
src/protocols/handshake.rs19 symbols
src/mux/connection.rs17 symbols
src/protocols/pingpong.rs13 symbols
src/protocols/transaction.rs11 symbols
examples/sqlite.rs5 symbols
examples/pooltool.rs5 symbols
src/lib.rs4 symbols
examples/tip.rs3 symbols
examples/server.rs2 symbols
examples/ping.rs2 symbols
examples/common.rs2 symbols

For agents

$ claude mcp add rust-cardano-ouroboros-network \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page