Skip to content

Commit

Permalink
rename include folders to enumivo (EOSIO#90)
Browse files Browse the repository at this point in the history
* move eosio include

* modify eosio includes
  • Loading branch information
Enumivo authored May 14, 2018
1 parent 6153de1 commit be442c6
Show file tree
Hide file tree
Showing 182 changed files with 498 additions and 498 deletions.
2 changes: 1 addition & 1 deletion libraries/abi_generator/abi_generator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <eosio/abi_generator/abi_generator.hpp>
#include <enumivo/abi_generator/abi_generator.hpp>

namespace eosio {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <fstream>
#include <sstream>

#include <eosio/chain/abi_serializer.hpp>
#include <eosio/chain/contract_types.hpp>
#include <enumivo/chain/abi_serializer.hpp>
#include <enumivo/chain/contract_types.hpp>
#include <fc/io/json.hpp>

//clashes with something deep in the AST includes in clang 6 and possibly other versions of clang
Expand Down
12 changes: 6 additions & 6 deletions libraries/chain/abi_serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosio/chain/abi_serializer.hpp>
#include <eosio/chain/contract_types.hpp>
#include <eosio/chain/authority.hpp>
#include <eosio/chain/chain_config.hpp>
#include <eosio/chain/transaction.hpp>
#include <eosio/chain/asset.hpp>
#include <enumivo/chain/abi_serializer.hpp>
#include <enumivo/chain/contract_types.hpp>
#include <enumivo/chain/authority.hpp>
#include <enumivo/chain/chain_config.hpp>
#include <enumivo/chain/transaction.hpp>
#include <enumivo/chain/asset.hpp>
#include <fc/io/raw.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/multiprecision/cpp_int.hpp>
Expand Down
20 changes: 10 additions & 10 deletions libraries/chain/apply_context.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#include <algorithm>
#include <eosio/chain/apply_context.hpp>
#include <eosio/chain/controller.hpp>
#include <eosio/chain/transaction_context.hpp>
#include <eosio/chain/exceptions.hpp>
#include <eosio/chain/wasm_interface.hpp>
#include <eosio/chain/generated_transaction_object.hpp>
#include <eosio/chain/authorization_manager.hpp>
#include <eosio/chain/resource_limits.hpp>
#include <eosio/chain/account_object.hpp>
#include <eosio/chain/global_property_object.hpp>
#include <enumivo/chain/apply_context.hpp>
#include <enumivo/chain/controller.hpp>
#include <enumivo/chain/transaction_context.hpp>
#include <enumivo/chain/exceptions.hpp>
#include <enumivo/chain/wasm_interface.hpp>
#include <enumivo/chain/generated_transaction_object.hpp>
#include <enumivo/chain/authorization_manager.hpp>
#include <enumivo/chain/resource_limits.hpp>
#include <enumivo/chain/account_object.hpp>
#include <enumivo/chain/global_property_object.hpp>
#include <boost/container/flat_set.hpp>

using boost::container::flat_set;
Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/asset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosio/chain/asset.hpp>
#include <enumivo/chain/asset.hpp>
#include <boost/rational.hpp>
#include <boost/multiprecision/cpp_int.hpp>
#include <fc/reflect/variant.hpp>
Expand Down
18 changes: 9 additions & 9 deletions libraries/chain/authorization_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
* @copyright defined in eos/LICENSE.txt
*/

#include <eosio/chain/authorization_manager.hpp>
#include <eosio/chain/exceptions.hpp>
#include <eosio/chain/permission_object.hpp>
#include <eosio/chain/permission_link_object.hpp>
#include <eosio/chain/authority_checker.hpp>
#include <eosio/chain/controller.hpp>
#include <eosio/chain/global_property_object.hpp>
#include <eosio/chain/contract_types.hpp>
#include <eosio/chain/generated_transaction_object.hpp>
#include <enumivo/chain/authorization_manager.hpp>
#include <enumivo/chain/exceptions.hpp>
#include <enumivo/chain/permission_object.hpp>
#include <enumivo/chain/permission_link_object.hpp>
#include <enumivo/chain/authority_checker.hpp>
#include <enumivo/chain/controller.hpp>
#include <enumivo/chain/global_property_object.hpp>
#include <enumivo/chain/contract_types.hpp>
#include <enumivo/chain/generated_transaction_object.hpp>

namespace eosio { namespace chain {

Expand Down
4 changes: 2 additions & 2 deletions libraries/chain/block_header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosio/chain/block.hpp>
#include <eosio/chain/merkle.hpp>
#include <enumivo/chain/block.hpp>
#include <enumivo/chain/merkle.hpp>
#include <fc/io/raw.hpp>
#include <fc/bitutil.hpp>
#include <algorithm>
Expand Down
4 changes: 2 additions & 2 deletions libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <eosio/chain/block_header_state.hpp>
#include <eosio/chain/exceptions.hpp>
#include <enumivo/chain/block_header_state.hpp>
#include <enumivo/chain/exceptions.hpp>
#include <limits>

namespace eosio { namespace chain {
Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/block_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosio/chain/block_log.hpp>
#include <enumivo/chain/block_log.hpp>
#include <fstream>
#include <fc/io/raw.hpp>

Expand Down
4 changes: 2 additions & 2 deletions libraries/chain/block_state.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <eosio/chain/block_state.hpp>
#include <eosio/chain/exceptions.hpp>
#include <enumivo/chain/block_state.hpp>
#include <enumivo/chain/exceptions.hpp>

namespace eosio { namespace chain {

Expand Down
28 changes: 14 additions & 14 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
#include <eosio/chain/controller.hpp>
#include <eosio/chain/block_context.hpp>
#include <eosio/chain/transaction_context.hpp>
#include <enumivo/chain/controller.hpp>
#include <enumivo/chain/block_context.hpp>
#include <enumivo/chain/transaction_context.hpp>

#include <eosio/chain/block_log.hpp>
#include <eosio/chain/fork_database.hpp>
#include <enumivo/chain/block_log.hpp>
#include <enumivo/chain/fork_database.hpp>

#include <eosio/chain/account_object.hpp>
#include <eosio/chain/block_summary_object.hpp>
#include <eosio/chain/global_property_object.hpp>
#include <eosio/chain/contract_table_objects.hpp>
#include <eosio/chain/generated_transaction_object.hpp>
#include <eosio/chain/transaction_object.hpp>
#include <enumivo/chain/account_object.hpp>
#include <enumivo/chain/block_summary_object.hpp>
#include <enumivo/chain/global_property_object.hpp>
#include <enumivo/chain/contract_table_objects.hpp>
#include <enumivo/chain/generated_transaction_object.hpp>
#include <enumivo/chain/transaction_object.hpp>

#include <eosio/chain/authorization_manager.hpp>
#include <eosio/chain/resource_limits.hpp>
#include <enumivo/chain/authorization_manager.hpp>
#include <enumivo/chain/resource_limits.hpp>

#include <chainbase/chainbase.hpp>
#include <fc/io/json.hpp>
#include <fc/scoped_exit.hpp>

#include <eosio/chain/eosio_contract.hpp>
#include <enumivo/chain/eosio_contract.hpp>

namespace eosio { namespace chain {

Expand Down
42 changes: 21 additions & 21 deletions libraries/chain/eosio_contract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
* @file
* @copyright defined in eos/LICENSE.txt
*/
#include <eosio/chain/eosio_contract.hpp>
#include <eosio/chain/contract_table_objects.hpp>

#include <eosio/chain/controller.hpp>
#include <eosio/chain/transaction_context.hpp>
#include <eosio/chain/apply_context.hpp>
#include <eosio/chain/transaction.hpp>
#include <eosio/chain/exceptions.hpp>

#include <eosio/chain/account_object.hpp>
#include <eosio/chain/permission_object.hpp>
#include <eosio/chain/permission_link_object.hpp>
#include <eosio/chain/global_property_object.hpp>
#include <eosio/chain/contract_types.hpp>
#include <eosio/chain/producer_object.hpp>

#include <eosio/chain/wasm_interface.hpp>
#include <eosio/chain/abi_serializer.hpp>

#include <eosio/chain/authorization_manager.hpp>
#include <eosio/chain/resource_limits.hpp>
#include <enumivo/chain/eosio_contract.hpp>
#include <enumivo/chain/contract_table_objects.hpp>

#include <enumivo/chain/controller.hpp>
#include <enumivo/chain/transaction_context.hpp>
#include <enumivo/chain/apply_context.hpp>
#include <enumivo/chain/transaction.hpp>
#include <enumivo/chain/exceptions.hpp>

#include <enumivo/chain/account_object.hpp>
#include <enumivo/chain/permission_object.hpp>
#include <enumivo/chain/permission_link_object.hpp>
#include <enumivo/chain/global_property_object.hpp>
#include <enumivo/chain/contract_types.hpp>
#include <enumivo/chain/producer_object.hpp>

#include <enumivo/chain/wasm_interface.hpp>
#include <enumivo/chain/abi_serializer.hpp>

#include <enumivo/chain/authorization_manager.hpp>
#include <enumivo/chain/resource_limits.hpp>

namespace eosio { namespace chain {

Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/eosio_contract_abi.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <eosio/chain/eosio_contract.hpp>
#include <enumivo/chain/eosio_contract.hpp>

namespace eosio { namespace chain {

Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/fork_database.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <eosio/chain/fork_database.hpp>
#include <enumivo/chain/fork_database.hpp>

#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libraries/chain/genesis_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @copyright defined in eos/LICENSE.txt
*/

#include <eosio/chain/genesis_state.hpp>
#include <enumivo/chain/genesis_state.hpp>

// these are required to serialize a genesis_state
#include <fc/smart_ref_impl.hpp> // required for gcc in release mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/contract_types.hpp>
#include <eosio/chain/trace.hpp>
#include <eosio/chain/exceptions.hpp>
#include <enumivo/chain/contract_types.hpp>
#include <enumivo/chain/trace.hpp>
#include <enumivo/chain/exceptions.hpp>
#include <fc/variant_object.hpp>

namespace eosio { namespace chain {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/types.hpp>
#include <eosio/chain/authority.hpp>
#include <eosio/chain/block_timestamp.hpp>
#include <eosio/chain/contract_types.hpp>
#include <enumivo/chain/types.hpp>
#include <enumivo/chain/authority.hpp>
#include <enumivo/chain/block_timestamp.hpp>
#include <enumivo/chain/contract_types.hpp>

#include "multi_index_includes.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#pragma once

#include <eosio/chain/types.hpp>
#include <enumivo/chain/types.hpp>

namespace eosio { namespace chain {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#pragma once

#include <eosio/chain/types.hpp>
#include <enumivo/chain/types.hpp>

namespace eosio { namespace chain {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/controller.hpp>
#include <eosio/chain/transaction.hpp>
#include <eosio/chain/contract_table_objects.hpp>
#include <enumivo/chain/controller.hpp>
#include <enumivo/chain/transaction.hpp>
#include <enumivo/chain/contract_table_objects.hpp>
#include <fc/utility.hpp>
#include <sstream>
#include <algorithm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/exceptions.hpp>
#include <eosio/chain/types.hpp>
#include <eosio/chain/symbol.hpp>
#include <enumivo/chain/exceptions.hpp>
#include <enumivo/chain/types.hpp>
#include <enumivo/chain/symbol.hpp>

/// eos with 8 digits of precision
#define EOS_SYMBOL_VALUE (int64_t(4) | (uint64_t('E') << 8) | (uint64_t('O') << 16) | (uint64_t('S') << 24))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
#pragma once
#include <chainbase/chainbase.hpp>
#include <eosio/chain/transaction.hpp>
#include <eosio/chain/config.hpp>
#include <enumivo/chain/transaction.hpp>
#include <enumivo/chain/config.hpp>

#include <type_traits>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*/
#pragma once

#include <eosio/chain/types.hpp>
#include <eosio/chain/authority.hpp>
#include <eosio/chain/exceptions.hpp>
#include <enumivo/chain/types.hpp>
#include <enumivo/chain/authority.hpp>
#include <enumivo/chain/exceptions.hpp>

#include <eosio/utilities/parallel_markers.hpp>
#include <enumivo/utilities/parallel_markers.hpp>

#include <fc/scoped_exit.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
#pragma once

#include <eosio/chain/types.hpp>
#include <eosio/chain/permission_object.hpp>
#include <enumivo/chain/types.hpp>
#include <enumivo/chain/permission_object.hpp>

#include <utility>
#include <functional>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#include <eosio/chain/block_header.hpp>
#include <eosio/chain/transaction.hpp>
#include <enumivo/chain/block_header.hpp>
#include <enumivo/chain/transaction.hpp>

namespace eosio { namespace chain {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#include <eosio/chain/block_timestamp.hpp>
#include <eosio/chain/producer_schedule.hpp>
#include <enumivo/chain/block_timestamp.hpp>
#include <enumivo/chain/producer_schedule.hpp>

namespace eosio { namespace chain {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#include <eosio/chain/block_header.hpp>
#include <eosio/chain/incremental_merkle.hpp>
#include <enumivo/chain/block_header.hpp>
#include <enumivo/chain/incremental_merkle.hpp>

namespace eosio { namespace chain {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
#pragma once
#include <fc/filesystem.hpp>
#include <eosio/chain/block.hpp>
#include <enumivo/chain/block.hpp>

namespace eosio { namespace chain {

Expand Down
Loading

0 comments on commit be442c6

Please sign in to comment.