Cargo Features

snarkos-node-bft-ledger-service has no features set by default.

[dependencies]
snarkos-node-bft-ledger-service = { version = "3.0.0", features = ["ledger", "ledger-write", "metrics", "prover", "translucent", "test", "mock"] }
ledger translucent? = lru, parking_lot, rand, tokio, tracing

Affects snarkos-node-bft-ledger-service::ledger

ledger-write

Affects traits::LedgerService.prepare_advance_to_next_quorum_block, traits::LedgerService.advance_to_next_block

metrics

Enables snarkos-node-metrics, metrics of snarkvm

prover

Affects snarkos-node-bft-ledger-service::prover

translucent test? = ledger

Affects snarkos-node-bft-ledger-service::translucent

test = mock, translucent
mock test? = parking_lot, tracing

Affects snarkos-node-bft-ledger-service::mock

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

lru ledger?
rand ledger?
tokio ledger?
parking_lot ledger? mock?
tracing ledger? mock?