Propagate depth and depth_block on modules using decoders

This commit is contained in:
FernandoS27 2018-10-11 19:11:47 -04:00
parent 8b1e913058
commit 1a70753709
8 changed files with 67 additions and 54 deletions

View file

@ -43,6 +43,10 @@ public:
u32 BlockHeight() const {
return 1 << block_height;
}
u32 BlockDepth() const {
return 1 << block_depth;
}
};
static_assert(sizeof(Parameters) == 24, "Parameters has wrong size");