Skip to content

Commit e76b46d

Browse files
CopilotSteake
andcommitted
Fix clippy warnings in bitcell-node
- Remove unused import COIN from blockchain.rs - Remove unused import SecretKey from main.rs - Remove empty line after doc comment in miner.rs - Remove empty line after doc comment in blockchain.rs Co-authored-by: Steake <530040+Steake@users.noreply.github.com>
1 parent c180ba8 commit e76b46d

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

crates/bitcell-node/src/blockchain.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
///! - Block validation including signature, VRF, and transaction verification
66
///! - Transaction indexing for efficient lookups
77
///! - State management with Merkle tree root computation
8-
98
use crate::{Result, MetricsRegistry};
109
use bitcell_consensus::{Block, BlockHeader, Transaction, BattleProof};
1110
use bitcell_crypto::{Hash256, PublicKey, SecretKey};
12-
use bitcell_economics::{COIN, INITIAL_BLOCK_REWARD, HALVING_INTERVAL, MAX_HALVINGS};
11+
use bitcell_economics::{INITIAL_BLOCK_REWARD, HALVING_INTERVAL, MAX_HALVINGS};
1312
use bitcell_state::StateManager;
1413
use std::sync::{Arc, RwLock};
1514
use std::collections::HashMap;

crates/bitcell-node/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! BitCell node binary
22
33
use bitcell_node::{NodeConfig, ValidatorNode, MinerNode};
4-
use bitcell_crypto::SecretKey;
54
use clap::{Parser, Subcommand};
65
use std::path::PathBuf;
76

crates/bitcell-node/src/miner.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
///! Miner node implementation
2-
32
use crate::{NodeConfig, Result, MetricsRegistry, Blockchain, TransactionPool, NetworkManager};
43
use bitcell_crypto::SecretKey;
54
use bitcell_ca::{Glider, GliderPattern};

0 commit comments

Comments
 (0)