Difference between revisions of "Audit Log Mode"

From Snowblossom Wiki
Jump to: navigation, search
(Audit Log Mode)
Line 10: Line 10:
  
 
Fund the wallet.  Pick an address in the wallet and set it as audit_log_source.
 
Fund the wallet.  Pick an address in the wallet and set it as audit_log_source.
 +
 +
Initialize the chain using client command:
 +
<code>
 +
  audit_log_init <msg>
 +
</code>
 +
 +
===To Save Logs===
 +
 +
Use client command:
 +
<code>
 +
  audit_log_record <msg>
 +
</code>
 +
 +
===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

Revision as of 04:52, 22 April 2019

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).

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