diff options
-rw-r--r-- | TODO | 20 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs.c | 10 |
2 files changed, 19 insertions, 11 deletions
@@ -14,12 +14,10 @@ away), in order in which they will likely be done: | |||
14 | 14 | ||
15 | Urgent items (before announcing ng.gnunet.org): | 15 | Urgent items (before announcing ng.gnunet.org): |
16 | * FS (basic anonymous FS only) | 16 | * FS (basic anonymous FS only) |
17 | - need way to determine network load (up/down) | ||
18 | - need *fast* way to check/update trust in peers | ||
19 | (async peerinfo would not be right) | ||
20 | - implement FS service | 17 | - implement FS service |
21 | + P2P-functions (query, response, peer-disconnect) | 18 | + how to send queries (soliciting is not there in core; do we |
22 | + CS/P2P-functions (initiate P2P, handle P2P->CS) | 19 | also want to do pushing sometimes?) |
20 | + need to bound queueing of replies for other peers | ||
23 | - implement testcases | 21 | - implement testcases |
24 | + URI API | 22 | + URI API |
25 | + getopt API | 23 | + getopt API |
@@ -30,6 +28,11 @@ Urgent items (before announcing ng.gnunet.org): | |||
30 | ~ search | 28 | ~ search |
31 | ~ unindex | 29 | ~ unindex |
32 | + directory API | 30 | + directory API |
31 | * CORE: | ||
32 | - soliciting traffic for clients that registered for it is not implemented | ||
33 | (in the service, client API supports GNUNET_MESSAGE_TYPE_CORE_SOLICIT_TRAFFIC | ||
34 | but never receives any such messages); how to avoid busy-waiting here | ||
35 | is a good question (solicit => nothing, when to solicit again???) | ||
33 | * TESTING (needed for DV, DHT, Topology) | 36 | * TESTING (needed for DV, DHT, Topology) |
34 | - implement library for local testing | 37 | - implement library for local testing |
35 | + modify configuration to allow controlling connections for non-local starts | 38 | + modify configuration to allow controlling connections for non-local starts |
@@ -52,6 +55,11 @@ Urgent items (before announcing ng.gnunet.org): | |||
52 | 55 | ||
53 | 56 | ||
54 | 0.9.0pre0: | 57 | 0.9.0pre0: |
58 | * UTIL: | ||
59 | - heap: "remove_node" can hardly be O(1) given the API, but it should be (!) | ||
60 | - load: need way to determine network load (up/down) | ||
61 | - trust: need *fast* way to check/update trust in peers | ||
62 | (async peerinfo would not be right) | ||
55 | * Module features to implement: | 63 | * Module features to implement: |
56 | - advanced FS API parts | 64 | - advanced FS API parts |
57 | + namespaces: fundamental namespace API | 65 | + namespaces: fundamental namespace API |
@@ -68,7 +76,7 @@ Urgent items (before announcing ng.gnunet.org): | |||
68 | + gnunet-download (many options) | 76 | + gnunet-download (many options) |
69 | + gnunet-directory (man page, options) | 77 | + gnunet-directory (man page, options) |
70 | + gnunet-pseudonym (all of it) | 78 | + gnunet-pseudonym (all of it) |
71 | + gnunet-service-fs (remove failing on-demand blocks) | 79 | + gnunet-service-fs (remove failing on-demand blocks, many other nitpicks/features/optimizations) |
72 | + datastore: do active migration support here? | 80 | + datastore: do active migration support here? |
73 | - implement adv. FS testcases | 81 | - implement adv. FS testcases |
74 | + insert: sblocks, loc uris | 82 | + insert: sblocks, loc uris |
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index b128b69a2..0c27f58b9 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -360,8 +360,7 @@ struct PendingReply | |||
360 | 360 | ||
361 | 361 | ||
362 | /** | 362 | /** |
363 | * All requests from a client are | 363 | * All requests from a client are kept in a doubly-linked list. |
364 | * kept in a doubly-linked list. | ||
365 | */ | 364 | */ |
366 | struct ClientRequestList; | 365 | struct ClientRequestList; |
367 | 366 | ||
@@ -514,8 +513,7 @@ struct PendingRequest | |||
514 | 513 | ||
515 | 514 | ||
516 | /** | 515 | /** |
517 | * All requests from a client are | 516 | * All requests from a client are kept in a doubly-linked list. |
518 | * kept in a doubly-linked list. | ||
519 | */ | 517 | */ |
520 | struct ClientRequestList | 518 | struct ClientRequestList |
521 | { | 519 | { |
@@ -688,7 +686,9 @@ static struct ClientList *clients; | |||
688 | static struct GNUNET_CONTAINER_Heap *requests_by_expiration; | 686 | static struct GNUNET_CONTAINER_Heap *requests_by_expiration; |
689 | 687 | ||
690 | /** | 688 | /** |
691 | * FIXME: set from configuration. | 689 | * Maximum number of requests (from other peers) that we're |
690 | * willing to have pending at any given point in time. | ||
691 | * FIXME: set from configuration (and 32 is a tiny value for testing only). | ||
692 | */ | 692 | */ |
693 | static uint64_t max_pending_requests = 32; | 693 | static uint64_t max_pending_requests = 32; |
694 | 694 | ||