diff --git a/src/db_ledger.rs b/src/db_ledger.rs index d4f65fd0bf9459..15d8183d45a7b9 100644 --- a/src/db_ledger.rs +++ b/src/db_ledger.rs @@ -121,7 +121,7 @@ impl LedgerColumnFamily for MetaCf { pub struct DataCf {} impl DataCf { - pub fn get_on_slot_index( + pub fn get_by_slot_index( &self, db: &DB, slot_height: u64, @@ -131,7 +131,7 @@ impl DataCf { self.get(db, &key) } - pub fn put_on_slot_index( + pub fn put_by_slot_index( &self, db: &DB, slot_height: u64, @@ -173,7 +173,7 @@ impl LedgerColumnFamilyRaw for DataCf { pub struct ErasureCf {} impl ErasureCf { - pub fn get_on_slot_index( + pub fn get_by_slot_index( &self, db: &DB, slot_height: u64, @@ -183,7 +183,7 @@ impl ErasureCf { self.get(db, &key) } - pub fn put_on_slot_index( + pub fn put_by_slot_index( &self, db: &DB, slot_height: u64, diff --git a/src/db_window.rs b/src/db_window.rs index 4b77be2d7df5bc..2e4cdcccbe0332 100644 --- a/src/db_window.rs +++ b/src/db_window.rs @@ -1,5 +1,4 @@ -//! The `window` module defines data structure for storing the tail of the ledger. -//! +//! Set of functions for emulating windowing functions from a database ledger implementation use cluster_info::ClusterInfo; use counter::Counter; use db_ledger::*;