62b340f2b9
* Create new column family for local node info * remove DBTransaction::new reliance on DB * KeyValueDB trait * InMemory KeyValueDB implementation * journaldb generic over KVDB * make most of `ethcore` generic over KVDB * fix json tests compilation * get all tests compiling * implement local store (just for transactions) * finish local store API, test * put everything into place * better test for skipping bad transactions * fix warning * update local store every 15 minutes * remove superfluous `{}`s
32 lines
916 B
Rust
32 lines
916 B
Rust
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
|
|
// This file is part of Parity.
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
//! Database migrations.
|
|
|
|
pub mod state;
|
|
pub mod blocks;
|
|
pub mod extras;
|
|
|
|
mod v9;
|
|
pub use self::v9::ToV9;
|
|
pub use self::v9::Extract;
|
|
|
|
mod v10;
|
|
pub use self::v10::ToV10;
|
|
|
|
mod v11;
|
|
pub use self::v11::ToV11;
|