farmr icon indicating copy to clipboard operation
farmr copied to clipboard

Can't monitor only forks without XCH

Open MartijnGevaert opened this issue 2 years ago • 4 comments

I only have forks running, but I am unable to start up farmr without running a chia node as well. Removing the xch.json file in the .farmr/blockchain folder doesn't work either. Whenever I run the farmr command a new xch.json is created.

Is this a bug or expected behavior? Is it possible to disable xch?

MartijnGevaert avatar Jan 05 '22 17:01 MartijnGevaert

Try deleting /etc/farmr/blockchain/xch.json as well

gilnobrega avatar Jan 06 '22 23:01 gilnobrega

That did it, thanks.

MartijnGevaert avatar Jan 07 '22 00:01 MartijnGevaert

Reopening this as other people may be experiencing the same issue and it needs fixing

gilnobrega avatar Jan 07 '22 02:01 gilnobrega

I can confirm this bug. I first tried to rename the xch.json to xch.json.tempate as I used to do, but the xch.json file was recreated when I started farmr. I fixed it by doing rm -/.farmr/blockchain/xch.* Two comments/thoughts:

  • Is it necessary with two "layers", one in .farmr/blockchain and one in /etc/farmr/blockchain? Not sure I understand the reason for making it more complicated than it was :)
  • The forks doc may need to updated accordingly with this change: https://github.com/gilnobrega/farmr/blob/main/docs/forks.md

Thanks.

unevilpretendr avatar Jan 16 '22 02:01 unevilpretendr