Skip to content

Add more informations in reference transaction #86

@Neylix

Description

@Neylix

Is your feature request related to a problem?

To update the website we need to have the file hash to compare it to the new uploaded files.
We may have the size of the files to display it in the listing directory
For regression we also need to have a version number.

Describe the solution you'd like

For the version we can add a version number on top of the JSON like

{
  "aeweb_version" : 1,
  "folder": ...
}

For the size and the hash we can have something like this

{
  "file.txt": {
    "encoding": "gzip",
    "addresses": [...],
    "hash": "123456789abcdef",
    "size": 12 // in kb
  }
}

Additional context

No response

Metadata

Metadata

Assignees

Labels

featurenew feature or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions