mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-28 20:00:43 +00:00
* renamed nimbus folder to execution_chain * Renamed "nimbus" references to "execution_chain" * fixed wrongly changed http reference * delete snap types file given that it was deleted before this PR merge * missing 'execution_chain' replacement --------- Co-authored-by: pmmiranda <pedro.miranda@nimbus.team>
33 lines
1021 B
Nim
33 lines
1021 B
Nim
# Nimbus
|
|
# Copyright (c) 2023-2024 Status Research & Development GmbH
|
|
# Licensed under either of
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
|
# http://www.apache.org/licenses/LICENSE-2.0)
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
|
# http://opensource.org/licenses/MIT)
|
|
# at your option. This file may not be copied, modified, or distributed except
|
|
# according to those terms.
|
|
|
|
## Core database replacement wrapper object
|
|
## ========================================
|
|
##
|
|
## See `core_db/README.md` for implementation details
|
|
##
|
|
## This module provides a memory database only. For providing a persistent
|
|
## constructor, import `db/code_db/persistent` though avoiding to
|
|
## unnecessarily link to the persistent backend library (e.g. `rocksdb`)
|
|
## when a memory only database is used.
|
|
##
|
|
{.push raises: [].}
|
|
|
|
import
|
|
./core_db/memory_only
|
|
export
|
|
memory_only
|
|
|
|
# Default database backend selection.
|
|
const DefaultDbMemory* = AristoDbMemory
|
|
const DefaultDbPersistent* = AristoDbRocks
|
|
|
|
# End
|