Skip to content

Sevey/accounting

Matthew Sevey requested to merge SkynetLabs/skyd:sevey/accounting into master

MERGE REQUEST

MR Guidelines

Overview

This MR and /accounting endpoint to the API and a siac command to create a csv file for the accounting information. The endpoint accepts a start and end time to request a range.

Example for Visual Changes

$ siac accounting -h
Generate a csv file of the accounting information for the node.
Information will be written to accounting.csv

Usage:
  siac accounting [flags]

Flags:
      --end int     Unix timestamp for the end of the accounting info range.
  -h, --help        help for accounting
      --start int   Unix timestamp for the start of the accounting info range.

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Merge request reports