src/blockchain.c
void bchain_free(Blockchain *bchain)
{
    for (uint16_t i = 0; i < bchain->size; i++)
        free(bchain->blocks[i]);
}
/* free each block of the blockchain memory */
free each block of the blockchain memory
free each block of the blockchain memory
void bchain_free(Blockchain *bchain)
{
    for (uint16_t i = 0; i < bchain->size; i++)
        free(bchain->blocks[i]);
}
void bchain_free ( Blockchain * bchain ) { for ( uint16_t i = 0 ; i < bchain -> size ; i ++ ) free ( bchain -> blocks [ i ] ) ; }
free each block of the blockchain memory
free each block of the blockchain memory