Cuprate, an upcoming experimental, modern & secure monero node. Written in Rust
Find a file
Boog900 4169c45c58
Blockchain: add alt-block handling (#260)
* add new tables & types

* add function to fully add an alt block

* resolve current todo!s

* add new requests

* WIP: starting re-orgs

* add last service request

* commit Cargo.lock

* add test

* more docs + cleanup + alt blocks request

* clippy + fmt

* document types

* move tx_fee to helper

* more doc updates

* fmt

* fix imports

* fix fee

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* remove default features from `cuprate-helper`

* review fixes

* fix find_block

* add a test and fix some issues in chain history

* fix clippy

* fmt

* Apply suggestions from code review

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* add dev dep

* cargo update

* move `flush_alt_blocks`

* review fixes

* more review fixes

* fix clippy

* remove INVARIANT comments

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-09-19 16:55:28 +01:00
.github ci: fix book CI (#252) 2024-08-09 20:44:53 +01:00
benches repo: add skeleton directories, fix labels (#139) 2024-05-29 02:18:30 +01:00
binaries cuprated: initial RPC module skeleton (#262) 2024-09-08 15:52:17 +01:00
books book/architecture: add resource index (#268) 2024-09-08 18:31:58 +01:00
consensus consensus: misc fixes (#276) 2024-09-10 01:18:26 +01:00
cryptonight workspace: enforce crate/directory naming scheme (#164) 2024-06-24 02:30:47 +01:00
helper Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
misc Update Zed in ENVIRONMENT-ADVICE.md (#259) 2024-08-22 00:33:21 +01:00
net wire: enable workspace lints (#291) 2024-09-18 23:19:32 +01:00
p2p p2p/address-book: enable workspace lints (#286) 2024-09-18 23:18:31 +01:00
pruning pruning: enable workspace lints (#284) 2024-09-18 22:44:23 +01:00
rpc lints: replace allow with expect (#285) 2024-09-18 21:31:08 +01:00
storage Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
test-utils Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
types Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
zmq repo: add skeleton directories, fix labels (#139) 2024-05-29 02:18:30 +01:00
.gitignore books: add skeleton and docs (#141) 2024-05-30 01:19:46 +01:00
Cargo.lock Blockchain: add alt-block handling (#260) 2024-09-19 16:55:28 +01:00
Cargo.toml lints: replace allow with expect (#285) 2024-09-18 21:31:08 +01:00
clippy.toml workspace: add naming convention lints (#261) 2024-09-02 18:10:45 +01:00
CONTRIBUTING.md ci: add doc.yml (#203) 2024-07-03 22:38:47 +01:00
deny.toml Binaries: add cuprated skeleton (#258) 2024-08-20 23:56:18 +01:00
LICENSE books: add skeleton and docs (#141) 2024-05-30 01:19:46 +01:00
LICENSE-AGPL License correction for github (#10) 2023-03-20 21:35:20 +01:00
LICENSE-MIT repo: update license (#134) 2024-05-27 00:39:32 +01:00
README.md ci: add doc.yml (#203) 2024-07-03 22:38:47 +01:00
SECURITY.md docs: update README.md & SECURITY.md (#143) 2024-06-14 18:33:43 +01:00
typos.toml rpc: add JSON doc-tests (#232) 2024-07-28 21:43:16 +01:00

An alternative Monero node implementation.

(work-in-progress)

Matrix CI

Contents

About

Cuprate is an effort to create an alternative Monero node implementation in Rust.

It will be able to independently validate Monero consensus rules, providing a layer of security and redundancy for the Monero network.

Documentation

Cuprate is currently a work-in-progress; documentation will be changing/unfinished.

Cuprate maintains various documentation books:

Book Description
Cuprate's architecture book Documents Cuprate's internal architecture & implementation
Monero's protocol book Documents the Monero protocol
Cuprate's user book Practical user-guide for using cuprated

For crate (library) documentation, see: https://doc.cuprate.org. This site holds documentation for Cuprate's crates and all dependencies. All Cuprate crates start with cuprate_, for example: cuprate_database.

Contributing

See CONTRIBUTING.md.

Security

Cuprate has a responsible vulnerability disclosure policy, see SECURITY.md.

License

The binaries/ directory is licensed under AGPL-3.0, everything else is licensed under MIT.

See LICENSE for more details.