From 1701d724dcc844927bb7a2c08695e53480d4de87 Mon Sep 17 00:00:00 2001 From: Someone Else Date: Wed, 8 Feb 2023 13:54:55 +0100 Subject: [PATCH] forgot Cargo.toml --- Cargo.toml | 24 ++++++++++++++++++++++-- readme.md | 8 ++++---- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d1184dfb..b4cae822 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,31 @@ [package] name = "cuprate" -version = "0.1.0" +version = "0.0.1" edition = "2021" +rust-version = "1.67.0" +description = "An upcoming experimental, modern & secure monero node" +readme = "readme.md" +repository = "https://github.com/SyntheticBird45/cuprate" +license = "BSD-3-Clause" +license-file = "LICENSE" + +# All Contributors on github +authors=["SyntheticBird45"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] monero = {version = "*", features = ['serde']} serde = "*" -heed = "0.20.0-alpha.0" \ No newline at end of file + +# As suggested by /u/danda : +thiserror = "*" + +[profile.release] +opt-level = 3 +debug = 0 +strip = "symbols" +lto = "thin" +panic = "abort" +build.rustflags=["-Zcf-protection=full", "-Zsanitizer=cfi", "-Crelocation-model=pie", "-Cstack-protector=all"] \ No newline at end of file diff --git a/readme.md b/readme.md index d6aaf298..d2f00570 100644 --- a/readme.md +++ b/readme.md @@ -30,17 +30,17 @@ I'm working on rewriting the blockchain_db part atm. ### Contributions -Any help on rewriting other parts of the node while also proposing improvements and respecting the goal of the project (which means try to be async and no weird api, or at least talk about it) is appreciated. +Any help on rewriting other parts of the node while also aligning with the targeted improvements is appreciated. I encourage anyone to review the work being done, discuss about it or propose agressive optimizations (at architectural level if needed, or even micro-optimizations in 'monolithic components'). +For non-developers people, it is time for you to unleash your ideas. + ### Code & Repo -For the moment i try to organize the repo like the official one. +For the moment I try to organize the repository like the official one. But it won't last for long. ### Improvements & Features - -
Asynchronous Design
Networking will be more performant and versatile by using Tokio. It will permit the simultaneous connections of a hundred peers. Handling different protocols by peers will be possible in a modular manner.
Traffic Obfuscation
Different protocol to bypass DPI will be available, such as with Levin protocol (TLS based, see https://github.com/monero-project/monero/issues/7078) and QUIC like Syncthing have done, but with offset and timing mitigations. Unless the monero-core team decide to implement these protocols, they'll only by available between cuprate peers.