Code Monkey home page Code Monkey logo

Comments (9)

tac0turtle avatar tac0turtle commented on September 14, 2024 1

ah I forgot about the single part, thank you

from validator-registry.

tombeynon avatar tombeynon commented on September 14, 2024

Sorry not sure I follow - the time you run restake is purely down to when you run your script. The information in this repo/previously in restake was just to show delegators what time you plan to run it.

from validator-registry.

tac0turtle avatar tac0turtle commented on September 14, 2024

I ran the bot manually and it restocked for osmosis and Umee but was only meant to run for the cosmos hub. How do I make it only run for the hub?

from validator-registry.

tac0turtle avatar tac0turtle commented on September 14, 2024

do I remove all networks in network.json, other than cosmos hub?

from validator-registry.

tombeynon avatar tombeynon commented on September 14, 2024

You can run a single network with ... run autostake cosmoshub. The setup for running multiple networks at different times would look something like this:

0 21 * * * /bin/bash -c "cd restake && docker-compose run --rm app npm run autostake osmosis" > ./restake.osmosis.log 2>&1
0 * * * * /bin/bash -c "cd restake && docker-compose run --rm app npm run autostake cerberus" > ./restake.cerberus.log 2>&1
0 9,21 * * * /bin/bash -c "cd restake && docker-compose run --rm app npm run autostake cosmoshub" > ./restake.cosmoshub.log 2>&1

It's important to understand the the autostake script runs the autostake at that time, it doesn't take into account when you said you'll run it. It's up to you to run it at the right time for each network.

from validator-registry.

tombeynon avatar tombeynon commented on September 14, 2024

You shouldn't need to change networks.json at all now. networks.local.json is useful for setting your own node, or adjusting some of the autostaking parameters for each network such as batch size. More in the restake README on that.

from validator-registry.

activenodes avatar activenodes commented on September 14, 2024

You can run a single network with ... run autostake cosmoshub

It would be interesting to be able to specify more networks as parameters like:
... run autostake cosmoshub osmosis akash osmosis

This way they will be queued and not run parallel, but only those indicated (even if all configured)
In certain complex infrastructures this would help

from validator-registry.

tombeynon avatar tombeynon commented on September 14, 2024

Funny you should mention, that was added last night!

from validator-registry.

activenodes avatar activenodes commented on September 14, 2024

Funny you should mention, that was added last night!

Oh, wow! well done :)

from validator-registry.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.