Skip to content

Runs for awhile, then crashes with (Error: Not found) #19

@runvnc

Description

@runvnc

Works great for awhile, then when I come back I see this error:

Error: Not found.
    at /home/runvnc/coinado/node_modules/termcoin/node_modules/coined/node_modules/tiny/lib/tiny.json.js:419:23
    at /home/runvnc/coinado/node_modules/termcoin/node_modules/coined/node_modules/tiny/lib/tiny.json.js:402:12
    at Object.wrapper [as oncomplete] (fs.js:459:17)

If I delete the db from ~/.termcoin, it stops giving that error. Otherwise pm2 just keeps trying to restart and it keeps giving that error.

So, I am loading termcoin as a module and running startServer. Is it possible I am doing something wrong, or is this a known error? I think this results from calling getBlock. But basically I call startServer and then use listReceivedBy and createAddress. I need a light wallet, and thought this was a good option since its Node. Not sure if there is a way to make this work, maybe I need to just call it as an external cli since that's what it is, or if there is a new issue from protocol changes, or if I should just wrap another external wallet.

Appreciate any comment you have, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions