Sem descrição

justtheboss97 824d350b7d added feature to show all updates for a contract há 4 anos atrás
data 824d350b7d added feature to show all updates for a contract há 4 anos atrás
gui 824d350b7d added feature to show all updates for a contract há 4 anos atrás
lib d271f407bc finally fixed the encryption há 4 anos atrás
.gitignore 03e56c4d2c Initial program upload há 4 anos atrás
README.md db30c2cc09 Prepare for json LD há 4 anos atrás
create_keys.py ea0790061d more encryption fixes há 4 anos atrás
gui.py 59e8937a18 adding terms and updates now works, accepting these works too há 4 anos atrás
linked data testing.ipynb da9cd449a3 fixed some bugs in the commenting part há 4 anos atrás
linked_data.py f9ebfeb15b added contract update functionality to gui há 4 anos atrás
main.py ea0790061d more encryption fixes há 4 anos atrás
requirements.txt 03e56c4d2c Initial program upload há 4 anos atrás

README.md

dsp-blockchain

This is a small description of how the chain works and how data is being formatted.

Data formats

Transaction stored in chain

{
  "key": "public key of the contract",
  "id": "transaction id",
  "timestamp": "unix timestamp of transaction creation",
  "data": "encrypted string of contract"
}

Contract / Transaction data

{
  "id": "contract id",
  "state": "state of the contract e.g. ACCEPTED|REJECTED etc",
  "title": "title of contract",
  "description": "description of contract",
  "deadline": "unix timestamp of contract deadline",
  "price": "price of contract",
  "initiator": "public key of address that created the contract",
  "worker": "public key of address that fulfills the contract",
  "initial_block": "block number contract created in",
  "modified_by": "public key of party last modified data",
  "last_comment": "comment regarding modification",
  "terms": [{
    "see": "Term data" 
  }]
}

Term data

Terms are part of a contract.

{
  "id": "id of the term",
  "title": "title of the term",
  "description": "description of the term",
  "deadline": "unix timestamp of term deadline"
}