Sprillow / cmdchatter

a prototype cmd line chat app, using holochain, written in Rust
GNU General Public License v3.0
11 stars 1 forks source link

Is it possible to see chat history? #3

Open dcts opened 4 years ago

dcts commented 4 years ago

I found the following 4 directories, each containing a data.mdb as well as a lock.mdb file. But am not sure if I can somehow find the whole chat history in here? Would love a clarification what these files actually do and what they are for. And hopefully that answers my question about the storage of the data.

cmdchatter
└── databases
    ├── cell-uhC0kglad0Gr-n7eq-....
    │    ├── data.mdb
    │    └── lock.mdb
    ├── conductor
    │    ├── data.mdb
    │    └── lock.mdb
    ├── p2p
    │    ├── data.mdb
    │    └── lock.mdb
    └── wasm
         ├── data.mdb
         └── lock.mdb

Also I'm curious to know if cmd-chatter has a holochain DNA file?

Connoropolous commented 4 years ago

Hey!

You won't be able to raw read the chat history, but if you kill a chat process and then restart it then you will see the history.

Also, yes the cmdchat dna file is in dna/cmdchat.dna.gz . Thats the built and zipped file that holochain actually reads in.