offchain question

+1 vote

I‘m use offchain lead to stop server.

My Setp

server1: 

       create stream s1 true

       createbinarycache 

    appendbinarycache A1... 012345....

    publish s1 key6 '{"cache":"A1..."}' offchain

    stop

    then i delete ~/.multichain/mc/chunks/data/source

    and start (./multichaind mc -daemmon)

now server2 subscribe s1 the server1 will stop 【Segmentation fault (core dumped)

asked Aug 25, 2018 by liutao0532dev

1 Answer

0 votes

Yes, you can't delete files or directories in MultiChain's directories - this is how it stores its information. Perhaps you were looking for the deletebinarycache command instead?

answered Aug 25, 2018 by MultiChain
if chunks\data\source file miss or broken,this node will be down when other node  subscribe. Can we add error file filter?    thx
Sure, we and should detect this error. But you should never make manual modifications to MultiChain's files, and cannot expect it to work if you do so.
...