monkeypants / slays_the_bridge_trolls

Blockchain, federated identity and crypto protocols for eliminating trust from eInvoicing networks
http://slay-the-bridge-trolls.readthedocs.io/
GNU General Public License v3.0
0 stars 1 forks source link

add message taxonomy URL to blockchain contract #3

Open monkeypants opened 8 years ago

monkeypants commented 8 years ago

/api/ack/codes is the wrong approach.

We should have two values:

The MessageTaxonomyURL should link to a versioned canonical specification of the taxonomy for the message. For example, something like https://some-open-standards.org/foo_spec/v1.3.432/

That document should unambiguously define the semantics of a number of numeric codes (uint values). The document should be immutable and permanent. New versions of the document should be created using an open and transparent specification system such as COSS.

This is a less-is-more approach, by removing the hardcoded ack enumerations, we actually make the component much more versatile.

monkeypants commented 8 years ago

I'm not sure how much should go to the blockchain; is it the whole structure (etherium style) or a single hash (bitcoin style). More analysis required.