Closed benthecarman closed 4 years ago
Perhaps a way to reconcile my comments on encoding is to simply have a field encoding
in the TLV which specifies the encoding of the announcement. Implementations can choose to support whichever encodings they want. I specifically want to be able to encode the announcement in JSON and just sign a JSON string for now.
Initial proposal for oracle announcement TLVs.
The idea here is that the oracle signs a hash of an
oracle_event
TLV. After doing so, peers that already trust the oracle's key should be able to pass aroundoracle_announcement
messages to learn of events.I imagine the spec for if the oracle signs the sha256 vs tagged sha256 of the
oracle_event
TLV will go in the actualOracle.md
spec