Added contract process execution functions. (#6)

This commit is contained in:
Ravin Perera
2019-10-03 11:53:30 +05:30
committed by GitHub
parent 040bc76c95
commit 0fecafe52e
4 changed files with 177 additions and 10 deletions

View File

@@ -4,8 +4,10 @@
#include <cstdio>
#include <iostream>
#include <unistd.h>
#include "conf.h"
#include "crypto.h"
#include "proc.h"
using namespace std;
@@ -28,6 +30,11 @@ int main(int argc, char **argv)
cerr << "Init error\n";
return -1;
}
if (conf::ctx.command == "run")
{
//TODO
}
}
cout << "exited normally\n";