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