hub/hub/schema
2022-05-18 10:50:20 -04:00
..
types rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
__init__.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
attrs.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
base.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
base58.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
bip32.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
claim.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
compat.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
Makefile rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
mime_types.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
purchase.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
README.md rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
result.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
support.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
tags.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04:00
url.py rename repo to lbry-hub and module to hub 2022-05-18 10:50:20 -04: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!).