Audit Log Mode

From Snowblossom Wiki
Revision as of 05:09, 22 April 2019 by Fireduck (talk | contribs)
Jump to: navigation, search

Overview

Audit Log Mode is a way of building a single chain of transactions where each transaction is built from the output of the previous transaction.

This allows for creating a simple audit log of events (using the tx_extra section of the transactions). Having such a chain allows to demonstrate:

  • That the log entries are part of the same chain, since they are signed by the same address
  • When the logs occurred, based on when the transactions are included into blocks
  • When the logs occurred, relative to each other even within the same block based on their transaction chain ordering

Instructions

Create a new wallet for use with audit log mode. This wallet should not be using for any activity other than a single audit log chain.

Fund the wallet. Pick an address in the wallet and set it as audit_log_source.

Initialize the chain using client command: audit_log_init <msg>

To Save Logs

Use client command: audit_log_record <msg>

To Add Funds

Send from any other wallet to an address in this wallet. Any funds will be included in the chain amount each time.

To Remove Funds

This is currently not supported. You can do so, but it will break the chain