From 42eddac0e9f0216175fef223fd9b1023ed502a6e Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Tue, 12 Apr 2011 10:54:29 +0000 Subject: some quite significant changes to only receive/update recently-active torrents, if enabled. also use a hash table and tree row references for lookup. hopefully performance will be much better for people with large number of torrents. --- src/protocol-constants.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocol-constants.h') diff --git a/src/protocol-constants.h b/src/protocol-constants.h index 5299f3b..e61ca50 100644 --- a/src/protocol-constants.h +++ b/src/protocol-constants.h @@ -27,7 +27,9 @@ /* torrents */ +#define FIELD_RECENTLY_ACTIVE "recently-active" #define FIELD_TORRENTS "torrents" /* parent node */ +#define FIELD_REMOVED "removed" #define FIELD_ANNOUNCE_URL "announceUrl" #define FIELD_LEFT_UNTIL_DONE "leftUntilDone" #define FIELD_TOTAL_SIZE "totalSize" -- cgit v1.2.3