[era] superblock packing

This commit is contained in:
Joe Thornber
2014-01-08 15:31:42 +00:00
parent 4df679174c
commit 2250abe605
5 changed files with 67 additions and 7 deletions

View File

@@ -7,13 +7,16 @@
namespace era {
struct era_detail_disk {
base::le32 nr_blocks;
base::le32 nr_bits;
base::le32 hash_fns_and_probes;
base::le32 nr_set;
base::le64 bloom_root;
} __attribute__ ((packed));
struct era_detail {
uint32_t nr_blocks;
uint32_t nr_bits;
uint32_t nr_set;
uint32_t hash1;
uint32_t hash2;