c-ipfs/merkledag/merkledag.c
John Jones 4626b69381 More code for storage
Pushing through on the ipfs block put use case. Building out the
necessary code to write to the blockstore.
2016-11-28 16:13:46 -05:00

16 lines
338 B
C

/**
* A basic storage building block of the IPFS system
*/
/***
* Adds a node to the dagService and blockService
* @param node the node to add
* @returns true(1) on success
*/
int ipfs_merkledag_add(struct Node* node) {
// taken from merkledag.go line 59
// TODO: put in blockstore
// TODO: call HasBlock (unsure why as yet)
}