craterdog.accounting.DigitalLedger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-digital-accounting Show documentation
Show all versions of java-digital-accounting Show documentation
This project defines a set of interfaces and classes that implement digital accounting.
/************************************************************************
* Copyright (c) Crater Dog Technologies(TM). All Rights Reserved. *
************************************************************************
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. *
* *
* This code is free software; you can redistribute it and/or modify it *
* under the terms of The MIT License (MIT), as published by the Open *
* Source Initiative. (See http://opensource.org/licenses/MIT) *
************************************************************************/
package craterdog.accounting;
import craterdog.notary.NotarySeal;
import craterdog.smart.SmartObject;
/**
* This class defines the attributes that make up a digital ledger that records ledger entries
* for transactions associated with a specific "channel" (e.g. token, identity, etc.).
*
* @author Derk Norton
*/
public final class DigitalLedger extends SmartObject {
/**
* The actual attributes that make up the digital ledger.
*/
public LedgerAttributes attributes;
/**
* A notary seal generated by the accountant using its private signing key to sign the attributes.
*/
public NotarySeal accountantSeal;
}