Skip to content

Commit

Permalink
Reduce header files within blocks.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Mar 7, 2024
1 parent dbc54a6 commit 666e77e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
9 changes: 3 additions & 6 deletions nano/lib/blocks.hpp
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
#pragma once

#include <nano/crypto/blake2/blake2.h>
#include <nano/lib/block_sideband.hpp>
#include <nano/lib/block_uniquer.hpp>
#include <nano/lib/config.hpp>
#include <nano/lib/epoch.hpp>
#include <nano/lib/errors.hpp>
#include <nano/lib/numbers.hpp>
#include <nano/lib/object_stream.hpp>
#include <nano/lib/optional_ptr.hpp>
#include <nano/lib/stream.hpp>
#include <nano/lib/timer.hpp>
#include <nano/lib/utility.hpp>
#include <nano/lib/work.hpp>

#include <boost/property_tree/ptree_fwd.hpp>

#include <unordered_map>
typedef struct blake2b_state__ blake2b_state;

namespace nano
{
class block_visitor;
class mutable_block_visitor;
class object_stream;

class block
{
Expand Down
1 change: 1 addition & 0 deletions nano/lib/config.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <nano/crypto/blake2/blake2.h>
#include <nano/lib/blocks.hpp>
#include <nano/lib/config.hpp>
#include <nano/lib/logging.hpp>
Expand Down
1 change: 1 addition & 0 deletions nano/lib/work.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <nano/crypto/blake2/blake2.h>
#include <nano/crypto_lib/random_pool.hpp>
#include <nano/lib/blocks.hpp>
#include <nano/lib/epoch.hpp>
Expand Down

0 comments on commit 666e77e

Please sign in to comment.