Skip to content
Open
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
2 changes: 1 addition & 1 deletion deploy/Dockerfile.azurelinux3.0
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ COPY --from=builder /usr/local/steemd /usr/local/steemd
WORKDIR /var/steem
VOLUME [ "/var/steem" ]
RUN tdnf update -y && \
tdnf install -y snappy-devel ncurses-compat readline-devel && \
tdnf install -y snappy-devel ncurses-compat readline-devel curl && \
tdnf autoremove -y && \
tdnf clean all

Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.debian13
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ COPY --from=builder /usr/local/steemd /usr/local/steemd
WORKDIR /var/steem
VOLUME [ "/var/steem" ]
RUN apt-get update && \
apt-get install -y libsnappy-dev libreadline-dev && \
apt-get install -y libsnappy-dev libreadline-dev curl && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists

Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.ubuntu20.04
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ COPY --from=builder /usr/local/steemd /usr/local/steemd
WORKDIR /var/steem
VOLUME [ "/var/steem" ]
RUN apt-get update && \
apt-get install -y libsnappy-dev libreadline-dev && \
apt-get install -y libsnappy-dev libreadline-dev curl && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists

Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.ubuntu22.04
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ COPY --from=builder /usr/local/steemd /usr/local/steemd
WORKDIR /var/steem
VOLUME [ "/var/steem" ]
RUN apt-get update && \
apt-get install -y libsnappy-dev libreadline-dev && \
apt-get install -y libsnappy-dev libreadline-dev curl && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists

Expand Down
2 changes: 1 addition & 1 deletion deploy/Dockerfile.ubuntu24.04
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ COPY --from=builder /usr/local/steemd /usr/local/steemd
WORKDIR /var/steem
VOLUME [ "/var/steem" ]
RUN apt-get update && \
apt-get install -y libsnappy-dev libreadline-dev && \
apt-get install -y libsnappy-dev libreadline-dev curl && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists

Expand Down
34 changes: 34 additions & 0 deletions libraries/plugins/ingest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
file(GLOB HEADERS "include/steem/plugins/ingest/*.hpp")

add_library( ingest_plugin
ingest_plugin.cpp
${HEADERS}
)

target_link_libraries( ingest_plugin
chain_plugin
steem_chain
steem_protocol
fc
${Boost_LIBRARIES}
${CMAKE_DL_LIBS}
)

target_include_directories( ingest_plugin
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include"
)

if( CLANG_TIDY_EXE )
set_target_properties(
ingest_plugin PROPERTIES
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
)
endif( CLANG_TIDY_EXE )

install( TARGETS
ingest_plugin

RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#pragma once
#include <steem/chain/steem_fwd.hpp>
#include <appbase/application.hpp>

#include <steem/plugins/chain/chain_plugin.hpp>

namespace steem { namespace plugins { namespace ingest {

namespace detail { class ingest_plugin_impl; }

using namespace appbase;

#define STEEM_INGEST_PLUGIN_NAME "ingest"

class ingest_plugin : public appbase::plugin< ingest_plugin >
{
public:
ingest_plugin();
virtual ~ingest_plugin();

APPBASE_PLUGIN_REQUIRES( (steem::plugins::chain::chain_plugin) )

static const std::string& name() { static std::string name = STEEM_INGEST_PLUGIN_NAME; return name; }

virtual void set_program_options( boost::program_options::options_description& cli,
boost::program_options::options_description& cfg ) override;
virtual void plugin_initialize( const boost::program_options::variables_map& options ) override;
virtual void plugin_startup() override;
virtual void plugin_shutdown() override;

private:
std::unique_ptr< detail::ingest_plugin_impl > my;
};

} } } // steem::plugins::ingest
Loading