Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to use mm2_stop #4

Open
gcharang opened this issue Feb 26, 2023 · 1 comment
Open

update to use mm2_stop #4

gcharang opened this issue Feb 26, 2023 · 1 comment

Comments

@gcharang
Copy link
Owner

import init, {mm2_stop} from "./path/to/mm2.js";

@smk762
Copy link
Collaborator

smk762 commented Jan 20, 2024

Currently, the "stop" button does appear to close the DB and connection to mm2, though upon restarting I noticed that the task ID index for methods like


{
  "userpass": "testpsw",
  "method": "task::enable_z_coin::init",
  "mmrpc": "2.0",
  "params": {
    "ticker": "ARRR",
    "activation_params": {
      "mode": {
        "rpc": "Light",
        "rpc_data": {
          "electrum_servers": [
            {
              "url": "electrum3.cipig.net:30008",
              "protocol": "WSS"
            }
          ],
          "light_wallet_d_servers": [
            "http://pirate.battlefield.earth:8581"
          ]
        }
      }
    }
  }
}

continues to increment from where it left off rather than going back to zero. I'm not sure if this is intended behaviour for wasm, but though worth mentioning just in case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants