Skip to content

11-eleven-11/metanet-files

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

metanet-files protocol

FILE

  1. META
  2. ID
  3. PARENT_DIR_TX
  4. FILE

| Metadata MAP attributes

BLOB

  1. META
  2. ID - repeated for each chunk
  3. PARENT_FILE_TX
  4. BLOB - append to blob
  5. sequence - must increment by 1 for each chunk
  6. data
  7. START - optional start position in blob to replace
  8. END - optional end position in blob to replace. If > 0, repace START - END with blob

Dir

  1. META
  2. ID
  3. PARENT_DIR || OP_0
  4. DIR

| Metadata MAP attributes

REFERENCE

  1. META
  2. ID
  3. PARENT_DIR || OP_0
  4. REFT | REFN
  5. target node id - For REFT, txId. For REFN, nodeId

| Metadata MAP attributes (referenced object metadata can be modified)

Metadata

  1. META
  2. ID
  3. PARENT
  4. MAP protocol id

MAP attributes

Releases

No releases published

Packages

No packages published