Better handling of data file responses in the /data/file/frompeer API endpoint.

This commit is contained in:
CalDescent
2021-06-19 20:23:33 +01:00
parent 33d9c51b6f
commit 5070c4eea9
3 changed files with 21 additions and 8 deletions

View File

@@ -64,3 +64,7 @@ TRANSACTION_UNKNOWN = transaction unknown
TRANSFORMATION_ERROR = could not transform JSON into transaction
UNAUTHORIZED = API call unauthorized
FILE_NOT_FOUND = file not found
NO_REPLY = peer didn't reply within the allowed time