Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
update EInvoiceACK.sol with comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gough committed Aug 2, 2016
1 parent 9646694 commit bac10c6
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions etherium/EInvoiceACK.sol
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
contract EInvoiceACK {
/*
* This contract is used by the ledger service to prove ACK happened
* This contract is used to gazette the fact a message happened
*
* Three types of information are recorded:
* - what reference (reference_url. reference_hash)
* - what message (taxonomy_url, taxonomy_code)
* - when (sender_time, gazette_time)
*
* Do we need a URL for the type of hash, or possibly a hardcoded
* to an enumeration of hash types? What if it needs other
* parameters, PBKDF2 style?
*
* Do we need to record the poster's identity? Presumably
* "poster-pays" the blockchain costs, so we have to
* know who they are (???)
*
* TODO: change labels (as above) and add the taxonomy url.
*/
struct Ack {
string payload_hash;
string payload_hash;
string url;
int code;
uint gw_datetime;
Expand Down

0 comments on commit bac10c6

Please sign in to comment.