mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
Boog900
7b8756fa80
Some checks failed
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* add cuprated skeleton * fmt and add deny exception * add main chain batch handler * add blockchain init * very rough block manager * misc changes * move more config values * 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 * remove config files * fix merge errors * fix generated coins * handle more p2p requests + alt blocks * clean up handler code * add function for incoming blocks * add docs to handler functions * broadcast new blocks + add commands * add fluffy block handler * fix new block handling * small cleanup * increase outbound peer count * fix merge * clean up the blockchain manger * add more docs + cleanup imports * fix typo * fix doc * remove unrelated changes * add `get_objects` handler * add `get_chain` handler * add `fluffy_missing_txs` handler * add `new_fluffy_block` handler * improve interface globals * manger -> manager * enums instead of bools * move chain service to separate file * more review fixes * sort imports + docs * init dandelion integration * add dandelion start function * finish incoming tx handler * Add tx blob hash table * Add missing txpool requests * handle duplicate stem txs * check txpool on incoming block * add request to remove tx in new blocks from the pool * tell the txpool about incoming blocks * fix merge * typos * remove blockchain height from txpool * fix merge * fix merge * handle incoming txs in p2p request handler * Allow `IncomingTxHandler` to be given later * add p2p clearnet init * fix build * misc changes * doc updates * more doc updates * sort imports * review changes * Result -> DbResult * use `NonZero` * review fixes * remove `rust-2024-compatibility` lint
52 lines
2 KiB
TOML
52 lines
2 KiB
TOML
[package]
|
|
name = "cuprate-blockchain"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Cuprate's blockchain database"
|
|
license = "MIT"
|
|
authors = ["hinto-janai"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/storage/cuprate-blockchain"
|
|
keywords = ["cuprate", "blockchain", "database"]
|
|
|
|
[features]
|
|
default = ["heed"]
|
|
# default = ["redb", "service"]
|
|
# default = ["redb-memory", "service"]
|
|
heed = ["cuprate-database/heed"]
|
|
redb = ["cuprate-database/redb"]
|
|
redb-memory = ["cuprate-database/redb-memory"]
|
|
serde = ["dep:serde", "cuprate-database/serde", "cuprate-database-service/serde", "cuprate-helper/serde"]
|
|
|
|
[dependencies]
|
|
cuprate-database = { workspace = true }
|
|
cuprate-database-service = { workspace = true }
|
|
cuprate-helper = { workspace = true, features = ["fs", "map", "crypto", "tx", "thread"] }
|
|
cuprate-types = { workspace = true, features = ["blockchain"] }
|
|
cuprate-pruning = { workspace = true }
|
|
|
|
bitflags = { workspace = true, features = ["std", "serde", "bytemuck"] }
|
|
bytemuck = { workspace = true, features = ["must_cast", "derive", "min_const_generics", "extern_crate_alloc"] }
|
|
curve25519-dalek = { workspace = true }
|
|
rand = { workspace = true, features = ["std", "std_rng"] }
|
|
monero-serai = { workspace = true, features = ["std"] }
|
|
serde = { workspace = true, optional = true }
|
|
|
|
tower = { workspace = true }
|
|
thread_local = { workspace = true }
|
|
rayon = { workspace = true }
|
|
bytes = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-constants = { workspace = true }
|
|
cuprate-helper = { workspace = true, features = ["thread", "cast"] }
|
|
cuprate-test-utils = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
|
tempfile = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
proptest = { workspace = true }
|
|
hex = { workspace = true }
|
|
hex-literal = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|