More storage implementation
Successfully writing to lightningdb. Now to pull it back out. Also need to write to the blockstore.
This commit is contained in:
parent
4626b69381
commit
b462d9ef53
29 changed files with 448 additions and 123 deletions
|
@ -32,7 +32,7 @@ int test_repo_config_init() {
|
|||
if (retVal == 0)
|
||||
return 0;
|
||||
|
||||
retVal = repo_config_init(repoConfig, 2048, "/Users/JohnJones/.ipfs");
|
||||
retVal = ipfs_repo_config_init(repoConfig, 2048, "/Users/JohnJones/.ipfs");
|
||||
if (retVal == 0)
|
||||
return 0;
|
||||
|
||||
|
@ -77,7 +77,7 @@ int test_repo_config_write() {
|
|||
// now build a new one
|
||||
struct RepoConfig* repoConfig;
|
||||
ipfs_repo_config_new(&repoConfig);
|
||||
if (!repo_config_init(repoConfig, 2048, "/tmp/.ipfs")) {
|
||||
if (!ipfs_repo_config_init(repoConfig, 2048, "/tmp/.ipfs")) {
|
||||
ipfs_repo_config_free(repoConfig);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue