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

New electurm activation parametes #352

Open
mariocynicys opened this issue Oct 4, 2024 · 0 comments
Open

New electurm activation parametes #352

mariocynicys opened this issue Oct 4, 2024 · 0 comments
Assignees

Comments

@mariocynicys
Copy link

Found here KomodoPlatform/komodo-defi-framework#1966 (comment) are some new electrum activation parameters (namely min_connected & max_connected)

New request format:

{
    "userpass": "{{userpass}}",
    "method": "electrum",
    "coin": "DOC",
    "servers": [
        {
            "url": "electrum1.cipig.net:10020"
        },
        {
            "url": "electrum2.cipig.net:10020"
        },
        {
            "url": "electrum3.cipig.net:10020"
        }
    ],
    // the new parameters:
    // any of the following parameters could be omitted and it will be set to the default
    "min_connected": 1, // defaults to 1 when omitted
    "max_connected": 3  // defaults to len(servers) when omitted
}

Setting min_connected to 0 should error and also if min_connected > max_connected.

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