aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-26 23:39:29 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-26 23:39:29 +0100
commit82242cae3bb6313ee10df20570e4c14627828033 (patch)
treec628b5323c1ec8cbf0915e04bb7a1fa7864d7ea9 /src/fs
parentcc8f37a834298d95c233769d19eb9cd17e3dbcfd (diff)
downloadgnunet-82242cae3bb6313ee10df20570e4c14627828033.tar.gz
gnunet-82242cae3bb6313ee10df20570e4c14627828033.zip
add validation for inner consensus element
The nested block validation requires the block context, and thus the evaluate callback not also receives the block context.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/plugin_block_fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/plugin_block_fs.c b/src/fs/plugin_block_fs.c
index b6749b418..c5e63c9e2 100644
--- a/src/fs/plugin_block_fs.c
+++ b/src/fs/plugin_block_fs.c
@@ -109,6 +109,7 @@ block_plugin_fs_create_group (void *cls,
109 * be done with the #GNUNET_BLOCK_get_key() function. 109 * be done with the #GNUNET_BLOCK_get_key() function.
110 * 110 *
111 * @param cls closure 111 * @param cls closure
112 * @param ctx block context
112 * @param type block type 113 * @param type block type
113 * @param bg group to use for evaluation 114 * @param bg group to use for evaluation
114 * @param eo control flags 115 * @param eo control flags
@@ -121,6 +122,7 @@ block_plugin_fs_create_group (void *cls,
121 */ 122 */
122static enum GNUNET_BLOCK_EvaluationResult 123static enum GNUNET_BLOCK_EvaluationResult
123block_plugin_fs_evaluate (void *cls, 124block_plugin_fs_evaluate (void *cls,
125 struct GNUNET_BLOCK_Context *ctx,
124 enum GNUNET_BLOCK_Type type, 126 enum GNUNET_BLOCK_Type type,
125 struct GNUNET_BLOCK_Group *bg, 127 struct GNUNET_BLOCK_Group *bg,
126 enum GNUNET_BLOCK_EvaluationOptions eo, 128 enum GNUNET_BLOCK_EvaluationOptions eo,