hub/scribe/schema
2022-03-16 15:32:44 -04:00
..
types initial 2022-03-08 12:41:51 -05:00
__init__.py initial 2022-03-08 12:41:51 -05:00
attrs.py initial 2022-03-08 12:41:51 -05:00
base.py initial 2022-03-08 12:41:51 -05:00
claim.py initial 2022-03-08 12:41:51 -05:00
compat.py initial 2022-03-08 12:41:51 -05:00
Makefile initial 2022-03-08 12:41:51 -05:00
mime_types.py initial 2022-03-08 12:41:51 -05:00
purchase.py initial 2022-03-08 12:41:51 -05:00
README.md update readme 2022-03-15 23:57:42 -04:00
result.py refactor handling blocked claims in serialization 2022-03-16 15:32:44 -04:00
support.py initial 2022-03-08 12:41:51 -05:00
tags.py initial 2022-03-08 12:41:51 -05:00
url.py initial 2022-03-08 12:41:51 -05:00

Schema

Those files are generated from the types repo. If you are modifying/adding a new type, make sure it is cloned in the same root folder as the scribe repo, like:

repos/
    - scribe/
    - types/

Then, download protoc 3.2.0, add it to your PATH. On linux it is:

cd ~/.local/bin
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
unzip protoc-3.2.0-linux-x86_64.zip bin/protoc -d..

Finally, make should update everything in place.

Why protoc 3.2.0?

Different/newer versions will generate larger diffs and we need to make sure they are good. In theory, we can just update to latest and it will all work, but it is a good practice to check blockchain data and retro compatibility before bumping versions (if you do, please update this section!).