Binaries: add cuprated skeleton (#258)
Some checks failed
Audit / audit (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled

* add cuprated skeleton

* fmt and add deny exception
This commit is contained in:
Boog900 2024-08-20 22:56:18 +00:00 committed by GitHub
parent 5648bf0da0
commit 7207fbd17b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 52 additions and 1 deletions

4
Cargo.lock generated
View file

@ -881,6 +881,10 @@ dependencies = [
"thiserror",
]
[[package]]
name = "cuprated"
version = "0.1.0"
[[package]]
name = "curve25519-dalek"
version = "4.1.3"

View file

@ -2,6 +2,7 @@
resolver = "2"
members = [
"binaries/cuprated",
"consensus",
"consensus/fast-sync",
"consensus/rules",

View file

@ -0,0 +1,13 @@
[package]
name = "cuprated"
version = "0.1.0"
edition = "2021"
description = "The Cuprate Monero Rust node."
license = "AGPL-3.0-only"
authors = ["Boog900", "hinto-janai", "SyntheticBird45"]
repository = "https://github.com/Cuprate/cuprate/tree/main/binaries/cuprated"
[dependencies]
[lints]
workspace = true

View file

@ -0,0 +1,6 @@
//! Blockchain
//!
//! Will contain the chain manager and syncer.
mod manager;
mod syncer;

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@
//! cuprated config

View file

@ -0,0 +1,9 @@
mod blockchain;
mod config;
mod p2p;
mod rpc;
mod txpool;
fn main() {
todo!()
}

View file

@ -0,0 +1,5 @@
//! P2P
//!
//! Will handle initiating the P2P and contains a protocol request handler.
mod request_handler;

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,5 @@
//! RPC
//!
//! Will contain the code to initiate the RPC and a request handler.
mod request_handler;

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,3 @@
//! Transaction Pool
//!
//! Will handle initiating the tx-pool, providing the preprocessor required for the dandelion pool.

View file

@ -133,7 +133,7 @@ confidence-threshold = 0.8
# aren't accepted for every possible crate as with the normal allow list
exceptions = [
# Cuprate (AGPL-3.0)
# { allow = ["AGPL-3.0"], name = "cuprated", version = "*" }
{ allow = ["AGPL-3.0"], name = "cuprated", version = "*" }
# Each entry is the crate and version constraint, and its specific allow
# list