Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,10 @@ AVIAN_CORE_H = \
zmq/zmqconfig.h\
zmq/zmqnotificationinterface.h \
zmq/zmqpublishnotifier.h \
flightplans/weblib.h \
flightplans/avianlib.h \
flightplans/flightplans.h \
flightplans/json/strbuf.h \
flightplans/json/fpconv.h \
flightplans/keccak.h \
lua/lapi.h \
lua/lauxlib.h \
lua/lbaselib.h \
Expand Down Expand Up @@ -353,13 +351,11 @@ libavian_server_a_SOURCES = \
validation.cpp \
validationinterface.cpp \
versionbits.cpp \
flightplans/weblib.cpp \
flightplans/avianlib.cpp \
flightplans/flightplans.cpp \
flightplans/json/strbuf.c \
flightplans/json/fpconv.c \
flightplans/json/lua_cjson.c \
flightplans/keccak.cpp \
lua/lapi.c \
lua/lauxlib.c \
lua/lbaselib.c \
Expand Down
7 changes: 1 addition & 6 deletions src/flightplans/flightplans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Please take precautions when using this feature.
#include "flightplans.h"

#include "avianlib.h"
#include "weblib.h"
#include "util.h"

#include <cstddef>
Expand All @@ -33,15 +32,11 @@ FlightPlanResult AvianFlightPlans::run_file(const char* file, const char* func,
lua_State* L = luaL_newstate();

// Make standard libraries available in the Lua object
// TODO: Add security measures here
luaL_openlibs(L);

// Register Avian lib
register_avianlib(L);

// Register Web3 lib (only if enabled)
if (gArgs.IsArgSet("-flightplans-web3")) {
register_weblib(L);
}

// Load the program
status = luaL_dofile(L, file);
Expand Down
294 changes: 0 additions & 294 deletions src/flightplans/keccak.cpp

This file was deleted.

Loading