[era] superblock packing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user