Cuprate, an upcoming experimental, modern & secure monero node. Written in Rust
Find a file
hinto-janai 2813c92505
database: make open_db_rw() take &TxRw (#104)
* env: take `&TxRw` in `open_db_rw()`

* heed: use `UnsafeCell` for write transactions

* backend: update tests

* add `trait DatabaseIter<T: Table>`

* heed: impl `trait DatabaseIter`, inline shared iter `fn`s

* env: make `open_db_ro()` return `impl DatabaseIter`

* heed: use full path for transaction fn calls

* tests: fix tx/table tests

* backend: fix redb

* heed: `UnsafeCell` -> `RefCell`

* docs

* remove unneeded `// SAFETY`

* Update database/src/backend/heed/env.rs

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

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-04-03 22:44:25 +01:00
.github/workflows database: impl trait function bodies for heed & redb (#85) 2024-03-13 22:05:24 +00:00
consensus CI: fix deny (#83) 2024-02-29 20:29:11 +00:00
cryptonight Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
database database: make open_db_rw() take &TxRw (#104) 2024-04-03 22:44:25 +01:00
helper database: Resizes, Shutdown, Flushing (#68) 2024-02-25 19:46:36 +00:00
misc update gpg key (#86) 2024-03-03 23:19:26 +00:00
net P2P Address book & Handshake changes (#89) 2024-03-20 20:58:12 +00:00
old_database Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
p2p P2P Address book & Handshake changes (#89) 2024-03-20 20:58:12 +00:00
pruning Keep pruning seeds decompressed (#90) 2024-03-15 22:11:27 +00:00
test-utils P2P Address book & Handshake changes (#89) 2024-03-20 20:58:12 +00:00
types Implement types/ (#94) 2024-03-27 00:46:32 +00:00
.gitignore ci: include macos + windows (#52) 2024-02-12 13:39:15 +00:00
Cargo.lock Implement types/ (#94) 2024-03-27 00:46:32 +00:00
Cargo.toml Implement types/ (#94) 2024-03-27 00:46:32 +00:00
CONTRIBUTING.md Add typos + cargo doc CI (#32) 2024-02-15 16:03:04 +00:00
deny.toml CI: fix deny (#83) 2024-02-29 20:29:11 +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.