mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 16:08:51 +03:00
use different path for simulator
This commit is contained in:
parent
b22d02ef05
commit
3f16e33af5
@ -78,6 +78,7 @@ full_node:
|
||||
|
||||
# Run multiple nodes with different databases by changing the database_path
|
||||
database_path: blockchain_v3.db
|
||||
simulator_database_path: simulator_blockchain_v3.db
|
||||
|
||||
# If True, starts an RPC server at the following port
|
||||
start_rpc_server: True
|
||||
|
@ -32,7 +32,7 @@ async def main():
|
||||
log = logging.getLogger(__name__)
|
||||
server_closed = False
|
||||
|
||||
db_path = Path(config["database_path"])
|
||||
db_path = Path(config["simulator_database_path"])
|
||||
|
||||
# Create the store (DB) and full node instance
|
||||
store = await FullNodeStore.create(db_path)
|
||||
|
Loading…
Reference in New Issue
Block a user