File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 19
19
#include " undo.h"
20
20
#include " version.h"
21
21
#include " pubkey.h"
22
+ #include " blockencodings.h"
22
23
23
24
#include < stdint.h>
24
25
#include < unistd.h>
@@ -45,6 +46,8 @@ enum TEST_ID {
45
46
CBLOOMFILTER_DESERIALIZE,
46
47
CDISKBLOCKINDEX_DESERIALIZE,
47
48
CTXOUTCOMPRESSOR_DESERIALIZE,
49
+ BLOCKTRANSACTIONS_DESERIALIZE,
50
+ BLOCKTRANSACTIONSREQUEST_DESERIALIZE,
48
51
TEST_ID_END
49
52
};
50
53
@@ -245,6 +248,26 @@ int test_one_input(std::vector<uint8_t> buffer) {
245
248
246
249
break ;
247
250
}
251
+ case BLOCKTRANSACTIONS_DESERIALIZE:
252
+ {
253
+ try
254
+ {
255
+ BlockTransactions bt;
256
+ ds >> bt;
257
+ } catch (const std::ios_base::failure& e) {return 0 ;}
258
+
259
+ break ;
260
+ }
261
+ case BLOCKTRANSACTIONSREQUEST_DESERIALIZE:
262
+ {
263
+ try
264
+ {
265
+ BlockTransactionsRequest btr;
266
+ ds >> btr;
267
+ } catch (const std::ios_base::failure& e) {return 0 ;}
268
+
269
+ break ;
270
+ }
248
271
default :
249
272
return 0 ;
250
273
}
You can’t perform that action at this time.
0 commit comments