dcrdex icon indicating copy to clipboard operation
dcrdex copied to clipboard

core: need a way to disable dex server accounts without deleting

Open buck54321 opened this issue 1 year ago • 2 comments

Currently "disable account" for a server bascially deletes the account. But it won't let you do that with active bonds. We need a way to disable the account without actually deleting it and while still monitoring bonds to refund, in a similar fashion to how we can disable individual wallets.

buck54321 avatar Sep 03 '24 13:09 buck54321

I'd like to look into this.

ukane-philemon avatar Sep 03 '24 13:09 ukane-philemon

func (*core).DisableExchange(disable bool) error {} and type Exchange struct gets a Disabled bool

then core doesn't auto connect to any exchange with Disabled = true

dajohi avatar Sep 03 '24 21:09 dajohi

Funny because I'm trying to figure out how to permanently unregister, remove, or delete the bison.exchange dex, and I can only seem to disable it using Bison 1.0.4.

sysfu avatar Nov 16 '25 23:11 sysfu