Skip to content

FCPv2 GeneratedMetadata

Chris Double edited this page Mar 28, 2017 · 1 revision

GeneratedMetadata is sent when a ClientPut has the MetadataThreshold option enabled (set to a value greater than 0), and we are able to return metadata smaller than the threshold given, instead of URIGenerated. Note that the metadata is often a pyramid - for a big splitfile, the metadata will be so big that it is a splitfile itself, which creates another layer of (smaller) metadata, which may again be a splitfile ... at the top of the pyramid there is usually one block, but we can return the metadata in binary form instead if this is convenient for the application, e.g. if it has an on-freenet tree.

Example

 GeneratedMetadata
 Identifier=some request
 Global=false
 DataLength=129
 Data

After which follows the metadata in binary form.

Clone this wiki locally
You can’t perform that action at this time.