def serve(args): global serve_root serve_root=args.serve_root data.genesis_members_hash=args.genesis_members prefix=os.path.dirname(args.filelist) logging.info("Prefix for data:"+prefix) data.readFilesFromJSONListfile(prefix, args.filelist) bottle.run(host="127.0.0.1", port=8181, debug=args.debug)
def check(args): data.genesis_members_hash = args.genesis_members prefix = os.path.dirname(args.filelist) logging.info("Prefix for data:" + prefix) readFilesFromJSONListfile(prefix, args.filelist)