Skip to content

Commit

Permalink
Removing incorrect forward declarations of transaction classes (#4294)
Browse files Browse the repository at this point in the history
This was changed with the extraction of the store class.
  • Loading branch information
clemahieu committed Sep 25, 2023
1 parent 83352c7 commit 6a01fc4
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 42 deletions.
1 change: 0 additions & 1 deletion nano/lib/rep_weights.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace store
{
class component;
}
class transaction;

class rep_weights
{
Expand Down
1 change: 0 additions & 1 deletion nano/node/active_transactions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class block;
class block_sideband;
class election;
class vote;
class transaction;
class confirmation_height_processor;
class stats;

Expand Down
3 changes: 0 additions & 3 deletions nano/node/blockprocessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class write_transaction;
namespace nano
{
class node;
class read_transaction;
class transaction;
class write_transaction;
class write_database_queue;

/**
Expand Down
1 change: 0 additions & 1 deletion nano/node/bootstrap_ascending/service.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class block_processor;
class ledger;
class network;
class node_config;
class transaction;

namespace transport
{
Expand Down
1 change: 0 additions & 1 deletion nano/node/confirmation_height_bounded.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
namespace nano
{
class ledger;
class read_transaction;
class logging;
class logger_mt;
class write_database_queue;
Expand Down
1 change: 0 additions & 1 deletion nano/node/confirmation_height_unbounded.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
namespace nano
{
class ledger;
class read_transaction;
class logging;
class logger_mt;
class write_database_queue;
Expand Down
1 change: 0 additions & 1 deletion nano/node/gap_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
namespace nano
{
class node;
class transaction;

/** For each gap in account chains, track arrival time and voters */
class gap_information final
Expand Down
1 change: 0 additions & 1 deletion nano/node/online_reps.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace nano
{
class ledger;
class node_config;
class transaction;

/** Track online representatives and trend online weight */
class online_reps final
Expand Down
1 change: 0 additions & 1 deletion nano/node/vote_processor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class network_params;
class node_flags;
class stats;

class transaction;
namespace transport
{
class channel;
Expand Down
3 changes: 0 additions & 3 deletions nano/store/account.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/confirmation_height.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/final.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/frontier.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
1 change: 0 additions & 1 deletion nano/store/lmdb/lmdb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ namespace filesystem
namespace nano
{
class logging_mt;
class transaction;

}

Expand Down
3 changes: 0 additions & 3 deletions nano/store/online_weight.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/peer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/pending.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/pruned.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down
3 changes: 0 additions & 3 deletions nano/store/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
namespace nano
{
class block_hash;
class read_transaction;
class transaction;
class write_transaction;
}
namespace nano::store
{
Expand Down

0 comments on commit 6a01fc4

Please sign in to comment.