Cuprate, an upcoming experimental, modern & secure monero node. Written in Rust https://cuprate.org
Find a file
hinto-janai 240e579066
database: replace sanakirja with redb (#80)
* cargo: replace `sanakirja` with `redb`

* database: update docs `sanakirja` -> `redb`

* lib: add TODO for `ConcreteEnv` generic replacement

* database: split `trait Database` -> `trait Database{Read,Write}`

* heed: add `struct HeedTable{Ro,Rw}` to match `redb` behavior

* ops: remove imports for now

* env: fix `&mut` bound on RwTx

* database: impl `redb`, type-checks

* fix heed trait impls, `Database{Read,Write}` -> `Database{Ro,Rw}`

* redb: impl `From<_>` for `RuntimeError`

* update readme

* heed: document `HeedTableR{o,w}` types

* env: doc `sync()` invariant

* database: document data & lock filenames

* misc docs, `redb` durability impl, `'db` -> `'env`

* redb: fixes

* misc docs and fixes

* Update database/README.md

Co-authored-by: Boog900 <boog900@tutanota.com>

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-02-29 17:40:15 +00:00
.github/workflows Add cargo deny to CI (#34) 2024-02-29 16:44:17 +00:00
consensus Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
cryptonight Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
database database: replace sanakirja with redb (#80) 2024-02-29 17:40:15 +00:00
helper database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
misc Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
net Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
old_database Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
p2p Add a test for an inbound handshake from monerod (#75) 2024-02-25 21:21:25 +00:00
pruning remove empty cuprate bin and common 2024-01-22 01:56:34 +00:00
test-utils Add a test for an inbound handshake from monerod (#75) 2024-02-25 21:21:25 +00:00
.gitignore ci: include macos + windows (#52) 2024-02-12 13:39:15 +00:00
Cargo.lock database: replace sanakirja with redb (#80) 2024-02-29 17:40:15 +00:00
Cargo.toml Add a test for an inbound handshake from monerod (#75) 2024-02-25 21:21:25 +00:00
CONTRIBUTING.md Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
deny.toml Add cargo deny to CI (#34) 2024-02-29 16:44:17 +00:00
LICENSE-AGPL License correction for github (#10) 2023-03-20 21:35:20 +01:00
LICENSE.md License correction for github (#10) 2023-03-20 21:35:20 +01:00
README.md add CI actions 2023-10-25 21:07:13 -04:00
SECURITY.md Inital Security Policy 2023-03-20 18:41:58 +01:00
typos.toml Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00

Cuprate


An up and coming Rust Monero node.

Matrix CI

Cuprate will be an alternative Monero node written from the ground up in Rust. It will be able to independently validate Monero consensus rules providing a layer of security and redundancy for the Monero network.

Cuprate will help to protect the network from implementation bugs that could cause a variety of issues, plus because it's written in a memory safe language Cuprate will be less likely to suffer from memory safety issues compared to monerod.