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
- stakepoold skeleton code with testnet/mainnet flags with per-network vote version
- wire up stakepoold to get notified of winners, set votebits according to prefs/vote version, ask wallet to sign, send
- add user voting policy interface to dcrstakepool
- 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
- Migrate the rest of the stakepool-related functionality from wallet to stakepoold.
- Modify dcrstakepool to cope with changes. dcrstakepool should not need to talk to dcrwallet directly anymore.