Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Misleading log in MemoryDB mode #5814

@gumb0

Description

@gumb0
> aleth/aleth --db memorydb -v 4
aleth, a C++ Ethereum client
INFO  11-11 17:30:37 aleth net    Id: ##77047807…
INFO  11-11 17:30:37 aleth net    ENR: [ seq=6 id=v4 key=02770478… ip=178.19.221.38 tcp=30303 udp=30303 ]
TRACE 11-11 17:30:37 aleth trace  Opened blockchain DB. Latest: #d4e56740…(rebuild not needed)
TRACE 11-11 17:30:37 aleth statedb Opening state database: "/home/andrei/.ethereum/d4e56740/12041/state"

Does StateDB still use disk in --db memorydb mode? I think it doesn't, and then the log message should be fixed, this path doesn't tell anything about reality.

Metadata

Metadata

Assignees

Labels

databaseDatabase-related work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions