mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
superficial changes
This commit is contained in:
parent
5900bba11c
commit
66f368683a
4 changed files with 20 additions and 5 deletions
|
@ -13,6 +13,15 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
//!
|
||||||
|
//! blockchain_db crates:
|
||||||
|
//! Contains the implementation of interaction between the blockchain and the database backend.
|
||||||
|
//! There is actually only one storage engine available:
|
||||||
|
//! - RocksDB
|
||||||
|
//! There is two other storage engine planned:
|
||||||
|
//! - HSE (Heteregeonous Storage Engine)
|
||||||
|
//! - LMDB (like monerod)
|
||||||
|
|
||||||
#![deny(unused_attributes)]
|
#![deny(unused_attributes)]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
|
8
blockchain_db/src/rocksdb.rs
Normal file
8
blockchain_db/src/rocksdb.rs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
//!
|
||||||
|
//! RocksDB implementation.
|
||||||
|
//!
|
||||||
|
//! Database structure:
|
||||||
|
//! -------------------------------------
|
||||||
|
//! Column | Key | Data
|
||||||
|
//! -------------------------------------
|
||||||
|
//!
|
|
@ -24,9 +24,8 @@ Releasing an alternative node will reinforce the Monero Network if a security vu
|
||||||
|
|
||||||
### Status
|
### Status
|
||||||
|
|
||||||
The project is actually handle by single guy that never really started a big project of this scale nor understand completely the monero codebase. But he really wants to learn and code it.
|
@SyntheticBird45 is working on the blockchain_db part.
|
||||||
|
@boog900 is working on the net/p2p part.
|
||||||
I'm working on rewriting the blockchain_db part atm.
|
|
||||||
|
|
||||||
### Contributions
|
### Contributions
|
||||||
|
|
||||||
|
@ -38,7 +37,7 @@ For non-developers people, it is time for you to unleash your ideas.
|
||||||
|
|
||||||
### Code, Repository & Dependencies
|
### Code, Repository & Dependencies
|
||||||
|
|
||||||
No unsafe code is permitted in the project, and the codebase will never contain `.except()` or `panic!()`. We discourage the use
|
No unsafe code is permitted in the project, and the codebase will never contain `.expect()` or `panic!()`. We discourage the use
|
||||||
of `.unwrap()`, as it implied that all errors are correctly handled.
|
of `.unwrap()`, as it implied that all errors are correctly handled.
|
||||||
|
|
||||||
The organization of the repository is at the moment arbritrary. The blockchain database components can be found under the blockchain_db member.
|
The organization of the repository is at the moment arbritrary. The blockchain database components can be found under the blockchain_db member.
|
||||||
|
|
|
@ -5,5 +5,4 @@ comment_width = 100
|
||||||
match_block_trailing_comma = true
|
match_block_trailing_comma = true
|
||||||
wrap_comments = true
|
wrap_comments = true
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
error_on_line_overflow = true
|
|
||||||
version = "Two"
|
version = "Two"
|
Loading…
Reference in a new issue