stakepoold

command
v0.0.0-...-2d8b2ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2018 License: ISC, MIT Imports: 42 Imported by: 0

README

stakepoold

The goal of stakepoold is to communicate with dcrd/dcrwallet/dcrstakepool via client/server gRPC in order to handle all stakepool functions that are currently in dcrwallet or are undefined/unhandled.

First:

Receive, store, and act on (vote) per-user voting policy from dcrstakepool.

Steps
  1. stakepoold skeleton code with testnet/mainnet flags with per-network vote version
  2. wire up stakepoold to get notified of winners, set votebits according to prefs/vote version, ask wallet to sign, send
  3. add user voting policy interface to dcrstakepool
  4. send dcrstakepool user voting policy config to stakepoold and store it

Second:

Rip out all stakepool-related configuration from the wallet. (ticket adding, multisig scripts, fee checking, votebits modification RPCs)

Steps
  1. Migrate the rest of the stakepool-related functionality from wallet to stakepoold.
  2. Modify dcrstakepool to cope with changes. dcrstakepool should not need to talk to dcrwallet directly anymore.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
rpc
rpcserver
Package rpcserver implements the RPC API and is used by the main package to start gRPC services.
Package rpcserver implements the RPC API and is used by the main package to start gRPC services.
stakepoolrpc
Package stakepoolrpc is a generated protocol buffer package.
Package stakepoolrpc is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL