Skip to content

File data meta gzip generic#8

Open
shadders wants to merge 5 commits into
masterfrom
file-data-meta-gzip-generic
Open

File data meta gzip generic#8
shadders wants to merge 5 commits into
masterfrom
file-data-meta-gzip-generic

Conversation

@shadders

Copy link
Copy Markdown
Contributor

updated from pr # 5

Generic 'file' protocol based on Ryan X Charles' proposal.

Generic 'data' protocol

'meta' protocol for marking up other protocols with JSON meta data

'gzip' protocol for compressing data elements in any other data element based protocol.

ryanxcharles and others added 2 commits January 28, 2019 16:07
so i get credit in the commit history
@shadders shadders mentioned this pull request Jan 29, 2019
@ryanxcharles

Copy link
Copy Markdown
Contributor

can you merge this so we can start issuing new PRs? i have a new protocol to add and i think it would be best to merge against the main repo instead of against your PR.

Comment thread protocols/2.1-meta.md

The protocol identfier is a `PUSHDATA` data element `0x04 0x6d657461` which is the 1 byte length prefix followed by the 4 byte identifier which translates to the ASCII string `meta`.

This should be followed by a further `PUSHDATA` data element: `<metadate>` which is a a JSON encoded set of the key value pairs. The key value pairs remain unspecified.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typos: "metadate", "a a". Should be mentioned the data is UTF-8 encoded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants