update storage
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <uint256.h>
|
||||
#include <storage/block_table.h>
|
||||
|
||||
typedef struct {
|
||||
DynArr* blocks;
|
||||
|
||||
13
include/storage/block_table.h
Normal file
13
include/storage/block_table.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef BLOCK_TABLE_H
|
||||
#define BLOCK_TABLE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct {
|
||||
uint64_t blockNumber;
|
||||
uint64_t byteNumber;
|
||||
uint64_t blockSize;
|
||||
} block_table_entry_t;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user