GithubHelp home page GithubHelp logo

external_staker's Introduction

External Staker

This is an external staker designed to be used with Aion's Unity Hybrid Consensus Protocol. The staker can be used to interact with a Unity-enabled node over RPC.

The staker is largely built on top of the RPC functionality provided by the Node Test Harness.

Launching the staker

The staker can be used directly from the terminal by launching

java -jar external_staker.jar <args>

The staker takes the following arguments when launched:

  1. (required) the private key of the signing address of the staker.

  2. (required) the identity address of the staker.

  3. (optional)) the IP address of a Unity-enabled node accepting RPC requests. If this argument isn't provided, 127.0.0.1 is used as default.

  4. (optional)) the port on which this node is accepting RPC requests. If this argument isn't provided, 8545 is used as default.

Behaviour

Once launched, the staker repeatedly queries the node over RPC, and submits signed staking blocks. Note that it aggressively sends a signed block as soon as it produces it; the nodes must reject future blocks if they want to.

external_staker's People

Contributors

arajasek avatar

Watchers

James Cloos avatar Aayush Rajasekaran avatar Jiaying Wang avatar

Forkers

jennijuju

external_staker's Issues

Remove logging msg

I am sending: "0x9907b13575a63ee38edf735d9ead23acfb14c46148eca83521d68e49d45cfeebf7d3a6d1a1679115c4addbe0992bc6eb82a626e308036f7500d440ff8b97bd01", "0xea3b1f6b8612427dd23d68bd69ef89534bb182d924f6fc5e7483979d038c6883"

Allowing input 64 bytes private key

Most of our tools, kernel, wallets and etc exports full 64-byte private key for the user instead of 32 bytes. User experience can be improved if not asking the user to cut the private key they have to half and input.

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.