diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
commit | 82242cae3bb6313ee10df20570e4c14627828033 (patch) | |
tree | c628b5323c1ec8cbf0915e04bb7a1fa7864d7ea9 /src/fs | |
parent | cc8f37a834298d95c233769d19eb9cd17e3dbcfd (diff) | |
download | gnunet-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.c | 2 |
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 | */ |
122 | static enum GNUNET_BLOCK_EvaluationResult | 123 | static enum GNUNET_BLOCK_EvaluationResult |
123 | block_plugin_fs_evaluate (void *cls, | 124 | block_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, |