Difference between revisions of "Audit Log Mode"

From Snowblossom Wiki
Jump to: navigation, search
Line 13: Line 13:
 
Initialize the chain using client command:
 
Initialize the chain using client command:
 
<code>
 
<code>
  audit_log_init <msg>
+
audit_log_init <msg>
 
</code>
 
</code>
  
Line 20: Line 20:
 
Use client command:
 
Use client command:
 
<code>
 
<code>
  audit_log_record <msg>
+
audit_log_record <msg>
 
</code>
 
</code>
  

Revision as of 04:53, 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