v3tool

command
v0.0.0-...-1fa81d3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: ISC Imports: 26 Imported by: 0

README

v3tool

v3tool is a simple client for manual testing of vspd. It is a developer tool, not suitable for end users or production use.

Prerequisites

  1. An instance of dcrwallet which owns at least one mempool, immature or live ticket.
  2. An instance of vspd to test.

What v3tool does

  1. Retrieve the pubkey from vspd.
  2. Retrieve the list of owned mempool/immature/live tickets from dcrwallet.
  3. For each ticket:
    1. Use dcrwallet to find the tx hex, voting privkey and commitment address of the ticket.
    2. Get a fee address and amount from vspd to register this ticket.
    3. Create the fee tx and send it to vspd.
    4. Get the ticket status.
    5. Change vote choices on the ticket.
    6. Get the ticket status again.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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