From e38815c5e8299205dab28163bd31d8c55913c318 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 31 Aug 2024 13:44:17 +0000 Subject: [PATCH] add poc --- BUILD.bazel | 19 - CHANGELOG.md | 160 - CNAME | 1 - CODE_OF_CONDUCT.md | 95 - DISCLAIMER-WIP | 22 - Docker/Dockerfile | 56 - Docker/Dockerfile_mac | 53 - INSTALL.sh | 52 +- INSTALL/README.md | 62 - INSTALL/bazel/install_bazel.sh | 27 - INSTALL/protobuf/install_protobuf.sh | 20 - LICENSE | 235 -- LICENSE.md | 5 + NOTICE | 6 - README.md | 362 +-- WORKSPACE | 170 +- api/BUILD | 38 - api/README.md | 66 - api/ip_address.config | 1 - api/kv_operation.py | 46 - api/pybind_kv_service.cpp | 66 - application/poc/BUILD | 41 + application/poc/pbft.config | 4 + .../poc/pbft_client.config | 0 application/poc/pbft_client.cpp | 15 + application/poc/pbft_client.h | 15 + application/poc/pbft_client_main.cpp | 21 + application/poc/pbft_server.cpp | 29 + application/poc/pow.config | 4 + application/poc/pow_server.cpp | 55 + application/poc/tools/feed_local.sh | 1 + application/poc/tools/pow_cert/cert_1.cert | 7 + application/poc/tools/pow_cert/cert_2.cert | 7 + application/poc/tools/pow_cert/cert_3.cert | 7 + application/poc/tools/pow_cert/cert_4.cert | 6 + application/poc/tools/start_pbft_server.sh | 17 + application/poc/tools/start_pow_server.sh | 20 + application/utils/BUILD | 12 + application/utils/server_factory.cpp | 32 + application/utils/server_factory.h | 21 + benchmark/pbft/BUILD | 45 + benchmark/pbft/benchmark_client.cpp | 20 + benchmark/pbft/benchmark_client.h | 15 + benchmark/pbft/benchmark_client_main.cpp | 29 + benchmark/pbft/benchmark_server.config | 4 + benchmark/pbft/benchmark_server.cpp | 30 + benchmark/pbft/benchmark_server_impl.cpp | 19 + benchmark/pbft/benchmark_server_impl.h | 23 + benchmark/pbft/kv_server_impl_test.cpp | 62 + benchmark/pbft/local_benchark.sh | 14 + benchmark/pbft/proto/BUILD | 14 + benchmark/pbft/proto/benchmark.proto | 11 + benchmark/pbft/start_benchmark_server.sh | 16 + benchmark/poc/pow/BUILD | 10 + benchmark/poc/pow/benchmark_client.cpp | 49 + benchmark/protocols/pbft/BUILD | 43 - .../protocols/pbft/kv_server_performance.cpp | 81 - benchmark/protocols/pbft/kv_service_tools.cpp | 51 - benchmark/protocols/poe/BUILD | 33 - .../protocols/poe/kv_server_performance.cpp | 83 - .../test/test_data => cert}/admin.key.pri | 0 .../test/test_data => cert}/admin.key.pub | 0 .../deploy/data/cert => cert}/cert_1.cert | Bin .../deploy/data/cert => cert}/cert_2.cert | 0 .../deploy/data/cert => cert}/cert_3.cert | 0 .../deploy/data/cert => cert}/cert_4.cert | 0 .../deploy/data/cert => cert}/cert_5.cert | 0 {platform/test/test_data => cert}/cert_6.cert | 0 .../test/test_data => cert}/node1.key.pri | 0 .../test/test_data => cert}/node1.key.pub | 0 .../test/test_data => cert}/node2.key.pri | 0 .../test/test_data => cert}/node2.key.pub | 0 .../test/test_data => cert}/node3.key.pri | Bin .../test/test_data => cert}/node3.key.pub | 0 .../test/test_data => cert}/node4.key.pri | Bin .../test/test_data => cert}/node4.key.pub | 0 .../test/test_data => cert}/node5.key.pri | 0 .../test/test_data => cert}/node5.key.pub | 0 chain/state/BUILD | 38 - chain/state/chain_state.cpp | 44 - chain/state/chain_state.h | 42 - chain/state/chain_state_test.cpp | 65 - chain/storage/BUILD | 67 - chain/storage/kv_storage_test.cpp | 226 -- chain/storage/leveldb.cpp | 290 -- chain/storage/leveldb.h | 81 - chain/storage/memory_db.cpp | 170 - chain/storage/memory_db.h | 88 - chain/storage/mock_storage.h | 56 - chain/storage/proto/BUILD | 44 - chain/storage/proto/kv.proto | 32 - chain/storage/proto/leveldb_config.proto | 28 - chain/storage/setting/BUILD | 35 - chain/storage/storage.h | 60 - client/BUILD | 112 + client/mock_resdb_client.h | 23 + client/mock_resdb_txn_client.h | 17 + client/resdb_client.cpp | 212 ++ client/resdb_client.h | 89 + client/resdb_client_test.cpp | 195 ++ client/resdb_state_client.cpp | 67 + client/resdb_state_client.h | 28 + client/resdb_state_client_test.cpp | 139 + client/resdb_txn_client.cpp | 97 + client/resdb_txn_client.h | 31 + client/resdb_txn_client_test.cpp | 140 + client/resdb_user_client.cpp | 73 + client/resdb_user_client.h | 44 + client/resdb_user_client_test.cpp | 141 + client1.config | 2 + client2.config | 2 + common/BUILD | 47 - common/crypto/BUILD | 104 - common/crypto/hash.cpp | 48 - common/crypto/hash.h | 31 - common/crypto/hash_test.cpp | 50 - common/crypto/key_generator.cpp | 156 - common/crypto/key_generator.h | 31 - common/crypto/mock_signature_verifier.h | 35 - common/crypto/signature_utils.cpp | 147 - common/crypto/signature_utils.h | 40 - common/crypto/signature_verifier.h | 83 - .../crypto/signature_verifier_interface.cpp | 29 - common/crypto/signature_verifier_interface.h | 37 - common/data_comm/BUILD | 8 + common/data_comm/data_comm.h | 18 + common/logging/BUILD | 26 + common/logging/logging.cpp | 55 + common/logging/logging.h | 26 + common/logging/logging_test.cpp | 68 + common/network/BUILD | 37 + common/network/mock_socket.h | 24 + common/network/network_utils.cpp | 31 + common/network/network_utils.h | 13 + common/network/network_utils_test.cpp | 24 + common/network/socket.h | 32 + .../common => common}/network/tcp_socket.cpp | 33 +- common/network/tcp_socket.h | 40 + common/network/tcp_socket_test.cpp | 75 + common/proto/BUILD | 38 - common/proto/signature_info.proto | 80 - common/queue/BUILD | 47 + common/queue/batch_queue.h | 67 + common/queue/batch_queue_test.cpp | 79 + common/queue/blocking_queue.h | 87 + common/queue/lock_free_queue.h | 58 + common/queue/lock_free_queue_test.cpp | 31 + common/test/BUILD | 43 - common/test/json_test.cpp | 55 - common/test/test.proto | 34 - common/test/test_macros.h | 33 - common/utils/BUILD | 18 - common/utils/utils.cpp | 49 +- common/utils/utils.h | 23 +- config/BUILD | 38 + config/resdb_config.cpp | 125 + config/resdb_config.h | 108 + .../config => config}/resdb_config_test.cpp | 21 +- config/resdb_config_utils.cpp | 119 + config/resdb_config_utils.h | 22 + config/resdb_poc_config.cpp | 55 + config/resdb_poc_config.h | 52 + crypto/BUILD | 42 + crypto/key_generator.cpp | 109 + crypto/key_generator.h | 12 + crypto/mock_signature_verifier.h | 14 + .../crypto => crypto}/signature_verifier.cpp | 86 +- crypto/signature_verifier.h | 60 + .../signature_verifier_test.cpp | 26 +- database/BUILD | 20 + database/leveldb/BUILD | 8 + database/leveldb/leveldb_sample.cpp | 52 + database/rocksdb/BUILD | 8 + database/rocksdb/rocksdb_sample.cpp | 91 + database/txn_memory_db.cpp | 25 + database/txn_memory_db.h | 23 + database/txn_memory_db_test.cpp | 46 + dev/.rat-excludes | 19 - dev/check-license | 86 - documents/doxygen/.gitignore | 2 - documents/doxygen/Doxyfile | 2780 ---------------- documents/doxygen/DoxygenLayout.xml | 256 -- documents/doxygen/doxygen_html_style.css | 20 - documents/doxygen/header | 60 - documents/doxygen/logo.png | Bin 71672 -> 0 bytes documents/file/Nexres-1654906717062.json | 2893 ----------------- documents/file/prometheus.yml | 66 - documents/image/dashboard/import.png | Bin 11682 -> 0 bytes documents/image/dashboard/resolution.png | Bin 38037 -> 0 bytes documents/image/dashboard/target list.png | Bin 138486 -> 0 bytes documents/image/dashboard/target.png | Bin 40734 -> 0 bytes documents/image/dashboard/yml_config.png | Bin 61559 -> 0 bytes documents/image/dashboard/yml_interval.png | Bin 17770 -> 0 bytes entrypoint.sh | 21 - example/BUILD | 11 + .../kv_client_config.config | 0 example/kv_config.config | 4 + example/kv_server_tools.cpp | 48 + example/start_kv_server.sh | 13 + execution/BUILD | 63 + execution/mock_transaction_executor_impl.h | 14 + execution/system_info.cpp | 52 + execution/system_info.h | 34 + execution/system_info_test.cpp | 56 + execution/transaction_executor.cpp | 148 + execution/transaction_executor.h | 62 + execution/transaction_executor_impl.cpp | 10 + execution/transaction_executor_impl.h | 14 + execution/transaction_executor_test.cpp | 177 + executor/common/BUILD | 44 - executor/common/custom_query.h | 36 - executor/common/mock_transaction_manager.h | 43 - executor/common/transaction_manager.cpp | 54 - executor/common/transaction_manager.h | 56 - executor/contract/executor/BUILD | 45 - .../contract/executor/contract_executor.cpp | 121 - .../contract/executor/contract_executor.h | 50 - .../executor/contract_executor_test.cpp | 264 -- executor/contract/executor/test_data/BUILD | 19 - .../contract/executor/test_data/contract.json | 19 - executor/contract/manager/BUILD | 71 - executor/contract/manager/address_manager.cpp | 54 - executor/contract/manager/address_manager.h | 47 - .../contract/manager/address_manager_test.cpp | 51 - .../contract/manager/contract_manager.cpp | 148 - executor/contract/manager/contract_manager.h | 60 - .../manager/contract_manager_test.cpp | 252 -- executor/contract/manager/test_data/BUILD | 19 - .../contract/manager/test_data/contract.json | 19 - executor/contract/manager/utils.h | 30 - executor/kv/BUILD | 44 - executor/kv/kv_executor.cpp | 147 - executor/kv/kv_executor.h | 59 - executor/kv/kv_executor_test.cpp | 343 -- executor/utxo/executor/BUILD | 46 - executor/utxo/executor/utxo_executor.cpp | 79 - executor/utxo/executor/utxo_executor.h | 57 - executor/utxo/executor/utxo_executor_test.cpp | 80 - executor/utxo/manager/BUILD | 82 - executor/utxo/manager/transaction.cpp | 190 -- executor/utxo/manager/transaction.h | 56 - executor/utxo/manager/transaction_test.cpp | 117 - executor/utxo/manager/tx_mempool.cpp | 128 - executor/utxo/manager/tx_mempool.h | 55 - executor/utxo/manager/tx_mempool_test.cpp | 196 -- executor/utxo/manager/wallet.cpp | 38 - executor/utxo/manager/wallet.h | 41 - executor/utxo/manager/wallet_test.cpp | 40 - feed.sh | 4 + format.sh | 2 + hooks/pre-push | 15 + img/apache-incubator.png | Bin 30207 -> 0 bytes img/apache-resdb.png | Bin 98785 -> 0 bytes img/nexres.jpg | Bin 71181 -> 0 bytes img/nexres.pdf | Bin 35993 -> 0 bytes img/nexres.png | Bin 72738 -> 0 bytes img/resdb-v2.png | Bin 41784 -> 0 bytes img/resdb.png | Bin 36015 -> 0 bytes influxdb-cxx-0.5.1/.codecov.yml | 21 + influxdb-cxx-0.5.1/.gitignore | 2 + influxdb-cxx-0.5.1/.travis.yml | 42 + influxdb-cxx-0.5.1/CMakeCache.txt | 482 +++ .../CMakeFiles/3.16.3/CMakeCXXCompiler.cmake | 88 + .../3.16.3/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 16560 bytes .../CMakeFiles/3.16.3/CMakeSystem.cmake | 15 + .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 660 ++++ .../CMakeFiles/3.16.3/CompilerIdCXX/a.out | Bin 0 -> 16720 bytes .../CMakeDirectoryInformation.cmake | 16 + .../InfluxDBTargets-relwithdebinfo.cmake | 19 + .../lib/cmake/InfluxDB/InfluxDBTargets.cmake | 95 + .../CMakeFiles/InfluxDB.dir/CXX.includecache | 146 + .../CMakeFiles/InfluxDB.dir/DependInfo.cmake | 30 + .../CMakeFiles/InfluxDB.dir/build.make | 144 + .../CMakeFiles/InfluxDB.dir/cmake_clean.cmake | 13 + .../CMakeFiles/InfluxDB.dir/depend.internal | 28 + .../CMakeFiles/InfluxDB.dir/depend.make | 28 + .../CMakeFiles/InfluxDB.dir/flags.make | 10 + .../CMakeFiles/InfluxDB.dir/link.txt | 1 + .../CMakeFiles/InfluxDB.dir/progress.make | 6 + .../CMakeFiles/InfluxDB.dir/src/HTTP.cxx.o | Bin 0 -> 644968 bytes .../InfluxDB.dir/src/InfluxDB.cxx.o | Bin 0 -> 1112344 bytes .../InfluxDB.dir/src/InfluxDBFactory.cxx.o | Bin 0 -> 1800312 bytes .../CMakeFiles/InfluxDB.dir/src/Point.cxx.o | Bin 0 -> 775312 bytes influxdb-cxx-0.5.1/CMakeFiles/Makefile.cmake | 56 + influxdb-cxx-0.5.1/CMakeFiles/Makefile2 | 106 + .../CMakeFiles/TargetDirectories.txt | 7 + .../CMakeFiles/cmake.check_cache | 1 + influxdb-cxx-0.5.1/CMakeFiles/progress.marks | 1 + influxdb-cxx-0.5.1/CMakeLists.txt | 202 ++ influxdb-cxx-0.5.1/LICENSE | 21 + influxdb-cxx-0.5.1/Makefile | 318 ++ influxdb-cxx-0.5.1/README.md | 88 + influxdb-cxx-0.5.1/cmake/FindCURL.cmake | 67 + influxdb-cxx-0.5.1/cmake/InfluxDBConfig.cmake | 39 + .../cmake/InfluxDBConfig.cmake.in | 15 + .../cmake/InfluxDBConfigVersion.cmake | 37 + influxdb-cxx-0.5.1/cmake_install.cmake | 98 + influxdb-cxx-0.5.1/include/InfluxDB.h | 76 + influxdb-cxx-0.5.1/include/InfluxDBFactory.h | 40 + influxdb-cxx-0.5.1/include/Point.h | 71 + influxdb-cxx-0.5.1/include/Transport.h | 33 + influxdb-cxx-0.5.1/lib/libInfluxDB.so | Bin 0 -> 1809944 bytes influxdb-cxx-0.5.1/src/HTTP.cxx | 126 + influxdb-cxx-0.5.1/src/HTTP.h | 64 + influxdb-cxx-0.5.1/src/InfluxDB.cxx | 128 + influxdb-cxx-0.5.1/src/InfluxDBException.h | 24 + influxdb-cxx-0.5.1/src/InfluxDBFactory.cxx | 78 + influxdb-cxx-0.5.1/src/Point.cxx | 89 + influxdb-cxx-0.5.1/src/UDP.cxx | 33 + influxdb-cxx-0.5.1/src/UDP.h | 47 + influxdb-cxx-0.5.1/src/UnixSocket.cxx | 32 + influxdb-cxx-0.5.1/src/UnixSocket.h | 45 + influxdb-cxx-0.5.1/src/UriParser.h | 101 + influxdb-cxx-0.5.1/test/benchmark.cxx | 38 + influxdb-cxx-0.5.1/test/testFactory.cxx | 28 + influxdb-cxx-0.5.1/test/testHttp.cxx | 40 + influxdb-cxx-0.5.1/test/testPoint.cxx | 66 + influxdb-cxx-0.5.1/test/testQuery.cxx | 57 + influxdb-cxx-0.5.1/test/testUdp.cxx | 34 + interface/common/BUILD | 74 - interface/common/mock_resdb_txn_accessor.h | 37 - interface/common/resdb_state_accessor.cpp | 59 - interface/common/resdb_state_accessor.h | 47 - .../common/resdb_state_accessor_test.cpp | 106 - interface/common/resdb_txn_accessor.cpp | 191 -- interface/common/resdb_txn_accessor.h | 54 - interface/common/resdb_txn_accessor_test.cpp | 162 - interface/contract/BUILD | 32 - interface/contract/contract_client.cpp | 121 - interface/contract/contract_client.h | 47 - interface/kv/BUILD | 29 - interface/kv/kv_client.cpp | 148 - interface/kv/kv_client.h | 66 - interface/rdbc/BUILD | 77 - interface/rdbc/mock_net_channel.h | 42 - interface/rdbc/mock_resdb_txn_accessor.h | 37 - interface/rdbc/net_channel.cpp | 231 -- interface/rdbc/net_channel.h | 109 - interface/rdbc/net_channel_test.cpp | 214 -- interface/rdbc/transaction_constructor.cpp | 89 - interface/rdbc/transaction_constructor.h | 51 - .../rdbc/transaction_constructor_test.cpp | 160 - interface/utxo/BUILD | 30 - interface/utxo/utxo_client.cpp | 98 - interface/utxo/utxo_client.h | 40 - kv_client/BUILD | 11 + kv_client/resdb_kv_client.cpp | 33 + kv_client/resdb_kv_client.h | 16 + kv_server/BUILD | 30 + kv_server/kv_server.cpp | 31 + kv_server/kv_server_executor.cpp | 43 + kv_server/kv_server_executor.h | 23 + kv_server/kv_server_executor_test.cpp | 62 + monitoring/README.md | 53 - monitoring/prometheus/prometheus.yml | 74 - oracle_script/.ready_result.py.swp | Bin 0 -> 12288 bytes oracle_script/cert/cert_1.cert | 6 + oracle_script/cert/cert_10.cert | 7 + oracle_script/cert/cert_100.cert | 6 + oracle_script/cert/cert_101.cert | 7 + oracle_script/cert/cert_102.cert | 7 + oracle_script/cert/cert_103.cert | 6 + oracle_script/cert/cert_104.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_105.cert | 6 + oracle_script/cert/cert_106.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_107.cert | 7 + oracle_script/cert/cert_108.cert | 6 + oracle_script/cert/cert_109.cert | 7 + oracle_script/cert/cert_11.cert | 6 + oracle_script/cert/cert_110.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_111.cert | 6 + oracle_script/cert/cert_112.cert | 6 + oracle_script/cert/cert_113.cert | 6 + oracle_script/cert/cert_114.cert | 6 + oracle_script/cert/cert_115.cert | 6 + oracle_script/cert/cert_116.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_117.cert | 6 + oracle_script/cert/cert_118.cert | 6 + oracle_script/cert/cert_119.cert | 6 + oracle_script/cert/cert_12.cert | 6 + oracle_script/cert/cert_120.cert | 7 + oracle_script/cert/cert_121.cert | Bin 0 -> 169 bytes oracle_script/cert/cert_122.cert | 6 + oracle_script/cert/cert_123.cert | 6 + oracle_script/cert/cert_13.cert | 6 + oracle_script/cert/cert_14.cert | 6 + oracle_script/cert/cert_15.cert | 6 + oracle_script/cert/cert_16.cert | 7 + oracle_script/cert/cert_17.cert | 6 + oracle_script/cert/cert_18.cert | 7 + oracle_script/cert/cert_19.cert | 6 + oracle_script/cert/cert_2.cert | 6 + oracle_script/cert/cert_20.cert | 6 + oracle_script/cert/cert_21.cert | 6 + oracle_script/cert/cert_22.cert | 6 + oracle_script/cert/cert_23.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_24.cert | 6 + oracle_script/cert/cert_25.cert | 6 + oracle_script/cert/cert_26.cert | 6 + oracle_script/cert/cert_27.cert | 6 + oracle_script/cert/cert_28.cert | 6 + oracle_script/cert/cert_29.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_3.cert | 6 + oracle_script/cert/cert_30.cert | 6 + oracle_script/cert/cert_31.cert | 7 + oracle_script/cert/cert_32.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_33.cert | 6 + oracle_script/cert/cert_34.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_35.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_36.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_37.cert | 8 + oracle_script/cert/cert_38.cert | 8 + oracle_script/cert/cert_39.cert | 6 + oracle_script/cert/cert_4.cert | 7 + oracle_script/cert/cert_40.cert | 6 + oracle_script/cert/cert_41.cert | 6 + oracle_script/cert/cert_42.cert | 6 + oracle_script/cert/cert_43.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_44.cert | 6 + oracle_script/cert/cert_45.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_46.cert | 6 + oracle_script/cert/cert_47.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_48.cert | 6 + oracle_script/cert/cert_49.cert | 6 + oracle_script/cert/cert_5.cert | 7 + oracle_script/cert/cert_50.cert | 7 + oracle_script/cert/cert_51.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_52.cert | 8 + oracle_script/cert/cert_53.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_54.cert | 6 + oracle_script/cert/cert_55.cert | 6 + oracle_script/cert/cert_56.cert | 6 + oracle_script/cert/cert_57.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_58.cert | 6 + oracle_script/cert/cert_59.cert | 6 + oracle_script/cert/cert_6.cert | 6 + oracle_script/cert/cert_60.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_61.cert | 6 + oracle_script/cert/cert_62.cert | 6 + oracle_script/cert/cert_63.cert | 6 + oracle_script/cert/cert_64.cert | 6 + oracle_script/cert/cert_65.cert | 6 + oracle_script/cert/cert_66.cert | 6 + oracle_script/cert/cert_67.cert | 6 + oracle_script/cert/cert_68.cert | 6 + oracle_script/cert/cert_69.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_7.cert | 6 + oracle_script/cert/cert_70.cert | 6 + oracle_script/cert/cert_71.cert | 6 + oracle_script/cert/cert_72.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_73.cert | 6 + oracle_script/cert/cert_74.cert | 6 + oracle_script/cert/cert_75.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_76.cert | 7 + oracle_script/cert/cert_77.cert | 7 + oracle_script/cert/cert_78.cert | 7 + oracle_script/cert/cert_79.cert | 8 + oracle_script/cert/cert_8.cert | 7 + oracle_script/cert/cert_80.cert | Bin 0 -> 172 bytes oracle_script/cert/cert_81.cert | 6 + oracle_script/cert/cert_82.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_83.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_84.cert | 6 + oracle_script/cert/cert_85.cert | 7 + oracle_script/cert/cert_86.cert | 6 + oracle_script/cert/cert_87.cert | 8 + oracle_script/cert/cert_88.cert | 8 + oracle_script/cert/cert_89.cert | 7 + oracle_script/cert/cert_9.cert | 6 + oracle_script/cert/cert_90.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_91.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_92.cert | 6 + oracle_script/cert/cert_93.cert | 6 + oracle_script/cert/cert_94.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_95.cert | 7 + oracle_script/cert/cert_96.cert | 7 + oracle_script/cert/cert_97.cert | 6 + oracle_script/cert/cert_98.cert | Bin 0 -> 171 bytes oracle_script/cert/cert_99.cert | 6 + oracle_script/cert/node_1.key.pri | 2 + oracle_script/cert/node_1.key.pub | 2 + oracle_script/cert/node_10.key.pri | 2 + oracle_script/cert/node_10.key.pub | 2 + oracle_script/cert/node_100.key.pri | 2 + oracle_script/cert/node_100.key.pub | 2 + oracle_script/cert/node_101.key.pri | 2 + oracle_script/cert/node_101.key.pub | 2 + oracle_script/cert/node_102.key.pri | 2 + oracle_script/cert/node_102.key.pub | 2 + oracle_script/cert/node_103.key.pri | 2 + oracle_script/cert/node_103.key.pub | 2 + oracle_script/cert/node_104.key.pri | 2 + oracle_script/cert/node_104.key.pub | 2 + oracle_script/cert/node_105.key.pri | 2 + oracle_script/cert/node_105.key.pub | 2 + oracle_script/cert/node_106.key.pri | 2 + oracle_script/cert/node_106.key.pub | 2 + oracle_script/cert/node_107.key.pri | 2 + oracle_script/cert/node_107.key.pub | 2 + oracle_script/cert/node_108.key.pri | 2 + oracle_script/cert/node_108.key.pub | 2 + oracle_script/cert/node_109.key.pri | 2 + oracle_script/cert/node_109.key.pub | 2 + oracle_script/cert/node_11.key.pri | 2 + oracle_script/cert/node_11.key.pub | 2 + oracle_script/cert/node_110.key.pri | 2 + oracle_script/cert/node_110.key.pub | 2 + oracle_script/cert/node_111.key.pri | 2 + oracle_script/cert/node_111.key.pub | 2 + oracle_script/cert/node_112.key.pri | 2 + oracle_script/cert/node_112.key.pub | 2 + oracle_script/cert/node_113.key.pri | 2 + oracle_script/cert/node_113.key.pub | 2 + oracle_script/cert/node_114.key.pri | 2 + oracle_script/cert/node_114.key.pub | 2 + oracle_script/cert/node_115.key.pri | 2 + oracle_script/cert/node_115.key.pub | 2 + oracle_script/cert/node_116.key.pri | 2 + oracle_script/cert/node_116.key.pub | 2 + oracle_script/cert/node_117.key.pri | 2 + oracle_script/cert/node_117.key.pub | 2 + oracle_script/cert/node_118.key.pri | 2 + oracle_script/cert/node_118.key.pub | 2 + oracle_script/cert/node_119.key.pri | 2 + oracle_script/cert/node_119.key.pub | 2 + oracle_script/cert/node_12.key.pri | 2 + oracle_script/cert/node_12.key.pub | 2 + oracle_script/cert/node_120.key.pri | 2 + oracle_script/cert/node_120.key.pub | 2 + oracle_script/cert/node_121.key.pri | 2 + oracle_script/cert/node_121.key.pub | 2 + oracle_script/cert/node_122.key.pri | 2 + oracle_script/cert/node_122.key.pub | 2 + oracle_script/cert/node_123.key.pri | 2 + oracle_script/cert/node_123.key.pub | 2 + oracle_script/cert/node_13.key.pri | 2 + oracle_script/cert/node_13.key.pub | 2 + oracle_script/cert/node_14.key.pri | 2 + oracle_script/cert/node_14.key.pub | 2 + oracle_script/cert/node_15.key.pri | 2 + oracle_script/cert/node_15.key.pub | 2 + oracle_script/cert/node_16.key.pri | 2 + oracle_script/cert/node_16.key.pub | 2 + oracle_script/cert/node_17.key.pri | 2 + oracle_script/cert/node_17.key.pub | 2 + oracle_script/cert/node_18.key.pri | 2 + oracle_script/cert/node_18.key.pub | 2 + oracle_script/cert/node_19.key.pri | 2 + oracle_script/cert/node_19.key.pub | 2 + oracle_script/cert/node_2.key.pri | 2 + oracle_script/cert/node_2.key.pub | 2 + oracle_script/cert/node_20.key.pri | 2 + oracle_script/cert/node_20.key.pub | 2 + oracle_script/cert/node_21.key.pri | 2 + oracle_script/cert/node_21.key.pub | 2 + oracle_script/cert/node_22.key.pri | 2 + oracle_script/cert/node_22.key.pub | 2 + oracle_script/cert/node_23.key.pri | 2 + oracle_script/cert/node_23.key.pub | 2 + oracle_script/cert/node_24.key.pri | 2 + oracle_script/cert/node_24.key.pub | 2 + oracle_script/cert/node_25.key.pri | 2 + oracle_script/cert/node_25.key.pub | 2 + oracle_script/cert/node_26.key.pri | 2 + oracle_script/cert/node_26.key.pub | 2 + oracle_script/cert/node_27.key.pri | 2 + oracle_script/cert/node_27.key.pub | 2 + oracle_script/cert/node_28.key.pri | 2 + oracle_script/cert/node_28.key.pub | 2 + oracle_script/cert/node_29.key.pri | 2 + oracle_script/cert/node_29.key.pub | 2 + oracle_script/cert/node_3.key.pri | 2 + oracle_script/cert/node_3.key.pub | 2 + oracle_script/cert/node_30.key.pri | 2 + oracle_script/cert/node_30.key.pub | 2 + oracle_script/cert/node_31.key.pri | 2 + oracle_script/cert/node_31.key.pub | 2 + oracle_script/cert/node_32.key.pri | 2 + oracle_script/cert/node_32.key.pub | 2 + oracle_script/cert/node_33.key.pri | 2 + oracle_script/cert/node_33.key.pub | 2 + oracle_script/cert/node_34.key.pri | 2 + oracle_script/cert/node_34.key.pub | 2 + oracle_script/cert/node_35.key.pri | 2 + oracle_script/cert/node_35.key.pub | 2 + oracle_script/cert/node_36.key.pri | 2 + oracle_script/cert/node_36.key.pub | 2 + oracle_script/cert/node_37.key.pri | 2 + oracle_script/cert/node_37.key.pub | 2 + oracle_script/cert/node_38.key.pri | 2 + oracle_script/cert/node_38.key.pub | 2 + oracle_script/cert/node_39.key.pri | 2 + oracle_script/cert/node_39.key.pub | 2 + oracle_script/cert/node_4.key.pri | 2 + oracle_script/cert/node_4.key.pub | 2 + oracle_script/cert/node_40.key.pri | 2 + oracle_script/cert/node_40.key.pub | 2 + oracle_script/cert/node_41.key.pri | 2 + oracle_script/cert/node_41.key.pub | 2 + oracle_script/cert/node_42.key.pri | 2 + oracle_script/cert/node_42.key.pub | 2 + oracle_script/cert/node_43.key.pri | 2 + oracle_script/cert/node_43.key.pub | 2 + oracle_script/cert/node_44.key.pri | 2 + oracle_script/cert/node_44.key.pub | 2 + oracle_script/cert/node_45.key.pri | 2 + oracle_script/cert/node_45.key.pub | 2 + oracle_script/cert/node_46.key.pri | 2 + oracle_script/cert/node_46.key.pub | 2 + oracle_script/cert/node_47.key.pri | 2 + oracle_script/cert/node_47.key.pub | 2 + oracle_script/cert/node_48.key.pri | 2 + oracle_script/cert/node_48.key.pub | 2 + oracle_script/cert/node_49.key.pri | 2 + oracle_script/cert/node_49.key.pub | 2 + oracle_script/cert/node_5.key.pri | 2 + oracle_script/cert/node_5.key.pub | 2 + oracle_script/cert/node_50.key.pri | 2 + oracle_script/cert/node_50.key.pub | 2 + oracle_script/cert/node_51.key.pri | 2 + oracle_script/cert/node_51.key.pub | 2 + oracle_script/cert/node_52.key.pri | 2 + oracle_script/cert/node_52.key.pub | 2 + oracle_script/cert/node_53.key.pri | 2 + oracle_script/cert/node_53.key.pub | 2 + oracle_script/cert/node_54.key.pri | 2 + oracle_script/cert/node_54.key.pub | 2 + oracle_script/cert/node_55.key.pri | 2 + oracle_script/cert/node_55.key.pub | 2 + oracle_script/cert/node_56.key.pri | 2 + oracle_script/cert/node_56.key.pub | 2 + oracle_script/cert/node_57.key.pri | 2 + oracle_script/cert/node_57.key.pub | 2 + oracle_script/cert/node_58.key.pri | 2 + oracle_script/cert/node_58.key.pub | 2 + oracle_script/cert/node_59.key.pri | 2 + oracle_script/cert/node_59.key.pub | 2 + oracle_script/cert/node_6.key.pri | 2 + oracle_script/cert/node_6.key.pub | 2 + oracle_script/cert/node_60.key.pri | 2 + oracle_script/cert/node_60.key.pub | 2 + oracle_script/cert/node_61.key.pri | 2 + oracle_script/cert/node_61.key.pub | 2 + oracle_script/cert/node_62.key.pri | 2 + oracle_script/cert/node_62.key.pub | 2 + oracle_script/cert/node_63.key.pri | 2 + oracle_script/cert/node_63.key.pub | 2 + oracle_script/cert/node_64.key.pri | 2 + oracle_script/cert/node_64.key.pub | 2 + oracle_script/cert/node_65.key.pri | 2 + oracle_script/cert/node_65.key.pub | 2 + oracle_script/cert/node_66.key.pri | 2 + oracle_script/cert/node_66.key.pub | 2 + oracle_script/cert/node_67.key.pri | 2 + oracle_script/cert/node_67.key.pub | 2 + oracle_script/cert/node_68.key.pri | 2 + oracle_script/cert/node_68.key.pub | 2 + oracle_script/cert/node_69.key.pri | 2 + oracle_script/cert/node_69.key.pub | 2 + oracle_script/cert/node_7.key.pri | 2 + oracle_script/cert/node_7.key.pub | 2 + oracle_script/cert/node_70.key.pri | 2 + oracle_script/cert/node_70.key.pub | 2 + oracle_script/cert/node_71.key.pri | 2 + oracle_script/cert/node_71.key.pub | 2 + oracle_script/cert/node_72.key.pri | 2 + oracle_script/cert/node_72.key.pub | 2 + oracle_script/cert/node_73.key.pri | 2 + oracle_script/cert/node_73.key.pub | 2 + oracle_script/cert/node_74.key.pri | 2 + oracle_script/cert/node_74.key.pub | 2 + oracle_script/cert/node_75.key.pri | 2 + oracle_script/cert/node_75.key.pub | 2 + oracle_script/cert/node_76.key.pri | 2 + oracle_script/cert/node_76.key.pub | 2 + oracle_script/cert/node_77.key.pri | 2 + oracle_script/cert/node_77.key.pub | 2 + oracle_script/cert/node_78.key.pri | 2 + oracle_script/cert/node_78.key.pub | 2 + oracle_script/cert/node_79.key.pri | 2 + oracle_script/cert/node_79.key.pub | 2 + oracle_script/cert/node_8.key.pri | 2 + oracle_script/cert/node_8.key.pub | 2 + oracle_script/cert/node_80.key.pri | 2 + oracle_script/cert/node_80.key.pub | 2 + oracle_script/cert/node_81.key.pri | 2 + oracle_script/cert/node_81.key.pub | 2 + oracle_script/cert/node_82.key.pri | 2 + oracle_script/cert/node_82.key.pub | 2 + oracle_script/cert/node_83.key.pri | 2 + oracle_script/cert/node_83.key.pub | 2 + oracle_script/cert/node_84.key.pri | 2 + oracle_script/cert/node_84.key.pub | 2 + oracle_script/cert/node_85.key.pri | 2 + oracle_script/cert/node_85.key.pub | 2 + oracle_script/cert/node_86.key.pri | 2 + oracle_script/cert/node_86.key.pub | 2 + oracle_script/cert/node_87.key.pri | 2 + oracle_script/cert/node_87.key.pub | 2 + oracle_script/cert/node_88.key.pri | 2 + oracle_script/cert/node_88.key.pub | 2 + oracle_script/cert/node_89.key.pri | 2 + oracle_script/cert/node_89.key.pub | 2 + oracle_script/cert/node_9.key.pri | 2 + oracle_script/cert/node_9.key.pub | 2 + oracle_script/cert/node_90.key.pri | 2 + oracle_script/cert/node_90.key.pub | 2 + oracle_script/cert/node_91.key.pri | 2 + oracle_script/cert/node_91.key.pub | 2 + oracle_script/cert/node_92.key.pri | 2 + oracle_script/cert/node_92.key.pub | 2 + oracle_script/cert/node_93.key.pri | 2 + oracle_script/cert/node_93.key.pub | 2 + oracle_script/cert/node_94.key.pri | 2 + oracle_script/cert/node_94.key.pub | 2 + oracle_script/cert/node_95.key.pri | 2 + oracle_script/cert/node_95.key.pub | 2 + oracle_script/cert/node_96.key.pri | 2 + oracle_script/cert/node_96.key.pub | 2 + oracle_script/cert/node_97.key.pri | 2 + oracle_script/cert/node_97.key.pub | 2 + oracle_script/cert/node_98.key.pri | 2 + oracle_script/cert/node_98.key.pub | 2 + oracle_script/cert/node_99.key.pri | 2 + oracle_script/cert/node_99.key.pub | 2 + oracle_script/cli_list.txt | 1 + oracle_script/comm/BUILD | 14 + oracle_script/comm/cli_list.txt | 1 + oracle_script/comm/comm_config.py | 1 + oracle_script/comm/iplist.txt | 33 + oracle_script/comm/svr_list.txt | 33 + oracle_script/comm/utils.py | 72 + oracle_script/generate_config.sh | 40 + oracle_script/generate_key.sh | 6 + oracle_script/iplist.txt | 120 + oracle_script/pbft/BUILD | 10 + oracle_script/pbft/benchmark.conf | 14 + oracle_script/pbft/benchmark_result.py | 26 + oracle_script/pbft/cli_list.txt | 2 + oracle_script/pbft/iplist.txt | 65 + oracle_script/pbft/poc.conf | 13 + oracle_script/pbft/pow_server.config | 4 + oracle_script/pbft/ready_result.py | 19 + oracle_script/pbft/rep_100/benchmark.conf | 16 + oracle_script/pbft/rep_100/cert/cert_1.cert | 6 + oracle_script/pbft/rep_100/cert/cert_10.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_100.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_101.cert | 7 + oracle_script/pbft/rep_100/cert/cert_102.cert | 8 + oracle_script/pbft/rep_100/cert/cert_103.cert | 8 + oracle_script/pbft/rep_100/cert/cert_104.cert | 7 + oracle_script/pbft/rep_100/cert/cert_105.cert | 7 + oracle_script/pbft/rep_100/cert/cert_106.cert | 7 + oracle_script/pbft/rep_100/cert/cert_107.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_108.cert | 8 + oracle_script/pbft/rep_100/cert/cert_109.cert | 7 + oracle_script/pbft/rep_100/cert/cert_11.cert | 7 + oracle_script/pbft/rep_100/cert/cert_110.cert | 6 + oracle_script/pbft/rep_100/cert/cert_111.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_112.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_113.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_114.cert | 7 + oracle_script/pbft/rep_100/cert/cert_115.cert | 8 + oracle_script/pbft/rep_100/cert/cert_116.cert | 8 + oracle_script/pbft/rep_100/cert/cert_117.cert | 7 + oracle_script/pbft/rep_100/cert/cert_118.cert | 7 + oracle_script/pbft/rep_100/cert/cert_119.cert | 6 + oracle_script/pbft/rep_100/cert/cert_12.cert | 6 + oracle_script/pbft/rep_100/cert/cert_120.cert | 6 + oracle_script/pbft/rep_100/cert/cert_121.cert | 7 + oracle_script/pbft/rep_100/cert/cert_122.cert | 7 + oracle_script/pbft/rep_100/cert/cert_123.cert | 7 + oracle_script/pbft/rep_100/cert/cert_13.cert | 6 + oracle_script/pbft/rep_100/cert/cert_14.cert | 6 + oracle_script/pbft/rep_100/cert/cert_15.cert | 7 + oracle_script/pbft/rep_100/cert/cert_16.cert | 7 + oracle_script/pbft/rep_100/cert/cert_17.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_18.cert | 7 + oracle_script/pbft/rep_100/cert/cert_19.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_20.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_21.cert | 6 + oracle_script/pbft/rep_100/cert/cert_22.cert | 7 + oracle_script/pbft/rep_100/cert/cert_23.cert | 9 + oracle_script/pbft/rep_100/cert/cert_24.cert | 6 + oracle_script/pbft/rep_100/cert/cert_25.cert | 7 + oracle_script/pbft/rep_100/cert/cert_26.cert | 7 + oracle_script/pbft/rep_100/cert/cert_27.cert | 7 + oracle_script/pbft/rep_100/cert/cert_28.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_29.cert | 7 + oracle_script/pbft/rep_100/cert/cert_3.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_30.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_31.cert | 7 + oracle_script/pbft/rep_100/cert/cert_32.cert | 6 + oracle_script/pbft/rep_100/cert/cert_33.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_34.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_35.cert | 7 + oracle_script/pbft/rep_100/cert/cert_36.cert | 7 + oracle_script/pbft/rep_100/cert/cert_37.cert | 8 + oracle_script/pbft/rep_100/cert/cert_38.cert | 7 + oracle_script/pbft/rep_100/cert/cert_39.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_4.cert | 7 + oracle_script/pbft/rep_100/cert/cert_40.cert | 6 + oracle_script/pbft/rep_100/cert/cert_41.cert | 7 + oracle_script/pbft/rep_100/cert/cert_42.cert | 6 + oracle_script/pbft/rep_100/cert/cert_43.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_44.cert | 8 + oracle_script/pbft/rep_100/cert/cert_45.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_46.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_47.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_48.cert | 7 + oracle_script/pbft/rep_100/cert/cert_49.cert | 7 + oracle_script/pbft/rep_100/cert/cert_5.cert | 7 + oracle_script/pbft/rep_100/cert/cert_50.cert | 7 + oracle_script/pbft/rep_100/cert/cert_51.cert | 7 + oracle_script/pbft/rep_100/cert/cert_52.cert | 6 + oracle_script/pbft/rep_100/cert/cert_53.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_54.cert | 7 + oracle_script/pbft/rep_100/cert/cert_55.cert | 8 + oracle_script/pbft/rep_100/cert/cert_56.cert | 7 + oracle_script/pbft/rep_100/cert/cert_57.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_58.cert | 7 + oracle_script/pbft/rep_100/cert/cert_59.cert | 8 + oracle_script/pbft/rep_100/cert/cert_6.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_60.cert | 6 + oracle_script/pbft/rep_100/cert/cert_61.cert | 6 + oracle_script/pbft/rep_100/cert/cert_62.cert | 6 + oracle_script/pbft/rep_100/cert/cert_63.cert | 8 + oracle_script/pbft/rep_100/cert/cert_64.cert | 6 + oracle_script/pbft/rep_100/cert/cert_65.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_66.cert | 6 + oracle_script/pbft/rep_100/cert/cert_67.cert | 6 + oracle_script/pbft/rep_100/cert/cert_68.cert | 6 + oracle_script/pbft/rep_100/cert/cert_69.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_7.cert | 7 + oracle_script/pbft/rep_100/cert/cert_70.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_71.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_72.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_73.cert | 7 + oracle_script/pbft/rep_100/cert/cert_74.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_75.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_76.cert | 7 + oracle_script/pbft/rep_100/cert/cert_77.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_78.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_79.cert | 7 + oracle_script/pbft/rep_100/cert/cert_8.cert | 6 + oracle_script/pbft/rep_100/cert/cert_80.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_81.cert | 6 + oracle_script/pbft/rep_100/cert/cert_82.cert | 6 + oracle_script/pbft/rep_100/cert/cert_83.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_84.cert | 7 + oracle_script/pbft/rep_100/cert/cert_85.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_86.cert | 7 + oracle_script/pbft/rep_100/cert/cert_87.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_88.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_89.cert | 6 + oracle_script/pbft/rep_100/cert/cert_9.cert | 8 + oracle_script/pbft/rep_100/cert/cert_90.cert | 7 + oracle_script/pbft/rep_100/cert/cert_91.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_92.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_100/cert/cert_93.cert | 8 + oracle_script/pbft/rep_100/cert/cert_94.cert | 6 + oracle_script/pbft/rep_100/cert/cert_95.cert | 7 + oracle_script/pbft/rep_100/cert/cert_96.cert | 7 + oracle_script/pbft/rep_100/cert/cert_97.cert | 7 + oracle_script/pbft/rep_100/cert/cert_98.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_100/cert/cert_99.cert | 7 + .../pbft/rep_100/cert/node_1.key.pri | 2 + .../pbft/rep_100/cert/node_1.key.pub | 2 + .../pbft/rep_100/cert/node_10.key.pri | 2 + .../pbft/rep_100/cert/node_10.key.pub | 2 + .../pbft/rep_100/cert/node_100.key.pri | 2 + .../pbft/rep_100/cert/node_100.key.pub | 2 + .../pbft/rep_100/cert/node_101.key.pri | 2 + .../pbft/rep_100/cert/node_101.key.pub | 2 + .../pbft/rep_100/cert/node_102.key.pri | 2 + .../pbft/rep_100/cert/node_102.key.pub | 2 + .../pbft/rep_100/cert/node_103.key.pri | 2 + .../pbft/rep_100/cert/node_103.key.pub | 2 + .../pbft/rep_100/cert/node_104.key.pri | 2 + .../pbft/rep_100/cert/node_104.key.pub | 2 + .../pbft/rep_100/cert/node_105.key.pri | 2 + .../pbft/rep_100/cert/node_105.key.pub | 2 + .../pbft/rep_100/cert/node_106.key.pri | 2 + .../pbft/rep_100/cert/node_106.key.pub | 2 + .../pbft/rep_100/cert/node_107.key.pri | 2 + .../pbft/rep_100/cert/node_107.key.pub | 2 + .../pbft/rep_100/cert/node_108.key.pri | 2 + .../pbft/rep_100/cert/node_108.key.pub | 2 + .../pbft/rep_100/cert/node_109.key.pri | 2 + .../pbft/rep_100/cert/node_109.key.pub | 2 + .../pbft/rep_100/cert/node_11.key.pri | 2 + .../pbft/rep_100/cert/node_11.key.pub | 2 + .../pbft/rep_100/cert/node_110.key.pri | 2 + .../pbft/rep_100/cert/node_110.key.pub | 2 + .../pbft/rep_100/cert/node_111.key.pri | 2 + .../pbft/rep_100/cert/node_111.key.pub | 2 + .../pbft/rep_100/cert/node_112.key.pri | 2 + .../pbft/rep_100/cert/node_112.key.pub | 2 + .../pbft/rep_100/cert/node_113.key.pri | 2 + .../pbft/rep_100/cert/node_113.key.pub | 2 + .../pbft/rep_100/cert/node_114.key.pri | 2 + .../pbft/rep_100/cert/node_114.key.pub | 2 + .../pbft/rep_100/cert/node_115.key.pri | 2 + .../pbft/rep_100/cert/node_115.key.pub | 2 + .../pbft/rep_100/cert/node_116.key.pri | 2 + .../pbft/rep_100/cert/node_116.key.pub | 2 + .../pbft/rep_100/cert/node_117.key.pri | 2 + .../pbft/rep_100/cert/node_117.key.pub | 2 + .../pbft/rep_100/cert/node_118.key.pri | 2 + .../pbft/rep_100/cert/node_118.key.pub | 2 + .../pbft/rep_100/cert/node_119.key.pri | 2 + .../pbft/rep_100/cert/node_119.key.pub | 2 + .../pbft/rep_100/cert/node_12.key.pri | 2 + .../pbft/rep_100/cert/node_12.key.pub | 2 + .../pbft/rep_100/cert/node_120.key.pri | 2 + .../pbft/rep_100/cert/node_120.key.pub | 2 + .../pbft/rep_100/cert/node_121.key.pri | 2 + .../pbft/rep_100/cert/node_121.key.pub | 2 + .../pbft/rep_100/cert/node_122.key.pri | 2 + .../pbft/rep_100/cert/node_122.key.pub | 2 + .../pbft/rep_100/cert/node_123.key.pri | 2 + .../pbft/rep_100/cert/node_123.key.pub | 2 + .../pbft/rep_100/cert/node_13.key.pri | 2 + .../pbft/rep_100/cert/node_13.key.pub | 2 + .../pbft/rep_100/cert/node_14.key.pri | 2 + .../pbft/rep_100/cert/node_14.key.pub | 2 + .../pbft/rep_100/cert/node_15.key.pri | 2 + .../pbft/rep_100/cert/node_15.key.pub | 2 + .../pbft/rep_100/cert/node_16.key.pri | 2 + .../pbft/rep_100/cert/node_16.key.pub | 2 + .../pbft/rep_100/cert/node_17.key.pri | 2 + .../pbft/rep_100/cert/node_17.key.pub | 2 + .../pbft/rep_100/cert/node_18.key.pri | 2 + .../pbft/rep_100/cert/node_18.key.pub | 2 + .../pbft/rep_100/cert/node_19.key.pri | 2 + .../pbft/rep_100/cert/node_19.key.pub | 2 + .../pbft/rep_100/cert/node_2.key.pri | 2 + .../pbft/rep_100/cert/node_2.key.pub | 2 + .../pbft/rep_100/cert/node_20.key.pri | 2 + .../pbft/rep_100/cert/node_20.key.pub | 2 + .../pbft/rep_100/cert/node_21.key.pri | 2 + .../pbft/rep_100/cert/node_21.key.pub | 2 + .../pbft/rep_100/cert/node_22.key.pri | 2 + .../pbft/rep_100/cert/node_22.key.pub | 2 + .../pbft/rep_100/cert/node_23.key.pri | 2 + .../pbft/rep_100/cert/node_23.key.pub | 2 + .../pbft/rep_100/cert/node_24.key.pri | 2 + .../pbft/rep_100/cert/node_24.key.pub | 2 + .../pbft/rep_100/cert/node_25.key.pri | 2 + .../pbft/rep_100/cert/node_25.key.pub | 2 + .../pbft/rep_100/cert/node_26.key.pri | 2 + .../pbft/rep_100/cert/node_26.key.pub | 2 + .../pbft/rep_100/cert/node_27.key.pri | 2 + .../pbft/rep_100/cert/node_27.key.pub | 2 + .../pbft/rep_100/cert/node_28.key.pri | 2 + .../pbft/rep_100/cert/node_28.key.pub | 2 + .../pbft/rep_100/cert/node_29.key.pri | 2 + .../pbft/rep_100/cert/node_29.key.pub | 2 + .../pbft/rep_100/cert/node_3.key.pri | 2 + .../pbft/rep_100/cert/node_3.key.pub | 2 + .../pbft/rep_100/cert/node_30.key.pri | 2 + .../pbft/rep_100/cert/node_30.key.pub | 2 + .../pbft/rep_100/cert/node_31.key.pri | 2 + .../pbft/rep_100/cert/node_31.key.pub | 2 + .../pbft/rep_100/cert/node_32.key.pri | 2 + .../pbft/rep_100/cert/node_32.key.pub | 2 + .../pbft/rep_100/cert/node_33.key.pri | 2 + .../pbft/rep_100/cert/node_33.key.pub | 2 + .../pbft/rep_100/cert/node_34.key.pri | 2 + .../pbft/rep_100/cert/node_34.key.pub | 2 + .../pbft/rep_100/cert/node_35.key.pri | 2 + .../pbft/rep_100/cert/node_35.key.pub | 2 + .../pbft/rep_100/cert/node_36.key.pri | 2 + .../pbft/rep_100/cert/node_36.key.pub | 2 + .../pbft/rep_100/cert/node_37.key.pri | 2 + .../pbft/rep_100/cert/node_37.key.pub | 2 + .../pbft/rep_100/cert/node_38.key.pri | 2 + .../pbft/rep_100/cert/node_38.key.pub | 2 + .../pbft/rep_100/cert/node_39.key.pri | 2 + .../pbft/rep_100/cert/node_39.key.pub | 2 + .../pbft/rep_100/cert/node_4.key.pri | 2 + .../pbft/rep_100/cert/node_4.key.pub | 2 + .../pbft/rep_100/cert/node_40.key.pri | 2 + .../pbft/rep_100/cert/node_40.key.pub | 2 + .../pbft/rep_100/cert/node_41.key.pri | 2 + .../pbft/rep_100/cert/node_41.key.pub | 2 + .../pbft/rep_100/cert/node_42.key.pri | 2 + .../pbft/rep_100/cert/node_42.key.pub | 2 + .../pbft/rep_100/cert/node_43.key.pri | 2 + .../pbft/rep_100/cert/node_43.key.pub | 2 + .../pbft/rep_100/cert/node_44.key.pri | 2 + .../pbft/rep_100/cert/node_44.key.pub | 2 + .../pbft/rep_100/cert/node_45.key.pri | 2 + .../pbft/rep_100/cert/node_45.key.pub | 2 + .../pbft/rep_100/cert/node_46.key.pri | 2 + .../pbft/rep_100/cert/node_46.key.pub | 2 + .../pbft/rep_100/cert/node_47.key.pri | 2 + .../pbft/rep_100/cert/node_47.key.pub | 2 + .../pbft/rep_100/cert/node_48.key.pri | 2 + .../pbft/rep_100/cert/node_48.key.pub | 2 + .../pbft/rep_100/cert/node_49.key.pri | 2 + .../pbft/rep_100/cert/node_49.key.pub | 2 + .../pbft/rep_100/cert/node_5.key.pri | 2 + .../pbft/rep_100/cert/node_5.key.pub | 2 + .../pbft/rep_100/cert/node_50.key.pri | 2 + .../pbft/rep_100/cert/node_50.key.pub | 2 + .../pbft/rep_100/cert/node_51.key.pri | 2 + .../pbft/rep_100/cert/node_51.key.pub | 2 + .../pbft/rep_100/cert/node_52.key.pri | 2 + .../pbft/rep_100/cert/node_52.key.pub | 2 + .../pbft/rep_100/cert/node_53.key.pri | 2 + .../pbft/rep_100/cert/node_53.key.pub | 2 + .../pbft/rep_100/cert/node_54.key.pri | 2 + .../pbft/rep_100/cert/node_54.key.pub | 2 + .../pbft/rep_100/cert/node_55.key.pri | 2 + .../pbft/rep_100/cert/node_55.key.pub | 2 + .../pbft/rep_100/cert/node_56.key.pri | 2 + .../pbft/rep_100/cert/node_56.key.pub | 2 + .../pbft/rep_100/cert/node_57.key.pri | 2 + .../pbft/rep_100/cert/node_57.key.pub | 2 + .../pbft/rep_100/cert/node_58.key.pri | 2 + .../pbft/rep_100/cert/node_58.key.pub | 2 + .../pbft/rep_100/cert/node_59.key.pri | 2 + .../pbft/rep_100/cert/node_59.key.pub | 2 + .../pbft/rep_100/cert/node_6.key.pri | 2 + .../pbft/rep_100/cert/node_6.key.pub | 2 + .../pbft/rep_100/cert/node_60.key.pri | 2 + .../pbft/rep_100/cert/node_60.key.pub | 2 + .../pbft/rep_100/cert/node_61.key.pri | 2 + .../pbft/rep_100/cert/node_61.key.pub | 2 + .../pbft/rep_100/cert/node_62.key.pri | 2 + .../pbft/rep_100/cert/node_62.key.pub | 2 + .../pbft/rep_100/cert/node_63.key.pri | 2 + .../pbft/rep_100/cert/node_63.key.pub | 2 + .../pbft/rep_100/cert/node_64.key.pri | 2 + .../pbft/rep_100/cert/node_64.key.pub | 2 + .../pbft/rep_100/cert/node_65.key.pri | 2 + .../pbft/rep_100/cert/node_65.key.pub | 2 + .../pbft/rep_100/cert/node_66.key.pri | 2 + .../pbft/rep_100/cert/node_66.key.pub | 2 + .../pbft/rep_100/cert/node_67.key.pri | 2 + .../pbft/rep_100/cert/node_67.key.pub | 2 + .../pbft/rep_100/cert/node_68.key.pri | 2 + .../pbft/rep_100/cert/node_68.key.pub | 2 + .../pbft/rep_100/cert/node_69.key.pri | 2 + .../pbft/rep_100/cert/node_69.key.pub | 2 + .../pbft/rep_100/cert/node_7.key.pri | 2 + .../pbft/rep_100/cert/node_7.key.pub | 2 + .../pbft/rep_100/cert/node_70.key.pri | 2 + .../pbft/rep_100/cert/node_70.key.pub | 2 + .../pbft/rep_100/cert/node_71.key.pri | 2 + .../pbft/rep_100/cert/node_71.key.pub | 2 + .../pbft/rep_100/cert/node_72.key.pri | 2 + .../pbft/rep_100/cert/node_72.key.pub | 2 + .../pbft/rep_100/cert/node_73.key.pri | 2 + .../pbft/rep_100/cert/node_73.key.pub | 2 + .../pbft/rep_100/cert/node_74.key.pri | 2 + .../pbft/rep_100/cert/node_74.key.pub | 2 + .../pbft/rep_100/cert/node_75.key.pri | 2 + .../pbft/rep_100/cert/node_75.key.pub | 2 + .../pbft/rep_100/cert/node_76.key.pri | 2 + .../pbft/rep_100/cert/node_76.key.pub | 2 + .../pbft/rep_100/cert/node_77.key.pri | 2 + .../pbft/rep_100/cert/node_77.key.pub | 2 + .../pbft/rep_100/cert/node_78.key.pri | 2 + .../pbft/rep_100/cert/node_78.key.pub | 2 + .../pbft/rep_100/cert/node_79.key.pri | 2 + .../pbft/rep_100/cert/node_79.key.pub | 2 + .../pbft/rep_100/cert/node_8.key.pri | 2 + .../pbft/rep_100/cert/node_8.key.pub | 2 + .../pbft/rep_100/cert/node_80.key.pri | 2 + .../pbft/rep_100/cert/node_80.key.pub | 2 + .../pbft/rep_100/cert/node_81.key.pri | 2 + .../pbft/rep_100/cert/node_81.key.pub | 2 + .../pbft/rep_100/cert/node_82.key.pri | 2 + .../pbft/rep_100/cert/node_82.key.pub | 2 + .../pbft/rep_100/cert/node_83.key.pri | 2 + .../pbft/rep_100/cert/node_83.key.pub | 2 + .../pbft/rep_100/cert/node_84.key.pri | 2 + .../pbft/rep_100/cert/node_84.key.pub | 2 + .../pbft/rep_100/cert/node_85.key.pri | 2 + .../pbft/rep_100/cert/node_85.key.pub | 2 + .../pbft/rep_100/cert/node_86.key.pri | 2 + .../pbft/rep_100/cert/node_86.key.pub | 2 + .../pbft/rep_100/cert/node_87.key.pri | 2 + .../pbft/rep_100/cert/node_87.key.pub | 2 + .../pbft/rep_100/cert/node_88.key.pri | 2 + .../pbft/rep_100/cert/node_88.key.pub | 2 + .../pbft/rep_100/cert/node_89.key.pri | 2 + .../pbft/rep_100/cert/node_89.key.pub | 2 + .../pbft/rep_100/cert/node_9.key.pri | 2 + .../pbft/rep_100/cert/node_9.key.pub | 2 + .../pbft/rep_100/cert/node_90.key.pri | 2 + .../pbft/rep_100/cert/node_90.key.pub | 2 + .../pbft/rep_100/cert/node_91.key.pri | 2 + .../pbft/rep_100/cert/node_91.key.pub | 2 + .../pbft/rep_100/cert/node_92.key.pri | 2 + .../pbft/rep_100/cert/node_92.key.pub | 2 + .../pbft/rep_100/cert/node_93.key.pri | 2 + .../pbft/rep_100/cert/node_93.key.pub | 2 + .../pbft/rep_100/cert/node_94.key.pri | 2 + .../pbft/rep_100/cert/node_94.key.pub | 2 + .../pbft/rep_100/cert/node_95.key.pri | 2 + .../pbft/rep_100/cert/node_95.key.pub | 2 + .../pbft/rep_100/cert/node_96.key.pri | 2 + .../pbft/rep_100/cert/node_96.key.pub | 2 + .../pbft/rep_100/cert/node_97.key.pri | 2 + .../pbft/rep_100/cert/node_97.key.pub | 2 + .../pbft/rep_100/cert/node_98.key.pri | 2 + .../pbft/rep_100/cert/node_98.key.pub | 2 + .../pbft/rep_100/cert/node_99.key.pri | 2 + .../pbft/rep_100/cert/node_99.key.pub | 2 + oracle_script/pbft/rep_100/cli_list.txt | 2 + oracle_script/pbft/rep_100/client.config | 1 + oracle_script/pbft/rep_100/iplist.txt | 101 + oracle_script/pbft/rep_100/poc.conf | 9 + oracle_script/pbft/rep_100/run_cli.sh | 4 + oracle_script/pbft/rep_100/run_svr.sh | 3 + oracle_script/pbft/rep_100/server.config | 100 + oracle_script/pbft/rep_100/svr_list.txt | 101 + oracle_script/pbft/rep_123/benchmark.conf | 16 + oracle_script/pbft/rep_123/cert/cert_1.cert | 6 + oracle_script/pbft/rep_123/cert/cert_10.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_100.cert | 7 + oracle_script/pbft/rep_123/cert/cert_101.cert | 6 + oracle_script/pbft/rep_123/cert/cert_102.cert | 8 + oracle_script/pbft/rep_123/cert/cert_103.cert | 8 + oracle_script/pbft/rep_123/cert/cert_104.cert | 7 + oracle_script/pbft/rep_123/cert/cert_105.cert | 7 + oracle_script/pbft/rep_123/cert/cert_106.cert | 7 + oracle_script/pbft/rep_123/cert/cert_107.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_108.cert | 8 + oracle_script/pbft/rep_123/cert/cert_109.cert | 7 + oracle_script/pbft/rep_123/cert/cert_11.cert | 7 + oracle_script/pbft/rep_123/cert/cert_110.cert | 6 + oracle_script/pbft/rep_123/cert/cert_111.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_112.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_113.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_114.cert | 7 + oracle_script/pbft/rep_123/cert/cert_115.cert | 8 + oracle_script/pbft/rep_123/cert/cert_116.cert | 8 + oracle_script/pbft/rep_123/cert/cert_117.cert | 7 + oracle_script/pbft/rep_123/cert/cert_118.cert | 7 + oracle_script/pbft/rep_123/cert/cert_119.cert | 6 + oracle_script/pbft/rep_123/cert/cert_12.cert | 6 + oracle_script/pbft/rep_123/cert/cert_120.cert | 6 + oracle_script/pbft/rep_123/cert/cert_121.cert | 7 + oracle_script/pbft/rep_123/cert/cert_122.cert | 7 + oracle_script/pbft/rep_123/cert/cert_123.cert | 7 + oracle_script/pbft/rep_123/cert/cert_13.cert | 6 + oracle_script/pbft/rep_123/cert/cert_14.cert | 6 + oracle_script/pbft/rep_123/cert/cert_15.cert | 7 + oracle_script/pbft/rep_123/cert/cert_16.cert | 7 + oracle_script/pbft/rep_123/cert/cert_17.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_18.cert | 7 + oracle_script/pbft/rep_123/cert/cert_19.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_20.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_21.cert | 6 + oracle_script/pbft/rep_123/cert/cert_22.cert | 7 + oracle_script/pbft/rep_123/cert/cert_23.cert | 9 + oracle_script/pbft/rep_123/cert/cert_24.cert | 6 + oracle_script/pbft/rep_123/cert/cert_25.cert | 7 + oracle_script/pbft/rep_123/cert/cert_26.cert | 7 + oracle_script/pbft/rep_123/cert/cert_27.cert | 7 + oracle_script/pbft/rep_123/cert/cert_28.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_29.cert | 7 + oracle_script/pbft/rep_123/cert/cert_3.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_30.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_31.cert | 7 + oracle_script/pbft/rep_123/cert/cert_32.cert | 6 + oracle_script/pbft/rep_123/cert/cert_33.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_34.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_35.cert | 7 + oracle_script/pbft/rep_123/cert/cert_36.cert | 7 + oracle_script/pbft/rep_123/cert/cert_37.cert | 8 + oracle_script/pbft/rep_123/cert/cert_38.cert | 7 + oracle_script/pbft/rep_123/cert/cert_39.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_4.cert | 7 + oracle_script/pbft/rep_123/cert/cert_40.cert | 6 + oracle_script/pbft/rep_123/cert/cert_41.cert | 7 + oracle_script/pbft/rep_123/cert/cert_42.cert | 6 + oracle_script/pbft/rep_123/cert/cert_43.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_44.cert | 8 + oracle_script/pbft/rep_123/cert/cert_45.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_46.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_47.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_48.cert | 7 + oracle_script/pbft/rep_123/cert/cert_49.cert | 7 + oracle_script/pbft/rep_123/cert/cert_5.cert | 7 + oracle_script/pbft/rep_123/cert/cert_50.cert | 7 + oracle_script/pbft/rep_123/cert/cert_51.cert | 7 + oracle_script/pbft/rep_123/cert/cert_52.cert | 6 + oracle_script/pbft/rep_123/cert/cert_53.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_54.cert | 7 + oracle_script/pbft/rep_123/cert/cert_55.cert | 8 + oracle_script/pbft/rep_123/cert/cert_56.cert | 7 + oracle_script/pbft/rep_123/cert/cert_57.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_58.cert | 7 + oracle_script/pbft/rep_123/cert/cert_59.cert | 8 + oracle_script/pbft/rep_123/cert/cert_6.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_60.cert | 6 + oracle_script/pbft/rep_123/cert/cert_61.cert | 6 + oracle_script/pbft/rep_123/cert/cert_62.cert | 6 + oracle_script/pbft/rep_123/cert/cert_63.cert | 8 + oracle_script/pbft/rep_123/cert/cert_64.cert | 6 + oracle_script/pbft/rep_123/cert/cert_65.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_66.cert | 6 + oracle_script/pbft/rep_123/cert/cert_67.cert | 6 + oracle_script/pbft/rep_123/cert/cert_68.cert | 6 + oracle_script/pbft/rep_123/cert/cert_69.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_7.cert | 7 + oracle_script/pbft/rep_123/cert/cert_70.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_71.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_72.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_73.cert | 7 + oracle_script/pbft/rep_123/cert/cert_74.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_75.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_76.cert | 7 + oracle_script/pbft/rep_123/cert/cert_77.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_78.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_79.cert | 7 + oracle_script/pbft/rep_123/cert/cert_8.cert | 6 + oracle_script/pbft/rep_123/cert/cert_80.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_81.cert | 6 + oracle_script/pbft/rep_123/cert/cert_82.cert | 6 + oracle_script/pbft/rep_123/cert/cert_83.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_84.cert | 7 + oracle_script/pbft/rep_123/cert/cert_85.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_86.cert | 7 + oracle_script/pbft/rep_123/cert/cert_87.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_88.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_89.cert | 6 + oracle_script/pbft/rep_123/cert/cert_9.cert | 8 + oracle_script/pbft/rep_123/cert/cert_90.cert | 7 + oracle_script/pbft/rep_123/cert/cert_91.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_92.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_123/cert/cert_93.cert | 8 + oracle_script/pbft/rep_123/cert/cert_94.cert | 6 + oracle_script/pbft/rep_123/cert/cert_95.cert | 7 + oracle_script/pbft/rep_123/cert/cert_96.cert | 7 + oracle_script/pbft/rep_123/cert/cert_97.cert | 7 + oracle_script/pbft/rep_123/cert/cert_98.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_123/cert/cert_99.cert | 7 + .../pbft/rep_123/cert/node_1.key.pri | 2 + .../pbft/rep_123/cert/node_1.key.pub | 2 + .../pbft/rep_123/cert/node_10.key.pri | 2 + .../pbft/rep_123/cert/node_10.key.pub | 2 + .../pbft/rep_123/cert/node_100.key.pri | 2 + .../pbft/rep_123/cert/node_100.key.pub | 2 + .../pbft/rep_123/cert/node_101.key.pri | 2 + .../pbft/rep_123/cert/node_101.key.pub | 2 + .../pbft/rep_123/cert/node_102.key.pri | 2 + .../pbft/rep_123/cert/node_102.key.pub | 2 + .../pbft/rep_123/cert/node_103.key.pri | 2 + .../pbft/rep_123/cert/node_103.key.pub | 2 + .../pbft/rep_123/cert/node_104.key.pri | 2 + .../pbft/rep_123/cert/node_104.key.pub | 2 + .../pbft/rep_123/cert/node_105.key.pri | 2 + .../pbft/rep_123/cert/node_105.key.pub | 2 + .../pbft/rep_123/cert/node_106.key.pri | 2 + .../pbft/rep_123/cert/node_106.key.pub | 2 + .../pbft/rep_123/cert/node_107.key.pri | 2 + .../pbft/rep_123/cert/node_107.key.pub | 2 + .../pbft/rep_123/cert/node_108.key.pri | 2 + .../pbft/rep_123/cert/node_108.key.pub | 2 + .../pbft/rep_123/cert/node_109.key.pri | 2 + .../pbft/rep_123/cert/node_109.key.pub | 2 + .../pbft/rep_123/cert/node_11.key.pri | 2 + .../pbft/rep_123/cert/node_11.key.pub | 2 + .../pbft/rep_123/cert/node_110.key.pri | 2 + .../pbft/rep_123/cert/node_110.key.pub | 2 + .../pbft/rep_123/cert/node_111.key.pri | 2 + .../pbft/rep_123/cert/node_111.key.pub | 2 + .../pbft/rep_123/cert/node_112.key.pri | 2 + .../pbft/rep_123/cert/node_112.key.pub | 2 + .../pbft/rep_123/cert/node_113.key.pri | 2 + .../pbft/rep_123/cert/node_113.key.pub | 2 + .../pbft/rep_123/cert/node_114.key.pri | 2 + .../pbft/rep_123/cert/node_114.key.pub | 2 + .../pbft/rep_123/cert/node_115.key.pri | 2 + .../pbft/rep_123/cert/node_115.key.pub | 2 + .../pbft/rep_123/cert/node_116.key.pri | 2 + .../pbft/rep_123/cert/node_116.key.pub | 2 + .../pbft/rep_123/cert/node_117.key.pri | 2 + .../pbft/rep_123/cert/node_117.key.pub | 2 + .../pbft/rep_123/cert/node_118.key.pri | 2 + .../pbft/rep_123/cert/node_118.key.pub | 2 + .../pbft/rep_123/cert/node_119.key.pri | 2 + .../pbft/rep_123/cert/node_119.key.pub | 2 + .../pbft/rep_123/cert/node_12.key.pri | 2 + .../pbft/rep_123/cert/node_12.key.pub | 2 + .../pbft/rep_123/cert/node_120.key.pri | 2 + .../pbft/rep_123/cert/node_120.key.pub | 2 + .../pbft/rep_123/cert/node_121.key.pri | 2 + .../pbft/rep_123/cert/node_121.key.pub | 2 + .../pbft/rep_123/cert/node_122.key.pri | 2 + .../pbft/rep_123/cert/node_122.key.pub | 2 + .../pbft/rep_123/cert/node_123.key.pri | 2 + .../pbft/rep_123/cert/node_123.key.pub | 2 + .../pbft/rep_123/cert/node_13.key.pri | 2 + .../pbft/rep_123/cert/node_13.key.pub | 2 + .../pbft/rep_123/cert/node_14.key.pri | 2 + .../pbft/rep_123/cert/node_14.key.pub | 2 + .../pbft/rep_123/cert/node_15.key.pri | 2 + .../pbft/rep_123/cert/node_15.key.pub | 2 + .../pbft/rep_123/cert/node_16.key.pri | 2 + .../pbft/rep_123/cert/node_16.key.pub | 2 + .../pbft/rep_123/cert/node_17.key.pri | 2 + .../pbft/rep_123/cert/node_17.key.pub | 2 + .../pbft/rep_123/cert/node_18.key.pri | 2 + .../pbft/rep_123/cert/node_18.key.pub | 2 + .../pbft/rep_123/cert/node_19.key.pri | 2 + .../pbft/rep_123/cert/node_19.key.pub | 2 + .../pbft/rep_123/cert/node_2.key.pri | 2 + .../pbft/rep_123/cert/node_2.key.pub | 2 + .../pbft/rep_123/cert/node_20.key.pri | 2 + .../pbft/rep_123/cert/node_20.key.pub | 2 + .../pbft/rep_123/cert/node_21.key.pri | 2 + .../pbft/rep_123/cert/node_21.key.pub | 2 + .../pbft/rep_123/cert/node_22.key.pri | 2 + .../pbft/rep_123/cert/node_22.key.pub | 2 + .../pbft/rep_123/cert/node_23.key.pri | 2 + .../pbft/rep_123/cert/node_23.key.pub | 2 + .../pbft/rep_123/cert/node_24.key.pri | 2 + .../pbft/rep_123/cert/node_24.key.pub | 2 + .../pbft/rep_123/cert/node_25.key.pri | 2 + .../pbft/rep_123/cert/node_25.key.pub | 2 + .../pbft/rep_123/cert/node_26.key.pri | 2 + .../pbft/rep_123/cert/node_26.key.pub | 2 + .../pbft/rep_123/cert/node_27.key.pri | 2 + .../pbft/rep_123/cert/node_27.key.pub | 2 + .../pbft/rep_123/cert/node_28.key.pri | 2 + .../pbft/rep_123/cert/node_28.key.pub | 2 + .../pbft/rep_123/cert/node_29.key.pri | 2 + .../pbft/rep_123/cert/node_29.key.pub | 2 + .../pbft/rep_123/cert/node_3.key.pri | 2 + .../pbft/rep_123/cert/node_3.key.pub | 2 + .../pbft/rep_123/cert/node_30.key.pri | 2 + .../pbft/rep_123/cert/node_30.key.pub | 2 + .../pbft/rep_123/cert/node_31.key.pri | 2 + .../pbft/rep_123/cert/node_31.key.pub | 2 + .../pbft/rep_123/cert/node_32.key.pri | 2 + .../pbft/rep_123/cert/node_32.key.pub | 2 + .../pbft/rep_123/cert/node_33.key.pri | 2 + .../pbft/rep_123/cert/node_33.key.pub | 2 + .../pbft/rep_123/cert/node_34.key.pri | 2 + .../pbft/rep_123/cert/node_34.key.pub | 2 + .../pbft/rep_123/cert/node_35.key.pri | 2 + .../pbft/rep_123/cert/node_35.key.pub | 2 + .../pbft/rep_123/cert/node_36.key.pri | 2 + .../pbft/rep_123/cert/node_36.key.pub | 2 + .../pbft/rep_123/cert/node_37.key.pri | 2 + .../pbft/rep_123/cert/node_37.key.pub | 2 + .../pbft/rep_123/cert/node_38.key.pri | 2 + .../pbft/rep_123/cert/node_38.key.pub | 2 + .../pbft/rep_123/cert/node_39.key.pri | 2 + .../pbft/rep_123/cert/node_39.key.pub | 2 + .../pbft/rep_123/cert/node_4.key.pri | 2 + .../pbft/rep_123/cert/node_4.key.pub | 2 + .../pbft/rep_123/cert/node_40.key.pri | 2 + .../pbft/rep_123/cert/node_40.key.pub | 2 + .../pbft/rep_123/cert/node_41.key.pri | 2 + .../pbft/rep_123/cert/node_41.key.pub | 2 + .../pbft/rep_123/cert/node_42.key.pri | 2 + .../pbft/rep_123/cert/node_42.key.pub | 2 + .../pbft/rep_123/cert/node_43.key.pri | 2 + .../pbft/rep_123/cert/node_43.key.pub | 2 + .../pbft/rep_123/cert/node_44.key.pri | 2 + .../pbft/rep_123/cert/node_44.key.pub | 2 + .../pbft/rep_123/cert/node_45.key.pri | 2 + .../pbft/rep_123/cert/node_45.key.pub | 2 + .../pbft/rep_123/cert/node_46.key.pri | 2 + .../pbft/rep_123/cert/node_46.key.pub | 2 + .../pbft/rep_123/cert/node_47.key.pri | 2 + .../pbft/rep_123/cert/node_47.key.pub | 2 + .../pbft/rep_123/cert/node_48.key.pri | 2 + .../pbft/rep_123/cert/node_48.key.pub | 2 + .../pbft/rep_123/cert/node_49.key.pri | 2 + .../pbft/rep_123/cert/node_49.key.pub | 2 + .../pbft/rep_123/cert/node_5.key.pri | 2 + .../pbft/rep_123/cert/node_5.key.pub | 2 + .../pbft/rep_123/cert/node_50.key.pri | 2 + .../pbft/rep_123/cert/node_50.key.pub | 2 + .../pbft/rep_123/cert/node_51.key.pri | 2 + .../pbft/rep_123/cert/node_51.key.pub | 2 + .../pbft/rep_123/cert/node_52.key.pri | 2 + .../pbft/rep_123/cert/node_52.key.pub | 2 + .../pbft/rep_123/cert/node_53.key.pri | 2 + .../pbft/rep_123/cert/node_53.key.pub | 2 + .../pbft/rep_123/cert/node_54.key.pri | 2 + .../pbft/rep_123/cert/node_54.key.pub | 2 + .../pbft/rep_123/cert/node_55.key.pri | 2 + .../pbft/rep_123/cert/node_55.key.pub | 2 + .../pbft/rep_123/cert/node_56.key.pri | 2 + .../pbft/rep_123/cert/node_56.key.pub | 2 + .../pbft/rep_123/cert/node_57.key.pri | 2 + .../pbft/rep_123/cert/node_57.key.pub | 2 + .../pbft/rep_123/cert/node_58.key.pri | 2 + .../pbft/rep_123/cert/node_58.key.pub | 2 + .../pbft/rep_123/cert/node_59.key.pri | 2 + .../pbft/rep_123/cert/node_59.key.pub | 2 + .../pbft/rep_123/cert/node_6.key.pri | 2 + .../pbft/rep_123/cert/node_6.key.pub | 2 + .../pbft/rep_123/cert/node_60.key.pri | 2 + .../pbft/rep_123/cert/node_60.key.pub | 2 + .../pbft/rep_123/cert/node_61.key.pri | 2 + .../pbft/rep_123/cert/node_61.key.pub | 2 + .../pbft/rep_123/cert/node_62.key.pri | 2 + .../pbft/rep_123/cert/node_62.key.pub | 2 + .../pbft/rep_123/cert/node_63.key.pri | 2 + .../pbft/rep_123/cert/node_63.key.pub | 2 + .../pbft/rep_123/cert/node_64.key.pri | 2 + .../pbft/rep_123/cert/node_64.key.pub | 2 + .../pbft/rep_123/cert/node_65.key.pri | 2 + .../pbft/rep_123/cert/node_65.key.pub | 2 + .../pbft/rep_123/cert/node_66.key.pri | 2 + .../pbft/rep_123/cert/node_66.key.pub | 2 + .../pbft/rep_123/cert/node_67.key.pri | 2 + .../pbft/rep_123/cert/node_67.key.pub | 2 + .../pbft/rep_123/cert/node_68.key.pri | 2 + .../pbft/rep_123/cert/node_68.key.pub | 2 + .../pbft/rep_123/cert/node_69.key.pri | 2 + .../pbft/rep_123/cert/node_69.key.pub | 2 + .../pbft/rep_123/cert/node_7.key.pri | 2 + .../pbft/rep_123/cert/node_7.key.pub | 2 + .../pbft/rep_123/cert/node_70.key.pri | 2 + .../pbft/rep_123/cert/node_70.key.pub | 2 + .../pbft/rep_123/cert/node_71.key.pri | 2 + .../pbft/rep_123/cert/node_71.key.pub | 2 + .../pbft/rep_123/cert/node_72.key.pri | 2 + .../pbft/rep_123/cert/node_72.key.pub | 2 + .../pbft/rep_123/cert/node_73.key.pri | 2 + .../pbft/rep_123/cert/node_73.key.pub | 2 + .../pbft/rep_123/cert/node_74.key.pri | 2 + .../pbft/rep_123/cert/node_74.key.pub | 2 + .../pbft/rep_123/cert/node_75.key.pri | 2 + .../pbft/rep_123/cert/node_75.key.pub | 2 + .../pbft/rep_123/cert/node_76.key.pri | 2 + .../pbft/rep_123/cert/node_76.key.pub | 2 + .../pbft/rep_123/cert/node_77.key.pri | 2 + .../pbft/rep_123/cert/node_77.key.pub | 2 + .../pbft/rep_123/cert/node_78.key.pri | 2 + .../pbft/rep_123/cert/node_78.key.pub | 2 + .../pbft/rep_123/cert/node_79.key.pri | 2 + .../pbft/rep_123/cert/node_79.key.pub | 2 + .../pbft/rep_123/cert/node_8.key.pri | 2 + .../pbft/rep_123/cert/node_8.key.pub | 2 + .../pbft/rep_123/cert/node_80.key.pri | 2 + .../pbft/rep_123/cert/node_80.key.pub | 2 + .../pbft/rep_123/cert/node_81.key.pri | 2 + .../pbft/rep_123/cert/node_81.key.pub | 2 + .../pbft/rep_123/cert/node_82.key.pri | 2 + .../pbft/rep_123/cert/node_82.key.pub | 2 + .../pbft/rep_123/cert/node_83.key.pri | 2 + .../pbft/rep_123/cert/node_83.key.pub | 2 + .../pbft/rep_123/cert/node_84.key.pri | 2 + .../pbft/rep_123/cert/node_84.key.pub | 2 + .../pbft/rep_123/cert/node_85.key.pri | 2 + .../pbft/rep_123/cert/node_85.key.pub | 2 + .../pbft/rep_123/cert/node_86.key.pri | 2 + .../pbft/rep_123/cert/node_86.key.pub | 2 + .../pbft/rep_123/cert/node_87.key.pri | 2 + .../pbft/rep_123/cert/node_87.key.pub | 2 + .../pbft/rep_123/cert/node_88.key.pri | 2 + .../pbft/rep_123/cert/node_88.key.pub | 2 + .../pbft/rep_123/cert/node_89.key.pri | 2 + .../pbft/rep_123/cert/node_89.key.pub | 2 + .../pbft/rep_123/cert/node_9.key.pri | 2 + .../pbft/rep_123/cert/node_9.key.pub | 2 + .../pbft/rep_123/cert/node_90.key.pri | 2 + .../pbft/rep_123/cert/node_90.key.pub | 2 + .../pbft/rep_123/cert/node_91.key.pri | 2 + .../pbft/rep_123/cert/node_91.key.pub | 2 + .../pbft/rep_123/cert/node_92.key.pri | 2 + .../pbft/rep_123/cert/node_92.key.pub | 2 + .../pbft/rep_123/cert/node_93.key.pri | 2 + .../pbft/rep_123/cert/node_93.key.pub | 2 + .../pbft/rep_123/cert/node_94.key.pri | 2 + .../pbft/rep_123/cert/node_94.key.pub | 2 + .../pbft/rep_123/cert/node_95.key.pri | 2 + .../pbft/rep_123/cert/node_95.key.pub | 2 + .../pbft/rep_123/cert/node_96.key.pri | 2 + .../pbft/rep_123/cert/node_96.key.pub | 2 + .../pbft/rep_123/cert/node_97.key.pri | 2 + .../pbft/rep_123/cert/node_97.key.pub | 2 + .../pbft/rep_123/cert/node_98.key.pri | 2 + .../pbft/rep_123/cert/node_98.key.pub | 2 + .../pbft/rep_123/cert/node_99.key.pri | 2 + .../pbft/rep_123/cert/node_99.key.pub | 2 + oracle_script/pbft/rep_123/cli_list.txt | 2 + oracle_script/pbft/rep_123/client.config | 1 + oracle_script/pbft/rep_123/iplist.txt | 122 + oracle_script/pbft/rep_123/poc.conf | 9 + oracle_script/pbft/rep_123/run_cli.sh | 4 + oracle_script/pbft/rep_123/run_svr.sh | 3 + oracle_script/pbft/rep_123/server.config | 121 + oracle_script/pbft/rep_123/svr_list.txt | 122 + oracle_script/pbft/rep_16/benchmark.conf | 16 + oracle_script/pbft/rep_16/cert/cert_1.cert | 6 + oracle_script/pbft/rep_16/cert/cert_10.cert | 11 + oracle_script/pbft/rep_16/cert/cert_11.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_16/cert/cert_12.cert | 6 + oracle_script/pbft/rep_16/cert/cert_13.cert | 8 + oracle_script/pbft/rep_16/cert/cert_14.cert | 7 + oracle_script/pbft/rep_16/cert/cert_15.cert | 7 + oracle_script/pbft/rep_16/cert/cert_16.cert | 7 + oracle_script/pbft/rep_16/cert/cert_17.cert | 7 + oracle_script/pbft/rep_16/cert/cert_2.cert | 8 + oracle_script/pbft/rep_16/cert/cert_3.cert | 7 + oracle_script/pbft/rep_16/cert/cert_4.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_16/cert/cert_5.cert | 6 + oracle_script/pbft/rep_16/cert/cert_6.cert | 7 + oracle_script/pbft/rep_16/cert/cert_7.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_16/cert/cert_8.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_16/cert/cert_9.cert | 7 + oracle_script/pbft/rep_16/cert/node_1.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_1.key.pub | 2 + .../pbft/rep_16/cert/node_10.key.pri | 2 + .../pbft/rep_16/cert/node_10.key.pub | 2 + .../pbft/rep_16/cert/node_11.key.pri | 2 + .../pbft/rep_16/cert/node_11.key.pub | 2 + .../pbft/rep_16/cert/node_12.key.pri | 2 + .../pbft/rep_16/cert/node_12.key.pub | 2 + .../pbft/rep_16/cert/node_13.key.pri | 2 + .../pbft/rep_16/cert/node_13.key.pub | 2 + .../pbft/rep_16/cert/node_14.key.pri | 2 + .../pbft/rep_16/cert/node_14.key.pub | 2 + .../pbft/rep_16/cert/node_15.key.pri | 2 + .../pbft/rep_16/cert/node_15.key.pub | 2 + .../pbft/rep_16/cert/node_16.key.pri | 2 + .../pbft/rep_16/cert/node_16.key.pub | 2 + .../pbft/rep_16/cert/node_17.key.pri | 2 + .../pbft/rep_16/cert/node_17.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_2.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_2.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_3.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_3.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_4.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_4.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_5.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_5.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_6.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_6.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_7.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_7.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_8.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_8.key.pub | 2 + oracle_script/pbft/rep_16/cert/node_9.key.pri | 2 + oracle_script/pbft/rep_16/cert/node_9.key.pub | 2 + oracle_script/pbft/rep_16/cli_list.txt | 2 + oracle_script/pbft/rep_16/client.config | 1 + oracle_script/pbft/rep_16/iplist.txt | 17 + oracle_script/pbft/rep_16/poc.conf | 9 + oracle_script/pbft/rep_16/run_cli.sh | 4 + oracle_script/pbft/rep_16/run_svr.sh | 3 + oracle_script/pbft/rep_16/server.config | 16 + oracle_script/pbft/rep_16/svr_list.txt | 17 + oracle_script/pbft/rep_32/benchmark.conf | 16 + oracle_script/pbft/rep_32/cert/cert_1.cert | 6 + oracle_script/pbft/rep_32/cert/cert_10.cert | 7 + oracle_script/pbft/rep_32/cert/cert_11.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_12.cert | 7 + oracle_script/pbft/rep_32/cert/cert_13.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_14.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_15.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_16.cert | 6 + oracle_script/pbft/rep_32/cert/cert_17.cert | 6 + oracle_script/pbft/rep_32/cert/cert_18.cert | 8 + oracle_script/pbft/rep_32/cert/cert_19.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_2.cert | 8 + oracle_script/pbft/rep_32/cert/cert_20.cert | 7 + oracle_script/pbft/rep_32/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_22.cert | 7 + oracle_script/pbft/rep_32/cert/cert_23.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_24.cert | 7 + oracle_script/pbft/rep_32/cert/cert_25.cert | 8 + oracle_script/pbft/rep_32/cert/cert_26.cert | 7 + oracle_script/pbft/rep_32/cert/cert_27.cert | 8 + oracle_script/pbft/rep_32/cert/cert_28.cert | 6 + oracle_script/pbft/rep_32/cert/cert_29.cert | Bin 0 -> 166 bytes oracle_script/pbft/rep_32/cert/cert_3.cert | 7 + oracle_script/pbft/rep_32/cert/cert_30.cert | 8 + oracle_script/pbft/rep_32/cert/cert_31.cert | 7 + oracle_script/pbft/rep_32/cert/cert_32.cert | 7 + oracle_script/pbft/rep_32/cert/cert_33.cert | 7 + oracle_script/pbft/rep_32/cert/cert_34.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_35.cert | 7 + oracle_script/pbft/rep_32/cert/cert_36.cert | 10 + oracle_script/pbft/rep_32/cert/cert_37.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_38.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_39.cert | 9 + oracle_script/pbft/rep_32/cert/cert_4.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_40.cert | 7 + oracle_script/pbft/rep_32/cert/cert_41.cert | 6 + oracle_script/pbft/rep_32/cert/cert_42.cert | 7 + oracle_script/pbft/rep_32/cert/cert_43.cert | 6 + oracle_script/pbft/rep_32/cert/cert_44.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_45.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_46.cert | 7 + oracle_script/pbft/rep_32/cert/cert_47.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_48.cert | 7 + oracle_script/pbft/rep_32/cert/cert_49.cert | Bin 0 -> 154 bytes oracle_script/pbft/rep_32/cert/cert_5.cert | 6 + oracle_script/pbft/rep_32/cert/cert_50.cert | 7 + oracle_script/pbft/rep_32/cert/cert_51.cert | 7 + oracle_script/pbft/rep_32/cert/cert_52.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_53.cert | 7 + oracle_script/pbft/rep_32/cert/cert_54.cert | 7 + oracle_script/pbft/rep_32/cert/cert_55.cert | 7 + oracle_script/pbft/rep_32/cert/cert_56.cert | 6 + oracle_script/pbft/rep_32/cert/cert_57.cert | 7 + oracle_script/pbft/rep_32/cert/cert_58.cert | 8 + oracle_script/pbft/rep_32/cert/cert_59.cert | 7 + oracle_script/pbft/rep_32/cert/cert_6.cert | 7 + oracle_script/pbft/rep_32/cert/cert_60.cert | 7 + oracle_script/pbft/rep_32/cert/cert_61.cert | 6 + oracle_script/pbft/rep_32/cert/cert_62.cert | 8 + oracle_script/pbft/rep_32/cert/cert_63.cert | 8 + oracle_script/pbft/rep_32/cert/cert_64.cert | 7 + oracle_script/pbft/rep_32/cert/cert_65.cert | 7 + oracle_script/pbft/rep_32/cert/cert_7.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_32/cert/cert_8.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_32/cert/cert_9.cert | 7 + .../pbft/rep_32/cert/node_1 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_1 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_1.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_1.key.pub | 2 + .../pbft/rep_32/cert/node_10 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_10 \"AES\".key.pub" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_10.key.pri | 2 + .../pbft/rep_32/cert/node_10.key.pub | 2 + .../pbft/rep_32/cert/node_11 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_11 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_11.key.pri | 2 + .../pbft/rep_32/cert/node_11.key.pub | 2 + .../pbft/rep_32/cert/node_12 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_12 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_12.key.pri | 2 + .../pbft/rep_32/cert/node_12.key.pub | 2 + .../pbft/rep_32/cert/node_13 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_13 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_13.key.pri | 2 + .../pbft/rep_32/cert/node_13.key.pub | 2 + .../pbft/rep_32/cert/node_14 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_14 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_14.key.pri | 2 + .../pbft/rep_32/cert/node_14.key.pub | 2 + .../pbft/rep_32/cert/node_15 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_15 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_15.key.pri | 2 + .../pbft/rep_32/cert/node_15.key.pub | 2 + .../pbft/rep_32/cert/node_16 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_16 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_16.key.pri | 2 + .../pbft/rep_32/cert/node_16.key.pub | 2 + .../pbft/rep_32/cert/node_17 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_17 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_17.key.pri | 2 + .../pbft/rep_32/cert/node_17.key.pub | 2 + .../pbft/rep_32/cert/node_18 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_18 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_18.key.pri | 2 + .../pbft/rep_32/cert/node_18.key.pub | 2 + .../pbft/rep_32/cert/node_19 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_19 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_19.key.pri | 2 + .../pbft/rep_32/cert/node_19.key.pub | 2 + .../pbft/rep_32/cert/node_2 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_2 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_2.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_2.key.pub | 2 + .../pbft/rep_32/cert/node_20 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_20 \"AES\".key.pub" | 3 + .../pbft/rep_32/cert/node_20.key.pri | 2 + .../pbft/rep_32/cert/node_20.key.pub | 2 + .../pbft/rep_32/cert/node_21 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_21 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_21.key.pri | 2 + .../pbft/rep_32/cert/node_21.key.pub | 2 + .../pbft/rep_32/cert/node_22 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_22 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_22.key.pri | 2 + .../pbft/rep_32/cert/node_22.key.pub | 2 + .../pbft/rep_32/cert/node_23 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_23 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_23.key.pri | 2 + .../pbft/rep_32/cert/node_23.key.pub | 2 + .../pbft/rep_32/cert/node_24 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_24 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_24.key.pri | 2 + .../pbft/rep_32/cert/node_24.key.pub | 2 + .../pbft/rep_32/cert/node_25 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_25 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_25.key.pri | 2 + .../pbft/rep_32/cert/node_25.key.pub | 2 + .../pbft/rep_32/cert/node_26 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_26 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_26.key.pri | 2 + .../pbft/rep_32/cert/node_26.key.pub | 2 + .../pbft/rep_32/cert/node_27 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_27 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_27.key.pri | 2 + .../pbft/rep_32/cert/node_27.key.pub | 2 + .../pbft/rep_32/cert/node_28 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_28 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_28.key.pri | 2 + .../pbft/rep_32/cert/node_28.key.pub | 2 + .../pbft/rep_32/cert/node_29 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_29 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_29.key.pri | 2 + .../pbft/rep_32/cert/node_29.key.pub | 2 + .../pbft/rep_32/cert/node_3 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_3 \"AES\".key.pub" | Bin 0 -> 36 bytes oracle_script/pbft/rep_32/cert/node_3.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_3.key.pub | 2 + .../pbft/rep_32/cert/node_30 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_30 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_30.key.pri | 2 + .../pbft/rep_32/cert/node_30.key.pub | 2 + .../pbft/rep_32/cert/node_31 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_31 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_31.key.pri | 2 + .../pbft/rep_32/cert/node_31.key.pub | 2 + .../pbft/rep_32/cert/node_32 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_32 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_32.key.pri | 2 + .../pbft/rep_32/cert/node_32.key.pub | 2 + .../pbft/rep_32/cert/node_33 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_33 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_33.key.pri | 2 + .../pbft/rep_32/cert/node_33.key.pub | 2 + .../pbft/rep_32/cert/node_34 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_34 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_34.key.pri | 2 + .../pbft/rep_32/cert/node_34.key.pub | 2 + .../pbft/rep_32/cert/node_35 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_35 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_35.key.pri | 2 + .../pbft/rep_32/cert/node_35.key.pub | 2 + .../pbft/rep_32/cert/node_36 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_36 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_36.key.pri | 2 + .../pbft/rep_32/cert/node_36.key.pub | 2 + .../pbft/rep_32/cert/node_37 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_37 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_37.key.pri | 2 + .../pbft/rep_32/cert/node_37.key.pub | 2 + .../pbft/rep_32/cert/node_38 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_38 \"AES\".key.pub" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_38.key.pri | 2 + .../pbft/rep_32/cert/node_38.key.pub | 2 + .../pbft/rep_32/cert/node_39 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_39 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_39.key.pri | 2 + .../pbft/rep_32/cert/node_39.key.pub | 2 + .../pbft/rep_32/cert/node_4 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_4 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_4.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_4.key.pub | 2 + .../pbft/rep_32/cert/node_40 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_40 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_40.key.pri | 2 + .../pbft/rep_32/cert/node_40.key.pub | 2 + .../pbft/rep_32/cert/node_41 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_41 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_41.key.pri | 2 + .../pbft/rep_32/cert/node_41.key.pub | 2 + .../pbft/rep_32/cert/node_42 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_42 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_42.key.pri | 2 + .../pbft/rep_32/cert/node_42.key.pub | 2 + .../pbft/rep_32/cert/node_43 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_43 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_43.key.pri | 2 + .../pbft/rep_32/cert/node_43.key.pub | 2 + .../pbft/rep_32/cert/node_44 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_44 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_44.key.pri | 2 + .../pbft/rep_32/cert/node_44.key.pub | 2 + .../pbft/rep_32/cert/node_45 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_45 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_45.key.pri | 2 + .../pbft/rep_32/cert/node_45.key.pub | 2 + .../pbft/rep_32/cert/node_46 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_46 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_46.key.pri | 2 + .../pbft/rep_32/cert/node_46.key.pub | 2 + .../pbft/rep_32/cert/node_47 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_47 \"AES\".key.pub" | 3 + .../pbft/rep_32/cert/node_47.key.pri | 2 + .../pbft/rep_32/cert/node_47.key.pub | 2 + .../pbft/rep_32/cert/node_48 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_48 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_48.key.pri | 2 + .../pbft/rep_32/cert/node_48.key.pub | 2 + .../pbft/rep_32/cert/node_49 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_49 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_49.key.pri | 2 + .../pbft/rep_32/cert/node_49.key.pub | 2 + .../pbft/rep_32/cert/node_5 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_5 \"AES\".key.pub" | Bin 0 -> 36 bytes oracle_script/pbft/rep_32/cert/node_5.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_5.key.pub | 2 + .../pbft/rep_32/cert/node_50 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_50 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_50.key.pri | 2 + .../pbft/rep_32/cert/node_50.key.pub | 2 + .../pbft/rep_32/cert/node_51 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_51 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_51.key.pri | 2 + .../pbft/rep_32/cert/node_51.key.pub | 2 + .../pbft/rep_32/cert/node_52 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_52 \"AES\".key.pub" | 3 + .../pbft/rep_32/cert/node_52.key.pri | 2 + .../pbft/rep_32/cert/node_52.key.pub | 2 + .../pbft/rep_32/cert/node_53 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_53 \"AES\".key.pub" | 3 + .../pbft/rep_32/cert/node_53.key.pri | 2 + .../pbft/rep_32/cert/node_53.key.pub | 2 + .../pbft/rep_32/cert/node_54 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_54 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_54.key.pri | 2 + .../pbft/rep_32/cert/node_54.key.pub | 2 + .../pbft/rep_32/cert/node_55 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_55 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_55.key.pri | 2 + .../pbft/rep_32/cert/node_55.key.pub | 2 + .../pbft/rep_32/cert/node_56 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_56 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_56.key.pri | 2 + .../pbft/rep_32/cert/node_56.key.pub | 2 + .../pbft/rep_32/cert/node_57 \"AES\".key.pri" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_57 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_57.key.pri | 2 + .../pbft/rep_32/cert/node_57.key.pub | 2 + .../pbft/rep_32/cert/node_58 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_58 \"AES\".key.pub" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_58.key.pri | 2 + .../pbft/rep_32/cert/node_58.key.pub | 2 + .../pbft/rep_32/cert/node_59 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_59 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_59.key.pri | 2 + .../pbft/rep_32/cert/node_59.key.pub | 2 + .../pbft/rep_32/cert/node_6 \"AES\".key.pri" | 3 + .../pbft/rep_32/cert/node_6 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_6.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_6.key.pub | 2 + .../pbft/rep_32/cert/node_60 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_60 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_60.key.pri | 2 + .../pbft/rep_32/cert/node_60.key.pub | 2 + .../pbft/rep_32/cert/node_61 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_61 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_61.key.pri | 2 + .../pbft/rep_32/cert/node_61.key.pub | 2 + .../pbft/rep_32/cert/node_62 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_62 \"AES\".key.pub" | 3 + .../pbft/rep_32/cert/node_62.key.pri | 2 + .../pbft/rep_32/cert/node_62.key.pub | 2 + .../pbft/rep_32/cert/node_63 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_63 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_63.key.pri | 2 + .../pbft/rep_32/cert/node_63.key.pub | 2 + .../pbft/rep_32/cert/node_64 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_64 \"AES\".key.pub" | Bin 0 -> 36 bytes .../pbft/rep_32/cert/node_64.key.pri | 2 + .../pbft/rep_32/cert/node_64.key.pub | 2 + .../pbft/rep_32/cert/node_65 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_65 \"AES\".key.pub" | 2 + .../pbft/rep_32/cert/node_65.key.pri | 2 + .../pbft/rep_32/cert/node_65.key.pub | 2 + .../pbft/rep_32/cert/node_7 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_7 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_7.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_7.key.pub | 2 + .../pbft/rep_32/cert/node_8 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_8 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_8.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_8.key.pub | 2 + .../pbft/rep_32/cert/node_9 \"AES\".key.pri" | 2 + .../pbft/rep_32/cert/node_9 \"AES\".key.pub" | 2 + oracle_script/pbft/rep_32/cert/node_9.key.pri | 2 + oracle_script/pbft/rep_32/cert/node_9.key.pub | 2 + oracle_script/pbft/rep_32/cli_list.txt | 2 + oracle_script/pbft/rep_32/client.config | 1 + oracle_script/pbft/rep_32/iplist.txt | 33 + oracle_script/pbft/rep_32/poc.conf | 9 + oracle_script/pbft/rep_32/run_cli.sh | 4 + oracle_script/pbft/rep_32/run_svr.sh | 3 + oracle_script/pbft/rep_32/server.config | 32 + oracle_script/pbft/rep_32/svr_list.txt | 33 + oracle_script/pbft/rep_4/benchmark.conf | 15 + oracle_script/pbft/rep_4/cert/cert_1.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_10.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_100.cert | 7 + oracle_script/pbft/rep_4/cert/cert_101.cert | 8 + oracle_script/pbft/rep_4/cert/cert_102.cert | 7 + oracle_script/pbft/rep_4/cert/cert_103.cert | 8 + oracle_script/pbft/rep_4/cert/cert_104.cert | 7 + oracle_script/pbft/rep_4/cert/cert_105.cert | 7 + oracle_script/pbft/rep_4/cert/cert_106.cert | 8 + oracle_script/pbft/rep_4/cert/cert_107.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_108.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_109.cert | 7 + oracle_script/pbft/rep_4/cert/cert_11.cert | 6 + oracle_script/pbft/rep_4/cert/cert_110.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_111.cert | 8 + oracle_script/pbft/rep_4/cert/cert_112.cert | 7 + oracle_script/pbft/rep_4/cert/cert_113.cert | 6 + oracle_script/pbft/rep_4/cert/cert_114.cert | 8 + oracle_script/pbft/rep_4/cert/cert_115.cert | 7 + oracle_script/pbft/rep_4/cert/cert_116.cert | 7 + oracle_script/pbft/rep_4/cert/cert_117.cert | 6 + oracle_script/pbft/rep_4/cert/cert_118.cert | 7 + oracle_script/pbft/rep_4/cert/cert_119.cert | 7 + oracle_script/pbft/rep_4/cert/cert_12.cert | 8 + oracle_script/pbft/rep_4/cert/cert_120.cert | 7 + oracle_script/pbft/rep_4/cert/cert_13.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_14.cert | 6 + oracle_script/pbft/rep_4/cert/cert_15.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_16.cert | 8 + oracle_script/pbft/rep_4/cert/cert_17.cert | 6 + oracle_script/pbft/rep_4/cert/cert_18.cert | 7 + oracle_script/pbft/rep_4/cert/cert_19.cert | 6 + oracle_script/pbft/rep_4/cert/cert_2.cert | 7 + oracle_script/pbft/rep_4/cert/cert_20.cert | 7 + oracle_script/pbft/rep_4/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_22.cert | 8 + oracle_script/pbft/rep_4/cert/cert_23.cert | 8 + oracle_script/pbft/rep_4/cert/cert_24.cert | 6 + oracle_script/pbft/rep_4/cert/cert_25.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_26.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_27.cert | 7 + oracle_script/pbft/rep_4/cert/cert_28.cert | 7 + oracle_script/pbft/rep_4/cert/cert_29.cert | 7 + oracle_script/pbft/rep_4/cert/cert_3.cert | 7 + oracle_script/pbft/rep_4/cert/cert_30.cert | 8 + oracle_script/pbft/rep_4/cert/cert_31.cert | 7 + oracle_script/pbft/rep_4/cert/cert_32.cert | 8 + oracle_script/pbft/rep_4/cert/cert_33.cert | 7 + oracle_script/pbft/rep_4/cert/cert_34.cert | 6 + oracle_script/pbft/rep_4/cert/cert_35.cert | 8 + oracle_script/pbft/rep_4/cert/cert_36.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_37.cert | 6 + oracle_script/pbft/rep_4/cert/cert_38.cert | 6 + oracle_script/pbft/rep_4/cert/cert_39.cert | 6 + oracle_script/pbft/rep_4/cert/cert_4.cert | 6 + oracle_script/pbft/rep_4/cert/cert_40.cert | 7 + oracle_script/pbft/rep_4/cert/cert_41.cert | Bin 0 -> 166 bytes oracle_script/pbft/rep_4/cert/cert_42.cert | 7 + oracle_script/pbft/rep_4/cert/cert_43.cert | 6 + oracle_script/pbft/rep_4/cert/cert_44.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_45.cert | 6 + oracle_script/pbft/rep_4/cert/cert_46.cert | 8 + oracle_script/pbft/rep_4/cert/cert_47.cert | 6 + oracle_script/pbft/rep_4/cert/cert_48.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_49.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_5.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_50.cert | 8 + oracle_script/pbft/rep_4/cert/cert_51.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_52.cert | 7 + oracle_script/pbft/rep_4/cert/cert_53.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_54.cert | 7 + oracle_script/pbft/rep_4/cert/cert_55.cert | 6 + oracle_script/pbft/rep_4/cert/cert_56.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_57.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_58.cert | 6 + oracle_script/pbft/rep_4/cert/cert_59.cert | 8 + oracle_script/pbft/rep_4/cert/cert_61.cert | 6 + oracle_script/pbft/rep_4/cert/cert_62.cert | 7 + oracle_script/pbft/rep_4/cert/cert_63.cert | 6 + oracle_script/pbft/rep_4/cert/cert_64.cert | 7 + oracle_script/pbft/rep_4/cert/cert_65.cert | 9 + oracle_script/pbft/rep_4/cert/cert_71.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_72.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_73.cert | 7 + oracle_script/pbft/rep_4/cert/cert_74.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_75.cert | 9 + oracle_script/pbft/rep_4/cert/cert_81.cert | 6 + oracle_script/pbft/rep_4/cert/cert_82.cert | 6 + oracle_script/pbft/rep_4/cert/cert_83.cert | 7 + oracle_script/pbft/rep_4/cert/cert_84.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cert_85.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_4/cert/cert_91.cert | 7 + oracle_script/pbft/rep_4/cert/cert_92.cert | 7 + oracle_script/pbft/rep_4/cert/cert_93.cert | 7 + oracle_script/pbft/rep_4/cert/cert_94.cert | 6 + oracle_script/pbft/rep_4/cert/cert_95.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_4/cert/cli_list.txt | 1 + oracle_script/pbft/rep_4/cert/iplist.txt | 6 + oracle_script/pbft/rep_4/cert/node_1.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_1.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_10.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_10.key.pub | 2 + .../pbft/rep_4/cert/node_100.key.pri | 2 + .../pbft/rep_4/cert/node_100.key.pub | 2 + .../pbft/rep_4/cert/node_101.key.pri | 2 + .../pbft/rep_4/cert/node_101.key.pub | 2 + .../pbft/rep_4/cert/node_102.key.pri | 2 + .../pbft/rep_4/cert/node_102.key.pub | 2 + .../pbft/rep_4/cert/node_103.key.pri | 2 + .../pbft/rep_4/cert/node_103.key.pub | 2 + .../pbft/rep_4/cert/node_104.key.pri | 2 + .../pbft/rep_4/cert/node_104.key.pub | 2 + .../pbft/rep_4/cert/node_105.key.pri | 2 + .../pbft/rep_4/cert/node_105.key.pub | 2 + .../pbft/rep_4/cert/node_106.key.pri | 2 + .../pbft/rep_4/cert/node_106.key.pub | 2 + .../pbft/rep_4/cert/node_107.key.pri | 2 + .../pbft/rep_4/cert/node_107.key.pub | 2 + .../pbft/rep_4/cert/node_108.key.pri | 2 + .../pbft/rep_4/cert/node_108.key.pub | 2 + .../pbft/rep_4/cert/node_109.key.pri | 2 + .../pbft/rep_4/cert/node_109.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_11.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_11.key.pub | 2 + .../pbft/rep_4/cert/node_110.key.pri | 2 + .../pbft/rep_4/cert/node_110.key.pub | 2 + .../pbft/rep_4/cert/node_111.key.pri | 2 + .../pbft/rep_4/cert/node_111.key.pub | 2 + .../pbft/rep_4/cert/node_112.key.pri | 2 + .../pbft/rep_4/cert/node_112.key.pub | 2 + .../pbft/rep_4/cert/node_113.key.pri | 2 + .../pbft/rep_4/cert/node_113.key.pub | 2 + .../pbft/rep_4/cert/node_114.key.pri | 2 + .../pbft/rep_4/cert/node_114.key.pub | 2 + .../pbft/rep_4/cert/node_115.key.pri | 2 + .../pbft/rep_4/cert/node_115.key.pub | 2 + .../pbft/rep_4/cert/node_116.key.pri | 2 + .../pbft/rep_4/cert/node_116.key.pub | 2 + .../pbft/rep_4/cert/node_117.key.pri | 2 + .../pbft/rep_4/cert/node_117.key.pub | 2 + .../pbft/rep_4/cert/node_118.key.pri | 2 + .../pbft/rep_4/cert/node_118.key.pub | 2 + .../pbft/rep_4/cert/node_119.key.pri | 2 + .../pbft/rep_4/cert/node_119.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_12.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_12.key.pub | 2 + .../pbft/rep_4/cert/node_120.key.pri | 2 + .../pbft/rep_4/cert/node_120.key.pub | 2 + .../pbft/rep_4/cert/node_121.key.pri | 2 + .../pbft/rep_4/cert/node_121.key.pub | 2 + .../pbft/rep_4/cert/node_122.key.pri | 2 + .../pbft/rep_4/cert/node_122.key.pub | 2 + .../pbft/rep_4/cert/node_123.key.pri | 2 + .../pbft/rep_4/cert/node_123.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_13.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_13.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_14.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_14.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_15.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_15.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_16.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_16.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_17.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_17.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_18.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_18.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_19.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_19.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_2.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_2.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_20.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_20.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_21.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_21.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_22.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_22.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_23.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_23.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_24.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_24.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_25.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_25.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_26.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_26.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_27.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_27.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_28.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_28.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_29.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_29.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_3.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_3.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_30.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_30.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_31.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_31.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_32.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_32.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_33.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_33.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_34.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_34.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_35.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_35.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_36.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_36.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_37.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_37.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_38.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_38.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_39.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_39.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_4.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_4.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_40.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_40.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_41.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_41.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_42.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_42.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_43.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_43.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_44.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_44.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_45.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_45.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_46.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_46.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_47.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_47.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_48.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_48.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_49.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_49.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_5.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_5.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_50.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_50.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_51.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_51.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_52.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_52.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_53.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_53.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_54.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_54.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_55.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_55.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_56.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_56.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_57.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_57.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_58.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_58.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_59.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_59.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_61.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_61.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_62.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_62.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_63.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_63.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_64.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_64.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_65.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_65.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_66.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_66.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_67.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_67.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_68.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_68.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_69.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_69.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_70.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_70.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_71.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_71.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_72.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_72.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_73.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_73.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_74.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_74.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_75.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_75.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_76.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_76.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_77.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_77.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_78.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_78.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_79.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_79.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_80.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_80.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_81.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_81.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_82.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_82.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_83.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_83.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_84.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_84.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_85.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_85.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_86.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_86.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_87.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_87.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_88.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_88.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_89.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_89.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_90.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_90.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_91.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_91.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_92.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_92.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_93.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_93.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_94.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_94.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_95.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_95.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_96.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_96.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_97.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_97.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_98.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_98.key.pub | 2 + oracle_script/pbft/rep_4/cert/node_99.key.pri | 2 + oracle_script/pbft/rep_4/cert/node_99.key.pub | 2 + oracle_script/pbft/rep_4/cert/svr_list.txt | 6 + oracle_script/pbft/rep_4/cli_list.txt | 2 + oracle_script/pbft/rep_4/client.config | 1 + oracle_script/pbft/rep_4/iplist.txt | 6 + oracle_script/pbft/rep_4/poc.conf | 9 + oracle_script/pbft/rep_4/run_cli.sh | 4 + oracle_script/pbft/rep_4/run_poc.sh | 3 + oracle_script/pbft/rep_4/run_svr.sh | 3 + oracle_script/pbft/rep_4/server.config | 4 + oracle_script/pbft/rep_4/svr_list.txt | 5 + oracle_script/pbft/rep_64/benchmark.conf | 16 + oracle_script/pbft/rep_64/cert/cert_1.cert | 6 + oracle_script/pbft/rep_64/cert/cert_10.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_11.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_12.cert | 7 + oracle_script/pbft/rep_64/cert/cert_13.cert | 7 + oracle_script/pbft/rep_64/cert/cert_14.cert | 6 + oracle_script/pbft/rep_64/cert/cert_15.cert | 7 + oracle_script/pbft/rep_64/cert/cert_16.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_17.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_18.cert | 8 + oracle_script/pbft/rep_64/cert/cert_19.cert | 6 + oracle_script/pbft/rep_64/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_20.cert | 7 + oracle_script/pbft/rep_64/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_22.cert | 7 + oracle_script/pbft/rep_64/cert/cert_23.cert | 7 + oracle_script/pbft/rep_64/cert/cert_24.cert | 6 + oracle_script/pbft/rep_64/cert/cert_25.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_26.cert | 7 + oracle_script/pbft/rep_64/cert/cert_27.cert | 7 + oracle_script/pbft/rep_64/cert/cert_28.cert | 7 + oracle_script/pbft/rep_64/cert/cert_29.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_3.cert | 7 + oracle_script/pbft/rep_64/cert/cert_30.cert | 7 + oracle_script/pbft/rep_64/cert/cert_31.cert | 7 + oracle_script/pbft/rep_64/cert/cert_32.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_33.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_34.cert | 6 + oracle_script/pbft/rep_64/cert/cert_35.cert | 8 + oracle_script/pbft/rep_64/cert/cert_36.cert | 7 + oracle_script/pbft/rep_64/cert/cert_37.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_38.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_39.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_4.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_40.cert | 7 + oracle_script/pbft/rep_64/cert/cert_41.cert | 6 + oracle_script/pbft/rep_64/cert/cert_42.cert | 7 + oracle_script/pbft/rep_64/cert/cert_43.cert | 6 + oracle_script/pbft/rep_64/cert/cert_44.cert | 7 + oracle_script/pbft/rep_64/cert/cert_45.cert | 6 + oracle_script/pbft/rep_64/cert/cert_46.cert | 7 + oracle_script/pbft/rep_64/cert/cert_47.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_48.cert | 7 + oracle_script/pbft/rep_64/cert/cert_49.cert | 8 + oracle_script/pbft/rep_64/cert/cert_5.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_50.cert | 7 + oracle_script/pbft/rep_64/cert/cert_51.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_52.cert | 8 + oracle_script/pbft/rep_64/cert/cert_53.cert | 6 + oracle_script/pbft/rep_64/cert/cert_54.cert | 7 + oracle_script/pbft/rep_64/cert/cert_55.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_56.cert | 7 + oracle_script/pbft/rep_64/cert/cert_57.cert | Bin 0 -> 168 bytes oracle_script/pbft/rep_64/cert/cert_58.cert | 7 + oracle_script/pbft/rep_64/cert/cert_59.cert | 7 + oracle_script/pbft/rep_64/cert/cert_6.cert | 7 + oracle_script/pbft/rep_64/cert/cert_60.cert | 7 + oracle_script/pbft/rep_64/cert/cert_61.cert | 6 + oracle_script/pbft/rep_64/cert/cert_62.cert | 7 + oracle_script/pbft/rep_64/cert/cert_63.cert | 8 + oracle_script/pbft/rep_64/cert/cert_64.cert | Bin 0 -> 167 bytes oracle_script/pbft/rep_64/cert/cert_65.cert | 8 + oracle_script/pbft/rep_64/cert/cert_7.cert | 6 + oracle_script/pbft/rep_64/cert/cert_8.cert | 7 + oracle_script/pbft/rep_64/cert/cert_9.cert | 6 + oracle_script/pbft/rep_64/cert/node_1.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_1.key.pub | 2 + .../pbft/rep_64/cert/node_10.key.pri | 2 + .../pbft/rep_64/cert/node_10.key.pub | 2 + .../pbft/rep_64/cert/node_11.key.pri | 2 + .../pbft/rep_64/cert/node_11.key.pub | 2 + .../pbft/rep_64/cert/node_12.key.pri | 2 + .../pbft/rep_64/cert/node_12.key.pub | 2 + .../pbft/rep_64/cert/node_13.key.pri | 2 + .../pbft/rep_64/cert/node_13.key.pub | 2 + .../pbft/rep_64/cert/node_14.key.pri | 2 + .../pbft/rep_64/cert/node_14.key.pub | 2 + .../pbft/rep_64/cert/node_15.key.pri | 2 + .../pbft/rep_64/cert/node_15.key.pub | 2 + .../pbft/rep_64/cert/node_16.key.pri | 2 + .../pbft/rep_64/cert/node_16.key.pub | 2 + .../pbft/rep_64/cert/node_17.key.pri | 2 + .../pbft/rep_64/cert/node_17.key.pub | 2 + .../pbft/rep_64/cert/node_18.key.pri | 2 + .../pbft/rep_64/cert/node_18.key.pub | 2 + .../pbft/rep_64/cert/node_19.key.pri | 2 + .../pbft/rep_64/cert/node_19.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_2.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_2.key.pub | 2 + .../pbft/rep_64/cert/node_20.key.pri | 2 + .../pbft/rep_64/cert/node_20.key.pub | 2 + .../pbft/rep_64/cert/node_21.key.pri | 2 + .../pbft/rep_64/cert/node_21.key.pub | 2 + .../pbft/rep_64/cert/node_22.key.pri | 2 + .../pbft/rep_64/cert/node_22.key.pub | 2 + .../pbft/rep_64/cert/node_23.key.pri | 2 + .../pbft/rep_64/cert/node_23.key.pub | 2 + .../pbft/rep_64/cert/node_24.key.pri | 2 + .../pbft/rep_64/cert/node_24.key.pub | 2 + .../pbft/rep_64/cert/node_25.key.pri | 2 + .../pbft/rep_64/cert/node_25.key.pub | 2 + .../pbft/rep_64/cert/node_26.key.pri | 2 + .../pbft/rep_64/cert/node_26.key.pub | 2 + .../pbft/rep_64/cert/node_27.key.pri | 2 + .../pbft/rep_64/cert/node_27.key.pub | 2 + .../pbft/rep_64/cert/node_28.key.pri | 2 + .../pbft/rep_64/cert/node_28.key.pub | 2 + .../pbft/rep_64/cert/node_29.key.pri | 2 + .../pbft/rep_64/cert/node_29.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_3.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_3.key.pub | 2 + .../pbft/rep_64/cert/node_30.key.pri | 2 + .../pbft/rep_64/cert/node_30.key.pub | 2 + .../pbft/rep_64/cert/node_31.key.pri | 2 + .../pbft/rep_64/cert/node_31.key.pub | 2 + .../pbft/rep_64/cert/node_32.key.pri | 2 + .../pbft/rep_64/cert/node_32.key.pub | 2 + .../pbft/rep_64/cert/node_33.key.pri | 2 + .../pbft/rep_64/cert/node_33.key.pub | 2 + .../pbft/rep_64/cert/node_34.key.pri | 2 + .../pbft/rep_64/cert/node_34.key.pub | 2 + .../pbft/rep_64/cert/node_35.key.pri | 2 + .../pbft/rep_64/cert/node_35.key.pub | 2 + .../pbft/rep_64/cert/node_36.key.pri | 2 + .../pbft/rep_64/cert/node_36.key.pub | 2 + .../pbft/rep_64/cert/node_37.key.pri | 2 + .../pbft/rep_64/cert/node_37.key.pub | 2 + .../pbft/rep_64/cert/node_38.key.pri | 2 + .../pbft/rep_64/cert/node_38.key.pub | 2 + .../pbft/rep_64/cert/node_39.key.pri | 2 + .../pbft/rep_64/cert/node_39.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_4.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_4.key.pub | 2 + .../pbft/rep_64/cert/node_40.key.pri | 2 + .../pbft/rep_64/cert/node_40.key.pub | 2 + .../pbft/rep_64/cert/node_41.key.pri | 2 + .../pbft/rep_64/cert/node_41.key.pub | 2 + .../pbft/rep_64/cert/node_42.key.pri | 2 + .../pbft/rep_64/cert/node_42.key.pub | 2 + .../pbft/rep_64/cert/node_43.key.pri | 2 + .../pbft/rep_64/cert/node_43.key.pub | 2 + .../pbft/rep_64/cert/node_44.key.pri | 2 + .../pbft/rep_64/cert/node_44.key.pub | 2 + .../pbft/rep_64/cert/node_45.key.pri | 2 + .../pbft/rep_64/cert/node_45.key.pub | 2 + .../pbft/rep_64/cert/node_46.key.pri | 2 + .../pbft/rep_64/cert/node_46.key.pub | 2 + .../pbft/rep_64/cert/node_47.key.pri | 2 + .../pbft/rep_64/cert/node_47.key.pub | 2 + .../pbft/rep_64/cert/node_48.key.pri | 2 + .../pbft/rep_64/cert/node_48.key.pub | 2 + .../pbft/rep_64/cert/node_49.key.pri | 2 + .../pbft/rep_64/cert/node_49.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_5.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_5.key.pub | 2 + .../pbft/rep_64/cert/node_50.key.pri | 2 + .../pbft/rep_64/cert/node_50.key.pub | 2 + .../pbft/rep_64/cert/node_51.key.pri | 2 + .../pbft/rep_64/cert/node_51.key.pub | 2 + .../pbft/rep_64/cert/node_52.key.pri | 2 + .../pbft/rep_64/cert/node_52.key.pub | 2 + .../pbft/rep_64/cert/node_53.key.pri | 2 + .../pbft/rep_64/cert/node_53.key.pub | 2 + .../pbft/rep_64/cert/node_54.key.pri | 2 + .../pbft/rep_64/cert/node_54.key.pub | 2 + .../pbft/rep_64/cert/node_55.key.pri | 2 + .../pbft/rep_64/cert/node_55.key.pub | 2 + .../pbft/rep_64/cert/node_56.key.pri | 2 + .../pbft/rep_64/cert/node_56.key.pub | 2 + .../pbft/rep_64/cert/node_57.key.pri | 2 + .../pbft/rep_64/cert/node_57.key.pub | 2 + .../pbft/rep_64/cert/node_58.key.pri | 2 + .../pbft/rep_64/cert/node_58.key.pub | 2 + .../pbft/rep_64/cert/node_59.key.pri | 2 + .../pbft/rep_64/cert/node_59.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_6.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_6.key.pub | 2 + .../pbft/rep_64/cert/node_60.key.pri | 2 + .../pbft/rep_64/cert/node_60.key.pub | 2 + .../pbft/rep_64/cert/node_61.key.pri | 2 + .../pbft/rep_64/cert/node_61.key.pub | 2 + .../pbft/rep_64/cert/node_62.key.pri | 2 + .../pbft/rep_64/cert/node_62.key.pub | 2 + .../pbft/rep_64/cert/node_63.key.pri | 2 + .../pbft/rep_64/cert/node_63.key.pub | 2 + .../pbft/rep_64/cert/node_64.key.pri | 2 + .../pbft/rep_64/cert/node_64.key.pub | 2 + .../pbft/rep_64/cert/node_65.key.pri | 2 + .../pbft/rep_64/cert/node_65.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_7.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_7.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_8.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_8.key.pub | 2 + oracle_script/pbft/rep_64/cert/node_9.key.pri | 2 + oracle_script/pbft/rep_64/cert/node_9.key.pub | 2 + oracle_script/pbft/rep_64/cli_list.txt | 2 + oracle_script/pbft/rep_64/client.config | 1 + oracle_script/pbft/rep_64/iplist.txt | 65 + oracle_script/pbft/rep_64/poc.conf | 9 + oracle_script/pbft/rep_64/run_cli.sh | 4 + oracle_script/pbft/rep_64/run_svr.sh | 3 + oracle_script/pbft/rep_64/server.config | 64 + oracle_script/pbft/rep_64/svr_list.txt | 65 + oracle_script/pbft/run_cli.sh | 5 + oracle_script/pbft/run_poc.sh | 5 + oracle_script/pbft/run_svr.sh | 5 + oracle_script/pbft/script/BUILD | 37 + oracle_script/pbft/script/benchmark_result.py | 28 + oracle_script/pbft/script/killall.sh | 22 + oracle_script/pbft/script/ready_result.py | 19 + oracle_script/pbft/script/run_cli.py | 48 + oracle_script/pbft/script/run_server.sh | 24 + oracle_script/pbft/script/run_svr.py | 81 + oracle_script/pbft/script/shell_cmd.sh | 14 + oracle_script/pbft/server.config | 16 + oracle_script/pbft/start_benchmark.sh | 10 + oracle_script/pbft/svr_list.txt | 17 + oracle_script/pow/BUILD | 28 + oracle_script/pow/benchmark_result.py | 131 + oracle_script/pow/bft_server.config | 4 + oracle_script/pow/cli_list.txt | 2 + oracle_script/pow/cmd.sh | 22 + oracle_script/pow/killall.sh | 22 + oracle_script/pow/poc.conf | 15 + oracle_script/pow/pow_server.config | 120 + oracle_script/pow/remote_shell_cmd.sh | 15 + oracle_script/pow/rep_120/cert/cert_1.cert | 6 + oracle_script/pow/rep_120/cert/cert_10.cert | 7 + oracle_script/pow/rep_120/cert/cert_100.cert | 6 + oracle_script/pow/rep_120/cert/cert_101.cert | 7 + oracle_script/pow/rep_120/cert/cert_102.cert | 7 + oracle_script/pow/rep_120/cert/cert_103.cert | 6 + oracle_script/pow/rep_120/cert/cert_104.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_105.cert | 6 + oracle_script/pow/rep_120/cert/cert_106.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_107.cert | 7 + oracle_script/pow/rep_120/cert/cert_108.cert | 6 + oracle_script/pow/rep_120/cert/cert_109.cert | 7 + oracle_script/pow/rep_120/cert/cert_11.cert | 6 + oracle_script/pow/rep_120/cert/cert_110.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_111.cert | 6 + oracle_script/pow/rep_120/cert/cert_112.cert | 6 + oracle_script/pow/rep_120/cert/cert_113.cert | 6 + oracle_script/pow/rep_120/cert/cert_114.cert | 6 + oracle_script/pow/rep_120/cert/cert_115.cert | 6 + oracle_script/pow/rep_120/cert/cert_116.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_117.cert | 6 + oracle_script/pow/rep_120/cert/cert_118.cert | 6 + oracle_script/pow/rep_120/cert/cert_119.cert | 6 + oracle_script/pow/rep_120/cert/cert_12.cert | 6 + oracle_script/pow/rep_120/cert/cert_120.cert | 7 + oracle_script/pow/rep_120/cert/cert_121.cert | Bin 0 -> 169 bytes oracle_script/pow/rep_120/cert/cert_122.cert | 6 + oracle_script/pow/rep_120/cert/cert_123.cert | 6 + oracle_script/pow/rep_120/cert/cert_13.cert | 6 + oracle_script/pow/rep_120/cert/cert_14.cert | 6 + oracle_script/pow/rep_120/cert/cert_15.cert | 6 + oracle_script/pow/rep_120/cert/cert_16.cert | 7 + oracle_script/pow/rep_120/cert/cert_17.cert | 6 + oracle_script/pow/rep_120/cert/cert_18.cert | 7 + oracle_script/pow/rep_120/cert/cert_19.cert | 6 + oracle_script/pow/rep_120/cert/cert_2.cert | 6 + oracle_script/pow/rep_120/cert/cert_20.cert | 6 + oracle_script/pow/rep_120/cert/cert_21.cert | 6 + oracle_script/pow/rep_120/cert/cert_22.cert | 6 + oracle_script/pow/rep_120/cert/cert_23.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_24.cert | 6 + oracle_script/pow/rep_120/cert/cert_25.cert | 6 + oracle_script/pow/rep_120/cert/cert_26.cert | 6 + oracle_script/pow/rep_120/cert/cert_27.cert | 6 + oracle_script/pow/rep_120/cert/cert_28.cert | 6 + oracle_script/pow/rep_120/cert/cert_29.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_3.cert | 6 + oracle_script/pow/rep_120/cert/cert_30.cert | 6 + oracle_script/pow/rep_120/cert/cert_31.cert | 7 + oracle_script/pow/rep_120/cert/cert_32.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_33.cert | 6 + oracle_script/pow/rep_120/cert/cert_34.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_35.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_36.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_37.cert | 8 + oracle_script/pow/rep_120/cert/cert_38.cert | 8 + oracle_script/pow/rep_120/cert/cert_39.cert | 6 + oracle_script/pow/rep_120/cert/cert_4.cert | 7 + oracle_script/pow/rep_120/cert/cert_40.cert | 6 + oracle_script/pow/rep_120/cert/cert_41.cert | 6 + oracle_script/pow/rep_120/cert/cert_42.cert | 6 + oracle_script/pow/rep_120/cert/cert_43.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_44.cert | 6 + oracle_script/pow/rep_120/cert/cert_45.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_46.cert | 6 + oracle_script/pow/rep_120/cert/cert_47.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_48.cert | 6 + oracle_script/pow/rep_120/cert/cert_49.cert | 6 + oracle_script/pow/rep_120/cert/cert_5.cert | 7 + oracle_script/pow/rep_120/cert/cert_50.cert | 7 + oracle_script/pow/rep_120/cert/cert_51.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_52.cert | 8 + oracle_script/pow/rep_120/cert/cert_53.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_54.cert | 6 + oracle_script/pow/rep_120/cert/cert_55.cert | 6 + oracle_script/pow/rep_120/cert/cert_56.cert | 6 + oracle_script/pow/rep_120/cert/cert_57.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_58.cert | 6 + oracle_script/pow/rep_120/cert/cert_59.cert | 6 + oracle_script/pow/rep_120/cert/cert_6.cert | 6 + oracle_script/pow/rep_120/cert/cert_60.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_61.cert | 6 + oracle_script/pow/rep_120/cert/cert_62.cert | 6 + oracle_script/pow/rep_120/cert/cert_63.cert | 6 + oracle_script/pow/rep_120/cert/cert_64.cert | 6 + oracle_script/pow/rep_120/cert/cert_65.cert | 6 + oracle_script/pow/rep_120/cert/cert_66.cert | 6 + oracle_script/pow/rep_120/cert/cert_67.cert | 6 + oracle_script/pow/rep_120/cert/cert_68.cert | 6 + oracle_script/pow/rep_120/cert/cert_69.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_7.cert | 6 + oracle_script/pow/rep_120/cert/cert_70.cert | 6 + oracle_script/pow/rep_120/cert/cert_71.cert | 6 + oracle_script/pow/rep_120/cert/cert_72.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_73.cert | 6 + oracle_script/pow/rep_120/cert/cert_74.cert | 6 + oracle_script/pow/rep_120/cert/cert_75.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_76.cert | 7 + oracle_script/pow/rep_120/cert/cert_77.cert | 7 + oracle_script/pow/rep_120/cert/cert_78.cert | 7 + oracle_script/pow/rep_120/cert/cert_79.cert | 8 + oracle_script/pow/rep_120/cert/cert_8.cert | 7 + oracle_script/pow/rep_120/cert/cert_80.cert | Bin 0 -> 172 bytes oracle_script/pow/rep_120/cert/cert_81.cert | 6 + oracle_script/pow/rep_120/cert/cert_82.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_83.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_84.cert | 6 + oracle_script/pow/rep_120/cert/cert_85.cert | 7 + oracle_script/pow/rep_120/cert/cert_86.cert | 6 + oracle_script/pow/rep_120/cert/cert_87.cert | 8 + oracle_script/pow/rep_120/cert/cert_88.cert | 8 + oracle_script/pow/rep_120/cert/cert_89.cert | 7 + oracle_script/pow/rep_120/cert/cert_9.cert | 6 + oracle_script/pow/rep_120/cert/cert_90.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_91.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_92.cert | 6 + oracle_script/pow/rep_120/cert/cert_93.cert | 6 + oracle_script/pow/rep_120/cert/cert_94.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_95.cert | 7 + oracle_script/pow/rep_120/cert/cert_96.cert | 7 + oracle_script/pow/rep_120/cert/cert_97.cert | 6 + oracle_script/pow/rep_120/cert/cert_98.cert | Bin 0 -> 171 bytes oracle_script/pow/rep_120/cert/cert_99.cert | 6 + oracle_script/pow/rep_120/cert/node_1.key.pri | 2 + oracle_script/pow/rep_120/cert/node_1.key.pub | 2 + .../pow/rep_120/cert/node_10.key.pri | 2 + .../pow/rep_120/cert/node_10.key.pub | 2 + .../pow/rep_120/cert/node_100.key.pri | 2 + .../pow/rep_120/cert/node_100.key.pub | 2 + .../pow/rep_120/cert/node_101.key.pri | 2 + .../pow/rep_120/cert/node_101.key.pub | 2 + .../pow/rep_120/cert/node_102.key.pri | 2 + .../pow/rep_120/cert/node_102.key.pub | 2 + .../pow/rep_120/cert/node_103.key.pri | 2 + .../pow/rep_120/cert/node_103.key.pub | 2 + .../pow/rep_120/cert/node_104.key.pri | 2 + .../pow/rep_120/cert/node_104.key.pub | 2 + .../pow/rep_120/cert/node_105.key.pri | 2 + .../pow/rep_120/cert/node_105.key.pub | 2 + .../pow/rep_120/cert/node_106.key.pri | 2 + .../pow/rep_120/cert/node_106.key.pub | 2 + .../pow/rep_120/cert/node_107.key.pri | 2 + .../pow/rep_120/cert/node_107.key.pub | 2 + .../pow/rep_120/cert/node_108.key.pri | 2 + .../pow/rep_120/cert/node_108.key.pub | 2 + .../pow/rep_120/cert/node_109.key.pri | 2 + .../pow/rep_120/cert/node_109.key.pub | 2 + .../pow/rep_120/cert/node_11.key.pri | 2 + .../pow/rep_120/cert/node_11.key.pub | 2 + .../pow/rep_120/cert/node_110.key.pri | 2 + .../pow/rep_120/cert/node_110.key.pub | 2 + .../pow/rep_120/cert/node_111.key.pri | 2 + .../pow/rep_120/cert/node_111.key.pub | 2 + .../pow/rep_120/cert/node_112.key.pri | 2 + .../pow/rep_120/cert/node_112.key.pub | 2 + .../pow/rep_120/cert/node_113.key.pri | 2 + .../pow/rep_120/cert/node_113.key.pub | 2 + .../pow/rep_120/cert/node_114.key.pri | 2 + .../pow/rep_120/cert/node_114.key.pub | 2 + .../pow/rep_120/cert/node_115.key.pri | 2 + .../pow/rep_120/cert/node_115.key.pub | 2 + .../pow/rep_120/cert/node_116.key.pri | 2 + .../pow/rep_120/cert/node_116.key.pub | 2 + .../pow/rep_120/cert/node_117.key.pri | 2 + .../pow/rep_120/cert/node_117.key.pub | 2 + .../pow/rep_120/cert/node_118.key.pri | 2 + .../pow/rep_120/cert/node_118.key.pub | 2 + .../pow/rep_120/cert/node_119.key.pri | 2 + .../pow/rep_120/cert/node_119.key.pub | 2 + .../pow/rep_120/cert/node_12.key.pri | 2 + .../pow/rep_120/cert/node_12.key.pub | 2 + .../pow/rep_120/cert/node_120.key.pri | 2 + .../pow/rep_120/cert/node_120.key.pub | 2 + .../pow/rep_120/cert/node_121.key.pri | 2 + .../pow/rep_120/cert/node_121.key.pub | 2 + .../pow/rep_120/cert/node_122.key.pri | 2 + .../pow/rep_120/cert/node_122.key.pub | 2 + .../pow/rep_120/cert/node_123.key.pri | 2 + .../pow/rep_120/cert/node_123.key.pub | 2 + .../pow/rep_120/cert/node_13.key.pri | 2 + .../pow/rep_120/cert/node_13.key.pub | 2 + .../pow/rep_120/cert/node_14.key.pri | 2 + .../pow/rep_120/cert/node_14.key.pub | 2 + .../pow/rep_120/cert/node_15.key.pri | 2 + .../pow/rep_120/cert/node_15.key.pub | 2 + .../pow/rep_120/cert/node_16.key.pri | 2 + .../pow/rep_120/cert/node_16.key.pub | 2 + .../pow/rep_120/cert/node_17.key.pri | 2 + .../pow/rep_120/cert/node_17.key.pub | 2 + .../pow/rep_120/cert/node_18.key.pri | 2 + .../pow/rep_120/cert/node_18.key.pub | 2 + .../pow/rep_120/cert/node_19.key.pri | 2 + .../pow/rep_120/cert/node_19.key.pub | 2 + oracle_script/pow/rep_120/cert/node_2.key.pri | 2 + oracle_script/pow/rep_120/cert/node_2.key.pub | 2 + .../pow/rep_120/cert/node_20.key.pri | 2 + .../pow/rep_120/cert/node_20.key.pub | 2 + .../pow/rep_120/cert/node_21.key.pri | 2 + .../pow/rep_120/cert/node_21.key.pub | 2 + .../pow/rep_120/cert/node_22.key.pri | 2 + .../pow/rep_120/cert/node_22.key.pub | 2 + .../pow/rep_120/cert/node_23.key.pri | 2 + .../pow/rep_120/cert/node_23.key.pub | 2 + .../pow/rep_120/cert/node_24.key.pri | 2 + .../pow/rep_120/cert/node_24.key.pub | 2 + .../pow/rep_120/cert/node_25.key.pri | 2 + .../pow/rep_120/cert/node_25.key.pub | 2 + .../pow/rep_120/cert/node_26.key.pri | 2 + .../pow/rep_120/cert/node_26.key.pub | 2 + .../pow/rep_120/cert/node_27.key.pri | 2 + .../pow/rep_120/cert/node_27.key.pub | 2 + .../pow/rep_120/cert/node_28.key.pri | 2 + .../pow/rep_120/cert/node_28.key.pub | 2 + .../pow/rep_120/cert/node_29.key.pri | 2 + .../pow/rep_120/cert/node_29.key.pub | 2 + oracle_script/pow/rep_120/cert/node_3.key.pri | 2 + oracle_script/pow/rep_120/cert/node_3.key.pub | 2 + .../pow/rep_120/cert/node_30.key.pri | 2 + .../pow/rep_120/cert/node_30.key.pub | 2 + .../pow/rep_120/cert/node_31.key.pri | 2 + .../pow/rep_120/cert/node_31.key.pub | 2 + .../pow/rep_120/cert/node_32.key.pri | 2 + .../pow/rep_120/cert/node_32.key.pub | 2 + .../pow/rep_120/cert/node_33.key.pri | 2 + .../pow/rep_120/cert/node_33.key.pub | 2 + .../pow/rep_120/cert/node_34.key.pri | 2 + .../pow/rep_120/cert/node_34.key.pub | 2 + .../pow/rep_120/cert/node_35.key.pri | 2 + .../pow/rep_120/cert/node_35.key.pub | 2 + .../pow/rep_120/cert/node_36.key.pri | 2 + .../pow/rep_120/cert/node_36.key.pub | 2 + .../pow/rep_120/cert/node_37.key.pri | 2 + .../pow/rep_120/cert/node_37.key.pub | 2 + .../pow/rep_120/cert/node_38.key.pri | 2 + .../pow/rep_120/cert/node_38.key.pub | 2 + .../pow/rep_120/cert/node_39.key.pri | 2 + .../pow/rep_120/cert/node_39.key.pub | 2 + oracle_script/pow/rep_120/cert/node_4.key.pri | 2 + oracle_script/pow/rep_120/cert/node_4.key.pub | 2 + .../pow/rep_120/cert/node_40.key.pri | 2 + .../pow/rep_120/cert/node_40.key.pub | 2 + .../pow/rep_120/cert/node_41.key.pri | 2 + .../pow/rep_120/cert/node_41.key.pub | 2 + .../pow/rep_120/cert/node_42.key.pri | 2 + .../pow/rep_120/cert/node_42.key.pub | 2 + .../pow/rep_120/cert/node_43.key.pri | 2 + .../pow/rep_120/cert/node_43.key.pub | 2 + .../pow/rep_120/cert/node_44.key.pri | 2 + .../pow/rep_120/cert/node_44.key.pub | 2 + .../pow/rep_120/cert/node_45.key.pri | 2 + .../pow/rep_120/cert/node_45.key.pub | 2 + .../pow/rep_120/cert/node_46.key.pri | 2 + .../pow/rep_120/cert/node_46.key.pub | 2 + .../pow/rep_120/cert/node_47.key.pri | 2 + .../pow/rep_120/cert/node_47.key.pub | 2 + .../pow/rep_120/cert/node_48.key.pri | 2 + .../pow/rep_120/cert/node_48.key.pub | 2 + .../pow/rep_120/cert/node_49.key.pri | 2 + .../pow/rep_120/cert/node_49.key.pub | 2 + oracle_script/pow/rep_120/cert/node_5.key.pri | 2 + oracle_script/pow/rep_120/cert/node_5.key.pub | 2 + .../pow/rep_120/cert/node_50.key.pri | 2 + .../pow/rep_120/cert/node_50.key.pub | 2 + .../pow/rep_120/cert/node_51.key.pri | 2 + .../pow/rep_120/cert/node_51.key.pub | 2 + .../pow/rep_120/cert/node_52.key.pri | 2 + .../pow/rep_120/cert/node_52.key.pub | 2 + .../pow/rep_120/cert/node_53.key.pri | 2 + .../pow/rep_120/cert/node_53.key.pub | 2 + .../pow/rep_120/cert/node_54.key.pri | 2 + .../pow/rep_120/cert/node_54.key.pub | 2 + .../pow/rep_120/cert/node_55.key.pri | 2 + .../pow/rep_120/cert/node_55.key.pub | 2 + .../pow/rep_120/cert/node_56.key.pri | 2 + .../pow/rep_120/cert/node_56.key.pub | 2 + .../pow/rep_120/cert/node_57.key.pri | 2 + .../pow/rep_120/cert/node_57.key.pub | 2 + .../pow/rep_120/cert/node_58.key.pri | 2 + .../pow/rep_120/cert/node_58.key.pub | 2 + .../pow/rep_120/cert/node_59.key.pri | 2 + .../pow/rep_120/cert/node_59.key.pub | 2 + oracle_script/pow/rep_120/cert/node_6.key.pri | 2 + oracle_script/pow/rep_120/cert/node_6.key.pub | 2 + .../pow/rep_120/cert/node_60.key.pri | 2 + .../pow/rep_120/cert/node_60.key.pub | 2 + .../pow/rep_120/cert/node_61.key.pri | 2 + .../pow/rep_120/cert/node_61.key.pub | 2 + .../pow/rep_120/cert/node_62.key.pri | 2 + .../pow/rep_120/cert/node_62.key.pub | 2 + .../pow/rep_120/cert/node_63.key.pri | 2 + .../pow/rep_120/cert/node_63.key.pub | 2 + .../pow/rep_120/cert/node_64.key.pri | 2 + .../pow/rep_120/cert/node_64.key.pub | 2 + .../pow/rep_120/cert/node_65.key.pri | 2 + .../pow/rep_120/cert/node_65.key.pub | 2 + .../pow/rep_120/cert/node_66.key.pri | 2 + .../pow/rep_120/cert/node_66.key.pub | 2 + .../pow/rep_120/cert/node_67.key.pri | 2 + .../pow/rep_120/cert/node_67.key.pub | 2 + .../pow/rep_120/cert/node_68.key.pri | 2 + .../pow/rep_120/cert/node_68.key.pub | 2 + .../pow/rep_120/cert/node_69.key.pri | 2 + .../pow/rep_120/cert/node_69.key.pub | 2 + oracle_script/pow/rep_120/cert/node_7.key.pri | 2 + oracle_script/pow/rep_120/cert/node_7.key.pub | 2 + .../pow/rep_120/cert/node_70.key.pri | 2 + .../pow/rep_120/cert/node_70.key.pub | 2 + .../pow/rep_120/cert/node_71.key.pri | 2 + .../pow/rep_120/cert/node_71.key.pub | 2 + .../pow/rep_120/cert/node_72.key.pri | 2 + .../pow/rep_120/cert/node_72.key.pub | 2 + .../pow/rep_120/cert/node_73.key.pri | 2 + .../pow/rep_120/cert/node_73.key.pub | 2 + .../pow/rep_120/cert/node_74.key.pri | 2 + .../pow/rep_120/cert/node_74.key.pub | 2 + .../pow/rep_120/cert/node_75.key.pri | 2 + .../pow/rep_120/cert/node_75.key.pub | 2 + .../pow/rep_120/cert/node_76.key.pri | 2 + .../pow/rep_120/cert/node_76.key.pub | 2 + .../pow/rep_120/cert/node_77.key.pri | 2 + .../pow/rep_120/cert/node_77.key.pub | 2 + .../pow/rep_120/cert/node_78.key.pri | 2 + .../pow/rep_120/cert/node_78.key.pub | 2 + .../pow/rep_120/cert/node_79.key.pri | 2 + .../pow/rep_120/cert/node_79.key.pub | 2 + oracle_script/pow/rep_120/cert/node_8.key.pri | 2 + oracle_script/pow/rep_120/cert/node_8.key.pub | 2 + .../pow/rep_120/cert/node_80.key.pri | 2 + .../pow/rep_120/cert/node_80.key.pub | 2 + .../pow/rep_120/cert/node_81.key.pri | 2 + .../pow/rep_120/cert/node_81.key.pub | 2 + .../pow/rep_120/cert/node_82.key.pri | 2 + .../pow/rep_120/cert/node_82.key.pub | 2 + .../pow/rep_120/cert/node_83.key.pri | 2 + .../pow/rep_120/cert/node_83.key.pub | 2 + .../pow/rep_120/cert/node_84.key.pri | 2 + .../pow/rep_120/cert/node_84.key.pub | 2 + .../pow/rep_120/cert/node_85.key.pri | 2 + .../pow/rep_120/cert/node_85.key.pub | 2 + .../pow/rep_120/cert/node_86.key.pri | 2 + .../pow/rep_120/cert/node_86.key.pub | 2 + .../pow/rep_120/cert/node_87.key.pri | 2 + .../pow/rep_120/cert/node_87.key.pub | 2 + .../pow/rep_120/cert/node_88.key.pri | 2 + .../pow/rep_120/cert/node_88.key.pub | 2 + .../pow/rep_120/cert/node_89.key.pri | 2 + .../pow/rep_120/cert/node_89.key.pub | 2 + oracle_script/pow/rep_120/cert/node_9.key.pri | 2 + oracle_script/pow/rep_120/cert/node_9.key.pub | 2 + .../pow/rep_120/cert/node_90.key.pri | 2 + .../pow/rep_120/cert/node_90.key.pub | 2 + .../pow/rep_120/cert/node_91.key.pri | 2 + .../pow/rep_120/cert/node_91.key.pub | 2 + .../pow/rep_120/cert/node_92.key.pri | 2 + .../pow/rep_120/cert/node_92.key.pub | 2 + .../pow/rep_120/cert/node_93.key.pri | 2 + .../pow/rep_120/cert/node_93.key.pub | 2 + .../pow/rep_120/cert/node_94.key.pri | 2 + .../pow/rep_120/cert/node_94.key.pub | 2 + .../pow/rep_120/cert/node_95.key.pri | 2 + .../pow/rep_120/cert/node_95.key.pub | 2 + .../pow/rep_120/cert/node_96.key.pri | 2 + .../pow/rep_120/cert/node_96.key.pub | 2 + .../pow/rep_120/cert/node_97.key.pri | 2 + .../pow/rep_120/cert/node_97.key.pub | 2 + .../pow/rep_120/cert/node_98.key.pri | 2 + .../pow/rep_120/cert/node_98.key.pub | 2 + .../pow/rep_120/cert/node_99.key.pri | 2 + .../pow/rep_120/cert/node_99.key.pub | 2 + oracle_script/pow/rep_120/cli_list.txt | 1 + oracle_script/pow/rep_120/iplist.txt | 120 + oracle_script/pow/rep_120/lat.sh | 125 + oracle_script/pow/rep_120/poc.conf | 13 + oracle_script/pow/rep_120/run_poc.sh | 3 + oracle_script/pow/rep_120/svr_list.txt | 121 + oracle_script/pow/rep_16/cert/cert_1.cert | 6 + oracle_script/pow/rep_16/cert/cert_10.cert | 8 + oracle_script/pow/rep_16/cert/cert_11.cert | 6 + oracle_script/pow/rep_16/cert/cert_12.cert | Bin 0 -> 166 bytes oracle_script/pow/rep_16/cert/cert_13.cert | 8 + oracle_script/pow/rep_16/cert/cert_14.cert | 7 + oracle_script/pow/rep_16/cert/cert_15.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_16/cert/cert_16.cert | 7 + oracle_script/pow/rep_16/cert/cert_2.cert | 6 + oracle_script/pow/rep_16/cert/cert_3.cert | 6 + oracle_script/pow/rep_16/cert/cert_4.cert | 7 + oracle_script/pow/rep_16/cert/cert_5.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_16/cert/cert_6.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_16/cert/cert_7.cert | 6 + oracle_script/pow/rep_16/cert/cert_8.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_16/cert/cert_9.cert | 8 + oracle_script/pow/rep_16/cert/node_1.key.pri | 2 + oracle_script/pow/rep_16/cert/node_1.key.pub | 2 + oracle_script/pow/rep_16/cert/node_10.key.pri | 2 + oracle_script/pow/rep_16/cert/node_10.key.pub | 2 + .../pow/rep_16/cert/node_100.key.pri | 2 + .../pow/rep_16/cert/node_100.key.pub | 2 + .../pow/rep_16/cert/node_101.key.pri | 2 + .../pow/rep_16/cert/node_101.key.pub | 2 + .../pow/rep_16/cert/node_102.key.pri | 2 + .../pow/rep_16/cert/node_102.key.pub | 2 + .../pow/rep_16/cert/node_103.key.pri | 2 + .../pow/rep_16/cert/node_103.key.pub | 2 + .../pow/rep_16/cert/node_104.key.pri | 2 + .../pow/rep_16/cert/node_104.key.pub | 2 + .../pow/rep_16/cert/node_105.key.pri | 2 + .../pow/rep_16/cert/node_105.key.pub | 2 + .../pow/rep_16/cert/node_106.key.pri | 2 + .../pow/rep_16/cert/node_106.key.pub | 2 + .../pow/rep_16/cert/node_107.key.pri | 2 + .../pow/rep_16/cert/node_107.key.pub | 2 + .../pow/rep_16/cert/node_108.key.pri | 2 + .../pow/rep_16/cert/node_108.key.pub | 2 + .../pow/rep_16/cert/node_109.key.pri | 2 + .../pow/rep_16/cert/node_109.key.pub | 2 + oracle_script/pow/rep_16/cert/node_11.key.pri | 2 + oracle_script/pow/rep_16/cert/node_11.key.pub | 2 + .../pow/rep_16/cert/node_110.key.pri | 2 + .../pow/rep_16/cert/node_110.key.pub | 2 + .../pow/rep_16/cert/node_111.key.pri | 2 + .../pow/rep_16/cert/node_111.key.pub | 2 + .../pow/rep_16/cert/node_112.key.pri | 2 + .../pow/rep_16/cert/node_112.key.pub | 2 + .../pow/rep_16/cert/node_113.key.pri | 2 + .../pow/rep_16/cert/node_113.key.pub | 2 + .../pow/rep_16/cert/node_114.key.pri | 2 + .../pow/rep_16/cert/node_114.key.pub | 2 + .../pow/rep_16/cert/node_115.key.pri | 2 + .../pow/rep_16/cert/node_115.key.pub | 2 + .../pow/rep_16/cert/node_116.key.pri | 2 + .../pow/rep_16/cert/node_116.key.pub | 2 + .../pow/rep_16/cert/node_117.key.pri | 2 + .../pow/rep_16/cert/node_117.key.pub | 2 + .../pow/rep_16/cert/node_118.key.pri | 2 + .../pow/rep_16/cert/node_118.key.pub | 2 + .../pow/rep_16/cert/node_119.key.pri | 2 + .../pow/rep_16/cert/node_119.key.pub | 2 + oracle_script/pow/rep_16/cert/node_12.key.pri | 2 + oracle_script/pow/rep_16/cert/node_12.key.pub | 2 + .../pow/rep_16/cert/node_120.key.pri | 2 + .../pow/rep_16/cert/node_120.key.pub | 2 + .../pow/rep_16/cert/node_121.key.pri | 2 + .../pow/rep_16/cert/node_121.key.pub | 2 + .../pow/rep_16/cert/node_122.key.pri | 2 + .../pow/rep_16/cert/node_122.key.pub | 2 + .../pow/rep_16/cert/node_123.key.pri | 2 + .../pow/rep_16/cert/node_123.key.pub | 2 + oracle_script/pow/rep_16/cert/node_13.key.pri | 2 + oracle_script/pow/rep_16/cert/node_13.key.pub | 2 + oracle_script/pow/rep_16/cert/node_14.key.pri | 2 + oracle_script/pow/rep_16/cert/node_14.key.pub | 2 + oracle_script/pow/rep_16/cert/node_15.key.pri | 2 + oracle_script/pow/rep_16/cert/node_15.key.pub | 2 + oracle_script/pow/rep_16/cert/node_16.key.pri | 2 + oracle_script/pow/rep_16/cert/node_16.key.pub | 2 + oracle_script/pow/rep_16/cert/node_2.key.pri | 2 + oracle_script/pow/rep_16/cert/node_2.key.pub | 2 + oracle_script/pow/rep_16/cert/node_3.key.pri | 2 + oracle_script/pow/rep_16/cert/node_3.key.pub | 2 + oracle_script/pow/rep_16/cert/node_4.key.pri | 2 + oracle_script/pow/rep_16/cert/node_4.key.pub | 2 + oracle_script/pow/rep_16/cert/node_5.key.pri | 2 + oracle_script/pow/rep_16/cert/node_5.key.pub | 2 + oracle_script/pow/rep_16/cert/node_6.key.pri | 2 + oracle_script/pow/rep_16/cert/node_6.key.pub | 2 + oracle_script/pow/rep_16/cert/node_66.key.pri | 2 + oracle_script/pow/rep_16/cert/node_66.key.pub | 2 + oracle_script/pow/rep_16/cert/node_67.key.pri | 2 + oracle_script/pow/rep_16/cert/node_67.key.pub | 2 + oracle_script/pow/rep_16/cert/node_68.key.pri | 2 + oracle_script/pow/rep_16/cert/node_68.key.pub | 2 + oracle_script/pow/rep_16/cert/node_69.key.pri | 2 + oracle_script/pow/rep_16/cert/node_69.key.pub | 2 + oracle_script/pow/rep_16/cert/node_7.key.pri | 2 + oracle_script/pow/rep_16/cert/node_7.key.pub | 2 + oracle_script/pow/rep_16/cert/node_70.key.pri | 2 + oracle_script/pow/rep_16/cert/node_70.key.pub | 2 + oracle_script/pow/rep_16/cert/node_71.key.pri | 2 + oracle_script/pow/rep_16/cert/node_71.key.pub | 2 + oracle_script/pow/rep_16/cert/node_72.key.pri | 2 + oracle_script/pow/rep_16/cert/node_72.key.pub | 2 + oracle_script/pow/rep_16/cert/node_73.key.pri | 2 + oracle_script/pow/rep_16/cert/node_73.key.pub | 2 + oracle_script/pow/rep_16/cert/node_74.key.pri | 2 + oracle_script/pow/rep_16/cert/node_74.key.pub | 2 + oracle_script/pow/rep_16/cert/node_75.key.pri | 2 + oracle_script/pow/rep_16/cert/node_75.key.pub | 2 + oracle_script/pow/rep_16/cert/node_76.key.pri | 2 + oracle_script/pow/rep_16/cert/node_76.key.pub | 2 + oracle_script/pow/rep_16/cert/node_77.key.pri | 2 + oracle_script/pow/rep_16/cert/node_77.key.pub | 2 + oracle_script/pow/rep_16/cert/node_78.key.pri | 2 + oracle_script/pow/rep_16/cert/node_78.key.pub | 2 + oracle_script/pow/rep_16/cert/node_79.key.pri | 2 + oracle_script/pow/rep_16/cert/node_79.key.pub | 2 + oracle_script/pow/rep_16/cert/node_8.key.pri | 2 + oracle_script/pow/rep_16/cert/node_8.key.pub | 2 + oracle_script/pow/rep_16/cert/node_80.key.pri | 2 + oracle_script/pow/rep_16/cert/node_80.key.pub | 2 + oracle_script/pow/rep_16/cert/node_81.key.pri | 2 + oracle_script/pow/rep_16/cert/node_81.key.pub | 2 + oracle_script/pow/rep_16/cert/node_82.key.pri | 2 + oracle_script/pow/rep_16/cert/node_82.key.pub | 2 + oracle_script/pow/rep_16/cert/node_83.key.pri | 2 + oracle_script/pow/rep_16/cert/node_83.key.pub | 2 + oracle_script/pow/rep_16/cert/node_84.key.pri | 2 + oracle_script/pow/rep_16/cert/node_84.key.pub | 2 + oracle_script/pow/rep_16/cert/node_85.key.pri | 2 + oracle_script/pow/rep_16/cert/node_85.key.pub | 2 + oracle_script/pow/rep_16/cert/node_86.key.pri | 2 + oracle_script/pow/rep_16/cert/node_86.key.pub | 2 + oracle_script/pow/rep_16/cert/node_87.key.pri | 2 + oracle_script/pow/rep_16/cert/node_87.key.pub | 2 + oracle_script/pow/rep_16/cert/node_88.key.pri | 2 + oracle_script/pow/rep_16/cert/node_88.key.pub | 2 + oracle_script/pow/rep_16/cert/node_89.key.pri | 2 + oracle_script/pow/rep_16/cert/node_89.key.pub | 2 + oracle_script/pow/rep_16/cert/node_9.key.pri | 2 + oracle_script/pow/rep_16/cert/node_9.key.pub | 2 + oracle_script/pow/rep_16/cert/node_90.key.pri | 2 + oracle_script/pow/rep_16/cert/node_90.key.pub | 2 + oracle_script/pow/rep_16/cert/node_91.key.pri | 2 + oracle_script/pow/rep_16/cert/node_91.key.pub | 2 + oracle_script/pow/rep_16/cert/node_92.key.pri | 2 + oracle_script/pow/rep_16/cert/node_92.key.pub | 2 + oracle_script/pow/rep_16/cert/node_93.key.pri | 2 + oracle_script/pow/rep_16/cert/node_93.key.pub | 2 + oracle_script/pow/rep_16/cert/node_94.key.pri | 2 + oracle_script/pow/rep_16/cert/node_94.key.pub | 2 + oracle_script/pow/rep_16/cert/node_95.key.pri | 2 + oracle_script/pow/rep_16/cert/node_95.key.pub | 2 + oracle_script/pow/rep_16/cert/node_96.key.pri | 2 + oracle_script/pow/rep_16/cert/node_96.key.pub | 2 + oracle_script/pow/rep_16/cert/node_97.key.pri | 2 + oracle_script/pow/rep_16/cert/node_97.key.pub | 2 + oracle_script/pow/rep_16/cert/node_98.key.pri | 2 + oracle_script/pow/rep_16/cert/node_98.key.pub | 2 + oracle_script/pow/rep_16/cert/node_99.key.pri | 2 + oracle_script/pow/rep_16/cert/node_99.key.pub | 2 + oracle_script/pow/rep_16/cli_list.txt | 1 + oracle_script/pow/rep_16/iplist.txt | 16 + oracle_script/pow/rep_16/lat.sh | 27 + oracle_script/pow/rep_16/poc.conf | 13 + oracle_script/pow/rep_16/run_poc.sh | 3 + oracle_script/pow/rep_16/svr_list.txt | 17 + oracle_script/pow/rep_32/cert/cert_1.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_10.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_11.cert | 6 + oracle_script/pow/rep_32/cert/cert_12.cert | 8 + oracle_script/pow/rep_32/cert/cert_13.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_14.cert | 6 + oracle_script/pow/rep_32/cert/cert_15.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_16.cert | 8 + oracle_script/pow/rep_32/cert/cert_17.cert | 6 + oracle_script/pow/rep_32/cert/cert_18.cert | 7 + oracle_script/pow/rep_32/cert/cert_19.cert | 6 + oracle_script/pow/rep_32/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_20.cert | 7 + oracle_script/pow/rep_32/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_22.cert | 8 + oracle_script/pow/rep_32/cert/cert_23.cert | 8 + oracle_script/pow/rep_32/cert/cert_24.cert | 6 + oracle_script/pow/rep_32/cert/cert_25.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_26.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_27.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_28.cert | 6 + oracle_script/pow/rep_32/cert/cert_29.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_3.cert | 6 + oracle_script/pow/rep_32/cert/cert_30.cert | 7 + oracle_script/pow/rep_32/cert/cert_31.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_32.cert | 7 + oracle_script/pow/rep_32/cert/cert_4.cert | 7 + oracle_script/pow/rep_32/cert/cert_5.cert | 7 + oracle_script/pow/rep_32/cert/cert_6.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_32/cert/cert_7.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_32/cert/cert_8.cert | 8 + oracle_script/pow/rep_32/cert/cert_9.cert | 6 + oracle_script/pow/rep_32/cert/node_1.key.pri | 2 + oracle_script/pow/rep_32/cert/node_1.key.pub | 2 + oracle_script/pow/rep_32/cert/node_10.key.pri | 2 + oracle_script/pow/rep_32/cert/node_10.key.pub | 2 + .../pow/rep_32/cert/node_100.key.pri | 2 + .../pow/rep_32/cert/node_100.key.pub | 2 + .../pow/rep_32/cert/node_101.key.pri | 2 + .../pow/rep_32/cert/node_101.key.pub | 2 + .../pow/rep_32/cert/node_102.key.pri | 2 + .../pow/rep_32/cert/node_102.key.pub | 2 + .../pow/rep_32/cert/node_103.key.pri | 2 + .../pow/rep_32/cert/node_103.key.pub | 2 + .../pow/rep_32/cert/node_104.key.pri | 2 + .../pow/rep_32/cert/node_104.key.pub | 2 + .../pow/rep_32/cert/node_105.key.pri | 2 + .../pow/rep_32/cert/node_105.key.pub | 2 + .../pow/rep_32/cert/node_106.key.pri | 2 + .../pow/rep_32/cert/node_106.key.pub | 2 + .../pow/rep_32/cert/node_107.key.pri | 2 + .../pow/rep_32/cert/node_107.key.pub | 2 + .../pow/rep_32/cert/node_108.key.pri | 2 + .../pow/rep_32/cert/node_108.key.pub | 2 + .../pow/rep_32/cert/node_109.key.pri | 2 + .../pow/rep_32/cert/node_109.key.pub | 2 + oracle_script/pow/rep_32/cert/node_11.key.pri | 2 + oracle_script/pow/rep_32/cert/node_11.key.pub | 2 + .../pow/rep_32/cert/node_110.key.pri | 2 + .../pow/rep_32/cert/node_110.key.pub | 2 + .../pow/rep_32/cert/node_111.key.pri | 2 + .../pow/rep_32/cert/node_111.key.pub | 2 + .../pow/rep_32/cert/node_112.key.pri | 2 + .../pow/rep_32/cert/node_112.key.pub | 2 + .../pow/rep_32/cert/node_113.key.pri | 2 + .../pow/rep_32/cert/node_113.key.pub | 2 + .../pow/rep_32/cert/node_114.key.pri | 2 + .../pow/rep_32/cert/node_114.key.pub | 2 + .../pow/rep_32/cert/node_115.key.pri | 2 + .../pow/rep_32/cert/node_115.key.pub | 2 + .../pow/rep_32/cert/node_116.key.pri | 2 + .../pow/rep_32/cert/node_116.key.pub | 2 + .../pow/rep_32/cert/node_117.key.pri | 2 + .../pow/rep_32/cert/node_117.key.pub | 2 + .../pow/rep_32/cert/node_118.key.pri | 2 + .../pow/rep_32/cert/node_118.key.pub | 2 + .../pow/rep_32/cert/node_119.key.pri | 2 + .../pow/rep_32/cert/node_119.key.pub | 2 + oracle_script/pow/rep_32/cert/node_12.key.pri | 2 + oracle_script/pow/rep_32/cert/node_12.key.pub | 2 + .../pow/rep_32/cert/node_120.key.pri | 2 + .../pow/rep_32/cert/node_120.key.pub | 2 + .../pow/rep_32/cert/node_121.key.pri | 2 + .../pow/rep_32/cert/node_121.key.pub | 2 + .../pow/rep_32/cert/node_122.key.pri | 2 + .../pow/rep_32/cert/node_122.key.pub | 2 + .../pow/rep_32/cert/node_123.key.pri | 2 + .../pow/rep_32/cert/node_123.key.pub | 2 + oracle_script/pow/rep_32/cert/node_13.key.pri | 2 + oracle_script/pow/rep_32/cert/node_13.key.pub | 2 + oracle_script/pow/rep_32/cert/node_14.key.pri | 2 + oracle_script/pow/rep_32/cert/node_14.key.pub | 2 + oracle_script/pow/rep_32/cert/node_15.key.pri | 2 + oracle_script/pow/rep_32/cert/node_15.key.pub | 2 + oracle_script/pow/rep_32/cert/node_16.key.pri | 2 + oracle_script/pow/rep_32/cert/node_16.key.pub | 2 + oracle_script/pow/rep_32/cert/node_17.key.pri | 2 + oracle_script/pow/rep_32/cert/node_17.key.pub | 2 + oracle_script/pow/rep_32/cert/node_18.key.pri | 2 + oracle_script/pow/rep_32/cert/node_18.key.pub | 2 + oracle_script/pow/rep_32/cert/node_19.key.pri | 2 + oracle_script/pow/rep_32/cert/node_19.key.pub | 2 + oracle_script/pow/rep_32/cert/node_2.key.pri | 2 + oracle_script/pow/rep_32/cert/node_2.key.pub | 2 + oracle_script/pow/rep_32/cert/node_20.key.pri | 2 + oracle_script/pow/rep_32/cert/node_20.key.pub | 2 + oracle_script/pow/rep_32/cert/node_21.key.pri | 2 + oracle_script/pow/rep_32/cert/node_21.key.pub | 2 + oracle_script/pow/rep_32/cert/node_22.key.pri | 2 + oracle_script/pow/rep_32/cert/node_22.key.pub | 2 + oracle_script/pow/rep_32/cert/node_23.key.pri | 2 + oracle_script/pow/rep_32/cert/node_23.key.pub | 2 + oracle_script/pow/rep_32/cert/node_24.key.pri | 2 + oracle_script/pow/rep_32/cert/node_24.key.pub | 2 + oracle_script/pow/rep_32/cert/node_25.key.pri | 2 + oracle_script/pow/rep_32/cert/node_25.key.pub | 2 + oracle_script/pow/rep_32/cert/node_26.key.pri | 2 + oracle_script/pow/rep_32/cert/node_26.key.pub | 2 + oracle_script/pow/rep_32/cert/node_27.key.pri | 2 + oracle_script/pow/rep_32/cert/node_27.key.pub | 2 + oracle_script/pow/rep_32/cert/node_28.key.pri | 2 + oracle_script/pow/rep_32/cert/node_28.key.pub | 2 + oracle_script/pow/rep_32/cert/node_29.key.pri | 2 + oracle_script/pow/rep_32/cert/node_29.key.pub | 2 + oracle_script/pow/rep_32/cert/node_3.key.pri | 2 + oracle_script/pow/rep_32/cert/node_3.key.pub | 2 + oracle_script/pow/rep_32/cert/node_30.key.pri | 2 + oracle_script/pow/rep_32/cert/node_30.key.pub | 2 + oracle_script/pow/rep_32/cert/node_31.key.pri | 2 + oracle_script/pow/rep_32/cert/node_31.key.pub | 2 + oracle_script/pow/rep_32/cert/node_32.key.pri | 2 + oracle_script/pow/rep_32/cert/node_32.key.pub | 2 + oracle_script/pow/rep_32/cert/node_4.key.pri | 2 + oracle_script/pow/rep_32/cert/node_4.key.pub | 2 + oracle_script/pow/rep_32/cert/node_5.key.pri | 2 + oracle_script/pow/rep_32/cert/node_5.key.pub | 2 + oracle_script/pow/rep_32/cert/node_6.key.pri | 2 + oracle_script/pow/rep_32/cert/node_6.key.pub | 2 + oracle_script/pow/rep_32/cert/node_66.key.pri | 2 + oracle_script/pow/rep_32/cert/node_66.key.pub | 2 + oracle_script/pow/rep_32/cert/node_67.key.pri | 2 + oracle_script/pow/rep_32/cert/node_67.key.pub | 2 + oracle_script/pow/rep_32/cert/node_68.key.pri | 2 + oracle_script/pow/rep_32/cert/node_68.key.pub | 2 + oracle_script/pow/rep_32/cert/node_69.key.pri | 2 + oracle_script/pow/rep_32/cert/node_69.key.pub | 2 + oracle_script/pow/rep_32/cert/node_7.key.pri | 2 + oracle_script/pow/rep_32/cert/node_7.key.pub | 2 + oracle_script/pow/rep_32/cert/node_70.key.pri | 2 + oracle_script/pow/rep_32/cert/node_70.key.pub | 2 + oracle_script/pow/rep_32/cert/node_71.key.pri | 2 + oracle_script/pow/rep_32/cert/node_71.key.pub | 2 + oracle_script/pow/rep_32/cert/node_72.key.pri | 2 + oracle_script/pow/rep_32/cert/node_72.key.pub | 2 + oracle_script/pow/rep_32/cert/node_73.key.pri | 2 + oracle_script/pow/rep_32/cert/node_73.key.pub | 2 + oracle_script/pow/rep_32/cert/node_74.key.pri | 2 + oracle_script/pow/rep_32/cert/node_74.key.pub | 2 + oracle_script/pow/rep_32/cert/node_75.key.pri | 2 + oracle_script/pow/rep_32/cert/node_75.key.pub | 2 + oracle_script/pow/rep_32/cert/node_76.key.pri | 2 + oracle_script/pow/rep_32/cert/node_76.key.pub | 2 + oracle_script/pow/rep_32/cert/node_77.key.pri | 2 + oracle_script/pow/rep_32/cert/node_77.key.pub | 2 + oracle_script/pow/rep_32/cert/node_78.key.pri | 2 + oracle_script/pow/rep_32/cert/node_78.key.pub | 2 + oracle_script/pow/rep_32/cert/node_79.key.pri | 2 + oracle_script/pow/rep_32/cert/node_79.key.pub | 2 + oracle_script/pow/rep_32/cert/node_8.key.pri | 2 + oracle_script/pow/rep_32/cert/node_8.key.pub | 2 + oracle_script/pow/rep_32/cert/node_80.key.pri | 2 + oracle_script/pow/rep_32/cert/node_80.key.pub | 2 + oracle_script/pow/rep_32/cert/node_81.key.pri | 2 + oracle_script/pow/rep_32/cert/node_81.key.pub | 2 + oracle_script/pow/rep_32/cert/node_82.key.pri | 2 + oracle_script/pow/rep_32/cert/node_82.key.pub | 2 + oracle_script/pow/rep_32/cert/node_83.key.pri | 2 + oracle_script/pow/rep_32/cert/node_83.key.pub | 2 + oracle_script/pow/rep_32/cert/node_84.key.pri | 2 + oracle_script/pow/rep_32/cert/node_84.key.pub | 2 + oracle_script/pow/rep_32/cert/node_85.key.pri | 2 + oracle_script/pow/rep_32/cert/node_85.key.pub | 2 + oracle_script/pow/rep_32/cert/node_86.key.pri | 2 + oracle_script/pow/rep_32/cert/node_86.key.pub | 2 + oracle_script/pow/rep_32/cert/node_87.key.pri | 2 + oracle_script/pow/rep_32/cert/node_87.key.pub | 2 + oracle_script/pow/rep_32/cert/node_88.key.pri | 2 + oracle_script/pow/rep_32/cert/node_88.key.pub | 2 + oracle_script/pow/rep_32/cert/node_89.key.pri | 2 + oracle_script/pow/rep_32/cert/node_89.key.pub | 2 + oracle_script/pow/rep_32/cert/node_9.key.pri | 2 + oracle_script/pow/rep_32/cert/node_9.key.pub | 2 + oracle_script/pow/rep_32/cert/node_90.key.pri | 2 + oracle_script/pow/rep_32/cert/node_90.key.pub | 2 + oracle_script/pow/rep_32/cert/node_91.key.pri | 2 + oracle_script/pow/rep_32/cert/node_91.key.pub | 2 + oracle_script/pow/rep_32/cert/node_92.key.pri | 2 + oracle_script/pow/rep_32/cert/node_92.key.pub | 2 + oracle_script/pow/rep_32/cert/node_93.key.pri | 2 + oracle_script/pow/rep_32/cert/node_93.key.pub | 2 + oracle_script/pow/rep_32/cert/node_94.key.pri | 2 + oracle_script/pow/rep_32/cert/node_94.key.pub | 2 + oracle_script/pow/rep_32/cert/node_95.key.pri | 2 + oracle_script/pow/rep_32/cert/node_95.key.pub | 2 + oracle_script/pow/rep_32/cert/node_96.key.pri | 2 + oracle_script/pow/rep_32/cert/node_96.key.pub | 2 + oracle_script/pow/rep_32/cert/node_97.key.pri | 2 + oracle_script/pow/rep_32/cert/node_97.key.pub | 2 + oracle_script/pow/rep_32/cert/node_98.key.pri | 2 + oracle_script/pow/rep_32/cert/node_98.key.pub | 2 + oracle_script/pow/rep_32/cert/node_99.key.pri | 2 + oracle_script/pow/rep_32/cert/node_99.key.pub | 2 + oracle_script/pow/rep_32/cli_list.txt | 1 + oracle_script/pow/rep_32/iplist.txt | 32 + oracle_script/pow/rep_32/poc.conf | 13 + oracle_script/pow/rep_32/run_poc.sh | 3 + oracle_script/pow/rep_32/svr_list.txt | 33 + oracle_script/pow/rep_4/cert/cert_1.cert | 6 + oracle_script/pow/rep_4/cert/cert_10.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_4/cert/cert_11.cert | 6 + oracle_script/pow/rep_4/cert/cert_12.cert | 8 + oracle_script/pow/rep_4/cert/cert_13.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_14.cert | 6 + oracle_script/pow/rep_4/cert/cert_15.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_16.cert | 8 + oracle_script/pow/rep_4/cert/cert_17.cert | 6 + oracle_script/pow/rep_4/cert/cert_18.cert | 7 + oracle_script/pow/rep_4/cert/cert_19.cert | 6 + oracle_script/pow/rep_4/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_4/cert/cert_20.cert | 7 + oracle_script/pow/rep_4/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_22.cert | 8 + oracle_script/pow/rep_4/cert/cert_23.cert | 8 + oracle_script/pow/rep_4/cert/cert_24.cert | 6 + oracle_script/pow/rep_4/cert/cert_25.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_26.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_27.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_4/cert/cert_28.cert | 6 + oracle_script/pow/rep_4/cert/cert_29.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_3.cert | 7 + oracle_script/pow/rep_4/cert/cert_30.cert | 7 + oracle_script/pow/rep_4/cert/cert_31.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_4/cert/cert_32.cert | 7 + oracle_script/pow/rep_4/cert/cert_4.cert | 6 + oracle_script/pow/rep_4/cert/cert_5.cert | 7 + oracle_script/pow/rep_4/cert/cert_6.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_4/cert/cert_7.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_4/cert/cert_8.cert | 8 + oracle_script/pow/rep_4/cert/cert_9.cert | 6 + oracle_script/pow/rep_4/cert/node_1.key.pri | 2 + oracle_script/pow/rep_4/cert/node_1.key.pub | 2 + oracle_script/pow/rep_4/cert/node_10.key.pri | 2 + oracle_script/pow/rep_4/cert/node_10.key.pub | 2 + oracle_script/pow/rep_4/cert/node_100.key.pri | 2 + oracle_script/pow/rep_4/cert/node_100.key.pub | 2 + oracle_script/pow/rep_4/cert/node_101.key.pri | 2 + oracle_script/pow/rep_4/cert/node_101.key.pub | 2 + oracle_script/pow/rep_4/cert/node_102.key.pri | 2 + oracle_script/pow/rep_4/cert/node_102.key.pub | 2 + oracle_script/pow/rep_4/cert/node_103.key.pri | 2 + oracle_script/pow/rep_4/cert/node_103.key.pub | 2 + oracle_script/pow/rep_4/cert/node_104.key.pri | 2 + oracle_script/pow/rep_4/cert/node_104.key.pub | 2 + oracle_script/pow/rep_4/cert/node_105.key.pri | 2 + oracle_script/pow/rep_4/cert/node_105.key.pub | 2 + oracle_script/pow/rep_4/cert/node_106.key.pri | 2 + oracle_script/pow/rep_4/cert/node_106.key.pub | 2 + oracle_script/pow/rep_4/cert/node_107.key.pri | 2 + oracle_script/pow/rep_4/cert/node_107.key.pub | 2 + oracle_script/pow/rep_4/cert/node_108.key.pri | 2 + oracle_script/pow/rep_4/cert/node_108.key.pub | 2 + oracle_script/pow/rep_4/cert/node_109.key.pri | 2 + oracle_script/pow/rep_4/cert/node_109.key.pub | 2 + oracle_script/pow/rep_4/cert/node_11.key.pri | 2 + oracle_script/pow/rep_4/cert/node_11.key.pub | 2 + oracle_script/pow/rep_4/cert/node_110.key.pri | 2 + oracle_script/pow/rep_4/cert/node_110.key.pub | 2 + oracle_script/pow/rep_4/cert/node_111.key.pri | 2 + oracle_script/pow/rep_4/cert/node_111.key.pub | 2 + oracle_script/pow/rep_4/cert/node_112.key.pri | 2 + oracle_script/pow/rep_4/cert/node_112.key.pub | 2 + oracle_script/pow/rep_4/cert/node_113.key.pri | 2 + oracle_script/pow/rep_4/cert/node_113.key.pub | 2 + oracle_script/pow/rep_4/cert/node_114.key.pri | 2 + oracle_script/pow/rep_4/cert/node_114.key.pub | 2 + oracle_script/pow/rep_4/cert/node_115.key.pri | 2 + oracle_script/pow/rep_4/cert/node_115.key.pub | 2 + oracle_script/pow/rep_4/cert/node_116.key.pri | 2 + oracle_script/pow/rep_4/cert/node_116.key.pub | 2 + oracle_script/pow/rep_4/cert/node_117.key.pri | 2 + oracle_script/pow/rep_4/cert/node_117.key.pub | 2 + oracle_script/pow/rep_4/cert/node_118.key.pri | 2 + oracle_script/pow/rep_4/cert/node_118.key.pub | 2 + oracle_script/pow/rep_4/cert/node_119.key.pri | 2 + oracle_script/pow/rep_4/cert/node_119.key.pub | 2 + oracle_script/pow/rep_4/cert/node_12.key.pri | 2 + oracle_script/pow/rep_4/cert/node_12.key.pub | 2 + oracle_script/pow/rep_4/cert/node_120.key.pri | 2 + oracle_script/pow/rep_4/cert/node_120.key.pub | 2 + oracle_script/pow/rep_4/cert/node_121.key.pri | 2 + oracle_script/pow/rep_4/cert/node_121.key.pub | 2 + oracle_script/pow/rep_4/cert/node_122.key.pri | 2 + oracle_script/pow/rep_4/cert/node_122.key.pub | 2 + oracle_script/pow/rep_4/cert/node_123.key.pri | 2 + oracle_script/pow/rep_4/cert/node_123.key.pub | 2 + oracle_script/pow/rep_4/cert/node_13.key.pri | 2 + oracle_script/pow/rep_4/cert/node_13.key.pub | 2 + oracle_script/pow/rep_4/cert/node_14.key.pri | 2 + oracle_script/pow/rep_4/cert/node_14.key.pub | 2 + oracle_script/pow/rep_4/cert/node_15.key.pri | 2 + oracle_script/pow/rep_4/cert/node_15.key.pub | 2 + oracle_script/pow/rep_4/cert/node_16.key.pri | 2 + oracle_script/pow/rep_4/cert/node_16.key.pub | 2 + oracle_script/pow/rep_4/cert/node_17.key.pri | 2 + oracle_script/pow/rep_4/cert/node_17.key.pub | 2 + oracle_script/pow/rep_4/cert/node_18.key.pri | 2 + oracle_script/pow/rep_4/cert/node_18.key.pub | 2 + oracle_script/pow/rep_4/cert/node_19.key.pri | 2 + oracle_script/pow/rep_4/cert/node_19.key.pub | 2 + oracle_script/pow/rep_4/cert/node_2.key.pri | 2 + oracle_script/pow/rep_4/cert/node_2.key.pub | 2 + oracle_script/pow/rep_4/cert/node_20.key.pri | 2 + oracle_script/pow/rep_4/cert/node_20.key.pub | 2 + oracle_script/pow/rep_4/cert/node_21.key.pri | 2 + oracle_script/pow/rep_4/cert/node_21.key.pub | 2 + oracle_script/pow/rep_4/cert/node_22.key.pri | 2 + oracle_script/pow/rep_4/cert/node_22.key.pub | 2 + oracle_script/pow/rep_4/cert/node_23.key.pri | 2 + oracle_script/pow/rep_4/cert/node_23.key.pub | 2 + oracle_script/pow/rep_4/cert/node_24.key.pri | 2 + oracle_script/pow/rep_4/cert/node_24.key.pub | 2 + oracle_script/pow/rep_4/cert/node_25.key.pri | 2 + oracle_script/pow/rep_4/cert/node_25.key.pub | 2 + oracle_script/pow/rep_4/cert/node_26.key.pri | 2 + oracle_script/pow/rep_4/cert/node_26.key.pub | 2 + oracle_script/pow/rep_4/cert/node_27.key.pri | 2 + oracle_script/pow/rep_4/cert/node_27.key.pub | 2 + oracle_script/pow/rep_4/cert/node_28.key.pri | 2 + oracle_script/pow/rep_4/cert/node_28.key.pub | 2 + oracle_script/pow/rep_4/cert/node_29.key.pri | 2 + oracle_script/pow/rep_4/cert/node_29.key.pub | 2 + oracle_script/pow/rep_4/cert/node_3.key.pri | 2 + oracle_script/pow/rep_4/cert/node_3.key.pub | 2 + oracle_script/pow/rep_4/cert/node_30.key.pri | 2 + oracle_script/pow/rep_4/cert/node_30.key.pub | 2 + oracle_script/pow/rep_4/cert/node_31.key.pri | 2 + oracle_script/pow/rep_4/cert/node_31.key.pub | 2 + oracle_script/pow/rep_4/cert/node_32.key.pri | 2 + oracle_script/pow/rep_4/cert/node_32.key.pub | 2 + oracle_script/pow/rep_4/cert/node_4.key.pri | 2 + oracle_script/pow/rep_4/cert/node_4.key.pub | 2 + oracle_script/pow/rep_4/cert/node_5.key.pri | 2 + oracle_script/pow/rep_4/cert/node_5.key.pub | 2 + oracle_script/pow/rep_4/cert/node_6.key.pri | 2 + oracle_script/pow/rep_4/cert/node_6.key.pub | 2 + oracle_script/pow/rep_4/cert/node_66.key.pri | 2 + oracle_script/pow/rep_4/cert/node_66.key.pub | 2 + oracle_script/pow/rep_4/cert/node_67.key.pri | 2 + oracle_script/pow/rep_4/cert/node_67.key.pub | 2 + oracle_script/pow/rep_4/cert/node_68.key.pri | 2 + oracle_script/pow/rep_4/cert/node_68.key.pub | 2 + oracle_script/pow/rep_4/cert/node_69.key.pri | 2 + oracle_script/pow/rep_4/cert/node_69.key.pub | 2 + oracle_script/pow/rep_4/cert/node_7.key.pri | 2 + oracle_script/pow/rep_4/cert/node_7.key.pub | 2 + oracle_script/pow/rep_4/cert/node_70.key.pri | 2 + oracle_script/pow/rep_4/cert/node_70.key.pub | 2 + oracle_script/pow/rep_4/cert/node_71.key.pri | 2 + oracle_script/pow/rep_4/cert/node_71.key.pub | 2 + oracle_script/pow/rep_4/cert/node_72.key.pri | 2 + oracle_script/pow/rep_4/cert/node_72.key.pub | 2 + oracle_script/pow/rep_4/cert/node_73.key.pri | 2 + oracle_script/pow/rep_4/cert/node_73.key.pub | 2 + oracle_script/pow/rep_4/cert/node_74.key.pri | 2 + oracle_script/pow/rep_4/cert/node_74.key.pub | 2 + oracle_script/pow/rep_4/cert/node_75.key.pri | 2 + oracle_script/pow/rep_4/cert/node_75.key.pub | 2 + oracle_script/pow/rep_4/cert/node_76.key.pri | 2 + oracle_script/pow/rep_4/cert/node_76.key.pub | 2 + oracle_script/pow/rep_4/cert/node_77.key.pri | 2 + oracle_script/pow/rep_4/cert/node_77.key.pub | 2 + oracle_script/pow/rep_4/cert/node_78.key.pri | 2 + oracle_script/pow/rep_4/cert/node_78.key.pub | 2 + oracle_script/pow/rep_4/cert/node_79.key.pri | 2 + oracle_script/pow/rep_4/cert/node_79.key.pub | 2 + oracle_script/pow/rep_4/cert/node_8.key.pri | 2 + oracle_script/pow/rep_4/cert/node_8.key.pub | 2 + oracle_script/pow/rep_4/cert/node_80.key.pri | 2 + oracle_script/pow/rep_4/cert/node_80.key.pub | 2 + oracle_script/pow/rep_4/cert/node_81.key.pri | 2 + oracle_script/pow/rep_4/cert/node_81.key.pub | 2 + oracle_script/pow/rep_4/cert/node_82.key.pri | 2 + oracle_script/pow/rep_4/cert/node_82.key.pub | 2 + oracle_script/pow/rep_4/cert/node_83.key.pri | 2 + oracle_script/pow/rep_4/cert/node_83.key.pub | 2 + oracle_script/pow/rep_4/cert/node_84.key.pri | 2 + oracle_script/pow/rep_4/cert/node_84.key.pub | 2 + oracle_script/pow/rep_4/cert/node_85.key.pri | 2 + oracle_script/pow/rep_4/cert/node_85.key.pub | 2 + oracle_script/pow/rep_4/cert/node_86.key.pri | 2 + oracle_script/pow/rep_4/cert/node_86.key.pub | 2 + oracle_script/pow/rep_4/cert/node_87.key.pri | 2 + oracle_script/pow/rep_4/cert/node_87.key.pub | 2 + oracle_script/pow/rep_4/cert/node_88.key.pri | 2 + oracle_script/pow/rep_4/cert/node_88.key.pub | 2 + oracle_script/pow/rep_4/cert/node_89.key.pri | 2 + oracle_script/pow/rep_4/cert/node_89.key.pub | 2 + oracle_script/pow/rep_4/cert/node_9.key.pri | 2 + oracle_script/pow/rep_4/cert/node_9.key.pub | 2 + oracle_script/pow/rep_4/cert/node_90.key.pri | 2 + oracle_script/pow/rep_4/cert/node_90.key.pub | 2 + oracle_script/pow/rep_4/cert/node_91.key.pri | 2 + oracle_script/pow/rep_4/cert/node_91.key.pub | 2 + oracle_script/pow/rep_4/cert/node_92.key.pri | 2 + oracle_script/pow/rep_4/cert/node_92.key.pub | 2 + oracle_script/pow/rep_4/cert/node_93.key.pri | 2 + oracle_script/pow/rep_4/cert/node_93.key.pub | 2 + oracle_script/pow/rep_4/cert/node_94.key.pri | 2 + oracle_script/pow/rep_4/cert/node_94.key.pub | 2 + oracle_script/pow/rep_4/cert/node_95.key.pri | 2 + oracle_script/pow/rep_4/cert/node_95.key.pub | 2 + oracle_script/pow/rep_4/cert/node_96.key.pri | 2 + oracle_script/pow/rep_4/cert/node_96.key.pub | 2 + oracle_script/pow/rep_4/cert/node_97.key.pri | 2 + oracle_script/pow/rep_4/cert/node_97.key.pub | 2 + oracle_script/pow/rep_4/cert/node_98.key.pri | 2 + oracle_script/pow/rep_4/cert/node_98.key.pub | 2 + oracle_script/pow/rep_4/cert/node_99.key.pri | 2 + oracle_script/pow/rep_4/cert/node_99.key.pub | 2 + oracle_script/pow/rep_4/cli_list.txt | 1 + oracle_script/pow/rep_4/iplist.txt | 4 + oracle_script/pow/rep_4/poc.conf | 13 + oracle_script/pow/rep_4/run_poc.sh | 3 + oracle_script/pow/rep_4/svr_list.txt | 5 + oracle_script/pow/rep_64/cert/cert_1.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_10.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_100.cert | 7 + oracle_script/pow/rep_64/cert/cert_101.cert | 8 + oracle_script/pow/rep_64/cert/cert_102.cert | 7 + oracle_script/pow/rep_64/cert/cert_103.cert | 8 + oracle_script/pow/rep_64/cert/cert_104.cert | 7 + oracle_script/pow/rep_64/cert/cert_105.cert | 7 + oracle_script/pow/rep_64/cert/cert_106.cert | 8 + oracle_script/pow/rep_64/cert/cert_107.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_108.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_109.cert | 7 + oracle_script/pow/rep_64/cert/cert_11.cert | 6 + oracle_script/pow/rep_64/cert/cert_110.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_111.cert | 8 + oracle_script/pow/rep_64/cert/cert_112.cert | 7 + oracle_script/pow/rep_64/cert/cert_113.cert | 6 + oracle_script/pow/rep_64/cert/cert_114.cert | 8 + oracle_script/pow/rep_64/cert/cert_115.cert | 7 + oracle_script/pow/rep_64/cert/cert_116.cert | 7 + oracle_script/pow/rep_64/cert/cert_117.cert | 6 + oracle_script/pow/rep_64/cert/cert_118.cert | 7 + oracle_script/pow/rep_64/cert/cert_119.cert | 7 + oracle_script/pow/rep_64/cert/cert_12.cert | 8 + oracle_script/pow/rep_64/cert/cert_120.cert | 7 + oracle_script/pow/rep_64/cert/cert_13.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_14.cert | 6 + oracle_script/pow/rep_64/cert/cert_15.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_16.cert | 8 + oracle_script/pow/rep_64/cert/cert_17.cert | 6 + oracle_script/pow/rep_64/cert/cert_18.cert | 7 + oracle_script/pow/rep_64/cert/cert_19.cert | 6 + oracle_script/pow/rep_64/cert/cert_2.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_20.cert | 7 + oracle_script/pow/rep_64/cert/cert_21.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_22.cert | 8 + oracle_script/pow/rep_64/cert/cert_23.cert | 8 + oracle_script/pow/rep_64/cert/cert_24.cert | 6 + oracle_script/pow/rep_64/cert/cert_25.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_26.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_27.cert | 7 + oracle_script/pow/rep_64/cert/cert_28.cert | 7 + oracle_script/pow/rep_64/cert/cert_29.cert | 7 + oracle_script/pow/rep_64/cert/cert_3.cert | 6 + oracle_script/pow/rep_64/cert/cert_30.cert | 8 + oracle_script/pow/rep_64/cert/cert_31.cert | 7 + oracle_script/pow/rep_64/cert/cert_32.cert | 8 + oracle_script/pow/rep_64/cert/cert_33.cert | 7 + oracle_script/pow/rep_64/cert/cert_34.cert | 6 + oracle_script/pow/rep_64/cert/cert_35.cert | 8 + oracle_script/pow/rep_64/cert/cert_36.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_37.cert | 6 + oracle_script/pow/rep_64/cert/cert_38.cert | 6 + oracle_script/pow/rep_64/cert/cert_39.cert | 6 + oracle_script/pow/rep_64/cert/cert_4.cert | 7 + oracle_script/pow/rep_64/cert/cert_40.cert | 7 + oracle_script/pow/rep_64/cert/cert_41.cert | Bin 0 -> 166 bytes oracle_script/pow/rep_64/cert/cert_42.cert | 7 + oracle_script/pow/rep_64/cert/cert_43.cert | 6 + oracle_script/pow/rep_64/cert/cert_44.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_45.cert | 6 + oracle_script/pow/rep_64/cert/cert_46.cert | 8 + oracle_script/pow/rep_64/cert/cert_47.cert | 6 + oracle_script/pow/rep_64/cert/cert_48.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_49.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_5.cert | 7 + oracle_script/pow/rep_64/cert/cert_50.cert | 8 + oracle_script/pow/rep_64/cert/cert_51.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_52.cert | 7 + oracle_script/pow/rep_64/cert/cert_53.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_54.cert | 7 + oracle_script/pow/rep_64/cert/cert_55.cert | 6 + oracle_script/pow/rep_64/cert/cert_56.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_57.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_58.cert | 6 + oracle_script/pow/rep_64/cert/cert_59.cert | 8 + oracle_script/pow/rep_64/cert/cert_6.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_60.cert | 7 + oracle_script/pow/rep_64/cert/cert_61.cert | 6 + oracle_script/pow/rep_64/cert/cert_62.cert | 7 + oracle_script/pow/rep_64/cert/cert_63.cert | 6 + oracle_script/pow/rep_64/cert/cert_64.cert | 7 + oracle_script/pow/rep_64/cert/cert_65.cert | 9 + oracle_script/pow/rep_64/cert/cert_66.cert | 6 + oracle_script/pow/rep_64/cert/cert_67.cert | 6 + oracle_script/pow/rep_64/cert/cert_68.cert | 6 + oracle_script/pow/rep_64/cert/cert_69.cert | 7 + oracle_script/pow/rep_64/cert/cert_7.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_70.cert | 8 + oracle_script/pow/rep_64/cert/cert_71.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_72.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_73.cert | 7 + oracle_script/pow/rep_64/cert/cert_74.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_75.cert | 9 + oracle_script/pow/rep_64/cert/cert_76.cert | 6 + oracle_script/pow/rep_64/cert/cert_77.cert | 7 + oracle_script/pow/rep_64/cert/cert_78.cert | 7 + oracle_script/pow/rep_64/cert/cert_79.cert | 7 + oracle_script/pow/rep_64/cert/cert_8.cert | 8 + oracle_script/pow/rep_64/cert/cert_80.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_81.cert | 6 + oracle_script/pow/rep_64/cert/cert_82.cert | 6 + oracle_script/pow/rep_64/cert/cert_83.cert | 7 + oracle_script/pow/rep_64/cert/cert_84.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_85.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_86.cert | 7 + oracle_script/pow/rep_64/cert/cert_87.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_88.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_89.cert | 8 + oracle_script/pow/rep_64/cert/cert_9.cert | 6 + oracle_script/pow/rep_64/cert/cert_90.cert | 8 + oracle_script/pow/rep_64/cert/cert_91.cert | 7 + oracle_script/pow/rep_64/cert/cert_92.cert | 7 + oracle_script/pow/rep_64/cert/cert_93.cert | 7 + oracle_script/pow/rep_64/cert/cert_94.cert | 6 + oracle_script/pow/rep_64/cert/cert_95.cert | Bin 0 -> 167 bytes oracle_script/pow/rep_64/cert/cert_96.cert | Bin 0 -> 168 bytes oracle_script/pow/rep_64/cert/cert_97.cert | 7 + oracle_script/pow/rep_64/cert/cert_98.cert | 6 + oracle_script/pow/rep_64/cert/cert_99.cert | 7 + oracle_script/pow/rep_64/cert/node_1.key.pri | 2 + oracle_script/pow/rep_64/cert/node_1.key.pub | 2 + oracle_script/pow/rep_64/cert/node_10.key.pri | 2 + oracle_script/pow/rep_64/cert/node_10.key.pub | 2 + .../pow/rep_64/cert/node_100.key.pri | 2 + .../pow/rep_64/cert/node_100.key.pub | 2 + .../pow/rep_64/cert/node_101.key.pri | 2 + .../pow/rep_64/cert/node_101.key.pub | 2 + .../pow/rep_64/cert/node_102.key.pri | 2 + .../pow/rep_64/cert/node_102.key.pub | 2 + .../pow/rep_64/cert/node_103.key.pri | 2 + .../pow/rep_64/cert/node_103.key.pub | 2 + .../pow/rep_64/cert/node_104.key.pri | 2 + .../pow/rep_64/cert/node_104.key.pub | 2 + .../pow/rep_64/cert/node_105.key.pri | 2 + .../pow/rep_64/cert/node_105.key.pub | 2 + .../pow/rep_64/cert/node_106.key.pri | 2 + .../pow/rep_64/cert/node_106.key.pub | 2 + .../pow/rep_64/cert/node_107.key.pri | 2 + .../pow/rep_64/cert/node_107.key.pub | 2 + .../pow/rep_64/cert/node_108.key.pri | 2 + .../pow/rep_64/cert/node_108.key.pub | 2 + .../pow/rep_64/cert/node_109.key.pri | 2 + .../pow/rep_64/cert/node_109.key.pub | 2 + oracle_script/pow/rep_64/cert/node_11.key.pri | 2 + oracle_script/pow/rep_64/cert/node_11.key.pub | 2 + .../pow/rep_64/cert/node_110.key.pri | 2 + .../pow/rep_64/cert/node_110.key.pub | 2 + .../pow/rep_64/cert/node_111.key.pri | 2 + .../pow/rep_64/cert/node_111.key.pub | 2 + .../pow/rep_64/cert/node_112.key.pri | 2 + .../pow/rep_64/cert/node_112.key.pub | 2 + .../pow/rep_64/cert/node_113.key.pri | 2 + .../pow/rep_64/cert/node_113.key.pub | 2 + .../pow/rep_64/cert/node_114.key.pri | 2 + .../pow/rep_64/cert/node_114.key.pub | 2 + .../pow/rep_64/cert/node_115.key.pri | 2 + .../pow/rep_64/cert/node_115.key.pub | 2 + .../pow/rep_64/cert/node_116.key.pri | 2 + .../pow/rep_64/cert/node_116.key.pub | 2 + .../pow/rep_64/cert/node_117.key.pri | 2 + .../pow/rep_64/cert/node_117.key.pub | 2 + .../pow/rep_64/cert/node_118.key.pri | 2 + .../pow/rep_64/cert/node_118.key.pub | 2 + .../pow/rep_64/cert/node_119.key.pri | 2 + .../pow/rep_64/cert/node_119.key.pub | 2 + oracle_script/pow/rep_64/cert/node_12.key.pri | 2 + oracle_script/pow/rep_64/cert/node_12.key.pub | 2 + .../pow/rep_64/cert/node_120.key.pri | 2 + .../pow/rep_64/cert/node_120.key.pub | 2 + .../pow/rep_64/cert/node_121.key.pri | 2 + .../pow/rep_64/cert/node_121.key.pub | 2 + .../pow/rep_64/cert/node_122.key.pri | 2 + .../pow/rep_64/cert/node_122.key.pub | 2 + .../pow/rep_64/cert/node_123.key.pri | 2 + .../pow/rep_64/cert/node_123.key.pub | 2 + oracle_script/pow/rep_64/cert/node_13.key.pri | 2 + oracle_script/pow/rep_64/cert/node_13.key.pub | 2 + oracle_script/pow/rep_64/cert/node_14.key.pri | 2 + oracle_script/pow/rep_64/cert/node_14.key.pub | 2 + oracle_script/pow/rep_64/cert/node_15.key.pri | 2 + oracle_script/pow/rep_64/cert/node_15.key.pub | 2 + oracle_script/pow/rep_64/cert/node_16.key.pri | 2 + oracle_script/pow/rep_64/cert/node_16.key.pub | 2 + oracle_script/pow/rep_64/cert/node_17.key.pri | 2 + oracle_script/pow/rep_64/cert/node_17.key.pub | 2 + oracle_script/pow/rep_64/cert/node_18.key.pri | 2 + oracle_script/pow/rep_64/cert/node_18.key.pub | 2 + oracle_script/pow/rep_64/cert/node_19.key.pri | 2 + oracle_script/pow/rep_64/cert/node_19.key.pub | 2 + oracle_script/pow/rep_64/cert/node_2.key.pri | 2 + oracle_script/pow/rep_64/cert/node_2.key.pub | 2 + oracle_script/pow/rep_64/cert/node_20.key.pri | 2 + oracle_script/pow/rep_64/cert/node_20.key.pub | 2 + oracle_script/pow/rep_64/cert/node_21.key.pri | 2 + oracle_script/pow/rep_64/cert/node_21.key.pub | 2 + oracle_script/pow/rep_64/cert/node_22.key.pri | 2 + oracle_script/pow/rep_64/cert/node_22.key.pub | 2 + oracle_script/pow/rep_64/cert/node_23.key.pri | 2 + oracle_script/pow/rep_64/cert/node_23.key.pub | 2 + oracle_script/pow/rep_64/cert/node_24.key.pri | 2 + oracle_script/pow/rep_64/cert/node_24.key.pub | 2 + oracle_script/pow/rep_64/cert/node_25.key.pri | 2 + oracle_script/pow/rep_64/cert/node_25.key.pub | 2 + oracle_script/pow/rep_64/cert/node_26.key.pri | 2 + oracle_script/pow/rep_64/cert/node_26.key.pub | 2 + oracle_script/pow/rep_64/cert/node_27.key.pri | 2 + oracle_script/pow/rep_64/cert/node_27.key.pub | 2 + oracle_script/pow/rep_64/cert/node_28.key.pri | 2 + oracle_script/pow/rep_64/cert/node_28.key.pub | 2 + oracle_script/pow/rep_64/cert/node_29.key.pri | 2 + oracle_script/pow/rep_64/cert/node_29.key.pub | 2 + oracle_script/pow/rep_64/cert/node_3.key.pri | 2 + oracle_script/pow/rep_64/cert/node_3.key.pub | 2 + oracle_script/pow/rep_64/cert/node_30.key.pri | 2 + oracle_script/pow/rep_64/cert/node_30.key.pub | 2 + oracle_script/pow/rep_64/cert/node_31.key.pri | 2 + oracle_script/pow/rep_64/cert/node_31.key.pub | 2 + oracle_script/pow/rep_64/cert/node_32.key.pri | 2 + oracle_script/pow/rep_64/cert/node_32.key.pub | 2 + oracle_script/pow/rep_64/cert/node_33.key.pri | 2 + oracle_script/pow/rep_64/cert/node_33.key.pub | 2 + oracle_script/pow/rep_64/cert/node_34.key.pri | 2 + oracle_script/pow/rep_64/cert/node_34.key.pub | 2 + oracle_script/pow/rep_64/cert/node_35.key.pri | 2 + oracle_script/pow/rep_64/cert/node_35.key.pub | 2 + oracle_script/pow/rep_64/cert/node_36.key.pri | 2 + oracle_script/pow/rep_64/cert/node_36.key.pub | 2 + oracle_script/pow/rep_64/cert/node_37.key.pri | 2 + oracle_script/pow/rep_64/cert/node_37.key.pub | 2 + oracle_script/pow/rep_64/cert/node_38.key.pri | 2 + oracle_script/pow/rep_64/cert/node_38.key.pub | 2 + oracle_script/pow/rep_64/cert/node_39.key.pri | 2 + oracle_script/pow/rep_64/cert/node_39.key.pub | 2 + oracle_script/pow/rep_64/cert/node_4.key.pri | 2 + oracle_script/pow/rep_64/cert/node_4.key.pub | 2 + oracle_script/pow/rep_64/cert/node_40.key.pri | 2 + oracle_script/pow/rep_64/cert/node_40.key.pub | 2 + oracle_script/pow/rep_64/cert/node_41.key.pri | 2 + oracle_script/pow/rep_64/cert/node_41.key.pub | 2 + oracle_script/pow/rep_64/cert/node_42.key.pri | 2 + oracle_script/pow/rep_64/cert/node_42.key.pub | 2 + oracle_script/pow/rep_64/cert/node_43.key.pri | 2 + oracle_script/pow/rep_64/cert/node_43.key.pub | 2 + oracle_script/pow/rep_64/cert/node_44.key.pri | 2 + oracle_script/pow/rep_64/cert/node_44.key.pub | 2 + oracle_script/pow/rep_64/cert/node_45.key.pri | 2 + oracle_script/pow/rep_64/cert/node_45.key.pub | 2 + oracle_script/pow/rep_64/cert/node_46.key.pri | 2 + oracle_script/pow/rep_64/cert/node_46.key.pub | 2 + oracle_script/pow/rep_64/cert/node_47.key.pri | 2 + oracle_script/pow/rep_64/cert/node_47.key.pub | 2 + oracle_script/pow/rep_64/cert/node_48.key.pri | 2 + oracle_script/pow/rep_64/cert/node_48.key.pub | 2 + oracle_script/pow/rep_64/cert/node_49.key.pri | 2 + oracle_script/pow/rep_64/cert/node_49.key.pub | 2 + oracle_script/pow/rep_64/cert/node_5.key.pri | 2 + oracle_script/pow/rep_64/cert/node_5.key.pub | 2 + oracle_script/pow/rep_64/cert/node_50.key.pri | 2 + oracle_script/pow/rep_64/cert/node_50.key.pub | 2 + oracle_script/pow/rep_64/cert/node_51.key.pri | 2 + oracle_script/pow/rep_64/cert/node_51.key.pub | 2 + oracle_script/pow/rep_64/cert/node_52.key.pri | 2 + oracle_script/pow/rep_64/cert/node_52.key.pub | 2 + oracle_script/pow/rep_64/cert/node_53.key.pri | 2 + oracle_script/pow/rep_64/cert/node_53.key.pub | 2 + oracle_script/pow/rep_64/cert/node_54.key.pri | 2 + oracle_script/pow/rep_64/cert/node_54.key.pub | 2 + oracle_script/pow/rep_64/cert/node_55.key.pri | 2 + oracle_script/pow/rep_64/cert/node_55.key.pub | 2 + oracle_script/pow/rep_64/cert/node_56.key.pri | 2 + oracle_script/pow/rep_64/cert/node_56.key.pub | 2 + oracle_script/pow/rep_64/cert/node_57.key.pri | 2 + oracle_script/pow/rep_64/cert/node_57.key.pub | 2 + oracle_script/pow/rep_64/cert/node_58.key.pri | 2 + oracle_script/pow/rep_64/cert/node_58.key.pub | 2 + oracle_script/pow/rep_64/cert/node_59.key.pri | 2 + oracle_script/pow/rep_64/cert/node_59.key.pub | 2 + oracle_script/pow/rep_64/cert/node_6.key.pri | 2 + oracle_script/pow/rep_64/cert/node_6.key.pub | 2 + oracle_script/pow/rep_64/cert/node_60.key.pri | 2 + oracle_script/pow/rep_64/cert/node_60.key.pub | 2 + oracle_script/pow/rep_64/cert/node_61.key.pri | 2 + oracle_script/pow/rep_64/cert/node_61.key.pub | 2 + oracle_script/pow/rep_64/cert/node_62.key.pri | 2 + oracle_script/pow/rep_64/cert/node_62.key.pub | 2 + oracle_script/pow/rep_64/cert/node_63.key.pri | 2 + oracle_script/pow/rep_64/cert/node_63.key.pub | 2 + oracle_script/pow/rep_64/cert/node_64.key.pri | 2 + oracle_script/pow/rep_64/cert/node_64.key.pub | 2 + oracle_script/pow/rep_64/cert/node_65.key.pri | 2 + oracle_script/pow/rep_64/cert/node_65.key.pub | 2 + oracle_script/pow/rep_64/cert/node_66.key.pri | 2 + oracle_script/pow/rep_64/cert/node_66.key.pub | 2 + oracle_script/pow/rep_64/cert/node_67.key.pri | 2 + oracle_script/pow/rep_64/cert/node_67.key.pub | 2 + oracle_script/pow/rep_64/cert/node_68.key.pri | 2 + oracle_script/pow/rep_64/cert/node_68.key.pub | 2 + oracle_script/pow/rep_64/cert/node_69.key.pri | 2 + oracle_script/pow/rep_64/cert/node_69.key.pub | 2 + oracle_script/pow/rep_64/cert/node_7.key.pri | 2 + oracle_script/pow/rep_64/cert/node_7.key.pub | 2 + oracle_script/pow/rep_64/cert/node_70.key.pri | 2 + oracle_script/pow/rep_64/cert/node_70.key.pub | 2 + oracle_script/pow/rep_64/cert/node_71.key.pri | 2 + oracle_script/pow/rep_64/cert/node_71.key.pub | 2 + oracle_script/pow/rep_64/cert/node_72.key.pri | 2 + oracle_script/pow/rep_64/cert/node_72.key.pub | 2 + oracle_script/pow/rep_64/cert/node_73.key.pri | 2 + oracle_script/pow/rep_64/cert/node_73.key.pub | 2 + oracle_script/pow/rep_64/cert/node_74.key.pri | 2 + oracle_script/pow/rep_64/cert/node_74.key.pub | 2 + oracle_script/pow/rep_64/cert/node_75.key.pri | 2 + oracle_script/pow/rep_64/cert/node_75.key.pub | 2 + oracle_script/pow/rep_64/cert/node_76.key.pri | 2 + oracle_script/pow/rep_64/cert/node_76.key.pub | 2 + oracle_script/pow/rep_64/cert/node_77.key.pri | 2 + oracle_script/pow/rep_64/cert/node_77.key.pub | 2 + oracle_script/pow/rep_64/cert/node_78.key.pri | 2 + oracle_script/pow/rep_64/cert/node_78.key.pub | 2 + oracle_script/pow/rep_64/cert/node_79.key.pri | 2 + oracle_script/pow/rep_64/cert/node_79.key.pub | 2 + oracle_script/pow/rep_64/cert/node_8.key.pri | 2 + oracle_script/pow/rep_64/cert/node_8.key.pub | 2 + oracle_script/pow/rep_64/cert/node_80.key.pri | 2 + oracle_script/pow/rep_64/cert/node_80.key.pub | 2 + oracle_script/pow/rep_64/cert/node_81.key.pri | 2 + oracle_script/pow/rep_64/cert/node_81.key.pub | 2 + oracle_script/pow/rep_64/cert/node_82.key.pri | 2 + oracle_script/pow/rep_64/cert/node_82.key.pub | 2 + oracle_script/pow/rep_64/cert/node_83.key.pri | 2 + oracle_script/pow/rep_64/cert/node_83.key.pub | 2 + oracle_script/pow/rep_64/cert/node_84.key.pri | 2 + oracle_script/pow/rep_64/cert/node_84.key.pub | 2 + oracle_script/pow/rep_64/cert/node_85.key.pri | 2 + oracle_script/pow/rep_64/cert/node_85.key.pub | 2 + oracle_script/pow/rep_64/cert/node_86.key.pri | 2 + oracle_script/pow/rep_64/cert/node_86.key.pub | 2 + oracle_script/pow/rep_64/cert/node_87.key.pri | 2 + oracle_script/pow/rep_64/cert/node_87.key.pub | 2 + oracle_script/pow/rep_64/cert/node_88.key.pri | 2 + oracle_script/pow/rep_64/cert/node_88.key.pub | 2 + oracle_script/pow/rep_64/cert/node_89.key.pri | 2 + oracle_script/pow/rep_64/cert/node_89.key.pub | 2 + oracle_script/pow/rep_64/cert/node_9.key.pri | 2 + oracle_script/pow/rep_64/cert/node_9.key.pub | 2 + oracle_script/pow/rep_64/cert/node_90.key.pri | 2 + oracle_script/pow/rep_64/cert/node_90.key.pub | 2 + oracle_script/pow/rep_64/cert/node_91.key.pri | 2 + oracle_script/pow/rep_64/cert/node_91.key.pub | 2 + oracle_script/pow/rep_64/cert/node_92.key.pri | 2 + oracle_script/pow/rep_64/cert/node_92.key.pub | 2 + oracle_script/pow/rep_64/cert/node_93.key.pri | 2 + oracle_script/pow/rep_64/cert/node_93.key.pub | 2 + oracle_script/pow/rep_64/cert/node_94.key.pri | 2 + oracle_script/pow/rep_64/cert/node_94.key.pub | 2 + oracle_script/pow/rep_64/cert/node_95.key.pri | 2 + oracle_script/pow/rep_64/cert/node_95.key.pub | 2 + oracle_script/pow/rep_64/cert/node_96.key.pri | 2 + oracle_script/pow/rep_64/cert/node_96.key.pub | 2 + oracle_script/pow/rep_64/cert/node_97.key.pri | 2 + oracle_script/pow/rep_64/cert/node_97.key.pub | 2 + oracle_script/pow/rep_64/cert/node_98.key.pri | 2 + oracle_script/pow/rep_64/cert/node_98.key.pub | 2 + oracle_script/pow/rep_64/cert/node_99.key.pri | 2 + oracle_script/pow/rep_64/cert/node_99.key.pub | 2 + oracle_script/pow/rep_64/cli_list.txt | 1 + oracle_script/pow/rep_64/iplist.txt | 64 + oracle_script/pow/rep_64/poc.conf | 13 + oracle_script/pow/rep_64/run_poc.sh | 3 + oracle_script/pow/rep_64/svr_list.txt | 65 + oracle_script/pow/rep_8/cert/cert_1.cert | 6 + oracle_script/pow/rep_8/cert/cert_2.cert | 7 + oracle_script/pow/rep_8/cert/cert_3.cert | 7 + oracle_script/pow/rep_8/cert/cert_4.cert | 6 + oracle_script/pow/rep_8/cert/cert_5.cert | 7 + oracle_script/pow/rep_8/cert/cert_6.cert | 7 + oracle_script/pow/rep_8/cert/cert_7.cert | 7 + oracle_script/pow/rep_8/cert/cert_8.cert | 6 + oracle_script/pow/rep_8/cert/cert_9.cert | 7 + oracle_script/pow/rep_8/cert/node_1.key.pri | 2 + oracle_script/pow/rep_8/cert/node_1.key.pub | 2 + oracle_script/pow/rep_8/cert/node_10.key.pri | 2 + oracle_script/pow/rep_8/cert/node_10.key.pub | 2 + oracle_script/pow/rep_8/cert/node_100.key.pri | 2 + oracle_script/pow/rep_8/cert/node_100.key.pub | 2 + oracle_script/pow/rep_8/cert/node_101.key.pri | 2 + oracle_script/pow/rep_8/cert/node_101.key.pub | 2 + oracle_script/pow/rep_8/cert/node_102.key.pri | 2 + oracle_script/pow/rep_8/cert/node_102.key.pub | 2 + oracle_script/pow/rep_8/cert/node_103.key.pri | 2 + oracle_script/pow/rep_8/cert/node_103.key.pub | 2 + oracle_script/pow/rep_8/cert/node_104.key.pri | 2 + oracle_script/pow/rep_8/cert/node_104.key.pub | 2 + oracle_script/pow/rep_8/cert/node_105.key.pri | 2 + oracle_script/pow/rep_8/cert/node_105.key.pub | 2 + oracle_script/pow/rep_8/cert/node_106.key.pri | 2 + oracle_script/pow/rep_8/cert/node_106.key.pub | 2 + oracle_script/pow/rep_8/cert/node_107.key.pri | 2 + oracle_script/pow/rep_8/cert/node_107.key.pub | 2 + oracle_script/pow/rep_8/cert/node_108.key.pri | 2 + oracle_script/pow/rep_8/cert/node_108.key.pub | 2 + oracle_script/pow/rep_8/cert/node_109.key.pri | 2 + oracle_script/pow/rep_8/cert/node_109.key.pub | 2 + oracle_script/pow/rep_8/cert/node_11.key.pri | 2 + oracle_script/pow/rep_8/cert/node_11.key.pub | 2 + oracle_script/pow/rep_8/cert/node_110.key.pri | 2 + oracle_script/pow/rep_8/cert/node_110.key.pub | 2 + oracle_script/pow/rep_8/cert/node_111.key.pri | 2 + oracle_script/pow/rep_8/cert/node_111.key.pub | 2 + oracle_script/pow/rep_8/cert/node_112.key.pri | 2 + oracle_script/pow/rep_8/cert/node_112.key.pub | 2 + oracle_script/pow/rep_8/cert/node_113.key.pri | 2 + oracle_script/pow/rep_8/cert/node_113.key.pub | 2 + oracle_script/pow/rep_8/cert/node_114.key.pri | 2 + oracle_script/pow/rep_8/cert/node_114.key.pub | 2 + oracle_script/pow/rep_8/cert/node_115.key.pri | 2 + oracle_script/pow/rep_8/cert/node_115.key.pub | 2 + oracle_script/pow/rep_8/cert/node_116.key.pri | 2 + oracle_script/pow/rep_8/cert/node_116.key.pub | 2 + oracle_script/pow/rep_8/cert/node_117.key.pri | 2 + oracle_script/pow/rep_8/cert/node_117.key.pub | 2 + oracle_script/pow/rep_8/cert/node_118.key.pri | 2 + oracle_script/pow/rep_8/cert/node_118.key.pub | 2 + oracle_script/pow/rep_8/cert/node_119.key.pri | 2 + oracle_script/pow/rep_8/cert/node_119.key.pub | 2 + oracle_script/pow/rep_8/cert/node_12.key.pri | 2 + oracle_script/pow/rep_8/cert/node_12.key.pub | 2 + oracle_script/pow/rep_8/cert/node_120.key.pri | 2 + oracle_script/pow/rep_8/cert/node_120.key.pub | 2 + oracle_script/pow/rep_8/cert/node_121.key.pri | 2 + oracle_script/pow/rep_8/cert/node_121.key.pub | 2 + oracle_script/pow/rep_8/cert/node_122.key.pri | 2 + oracle_script/pow/rep_8/cert/node_122.key.pub | 2 + oracle_script/pow/rep_8/cert/node_123.key.pri | 2 + oracle_script/pow/rep_8/cert/node_123.key.pub | 2 + oracle_script/pow/rep_8/cert/node_13.key.pri | 2 + oracle_script/pow/rep_8/cert/node_13.key.pub | 2 + oracle_script/pow/rep_8/cert/node_14.key.pri | 2 + oracle_script/pow/rep_8/cert/node_14.key.pub | 2 + oracle_script/pow/rep_8/cert/node_15.key.pri | 2 + oracle_script/pow/rep_8/cert/node_15.key.pub | 2 + oracle_script/pow/rep_8/cert/node_16.key.pri | 2 + oracle_script/pow/rep_8/cert/node_16.key.pub | 2 + oracle_script/pow/rep_8/cert/node_2.key.pri | 2 + oracle_script/pow/rep_8/cert/node_2.key.pub | 2 + oracle_script/pow/rep_8/cert/node_3.key.pri | 2 + oracle_script/pow/rep_8/cert/node_3.key.pub | 2 + oracle_script/pow/rep_8/cert/node_4.key.pri | 2 + oracle_script/pow/rep_8/cert/node_4.key.pub | 2 + oracle_script/pow/rep_8/cert/node_5.key.pri | 2 + oracle_script/pow/rep_8/cert/node_5.key.pub | 2 + oracle_script/pow/rep_8/cert/node_6.key.pri | 2 + oracle_script/pow/rep_8/cert/node_6.key.pub | 2 + oracle_script/pow/rep_8/cert/node_66.key.pri | 2 + oracle_script/pow/rep_8/cert/node_66.key.pub | 2 + oracle_script/pow/rep_8/cert/node_67.key.pri | 2 + oracle_script/pow/rep_8/cert/node_67.key.pub | 2 + oracle_script/pow/rep_8/cert/node_68.key.pri | 2 + oracle_script/pow/rep_8/cert/node_68.key.pub | 2 + oracle_script/pow/rep_8/cert/node_69.key.pri | 2 + oracle_script/pow/rep_8/cert/node_69.key.pub | 2 + oracle_script/pow/rep_8/cert/node_7.key.pri | 2 + oracle_script/pow/rep_8/cert/node_7.key.pub | 2 + oracle_script/pow/rep_8/cert/node_70.key.pri | 2 + oracle_script/pow/rep_8/cert/node_70.key.pub | 2 + oracle_script/pow/rep_8/cert/node_71.key.pri | 2 + oracle_script/pow/rep_8/cert/node_71.key.pub | 2 + oracle_script/pow/rep_8/cert/node_72.key.pri | 2 + oracle_script/pow/rep_8/cert/node_72.key.pub | 2 + oracle_script/pow/rep_8/cert/node_73.key.pri | 2 + oracle_script/pow/rep_8/cert/node_73.key.pub | 2 + oracle_script/pow/rep_8/cert/node_74.key.pri | 2 + oracle_script/pow/rep_8/cert/node_74.key.pub | 2 + oracle_script/pow/rep_8/cert/node_75.key.pri | 2 + oracle_script/pow/rep_8/cert/node_75.key.pub | 2 + oracle_script/pow/rep_8/cert/node_76.key.pri | 2 + oracle_script/pow/rep_8/cert/node_76.key.pub | 2 + oracle_script/pow/rep_8/cert/node_77.key.pri | 2 + oracle_script/pow/rep_8/cert/node_77.key.pub | 2 + oracle_script/pow/rep_8/cert/node_78.key.pri | 2 + oracle_script/pow/rep_8/cert/node_78.key.pub | 2 + oracle_script/pow/rep_8/cert/node_79.key.pri | 2 + oracle_script/pow/rep_8/cert/node_79.key.pub | 2 + oracle_script/pow/rep_8/cert/node_8.key.pri | 2 + oracle_script/pow/rep_8/cert/node_8.key.pub | 2 + oracle_script/pow/rep_8/cert/node_80.key.pri | 2 + oracle_script/pow/rep_8/cert/node_80.key.pub | 2 + oracle_script/pow/rep_8/cert/node_81.key.pri | 2 + oracle_script/pow/rep_8/cert/node_81.key.pub | 2 + oracle_script/pow/rep_8/cert/node_82.key.pri | 2 + oracle_script/pow/rep_8/cert/node_82.key.pub | 2 + oracle_script/pow/rep_8/cert/node_83.key.pri | 2 + oracle_script/pow/rep_8/cert/node_83.key.pub | 2 + oracle_script/pow/rep_8/cert/node_84.key.pri | 2 + oracle_script/pow/rep_8/cert/node_84.key.pub | 2 + oracle_script/pow/rep_8/cert/node_85.key.pri | 2 + oracle_script/pow/rep_8/cert/node_85.key.pub | 2 + oracle_script/pow/rep_8/cert/node_86.key.pri | 2 + oracle_script/pow/rep_8/cert/node_86.key.pub | 2 + oracle_script/pow/rep_8/cert/node_87.key.pri | 2 + oracle_script/pow/rep_8/cert/node_87.key.pub | 2 + oracle_script/pow/rep_8/cert/node_88.key.pri | 2 + oracle_script/pow/rep_8/cert/node_88.key.pub | 2 + oracle_script/pow/rep_8/cert/node_89.key.pri | 2 + oracle_script/pow/rep_8/cert/node_89.key.pub | 2 + oracle_script/pow/rep_8/cert/node_9.key.pri | 2 + oracle_script/pow/rep_8/cert/node_9.key.pub | 2 + oracle_script/pow/rep_8/cert/node_90.key.pri | 2 + oracle_script/pow/rep_8/cert/node_90.key.pub | 2 + oracle_script/pow/rep_8/cert/node_91.key.pri | 2 + oracle_script/pow/rep_8/cert/node_91.key.pub | 2 + oracle_script/pow/rep_8/cert/node_92.key.pri | 2 + oracle_script/pow/rep_8/cert/node_92.key.pub | 2 + oracle_script/pow/rep_8/cert/node_93.key.pri | 2 + oracle_script/pow/rep_8/cert/node_93.key.pub | 2 + oracle_script/pow/rep_8/cert/node_94.key.pri | 2 + oracle_script/pow/rep_8/cert/node_94.key.pub | 2 + oracle_script/pow/rep_8/cert/node_95.key.pri | 2 + oracle_script/pow/rep_8/cert/node_95.key.pub | 2 + oracle_script/pow/rep_8/cert/node_96.key.pri | 2 + oracle_script/pow/rep_8/cert/node_96.key.pub | 2 + oracle_script/pow/rep_8/cert/node_97.key.pri | 2 + oracle_script/pow/rep_8/cert/node_97.key.pub | 2 + oracle_script/pow/rep_8/cert/node_98.key.pri | 2 + oracle_script/pow/rep_8/cert/node_98.key.pub | 2 + oracle_script/pow/rep_8/cert/node_99.key.pri | 2 + oracle_script/pow/rep_8/cert/node_99.key.pub | 2 + oracle_script/pow/rep_8/cli_list.txt | 2 + oracle_script/pow/rep_8/iplist.txt | 9 + oracle_script/pow/rep_8/poc.conf | 13 + oracle_script/pow/rep_8/run_poc.sh | 3 + oracle_script/pow/rep_8/svr_list.txt | 9 + oracle_script/pow/run_cli.py | 46 + oracle_script/pow/run_cli.sh | 2 + oracle_script/pow/run_poc.sh | 9 + oracle_script/pow/run_server.sh | 25 + oracle_script/pow/run_svr.py | 60 + oracle_script/pow/shell_cmd.sh | 14 + oracle_script/pow/shutdown.sh | 22 + oracle_script/pow/svr_list.txt | 4 + oracle_script/ssh-2022-03-24.key | 27 + oracle_script/svr_list.txt | 121 + ordering/pbft/BUILD | 199 ++ ordering/pbft/checkpoint.cpp | 62 + ordering/pbft/checkpoint.h | 32 + ordering/pbft/checkpoint_collector.cpp | 88 + ordering/pbft/checkpoint_collector.h | 36 + ordering/pbft/commitment.cpp | 137 + ordering/pbft/commitment.h | 42 + ordering/pbft/commitment_test.cpp | 299 ++ ordering/pbft/consensus_service_pbft.cpp | 82 + ordering/pbft/consensus_service_pbft.h | 41 + ordering/pbft/lock_free_collector_pool.cpp | 51 + ordering/pbft/lock_free_collector_pool.h | 27 + .../pbft/lock_free_collector_pool_test.cpp | 45 + ordering/pbft/query.cpp | 61 + ordering/pbft/query.h | 23 + ordering/pbft/query_test.cpp | 166 + ordering/pbft/recovery.cpp | 193 ++ ordering/pbft/recovery.h | 37 + ordering/pbft/response_manager.cpp | 244 ++ ordering/pbft/response_manager.h | 60 + ordering/pbft/response_manager_test.cpp | 181 ++ ordering/pbft/transaction_collector.cpp | 128 + ordering/pbft/transaction_collector.h | 103 + .../pbft/transaction_collector_test.cpp | 63 +- ordering/pbft/transaction_manager.cpp | 239 ++ ordering/pbft/transaction_manager.h | 113 + ordering/pbft/transaction_utils.cpp | 13 + ordering/pbft/transaction_utils.h | 15 + ordering/poc/pow/BUILD | 201 ++ ordering/poc/pow/block_manager.cpp | 271 ++ ordering/poc/pow/block_manager.h | 86 + ordering/poc/pow/block_manager_test.cpp | 400 +++ ordering/poc/pow/consensus_service_pow.cpp | 54 + ordering/poc/pow/consensus_service_pow.h | 29 + .../poc/pow/consensus_service_pow_test.cpp | 330 ++ ordering/poc/pow/merkle.cpp | 28 + ordering/poc/pow/merkle.h | 12 + ordering/poc/pow/merkle_test.cpp | 46 + ordering/poc/pow/miner.cpp | 161 + ordering/poc/pow/miner.h | 44 + ordering/poc/pow/miner_manager.cpp | 12 + ordering/poc/pow/miner_manager.h | 18 + ordering/poc/pow/miner_test.cpp | 170 + ordering/poc/pow/miner_utils.cpp | 102 + ordering/poc/pow/miner_utils.h | 30 + ordering/poc/pow/miner_utils_test.cpp | 76 + ordering/poc/pow/mock_transaction_accessor.h | 15 + ordering/poc/pow/pow_manager.cpp | 271 ++ ordering/poc/pow/pow_manager.h | 78 + ordering/poc/pow/pow_manager_test.cpp | 482 +++ ordering/poc/pow/shift_manager.cpp | 33 + ordering/poc/pow/shift_manager.h | 24 + ordering/poc/pow/transaction_accessor.cpp | 155 + ordering/poc/pow/transaction_accessor.h | 48 + .../poc/pow/transaction_accessor_test.cpp | 121 + ordering/poc/proto/BUILD | 28 + ordering/poc/proto/pow.proto | 52 + ordering/poc/proto/transaction.proto | 12 + ordering/status/checkpoint/BUILD | 15 + .../status/checkpoint/check_point_info.cpp | 85 + ordering/status/checkpoint/check_point_info.h | 43 + package-lock.json | 11 - platform/common/data_comm/BUILD | 35 - platform/common/data_comm/data_comm.h | 39 - platform/common/data_comm/network_comm.h | 32 - platform/common/network/BUILD | 58 - platform/common/network/mock_socket.h | 43 - platform/common/network/network_utils.cpp | 50 - platform/common/network/network_utils.h | 32 - .../common/network/network_utils_test.cpp | 43 - platform/common/network/socket.h | 51 - platform/common/network/tcp_socket.h | 59 - platform/common/network/tcp_socket_test.cpp | 94 - platform/common/queue/BUILD | 65 - platform/common/queue/batch_queue.h | 79 - platform/common/queue/batch_queue_test.cpp | 98 - platform/common/queue/blocking_queue.h | 106 - platform/common/queue/lock_free_queue.h | 78 - .../common/queue/lock_free_queue_test.cpp | 50 - platform/config/BUILD | 56 - platform/config/resdb_config.cpp | 253 -- platform/config/resdb_config.h | 149 - platform/config/resdb_config_utils.cpp | 157 - platform/config/resdb_config_utils.h | 43 - platform/config/resdb_poc_config.cpp | 74 - platform/config/resdb_poc_config.h | 71 - platform/consensus/checkpoint/BUILD | 36 - platform/consensus/checkpoint/checkpoint.h | 32 - .../consensus/checkpoint/mock_checkpoint.h | 33 - platform/consensus/execution/BUILD | 132 - .../consensus/execution/duplicate_manager.cpp | 143 - .../consensus/execution/duplicate_manager.h | 69 - .../execution/geo_global_executor.cpp | 131 - .../consensus/execution/geo_global_executor.h | 70 - .../execution/geo_global_executor_test.cpp | 95 - .../execution/geo_transaction_executor.cpp | 127 - .../execution/geo_transaction_executor.h | 58 - .../geo_transaction_executor_test.cpp | 150 - .../execution/mock_geo_global_executor.h | 37 - platform/consensus/execution/system_info.cpp | 75 - platform/consensus/execution/system_info.h | 54 - .../consensus/execution/system_info_test.cpp | 75 - .../execution/transaction_executor.cpp | 248 -- .../execution/transaction_executor.h | 101 - .../execution/transaction_executor_test.cpp | 282 -- platform/consensus/ordering/common/BUILD | 29 - .../consensus/ordering/common/algorithm/BUILD | 29 - .../common/algorithm/protocol_base.cpp | 65 - .../ordering/common/algorithm/protocol_base.h | 87 - .../consensus/ordering/common/framework/BUILD | 66 - .../ordering/common/framework/consensus.cpp | 168 - .../ordering/common/framework/consensus.h | 78 - .../common/framework/performance_manager.cpp | 276 -- .../common/framework/performance_manager.h | 97 - .../common/framework/response_manager.cpp | 236 -- .../common/framework/response_manager.h | 79 - .../common/framework/transaction_utils.cpp | 43 - .../common/framework/transaction_utils.h | 39 - .../ordering/common/transaction_utils.cpp | 41 - .../ordering/common/transaction_utils.h | 33 - platform/consensus/ordering/geo_pbft/BUILD | 68 - .../consensus/ordering/geo_pbft/README.md | 23 - .../geo_pbft/consensus_manager_geo_pbft.cpp | 45 - .../geo_pbft/consensus_manager_geo_pbft.h | 43 - .../ordering/geo_pbft/geo_pbft_commitment.cpp | 142 - .../ordering/geo_pbft/geo_pbft_commitment.h | 68 - .../geo_pbft/geo_pbft_commitment_test.cpp | 216 -- .../consensus/ordering/geo_pbft/hash_set.h | 70 - platform/consensus/ordering/img/GeoBFT_1.png | Bin 95131 -> 0 bytes platform/consensus/ordering/img/PBFT_1.png | Bin 28505 -> 0 bytes platform/consensus/ordering/img/PBFT_2.png | Bin 40103 -> 0 bytes platform/consensus/ordering/img/PBFT_3.png | Bin 49651 -> 0 bytes platform/consensus/ordering/img/PBFT_4.png | Bin 50363 -> 0 bytes platform/consensus/ordering/img/PBFT_5.png | Bin 49507 -> 0 bytes platform/consensus/ordering/img/PBFT_6.png | Bin 20268 -> 0 bytes platform/consensus/ordering/pbft/BUILD | 268 -- platform/consensus/ordering/pbft/README.md | 50 - .../ordering/pbft/checkpoint_manager.cpp | 381 --- .../ordering/pbft/checkpoint_manager.h | 118 - .../ordering/pbft/checkpoint_manager_test.cpp | 307 -- .../consensus/ordering/pbft/commitment.cpp | 333 -- platform/consensus/ordering/pbft/commitment.h | 79 - .../ordering/pbft/commitment_test.cpp | 370 --- .../ordering/pbft/consensus_manager_pbft.cpp | 266 -- .../ordering/pbft/consensus_manager_pbft.h | 88 - .../pbft/lock_free_collector_pool.cpp | 70 - .../ordering/pbft/lock_free_collector_pool.h | 46 - .../pbft/lock_free_collector_pool_test.cpp | 64 - .../ordering/pbft/message_manager.cpp | 293 -- .../consensus/ordering/pbft/message_manager.h | 144 - .../ordering/pbft/mock_checkpoint_manager.h | 47 - .../ordering/pbft/performance_manager.cpp | 407 --- .../ordering/pbft/performance_manager.h | 118 - .../pbft/pre_very_consensus_service_pbft.h | 55 - platform/consensus/ordering/pbft/query.cpp | 148 - platform/consensus/ordering/pbft/query.h | 48 - .../consensus/ordering/pbft/query_test.cpp | 205 -- .../ordering/pbft/response_manager.cpp | 410 --- .../ordering/pbft/response_manager.h | 109 - .../ordering/pbft/response_manager_test.cpp | 208 -- .../ordering/pbft/transaction_collector.cpp | 238 -- .../ordering/pbft/transaction_collector.h | 141 - .../ordering/pbft/transaction_utils.cpp | 41 - .../ordering/pbft/transaction_utils.h | 38 - .../ordering/pbft/viewchange_manager.cpp | 618 ---- .../ordering/pbft/viewchange_manager.h | 160 - .../ordering/pbft/viewchange_manager_test.cpp | 124 - .../consensus/ordering/poe/algorithm/BUILD | 33 - .../consensus/ordering/poe/algorithm/poe.cpp | 91 - .../consensus/ordering/poe/algorithm/poe.h | 59 - .../consensus/ordering/poe/framework/BUILD | 33 - .../ordering/poe/framework/consensus.cpp | 98 - .../ordering/poe/framework/consensus.h | 53 - platform/consensus/ordering/poe/proto/BUILD | 34 - .../ordering/poe/proto/proposal.proto | 46 - platform/consensus/recovery/BUILD | 47 - platform/consensus/recovery/recovery.cpp | 530 --- platform/consensus/recovery/recovery.h | 106 - platform/consensus/recovery/recovery_test.cpp | 462 --- platform/networkstrate/BUILD | 196 -- platform/networkstrate/README.md | 36 - platform/networkstrate/async_acceptor.cpp | 162 - platform/networkstrate/async_acceptor.h | 76 - .../networkstrate/async_replica_client.cpp | 112 - platform/networkstrate/async_replica_client.h | 63 - platform/networkstrate/consensus_manager.cpp | 373 --- platform/networkstrate/consensus_manager.h | 114 - .../networkstrate/consensus_manager_test.cpp | 303 -- .../networkstrate/mock_async_replica_client.h | 35 - .../networkstrate/mock_replica_communicator.h | 49 - .../networkstrate/mock_service_interface.h | 37 - .../networkstrate/replica_communicator.cpp | 270 -- platform/networkstrate/replica_communicator.h | 98 - .../replica_communicator_test.cpp | 139 - platform/networkstrate/server_comm.h | 32 - platform/networkstrate/service_interface.cpp | 38 - platform/networkstrate/service_interface.h | 47 - platform/networkstrate/service_network.cpp | 141 - platform/networkstrate/service_network.h | 68 - .../networkstrate/service_network_test.cpp | 116 - platform/proto/BUILD | 151 - platform/proto/broadcast.proto | 26 - platform/proto/checkpoint_info.proto | 44 - platform/proto/client_test.proto | 30 - platform/proto/logging.proto | 37 - platform/proto/network_type.proto | 29 - platform/proto/replica_info.proto | 77 - platform/proto/resdb.proto | 208 -- platform/proto/system_info_data.proto | 27 - platform/proto/viewchange_message.proto | 49 - platform/rdbc/BUILD | 34 - platform/rdbc/acceptor.cpp | 98 - platform/rdbc/acceptor.h | 57 - platform/statistic/BUILD | 56 - platform/statistic/README.md | 188 -- platform/statistic/prometheus_handler.cpp | 108 - platform/statistic/prometheus_handler.h | 79 - platform/statistic/set_random_data.cpp | 86 - platform/statistic/stats.cpp | 536 --- platform/statistic/stats.h | 155 - platform/test/BUILD | 38 - platform/test/proto/BUILD | 33 - platform/test/proto/resdb_test.proto | 29 - platform/test/resdb_test.cpp | 168 - platform/test/test_data/BUILD | 25 - platform/test/test_data/kv_config.config | 27 - platform/test/test_data/server.config | 27 - proto/BUILD | 109 + proto/broadcast.proto | 7 + proto/checkpoint_info.proto | 14 + proto/client_test.proto | 11 + proto/contract/BUILD | 68 - proto/contract/account.proto | 28 - proto/contract/contract.proto | 30 - proto/contract/func_params.proto | 40 - proto/contract/rpc.proto | 50 - proto/kv/BUILD | 32 - proto/kv/kv.proto | 72 - proto/kv_server.proto | 20 + proto/logging.proto | 18 + proto/network_type.proto | 10 + proto/replica_info.proto | 22 + proto/resdb.proto | 146 + proto/signature_info.proto | 60 + proto/utxo/BUILD | 55 - proto/utxo/config.proto | 34 - proto/utxo/rpc.proto | 44 - proto/utxo/utxo.proto | 42 - repositories.bzl | 90 - script.js | 123 - scripts/deploy/README.md | 65 - scripts/deploy/config/key_example.conf | 2 - .../deploy/config/kv_performance_server.conf | 8 - scripts/deploy/config/kv_server.conf | 8 - scripts/deploy/config/poe.config | 10 - scripts/deploy/config/template.config | 6 - scripts/deploy/data/cert/cert_6.cert | Bin 166 -> 0 bytes scripts/deploy/data/cert/cert_7.cert | 6 - scripts/deploy/data/cert/cert_8.cert | Bin 166 -> 0 bytes scripts/deploy/data/cert/cert_9.cert | 7 - scripts/deploy/data/cert/node6.key.key.pri | 2 - scripts/deploy/data/cert/node6.key.key.pub | 2 - scripts/deploy/data/cert/node6.key.pri | 2 - scripts/deploy/data/cert/node6.key.pub | 2 - scripts/deploy/data/cert/node7.key.key.pri | 2 - scripts/deploy/data/cert/node7.key.key.pub | 2 - scripts/deploy/data/cert/node7.key.pri | 2 - scripts/deploy/data/cert/node7.key.pub | 2 - scripts/deploy/data/cert/node8.key.key.pri | 2 - scripts/deploy/data/cert/node8.key.key.pub | 2 - scripts/deploy/data/cert/node8.key.pri | 2 - scripts/deploy/data/cert/node8.key.pub | 2 - scripts/deploy/data/cert/node9.key.key.pri | 2 - scripts/deploy/data/cert/node9.key.key.pub | 2 - scripts/deploy/data/cert/node9.key.pri | 2 - scripts/deploy/data/cert/node9.key.pub | 2 - .../deploy/performance/calculate_result.py | 71 - .../deploy/performance/pbft_performance.sh | 21 - scripts/deploy/performance/poe_performance.sh | 23 - scripts/deploy/performance/run_performance.sh | 56 - scripts/deploy/script/deploy.sh | 166 - scripts/deploy/script/env.sh | 44 - scripts/deploy/script/generate_config.sh | 82 - scripts/deploy/script/generate_key.sh | 33 - scripts/deploy/script/load_config.sh | 26 - scripts/format.sh | 22 - server/BUILD | 171 + server/async_acceptor.cpp | 134 + server/async_acceptor.h | 57 + .../async_acceptor_test.cpp | 23 +- server/async_replica_client.cpp | 94 + server/async_replica_client.h | 43 + .../async_replica_client_test.cpp | 23 +- server/consensus_service.cpp | 279 ++ server/consensus_service.h | 90 + server/consensus_service_test.cpp | 226 ++ server/mock_async_replica_client.h | 16 + server/mock_resdb_replica_client.h | 23 + server/mock_resdb_service.h | 18 + server/resdb_replica_client.cpp | 223 ++ server/resdb_replica_client.h | 73 + server/resdb_replica_client_test.cpp | 120 + server/resdb_server.cpp | 165 + server/resdb_server.h | 51 + server/resdb_server_test.cpp | 97 + server/resdb_service.cpp | 19 + server/resdb_service.h | 28 + server/server_comm.h | 13 + service/contract/BUILD | 30 - service/contract/contract_service.cpp | 70 - service/kv/BUILD | 42 - service/kv/kv_service.cpp | 81 - service/tools/config/interface/service.config | 3 - .../tools/config/interface/service0.config | 3 - service/tools/config/server/server.config | 36 - .../tools/config/server/utxo_config.config | 12 - service/tools/contract/README.md | 38 - service/tools/contract/api_tools/BUILD | 31 - .../api_tools/config/server_config.config | 28 - .../contract/api_tools/contract_tools.cpp | 141 - .../api_tools/example_contract/compile.sh | 20 - .../api_tools/example_contract/token.json | 15 - .../api_tools/example_contract/token.sol | 31 - .../service_tools/start_contract_service.sh | 32 - service/tools/data/cert/admin.key.pri | 2 - service/tools/data/cert/admin.key.pub | 2 - service/tools/data/cert/cert_1.cert | Bin 166 -> 0 bytes service/tools/data/cert/cert_2.cert | 7 - service/tools/data/cert/cert_3.cert | 7 - service/tools/data/cert/cert_4.cert | 6 - service/tools/data/cert/cert_5.cert | 8 - service/tools/data/cert/cert_6.cert | Bin 166 -> 0 bytes service/tools/data/cert/cert_7.cert | 6 - service/tools/data/cert/cert_8.cert | Bin 166 -> 0 bytes service/tools/data/cert/cert_9.cert | 7 - service/tools/data/cert/node1.key.pri | 2 - service/tools/data/cert/node1.key.pub | 3 - service/tools/data/cert/node2.key.pri | 2 - service/tools/data/cert/node2.key.pub | 2 - service/tools/data/cert/node3.key.pri | Bin 36 -> 0 bytes service/tools/data/cert/node3.key.pub | 3 - service/tools/data/cert/node4.key.pri | Bin 36 -> 0 bytes service/tools/data/cert/node4.key.pub | 2 - service/tools/data/cert/node5.key.pri | 2 - service/tools/data/cert/node5.key.pub | 3 - service/tools/data/cert/node6.key.key.pri | 2 - service/tools/data/cert/node6.key.key.pub | 2 - service/tools/data/cert/node6.key.pri | 2 - service/tools/data/cert/node6.key.pub | 2 - service/tools/data/cert/node7.key.key.pri | 2 - service/tools/data/cert/node7.key.key.pub | 2 - service/tools/data/cert/node7.key.pri | 2 - service/tools/data/cert/node7.key.pub | 2 - service/tools/data/cert/node8.key.key.pri | 2 - service/tools/data/cert/node8.key.key.pub | 2 - service/tools/data/cert/node8.key.pri | 2 - service/tools/data/cert/node8.key.pub | 2 - service/tools/data/cert/node9.key.key.pri | 2 - service/tools/data/cert/node9.key.key.pub | 2 - service/tools/data/cert/node9.key.pri | 2 - service/tools/data/cert/node9.key.pub | 2 - service/tools/kv/api_tools/BUILD | 40 - .../kv/api_tools/kv_client_txn_tools.cpp | 67 - .../tools/kv/api_tools/kv_service_tools.cpp | 280 -- .../tools/kv/server_tools/start_kv_service.sh | 32 - .../start_kv_service_monitoring.sh | 33 - service/tools/utxo/README.md | 54 - .../utxo/service_tools/start_utxo_service.sh | 34 - service/tools/utxo/wallet_tool/cpp/BUILD | 48 - .../tools/utxo/wallet_tool/cpp/addr_utils.cpp | 41 - .../tools/utxo/wallet_tool/cpp/addr_utils.h | 32 - .../tools/utxo/wallet_tool/cpp/key_utils.cpp | 36 - .../tools/utxo/wallet_tool/cpp/key_utils.h | 30 - .../wallet_tool/cpp/server_config0.config | 1 - .../wallet_tool/cpp/utxo_client_tools.cpp | 182 -- service/tools/utxo/wallet_tool/py/BUILD | 40 - service/tools/utxo/wallet_tool/py/addr.py | 32 - service/tools/utxo/wallet_tool/py/keys.py | 26 - service/tools/utxo/wallet_tool/pybind/BUILD | 38 - .../wallet_tool/pybind/wallet_tools_py.cpp | 38 - service/tools/utxo/wallet_tool/test/BUILD | 48 - .../tools/utxo/wallet_tool/test/key_tester.py | 26 - .../wallet_tool/test/key_tester_utils.cpp | 47 - service/utils/BUILD | 31 - service/utils/server_factory.cpp | 48 - service/utils/server_factory.h | 124 - service/utxo/BUILD | 30 - service/utxo/config/server_config.config | 28 - service/utxo/config/utxo_config.config | 12 - service/utxo/start_contract_server.sh | 32 - service/utxo/utxo_service.cpp | 96 - statistic/BUILD | 31 + statistic/influxdb.hpp | 314 ++ statistic/influxdb_handler.cpp | 27 + statistic/influxdb_handler.h | 17 + statistic/prometheus_handler.cpp | 165 + statistic/prometheus_handler.h | 67 + statistic/stats.cpp | 227 ++ statistic/stats.h | 77 + sun.sh | 2 + test/BUILD | 19 + test/proto/BUILD | 14 + test/proto/resdb_test.proto | 10 + test/resdb_test.cpp | 148 + test/test_data/BUILD | 7 + .../cert => test/test_data}/admin.key.pri | 0 .../cert => test/test_data}/admin.key.pub | 0 {platform/test => test}/test_data/cert_1.cert | 0 {platform/test => test}/test_data/cert_2.cert | Bin {platform/test => test}/test_data/cert_3.cert | 0 {platform/test => test}/test_data/cert_4.cert | 0 {platform/test => test}/test_data/cert_5.cert | 0 test/test_data/cert_6.cert | 7 + .../cert => test/test_data}/node1.key.pri | 0 .../cert => test/test_data}/node1.key.pub | 0 .../cert => test/test_data}/node2.key.pri | 0 .../cert => test/test_data}/node2.key.pub | 0 .../cert => test/test_data}/node3.key.pri | Bin .../cert => test/test_data}/node3.key.pub | 0 .../cert => test/test_data}/node4.key.pri | Bin .../cert => test/test_data}/node4.key.pub | 0 .../cert => test/test_data}/node5.key.pri | 0 .../cert => test/test_data}/node5.key.pub | 0 test/test_data/server.config | 4 + third_party/BUILD | 70 +- third_party/asio.BUILD | 38 - third_party/civetweb.BUILD | 52 - third_party/crow.BUILD | 38 - third_party/date.BUILD | 30 - third_party/eEVM.BUILD | 55 - third_party/json.BUILD | 29 - third_party/leveldb.BUILD | 35 +- third_party/loc_script/action.yml | 72 - third_party/loc_script/src/index.js | 109 - third_party/prometheus.BUILD | 33 - third_party/rapidjson.BUILD | 30 - third_party/rocksdb.BUILD | 94 + third_party/snappy.BUILD | 25 +- third_party/z.BUILD | 26 +- third_party/zlib.BUILD | 25 +- third_party/zstd.BUILD | 5 + tools/BUILD | 61 +- tools/certificate_tools.cpp | 23 +- tools/certificate_tools_test.cpp | 21 +- tools/generate_certificate.sh | 18 - tools/generate_client.sh | 18 - tools/generate_cluster.sh | 19 +- tools/generate_key.sh | 18 - tools/generate_mulregion_config.py | 69 - tools/generate_region_config.py | 84 - tools/key_generator_tools.cpp | 21 +- tools/kv_client_txn_tools.cpp | 50 + tools/resdb_state_accessor_tools.cpp | 43 - tools/resdb_status_client_tools.cpp | 34 + tools/resdb_txn_accessor_tools.cpp | 58 - tools/resdb_txn_client_tools.cpp | 39 + 4443 files changed, 32530 insertions(+), 39517 deletions(-) delete mode 100644 CHANGELOG.md delete mode 100644 CNAME delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 DISCLAIMER-WIP delete mode 100644 Docker/Dockerfile delete mode 100644 Docker/Dockerfile_mac mode change 100755 => 100644 INSTALL.sh delete mode 100755 INSTALL/README.md delete mode 100755 INSTALL/bazel/install_bazel.sh delete mode 100755 INSTALL/protobuf/install_protobuf.sh delete mode 100644 LICENSE create mode 100644 LICENSE.md delete mode 100644 NOTICE delete mode 100644 api/BUILD delete mode 100644 api/README.md delete mode 100644 api/ip_address.config delete mode 100644 api/kv_operation.py delete mode 100644 api/pybind_kv_service.cpp create mode 100644 application/poc/BUILD create mode 100644 application/poc/pbft.config rename service/tools/contract/api_tools/client_config.config => application/poc/pbft_client.config (100%) create mode 100644 application/poc/pbft_client.cpp create mode 100644 application/poc/pbft_client.h create mode 100644 application/poc/pbft_client_main.cpp create mode 100644 application/poc/pbft_server.cpp create mode 100644 application/poc/pow.config create mode 100644 application/poc/pow_server.cpp create mode 100644 application/poc/tools/feed_local.sh create mode 100644 application/poc/tools/pow_cert/cert_1.cert create mode 100644 application/poc/tools/pow_cert/cert_2.cert create mode 100644 application/poc/tools/pow_cert/cert_3.cert create mode 100644 application/poc/tools/pow_cert/cert_4.cert create mode 100644 application/poc/tools/start_pbft_server.sh create mode 100644 application/poc/tools/start_pow_server.sh create mode 100644 application/utils/BUILD create mode 100644 application/utils/server_factory.cpp create mode 100644 application/utils/server_factory.h create mode 100644 benchmark/pbft/BUILD create mode 100644 benchmark/pbft/benchmark_client.cpp create mode 100644 benchmark/pbft/benchmark_client.h create mode 100644 benchmark/pbft/benchmark_client_main.cpp create mode 100644 benchmark/pbft/benchmark_server.config create mode 100644 benchmark/pbft/benchmark_server.cpp create mode 100644 benchmark/pbft/benchmark_server_impl.cpp create mode 100644 benchmark/pbft/benchmark_server_impl.h create mode 100644 benchmark/pbft/kv_server_impl_test.cpp create mode 100644 benchmark/pbft/local_benchark.sh create mode 100644 benchmark/pbft/proto/BUILD create mode 100644 benchmark/pbft/proto/benchmark.proto create mode 100644 benchmark/pbft/start_benchmark_server.sh create mode 100644 benchmark/poc/pow/BUILD create mode 100644 benchmark/poc/pow/benchmark_client.cpp delete mode 100644 benchmark/protocols/pbft/BUILD delete mode 100644 benchmark/protocols/pbft/kv_server_performance.cpp delete mode 100644 benchmark/protocols/pbft/kv_service_tools.cpp delete mode 100644 benchmark/protocols/poe/BUILD delete mode 100644 benchmark/protocols/poe/kv_server_performance.cpp rename {platform/test/test_data => cert}/admin.key.pri (100%) rename {platform/test/test_data => cert}/admin.key.pub (100%) rename {scripts/deploy/data/cert => cert}/cert_1.cert (100%) rename {scripts/deploy/data/cert => cert}/cert_2.cert (100%) rename {scripts/deploy/data/cert => cert}/cert_3.cert (100%) rename {scripts/deploy/data/cert => cert}/cert_4.cert (100%) rename {scripts/deploy/data/cert => cert}/cert_5.cert (100%) rename {platform/test/test_data => cert}/cert_6.cert (100%) rename {platform/test/test_data => cert}/node1.key.pri (100%) rename {platform/test/test_data => cert}/node1.key.pub (100%) rename {platform/test/test_data => cert}/node2.key.pri (100%) rename {platform/test/test_data => cert}/node2.key.pub (100%) rename {platform/test/test_data => cert}/node3.key.pri (100%) rename {platform/test/test_data => cert}/node3.key.pub (100%) rename {platform/test/test_data => cert}/node4.key.pri (100%) rename {platform/test/test_data => cert}/node4.key.pub (100%) rename {platform/test/test_data => cert}/node5.key.pri (100%) rename {platform/test/test_data => cert}/node5.key.pub (100%) delete mode 100644 chain/state/BUILD delete mode 100644 chain/state/chain_state.cpp delete mode 100644 chain/state/chain_state.h delete mode 100644 chain/state/chain_state_test.cpp delete mode 100644 chain/storage/BUILD delete mode 100644 chain/storage/kv_storage_test.cpp delete mode 100644 chain/storage/leveldb.cpp delete mode 100644 chain/storage/leveldb.h delete mode 100644 chain/storage/memory_db.cpp delete mode 100644 chain/storage/memory_db.h delete mode 100644 chain/storage/mock_storage.h delete mode 100644 chain/storage/proto/BUILD delete mode 100644 chain/storage/proto/kv.proto delete mode 100644 chain/storage/proto/leveldb_config.proto delete mode 100644 chain/storage/setting/BUILD delete mode 100644 chain/storage/storage.h create mode 100644 client/BUILD create mode 100644 client/mock_resdb_client.h create mode 100644 client/mock_resdb_txn_client.h create mode 100644 client/resdb_client.cpp create mode 100644 client/resdb_client.h create mode 100644 client/resdb_client_test.cpp create mode 100644 client/resdb_state_client.cpp create mode 100644 client/resdb_state_client.h create mode 100644 client/resdb_state_client_test.cpp create mode 100644 client/resdb_txn_client.cpp create mode 100644 client/resdb_txn_client.h create mode 100644 client/resdb_txn_client_test.cpp create mode 100644 client/resdb_user_client.cpp create mode 100644 client/resdb_user_client.h create mode 100644 client/resdb_user_client_test.cpp create mode 100644 client1.config create mode 100644 client2.config delete mode 100644 common/crypto/BUILD delete mode 100644 common/crypto/hash.cpp delete mode 100644 common/crypto/hash.h delete mode 100644 common/crypto/hash_test.cpp delete mode 100644 common/crypto/key_generator.cpp delete mode 100644 common/crypto/key_generator.h delete mode 100644 common/crypto/mock_signature_verifier.h delete mode 100644 common/crypto/signature_utils.cpp delete mode 100644 common/crypto/signature_utils.h delete mode 100644 common/crypto/signature_verifier.h delete mode 100644 common/crypto/signature_verifier_interface.cpp delete mode 100644 common/crypto/signature_verifier_interface.h create mode 100644 common/data_comm/BUILD create mode 100644 common/data_comm/data_comm.h create mode 100644 common/logging/BUILD create mode 100644 common/logging/logging.cpp create mode 100644 common/logging/logging.h create mode 100644 common/logging/logging_test.cpp create mode 100644 common/network/BUILD create mode 100644 common/network/mock_socket.h create mode 100644 common/network/network_utils.cpp create mode 100644 common/network/network_utils.h create mode 100644 common/network/network_utils_test.cpp create mode 100644 common/network/socket.h rename {platform/common => common}/network/tcp_socket.cpp (82%) create mode 100644 common/network/tcp_socket.h create mode 100644 common/network/tcp_socket_test.cpp delete mode 100644 common/proto/BUILD delete mode 100644 common/proto/signature_info.proto create mode 100644 common/queue/BUILD create mode 100644 common/queue/batch_queue.h create mode 100644 common/queue/batch_queue_test.cpp create mode 100644 common/queue/blocking_queue.h create mode 100644 common/queue/lock_free_queue.h create mode 100644 common/queue/lock_free_queue_test.cpp delete mode 100644 common/test/json_test.cpp delete mode 100644 common/test/test.proto create mode 100644 config/BUILD create mode 100644 config/resdb_config.cpp create mode 100644 config/resdb_config.h rename {platform/config => config}/resdb_config_test.cpp (80%) create mode 100644 config/resdb_config_utils.cpp create mode 100644 config/resdb_config_utils.h create mode 100644 config/resdb_poc_config.cpp create mode 100644 config/resdb_poc_config.h create mode 100644 crypto/BUILD create mode 100644 crypto/key_generator.cpp create mode 100644 crypto/key_generator.h create mode 100644 crypto/mock_signature_verifier.h rename {common/crypto => crypto}/signature_verifier.cpp (82%) create mode 100644 crypto/signature_verifier.h rename {common/crypto => crypto}/signature_verifier_test.cpp (81%) create mode 100644 database/BUILD create mode 100644 database/leveldb/BUILD create mode 100644 database/leveldb/leveldb_sample.cpp create mode 100644 database/rocksdb/BUILD create mode 100644 database/rocksdb/rocksdb_sample.cpp create mode 100644 database/txn_memory_db.cpp create mode 100644 database/txn_memory_db.h create mode 100644 database/txn_memory_db_test.cpp delete mode 100644 dev/.rat-excludes delete mode 100755 dev/check-license delete mode 100644 documents/doxygen/.gitignore delete mode 100644 documents/doxygen/Doxyfile delete mode 100644 documents/doxygen/DoxygenLayout.xml delete mode 100644 documents/doxygen/doxygen_html_style.css delete mode 100644 documents/doxygen/header delete mode 100644 documents/doxygen/logo.png delete mode 100644 documents/file/Nexres-1654906717062.json delete mode 100644 documents/file/prometheus.yml delete mode 100644 documents/image/dashboard/import.png delete mode 100644 documents/image/dashboard/resolution.png delete mode 100644 documents/image/dashboard/target list.png delete mode 100644 documents/image/dashboard/target.png delete mode 100644 documents/image/dashboard/yml_config.png delete mode 100644 documents/image/dashboard/yml_interval.png delete mode 100755 entrypoint.sh create mode 100644 example/BUILD rename service/tools/utxo/wallet_tool/cpp/client_config.config => example/kv_client_config.config (100%) create mode 100644 example/kv_config.config create mode 100644 example/kv_server_tools.cpp create mode 100644 example/start_kv_server.sh create mode 100644 execution/BUILD create mode 100644 execution/mock_transaction_executor_impl.h create mode 100644 execution/system_info.cpp create mode 100644 execution/system_info.h create mode 100644 execution/system_info_test.cpp create mode 100644 execution/transaction_executor.cpp create mode 100644 execution/transaction_executor.h create mode 100644 execution/transaction_executor_impl.cpp create mode 100644 execution/transaction_executor_impl.h create mode 100644 execution/transaction_executor_test.cpp delete mode 100644 executor/common/BUILD delete mode 100644 executor/common/custom_query.h delete mode 100644 executor/common/mock_transaction_manager.h delete mode 100644 executor/common/transaction_manager.cpp delete mode 100644 executor/common/transaction_manager.h delete mode 100644 executor/contract/executor/BUILD delete mode 100644 executor/contract/executor/contract_executor.cpp delete mode 100644 executor/contract/executor/contract_executor.h delete mode 100644 executor/contract/executor/contract_executor_test.cpp delete mode 100644 executor/contract/executor/test_data/BUILD delete mode 100644 executor/contract/executor/test_data/contract.json delete mode 100644 executor/contract/manager/BUILD delete mode 100644 executor/contract/manager/address_manager.cpp delete mode 100644 executor/contract/manager/address_manager.h delete mode 100644 executor/contract/manager/address_manager_test.cpp delete mode 100644 executor/contract/manager/contract_manager.cpp delete mode 100644 executor/contract/manager/contract_manager.h delete mode 100644 executor/contract/manager/contract_manager_test.cpp delete mode 100644 executor/contract/manager/test_data/BUILD delete mode 100644 executor/contract/manager/test_data/contract.json delete mode 100644 executor/contract/manager/utils.h delete mode 100644 executor/kv/BUILD delete mode 100644 executor/kv/kv_executor.cpp delete mode 100644 executor/kv/kv_executor.h delete mode 100644 executor/kv/kv_executor_test.cpp delete mode 100644 executor/utxo/executor/BUILD delete mode 100644 executor/utxo/executor/utxo_executor.cpp delete mode 100644 executor/utxo/executor/utxo_executor.h delete mode 100644 executor/utxo/executor/utxo_executor_test.cpp delete mode 100644 executor/utxo/manager/BUILD delete mode 100644 executor/utxo/manager/transaction.cpp delete mode 100644 executor/utxo/manager/transaction.h delete mode 100644 executor/utxo/manager/transaction_test.cpp delete mode 100644 executor/utxo/manager/tx_mempool.cpp delete mode 100644 executor/utxo/manager/tx_mempool.h delete mode 100644 executor/utxo/manager/tx_mempool_test.cpp delete mode 100644 executor/utxo/manager/wallet.cpp delete mode 100644 executor/utxo/manager/wallet.h delete mode 100644 executor/utxo/manager/wallet_test.cpp create mode 100644 feed.sh create mode 100644 format.sh create mode 100755 hooks/pre-push delete mode 100644 img/apache-incubator.png delete mode 100644 img/apache-resdb.png delete mode 100644 img/nexres.jpg delete mode 100644 img/nexres.pdf delete mode 100644 img/nexres.png delete mode 100644 img/resdb-v2.png delete mode 100644 img/resdb.png create mode 100644 influxdb-cxx-0.5.1/.codecov.yml create mode 100644 influxdb-cxx-0.5.1/.gitignore create mode 100644 influxdb-cxx-0.5.1/.travis.yml create mode 100644 influxdb-cxx-0.5.1/CMakeCache.txt create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/3.16.3/CMakeCXXCompiler.cmake create mode 100755 influxdb-cxx-0.5.1/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_CXX.bin create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/3.16.3/CMakeSystem.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/3.16.3/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100755 influxdb-cxx-0.5.1/CMakeFiles/3.16.3/CompilerIdCXX/a.out create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/CMakeDirectoryInformation.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/Export/lib/cmake/InfluxDB/InfluxDBTargets-relwithdebinfo.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/Export/lib/cmake/InfluxDB/InfluxDBTargets.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/CXX.includecache create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/DependInfo.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/build.make create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/cmake_clean.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/depend.internal create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/depend.make create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/flags.make create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/link.txt create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/progress.make create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/src/HTTP.cxx.o create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/src/InfluxDB.cxx.o create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/src/InfluxDBFactory.cxx.o create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/InfluxDB.dir/src/Point.cxx.o create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/Makefile.cmake create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/Makefile2 create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/TargetDirectories.txt create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/cmake.check_cache create mode 100644 influxdb-cxx-0.5.1/CMakeFiles/progress.marks create mode 100644 influxdb-cxx-0.5.1/CMakeLists.txt create mode 100644 influxdb-cxx-0.5.1/LICENSE create mode 100644 influxdb-cxx-0.5.1/Makefile create mode 100644 influxdb-cxx-0.5.1/README.md create mode 100644 influxdb-cxx-0.5.1/cmake/FindCURL.cmake create mode 100644 influxdb-cxx-0.5.1/cmake/InfluxDBConfig.cmake create mode 100644 influxdb-cxx-0.5.1/cmake/InfluxDBConfig.cmake.in create mode 100644 influxdb-cxx-0.5.1/cmake/InfluxDBConfigVersion.cmake create mode 100644 influxdb-cxx-0.5.1/cmake_install.cmake create mode 100644 influxdb-cxx-0.5.1/include/InfluxDB.h create mode 100644 influxdb-cxx-0.5.1/include/InfluxDBFactory.h create mode 100644 influxdb-cxx-0.5.1/include/Point.h create mode 100644 influxdb-cxx-0.5.1/include/Transport.h create mode 100755 influxdb-cxx-0.5.1/lib/libInfluxDB.so create mode 100644 influxdb-cxx-0.5.1/src/HTTP.cxx create mode 100644 influxdb-cxx-0.5.1/src/HTTP.h create mode 100644 influxdb-cxx-0.5.1/src/InfluxDB.cxx create mode 100644 influxdb-cxx-0.5.1/src/InfluxDBException.h create mode 100644 influxdb-cxx-0.5.1/src/InfluxDBFactory.cxx create mode 100644 influxdb-cxx-0.5.1/src/Point.cxx create mode 100644 influxdb-cxx-0.5.1/src/UDP.cxx create mode 100644 influxdb-cxx-0.5.1/src/UDP.h create mode 100644 influxdb-cxx-0.5.1/src/UnixSocket.cxx create mode 100644 influxdb-cxx-0.5.1/src/UnixSocket.h create mode 100644 influxdb-cxx-0.5.1/src/UriParser.h create mode 100644 influxdb-cxx-0.5.1/test/benchmark.cxx create mode 100644 influxdb-cxx-0.5.1/test/testFactory.cxx create mode 100644 influxdb-cxx-0.5.1/test/testHttp.cxx create mode 100644 influxdb-cxx-0.5.1/test/testPoint.cxx create mode 100644 influxdb-cxx-0.5.1/test/testQuery.cxx create mode 100644 influxdb-cxx-0.5.1/test/testUdp.cxx delete mode 100644 interface/common/BUILD delete mode 100644 interface/common/mock_resdb_txn_accessor.h delete mode 100644 interface/common/resdb_state_accessor.cpp delete mode 100644 interface/common/resdb_state_accessor.h delete mode 100644 interface/common/resdb_state_accessor_test.cpp delete mode 100644 interface/common/resdb_txn_accessor.cpp delete mode 100644 interface/common/resdb_txn_accessor.h delete mode 100644 interface/common/resdb_txn_accessor_test.cpp delete mode 100644 interface/contract/BUILD delete mode 100644 interface/contract/contract_client.cpp delete mode 100644 interface/contract/contract_client.h delete mode 100644 interface/kv/BUILD delete mode 100644 interface/kv/kv_client.cpp delete mode 100644 interface/kv/kv_client.h delete mode 100644 interface/rdbc/BUILD delete mode 100644 interface/rdbc/mock_net_channel.h delete mode 100644 interface/rdbc/mock_resdb_txn_accessor.h delete mode 100644 interface/rdbc/net_channel.cpp delete mode 100644 interface/rdbc/net_channel.h delete mode 100644 interface/rdbc/net_channel_test.cpp delete mode 100644 interface/rdbc/transaction_constructor.cpp delete mode 100644 interface/rdbc/transaction_constructor.h delete mode 100644 interface/rdbc/transaction_constructor_test.cpp delete mode 100644 interface/utxo/BUILD delete mode 100644 interface/utxo/utxo_client.cpp delete mode 100644 interface/utxo/utxo_client.h create mode 100644 kv_client/BUILD create mode 100644 kv_client/resdb_kv_client.cpp create mode 100644 kv_client/resdb_kv_client.h create mode 100644 kv_server/BUILD create mode 100644 kv_server/kv_server.cpp create mode 100644 kv_server/kv_server_executor.cpp create mode 100644 kv_server/kv_server_executor.h create mode 100644 kv_server/kv_server_executor_test.cpp delete mode 100644 monitoring/README.md delete mode 100644 monitoring/prometheus/prometheus.yml create mode 100644 oracle_script/.ready_result.py.swp create mode 100644 oracle_script/cert/cert_1.cert create mode 100644 oracle_script/cert/cert_10.cert create mode 100644 oracle_script/cert/cert_100.cert create mode 100644 oracle_script/cert/cert_101.cert create mode 100644 oracle_script/cert/cert_102.cert create mode 100644 oracle_script/cert/cert_103.cert create mode 100644 oracle_script/cert/cert_104.cert create mode 100644 oracle_script/cert/cert_105.cert create mode 100644 oracle_script/cert/cert_106.cert create mode 100644 oracle_script/cert/cert_107.cert create mode 100644 oracle_script/cert/cert_108.cert create mode 100644 oracle_script/cert/cert_109.cert create mode 100644 oracle_script/cert/cert_11.cert create mode 100644 oracle_script/cert/cert_110.cert create mode 100644 oracle_script/cert/cert_111.cert create mode 100644 oracle_script/cert/cert_112.cert create mode 100644 oracle_script/cert/cert_113.cert create mode 100644 oracle_script/cert/cert_114.cert create mode 100644 oracle_script/cert/cert_115.cert create mode 100644 oracle_script/cert/cert_116.cert create mode 100644 oracle_script/cert/cert_117.cert create mode 100644 oracle_script/cert/cert_118.cert create mode 100644 oracle_script/cert/cert_119.cert create mode 100644 oracle_script/cert/cert_12.cert create mode 100644 oracle_script/cert/cert_120.cert create mode 100644 oracle_script/cert/cert_121.cert create mode 100644 oracle_script/cert/cert_122.cert create mode 100644 oracle_script/cert/cert_123.cert create mode 100644 oracle_script/cert/cert_13.cert create mode 100644 oracle_script/cert/cert_14.cert create mode 100644 oracle_script/cert/cert_15.cert create mode 100644 oracle_script/cert/cert_16.cert create mode 100644 oracle_script/cert/cert_17.cert create mode 100644 oracle_script/cert/cert_18.cert create mode 100644 oracle_script/cert/cert_19.cert create mode 100644 oracle_script/cert/cert_2.cert create mode 100644 oracle_script/cert/cert_20.cert create mode 100644 oracle_script/cert/cert_21.cert create mode 100644 oracle_script/cert/cert_22.cert create mode 100644 oracle_script/cert/cert_23.cert create mode 100644 oracle_script/cert/cert_24.cert create mode 100644 oracle_script/cert/cert_25.cert create mode 100644 oracle_script/cert/cert_26.cert create mode 100644 oracle_script/cert/cert_27.cert create mode 100644 oracle_script/cert/cert_28.cert create mode 100644 oracle_script/cert/cert_29.cert create mode 100644 oracle_script/cert/cert_3.cert create mode 100644 oracle_script/cert/cert_30.cert create mode 100644 oracle_script/cert/cert_31.cert create mode 100644 oracle_script/cert/cert_32.cert create mode 100644 oracle_script/cert/cert_33.cert create mode 100644 oracle_script/cert/cert_34.cert create mode 100644 oracle_script/cert/cert_35.cert create mode 100644 oracle_script/cert/cert_36.cert create mode 100644 oracle_script/cert/cert_37.cert create mode 100644 oracle_script/cert/cert_38.cert create mode 100644 oracle_script/cert/cert_39.cert create mode 100644 oracle_script/cert/cert_4.cert create mode 100644 oracle_script/cert/cert_40.cert create mode 100644 oracle_script/cert/cert_41.cert create mode 100644 oracle_script/cert/cert_42.cert create mode 100644 oracle_script/cert/cert_43.cert create mode 100644 oracle_script/cert/cert_44.cert create mode 100644 oracle_script/cert/cert_45.cert create mode 100644 oracle_script/cert/cert_46.cert create mode 100644 oracle_script/cert/cert_47.cert create mode 100644 oracle_script/cert/cert_48.cert create mode 100644 oracle_script/cert/cert_49.cert create mode 100644 oracle_script/cert/cert_5.cert create mode 100644 oracle_script/cert/cert_50.cert create mode 100644 oracle_script/cert/cert_51.cert create mode 100644 oracle_script/cert/cert_52.cert create mode 100644 oracle_script/cert/cert_53.cert create mode 100644 oracle_script/cert/cert_54.cert create mode 100644 oracle_script/cert/cert_55.cert create mode 100644 oracle_script/cert/cert_56.cert create mode 100644 oracle_script/cert/cert_57.cert create mode 100644 oracle_script/cert/cert_58.cert create mode 100644 oracle_script/cert/cert_59.cert create mode 100644 oracle_script/cert/cert_6.cert create mode 100644 oracle_script/cert/cert_60.cert create mode 100644 oracle_script/cert/cert_61.cert create mode 100644 oracle_script/cert/cert_62.cert create mode 100644 oracle_script/cert/cert_63.cert create mode 100644 oracle_script/cert/cert_64.cert create mode 100644 oracle_script/cert/cert_65.cert create mode 100644 oracle_script/cert/cert_66.cert create mode 100644 oracle_script/cert/cert_67.cert create mode 100644 oracle_script/cert/cert_68.cert create mode 100644 oracle_script/cert/cert_69.cert create mode 100644 oracle_script/cert/cert_7.cert create mode 100644 oracle_script/cert/cert_70.cert create mode 100644 oracle_script/cert/cert_71.cert create mode 100644 oracle_script/cert/cert_72.cert create mode 100644 oracle_script/cert/cert_73.cert create mode 100644 oracle_script/cert/cert_74.cert create mode 100644 oracle_script/cert/cert_75.cert create mode 100644 oracle_script/cert/cert_76.cert create mode 100644 oracle_script/cert/cert_77.cert create mode 100644 oracle_script/cert/cert_78.cert create mode 100644 oracle_script/cert/cert_79.cert create mode 100644 oracle_script/cert/cert_8.cert create mode 100644 oracle_script/cert/cert_80.cert create mode 100644 oracle_script/cert/cert_81.cert create mode 100644 oracle_script/cert/cert_82.cert create mode 100644 oracle_script/cert/cert_83.cert create mode 100644 oracle_script/cert/cert_84.cert create mode 100644 oracle_script/cert/cert_85.cert create mode 100644 oracle_script/cert/cert_86.cert create mode 100644 oracle_script/cert/cert_87.cert create mode 100644 oracle_script/cert/cert_88.cert create mode 100644 oracle_script/cert/cert_89.cert create mode 100644 oracle_script/cert/cert_9.cert create mode 100644 oracle_script/cert/cert_90.cert create mode 100644 oracle_script/cert/cert_91.cert create mode 100644 oracle_script/cert/cert_92.cert create mode 100644 oracle_script/cert/cert_93.cert create mode 100644 oracle_script/cert/cert_94.cert create mode 100644 oracle_script/cert/cert_95.cert create mode 100644 oracle_script/cert/cert_96.cert create mode 100644 oracle_script/cert/cert_97.cert create mode 100644 oracle_script/cert/cert_98.cert create mode 100644 oracle_script/cert/cert_99.cert create mode 100644 oracle_script/cert/node_1.key.pri create mode 100644 oracle_script/cert/node_1.key.pub create mode 100644 oracle_script/cert/node_10.key.pri create mode 100644 oracle_script/cert/node_10.key.pub create mode 100644 oracle_script/cert/node_100.key.pri create mode 100644 oracle_script/cert/node_100.key.pub create mode 100644 oracle_script/cert/node_101.key.pri create mode 100644 oracle_script/cert/node_101.key.pub create mode 100644 oracle_script/cert/node_102.key.pri create mode 100644 oracle_script/cert/node_102.key.pub create mode 100644 oracle_script/cert/node_103.key.pri create mode 100644 oracle_script/cert/node_103.key.pub create mode 100644 oracle_script/cert/node_104.key.pri create mode 100644 oracle_script/cert/node_104.key.pub create mode 100644 oracle_script/cert/node_105.key.pri create mode 100644 oracle_script/cert/node_105.key.pub create mode 100644 oracle_script/cert/node_106.key.pri create mode 100644 oracle_script/cert/node_106.key.pub create mode 100644 oracle_script/cert/node_107.key.pri create mode 100644 oracle_script/cert/node_107.key.pub create mode 100644 oracle_script/cert/node_108.key.pri create mode 100644 oracle_script/cert/node_108.key.pub create mode 100644 oracle_script/cert/node_109.key.pri create mode 100644 oracle_script/cert/node_109.key.pub create mode 100644 oracle_script/cert/node_11.key.pri create mode 100644 oracle_script/cert/node_11.key.pub create mode 100644 oracle_script/cert/node_110.key.pri create mode 100644 oracle_script/cert/node_110.key.pub create mode 100644 oracle_script/cert/node_111.key.pri create mode 100644 oracle_script/cert/node_111.key.pub create mode 100644 oracle_script/cert/node_112.key.pri create mode 100644 oracle_script/cert/node_112.key.pub create mode 100644 oracle_script/cert/node_113.key.pri create mode 100644 oracle_script/cert/node_113.key.pub create mode 100644 oracle_script/cert/node_114.key.pri create mode 100644 oracle_script/cert/node_114.key.pub create mode 100644 oracle_script/cert/node_115.key.pri create mode 100644 oracle_script/cert/node_115.key.pub create mode 100644 oracle_script/cert/node_116.key.pri create mode 100644 oracle_script/cert/node_116.key.pub create mode 100644 oracle_script/cert/node_117.key.pri create mode 100644 oracle_script/cert/node_117.key.pub create mode 100644 oracle_script/cert/node_118.key.pri create mode 100644 oracle_script/cert/node_118.key.pub create mode 100644 oracle_script/cert/node_119.key.pri create mode 100644 oracle_script/cert/node_119.key.pub create mode 100644 oracle_script/cert/node_12.key.pri create mode 100644 oracle_script/cert/node_12.key.pub create mode 100644 oracle_script/cert/node_120.key.pri create mode 100644 oracle_script/cert/node_120.key.pub create mode 100644 oracle_script/cert/node_121.key.pri create mode 100644 oracle_script/cert/node_121.key.pub create mode 100644 oracle_script/cert/node_122.key.pri create mode 100644 oracle_script/cert/node_122.key.pub create mode 100644 oracle_script/cert/node_123.key.pri create mode 100644 oracle_script/cert/node_123.key.pub create mode 100644 oracle_script/cert/node_13.key.pri create mode 100644 oracle_script/cert/node_13.key.pub create mode 100644 oracle_script/cert/node_14.key.pri create mode 100644 oracle_script/cert/node_14.key.pub create mode 100644 oracle_script/cert/node_15.key.pri create mode 100644 oracle_script/cert/node_15.key.pub create mode 100644 oracle_script/cert/node_16.key.pri create mode 100644 oracle_script/cert/node_16.key.pub create mode 100644 oracle_script/cert/node_17.key.pri create mode 100644 oracle_script/cert/node_17.key.pub create mode 100644 oracle_script/cert/node_18.key.pri create mode 100644 oracle_script/cert/node_18.key.pub create mode 100644 oracle_script/cert/node_19.key.pri create mode 100644 oracle_script/cert/node_19.key.pub create mode 100644 oracle_script/cert/node_2.key.pri create mode 100644 oracle_script/cert/node_2.key.pub create mode 100644 oracle_script/cert/node_20.key.pri create mode 100644 oracle_script/cert/node_20.key.pub create mode 100644 oracle_script/cert/node_21.key.pri create mode 100644 oracle_script/cert/node_21.key.pub create mode 100644 oracle_script/cert/node_22.key.pri create mode 100644 oracle_script/cert/node_22.key.pub create mode 100644 oracle_script/cert/node_23.key.pri create mode 100644 oracle_script/cert/node_23.key.pub create mode 100644 oracle_script/cert/node_24.key.pri create mode 100644 oracle_script/cert/node_24.key.pub create mode 100644 oracle_script/cert/node_25.key.pri create mode 100644 oracle_script/cert/node_25.key.pub create mode 100644 oracle_script/cert/node_26.key.pri create mode 100644 oracle_script/cert/node_26.key.pub create mode 100644 oracle_script/cert/node_27.key.pri create mode 100644 oracle_script/cert/node_27.key.pub create mode 100644 oracle_script/cert/node_28.key.pri create mode 100644 oracle_script/cert/node_28.key.pub create mode 100644 oracle_script/cert/node_29.key.pri create mode 100644 oracle_script/cert/node_29.key.pub create mode 100644 oracle_script/cert/node_3.key.pri create mode 100644 oracle_script/cert/node_3.key.pub create mode 100644 oracle_script/cert/node_30.key.pri create mode 100644 oracle_script/cert/node_30.key.pub create mode 100644 oracle_script/cert/node_31.key.pri create mode 100644 oracle_script/cert/node_31.key.pub create mode 100644 oracle_script/cert/node_32.key.pri create mode 100644 oracle_script/cert/node_32.key.pub create mode 100644 oracle_script/cert/node_33.key.pri create mode 100644 oracle_script/cert/node_33.key.pub create mode 100644 oracle_script/cert/node_34.key.pri create mode 100644 oracle_script/cert/node_34.key.pub create mode 100644 oracle_script/cert/node_35.key.pri create mode 100644 oracle_script/cert/node_35.key.pub create mode 100644 oracle_script/cert/node_36.key.pri create mode 100644 oracle_script/cert/node_36.key.pub create mode 100644 oracle_script/cert/node_37.key.pri create mode 100644 oracle_script/cert/node_37.key.pub create mode 100644 oracle_script/cert/node_38.key.pri create mode 100644 oracle_script/cert/node_38.key.pub create mode 100644 oracle_script/cert/node_39.key.pri create mode 100644 oracle_script/cert/node_39.key.pub create mode 100644 oracle_script/cert/node_4.key.pri create mode 100644 oracle_script/cert/node_4.key.pub create mode 100644 oracle_script/cert/node_40.key.pri create mode 100644 oracle_script/cert/node_40.key.pub create mode 100644 oracle_script/cert/node_41.key.pri create mode 100644 oracle_script/cert/node_41.key.pub create mode 100644 oracle_script/cert/node_42.key.pri create mode 100644 oracle_script/cert/node_42.key.pub create mode 100644 oracle_script/cert/node_43.key.pri create mode 100644 oracle_script/cert/node_43.key.pub create mode 100644 oracle_script/cert/node_44.key.pri create mode 100644 oracle_script/cert/node_44.key.pub create mode 100644 oracle_script/cert/node_45.key.pri create mode 100644 oracle_script/cert/node_45.key.pub create mode 100644 oracle_script/cert/node_46.key.pri create mode 100644 oracle_script/cert/node_46.key.pub create mode 100644 oracle_script/cert/node_47.key.pri create mode 100644 oracle_script/cert/node_47.key.pub create mode 100644 oracle_script/cert/node_48.key.pri create mode 100644 oracle_script/cert/node_48.key.pub create mode 100644 oracle_script/cert/node_49.key.pri create mode 100644 oracle_script/cert/node_49.key.pub create mode 100644 oracle_script/cert/node_5.key.pri create mode 100644 oracle_script/cert/node_5.key.pub create mode 100644 oracle_script/cert/node_50.key.pri create mode 100644 oracle_script/cert/node_50.key.pub create mode 100644 oracle_script/cert/node_51.key.pri create mode 100644 oracle_script/cert/node_51.key.pub create mode 100644 oracle_script/cert/node_52.key.pri create mode 100644 oracle_script/cert/node_52.key.pub create mode 100644 oracle_script/cert/node_53.key.pri create mode 100644 oracle_script/cert/node_53.key.pub create mode 100644 oracle_script/cert/node_54.key.pri create mode 100644 oracle_script/cert/node_54.key.pub create mode 100644 oracle_script/cert/node_55.key.pri create mode 100644 oracle_script/cert/node_55.key.pub create mode 100644 oracle_script/cert/node_56.key.pri create mode 100644 oracle_script/cert/node_56.key.pub create mode 100644 oracle_script/cert/node_57.key.pri create mode 100644 oracle_script/cert/node_57.key.pub create mode 100644 oracle_script/cert/node_58.key.pri create mode 100644 oracle_script/cert/node_58.key.pub create mode 100644 oracle_script/cert/node_59.key.pri create mode 100644 oracle_script/cert/node_59.key.pub create mode 100644 oracle_script/cert/node_6.key.pri create mode 100644 oracle_script/cert/node_6.key.pub create mode 100644 oracle_script/cert/node_60.key.pri create mode 100644 oracle_script/cert/node_60.key.pub create mode 100644 oracle_script/cert/node_61.key.pri create mode 100644 oracle_script/cert/node_61.key.pub create mode 100644 oracle_script/cert/node_62.key.pri create mode 100644 oracle_script/cert/node_62.key.pub create mode 100644 oracle_script/cert/node_63.key.pri create mode 100644 oracle_script/cert/node_63.key.pub create mode 100644 oracle_script/cert/node_64.key.pri create mode 100644 oracle_script/cert/node_64.key.pub create mode 100644 oracle_script/cert/node_65.key.pri create mode 100644 oracle_script/cert/node_65.key.pub create mode 100644 oracle_script/cert/node_66.key.pri create mode 100644 oracle_script/cert/node_66.key.pub create mode 100644 oracle_script/cert/node_67.key.pri create mode 100644 oracle_script/cert/node_67.key.pub create mode 100644 oracle_script/cert/node_68.key.pri create mode 100644 oracle_script/cert/node_68.key.pub create mode 100644 oracle_script/cert/node_69.key.pri create mode 100644 oracle_script/cert/node_69.key.pub create mode 100644 oracle_script/cert/node_7.key.pri create mode 100644 oracle_script/cert/node_7.key.pub create mode 100644 oracle_script/cert/node_70.key.pri create mode 100644 oracle_script/cert/node_70.key.pub create mode 100644 oracle_script/cert/node_71.key.pri create mode 100644 oracle_script/cert/node_71.key.pub create mode 100644 oracle_script/cert/node_72.key.pri create mode 100644 oracle_script/cert/node_72.key.pub create mode 100644 oracle_script/cert/node_73.key.pri create mode 100644 oracle_script/cert/node_73.key.pub create mode 100644 oracle_script/cert/node_74.key.pri create mode 100644 oracle_script/cert/node_74.key.pub create mode 100644 oracle_script/cert/node_75.key.pri create mode 100644 oracle_script/cert/node_75.key.pub create mode 100644 oracle_script/cert/node_76.key.pri create mode 100644 oracle_script/cert/node_76.key.pub create mode 100644 oracle_script/cert/node_77.key.pri create mode 100644 oracle_script/cert/node_77.key.pub create mode 100644 oracle_script/cert/node_78.key.pri create mode 100644 oracle_script/cert/node_78.key.pub create mode 100644 oracle_script/cert/node_79.key.pri create mode 100644 oracle_script/cert/node_79.key.pub create mode 100644 oracle_script/cert/node_8.key.pri create mode 100644 oracle_script/cert/node_8.key.pub create mode 100644 oracle_script/cert/node_80.key.pri create mode 100644 oracle_script/cert/node_80.key.pub create mode 100644 oracle_script/cert/node_81.key.pri create mode 100644 oracle_script/cert/node_81.key.pub create mode 100644 oracle_script/cert/node_82.key.pri create mode 100644 oracle_script/cert/node_82.key.pub create mode 100644 oracle_script/cert/node_83.key.pri create mode 100644 oracle_script/cert/node_83.key.pub create mode 100644 oracle_script/cert/node_84.key.pri create mode 100644 oracle_script/cert/node_84.key.pub create mode 100644 oracle_script/cert/node_85.key.pri create mode 100644 oracle_script/cert/node_85.key.pub create mode 100644 oracle_script/cert/node_86.key.pri create mode 100644 oracle_script/cert/node_86.key.pub create mode 100644 oracle_script/cert/node_87.key.pri create mode 100644 oracle_script/cert/node_87.key.pub create mode 100644 oracle_script/cert/node_88.key.pri create mode 100644 oracle_script/cert/node_88.key.pub create mode 100644 oracle_script/cert/node_89.key.pri create mode 100644 oracle_script/cert/node_89.key.pub create mode 100644 oracle_script/cert/node_9.key.pri create mode 100644 oracle_script/cert/node_9.key.pub create mode 100644 oracle_script/cert/node_90.key.pri create mode 100644 oracle_script/cert/node_90.key.pub create mode 100644 oracle_script/cert/node_91.key.pri create mode 100644 oracle_script/cert/node_91.key.pub create mode 100644 oracle_script/cert/node_92.key.pri create mode 100644 oracle_script/cert/node_92.key.pub create mode 100644 oracle_script/cert/node_93.key.pri create mode 100644 oracle_script/cert/node_93.key.pub create mode 100644 oracle_script/cert/node_94.key.pri create mode 100644 oracle_script/cert/node_94.key.pub create mode 100644 oracle_script/cert/node_95.key.pri create mode 100644 oracle_script/cert/node_95.key.pub create mode 100644 oracle_script/cert/node_96.key.pri create mode 100644 oracle_script/cert/node_96.key.pub create mode 100644 oracle_script/cert/node_97.key.pri create mode 100644 oracle_script/cert/node_97.key.pub create mode 100644 oracle_script/cert/node_98.key.pri create mode 100644 oracle_script/cert/node_98.key.pub create mode 100644 oracle_script/cert/node_99.key.pri create mode 100644 oracle_script/cert/node_99.key.pub create mode 100644 oracle_script/cli_list.txt create mode 100644 oracle_script/comm/BUILD create mode 100644 oracle_script/comm/cli_list.txt create mode 100644 oracle_script/comm/comm_config.py create mode 100644 oracle_script/comm/iplist.txt create mode 100644 oracle_script/comm/svr_list.txt create mode 100644 oracle_script/comm/utils.py create mode 100755 oracle_script/generate_config.sh create mode 100644 oracle_script/generate_key.sh create mode 100644 oracle_script/iplist.txt create mode 100644 oracle_script/pbft/BUILD create mode 100644 oracle_script/pbft/benchmark.conf create mode 100644 oracle_script/pbft/benchmark_result.py create mode 100644 oracle_script/pbft/cli_list.txt create mode 100644 oracle_script/pbft/iplist.txt create mode 100644 oracle_script/pbft/poc.conf create mode 100644 oracle_script/pbft/pow_server.config create mode 100644 oracle_script/pbft/ready_result.py create mode 100644 oracle_script/pbft/rep_100/benchmark.conf create mode 100644 oracle_script/pbft/rep_100/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_100.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_101.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_102.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_103.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_104.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_105.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_106.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_107.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_108.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_109.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_110.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_111.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_112.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_113.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_114.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_115.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_116.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_117.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_118.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_119.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_120.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_121.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_122.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_123.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_18.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_19.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_20.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_21.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_22.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_23.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_24.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_25.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_26.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_27.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_28.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_29.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_30.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_31.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_32.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_33.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_34.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_35.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_36.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_37.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_38.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_39.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_40.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_41.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_42.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_43.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_44.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_45.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_46.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_47.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_48.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_49.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_50.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_51.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_52.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_53.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_54.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_55.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_56.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_57.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_58.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_59.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_6.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_60.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_61.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_62.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_63.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_64.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_65.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_66.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_67.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_68.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_69.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_7.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_70.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_71.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_72.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_73.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_74.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_75.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_76.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_77.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_78.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_79.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_8.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_80.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_81.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_82.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_83.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_84.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_85.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_86.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_87.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_88.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_89.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_9.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_90.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_91.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_92.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_93.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_94.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_95.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_96.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_97.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_98.cert create mode 100644 oracle_script/pbft/rep_100/cert/cert_99.cert create mode 100644 oracle_script/pbft/rep_100/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_1.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_10.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_100.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_100.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_101.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_101.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_102.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_102.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_103.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_103.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_104.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_104.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_105.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_105.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_106.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_106.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_107.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_107.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_108.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_108.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_109.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_109.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_11.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_110.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_110.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_111.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_111.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_112.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_112.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_113.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_113.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_114.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_114.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_115.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_115.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_116.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_116.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_117.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_117.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_118.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_118.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_119.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_119.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_12.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_120.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_120.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_121.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_121.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_122.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_122.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_123.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_123.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_13.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_14.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_15.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_16.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_17.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_18.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_18.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_19.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_19.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_2.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_20.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_20.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_21.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_21.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_22.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_22.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_23.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_23.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_24.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_24.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_25.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_25.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_26.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_26.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_27.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_27.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_28.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_28.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_29.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_29.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_3.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_30.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_30.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_31.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_31.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_32.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_32.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_33.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_33.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_34.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_34.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_35.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_35.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_36.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_36.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_37.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_37.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_38.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_38.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_39.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_39.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_4.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_40.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_40.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_41.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_41.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_42.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_42.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_43.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_43.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_44.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_44.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_45.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_45.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_46.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_46.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_47.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_47.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_48.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_48.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_49.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_49.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_5.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_50.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_50.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_51.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_51.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_52.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_52.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_53.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_53.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_54.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_54.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_55.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_55.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_56.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_56.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_57.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_57.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_58.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_58.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_59.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_59.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_6.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_6.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_60.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_60.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_61.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_61.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_62.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_62.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_63.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_63.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_64.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_64.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_65.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_65.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_66.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_66.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_67.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_67.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_68.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_68.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_69.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_69.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_7.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_7.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_70.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_70.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_71.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_71.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_72.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_72.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_73.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_73.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_74.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_74.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_75.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_75.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_76.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_76.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_77.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_77.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_78.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_78.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_79.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_79.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_8.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_8.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_80.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_80.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_81.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_81.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_82.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_82.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_83.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_83.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_84.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_84.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_85.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_85.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_86.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_86.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_87.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_87.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_88.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_88.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_89.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_89.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_9.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_9.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_90.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_90.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_91.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_91.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_92.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_92.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_93.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_93.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_94.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_94.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_95.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_95.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_96.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_96.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_97.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_97.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_98.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_98.key.pub create mode 100644 oracle_script/pbft/rep_100/cert/node_99.key.pri create mode 100644 oracle_script/pbft/rep_100/cert/node_99.key.pub create mode 100644 oracle_script/pbft/rep_100/cli_list.txt create mode 100644 oracle_script/pbft/rep_100/client.config create mode 100644 oracle_script/pbft/rep_100/iplist.txt create mode 100644 oracle_script/pbft/rep_100/poc.conf create mode 100755 oracle_script/pbft/rep_100/run_cli.sh create mode 100644 oracle_script/pbft/rep_100/run_svr.sh create mode 100644 oracle_script/pbft/rep_100/server.config create mode 100644 oracle_script/pbft/rep_100/svr_list.txt create mode 100644 oracle_script/pbft/rep_123/benchmark.conf create mode 100644 oracle_script/pbft/rep_123/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_100.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_101.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_102.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_103.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_104.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_105.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_106.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_107.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_108.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_109.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_110.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_111.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_112.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_113.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_114.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_115.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_116.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_117.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_118.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_119.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_120.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_121.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_122.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_123.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_18.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_19.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_20.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_21.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_22.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_23.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_24.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_25.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_26.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_27.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_28.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_29.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_30.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_31.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_32.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_33.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_34.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_35.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_36.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_37.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_38.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_39.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_40.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_41.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_42.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_43.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_44.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_45.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_46.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_47.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_48.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_49.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_50.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_51.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_52.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_53.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_54.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_55.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_56.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_57.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_58.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_59.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_6.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_60.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_61.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_62.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_63.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_64.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_65.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_66.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_67.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_68.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_69.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_7.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_70.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_71.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_72.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_73.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_74.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_75.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_76.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_77.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_78.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_79.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_8.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_80.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_81.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_82.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_83.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_84.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_85.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_86.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_87.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_88.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_89.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_9.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_90.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_91.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_92.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_93.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_94.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_95.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_96.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_97.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_98.cert create mode 100644 oracle_script/pbft/rep_123/cert/cert_99.cert create mode 100644 oracle_script/pbft/rep_123/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_1.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_10.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_100.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_100.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_101.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_101.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_102.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_102.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_103.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_103.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_104.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_104.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_105.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_105.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_106.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_106.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_107.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_107.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_108.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_108.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_109.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_109.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_11.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_110.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_110.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_111.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_111.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_112.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_112.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_113.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_113.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_114.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_114.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_115.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_115.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_116.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_116.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_117.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_117.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_118.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_118.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_119.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_119.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_12.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_120.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_120.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_121.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_121.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_122.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_122.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_123.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_123.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_13.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_14.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_15.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_16.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_17.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_18.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_18.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_19.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_19.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_2.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_20.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_20.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_21.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_21.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_22.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_22.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_23.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_23.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_24.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_24.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_25.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_25.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_26.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_26.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_27.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_27.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_28.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_28.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_29.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_29.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_3.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_30.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_30.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_31.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_31.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_32.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_32.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_33.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_33.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_34.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_34.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_35.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_35.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_36.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_36.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_37.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_37.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_38.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_38.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_39.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_39.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_4.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_40.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_40.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_41.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_41.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_42.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_42.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_43.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_43.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_44.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_44.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_45.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_45.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_46.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_46.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_47.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_47.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_48.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_48.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_49.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_49.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_5.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_50.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_50.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_51.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_51.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_52.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_52.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_53.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_53.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_54.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_54.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_55.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_55.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_56.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_56.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_57.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_57.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_58.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_58.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_59.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_59.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_6.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_6.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_60.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_60.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_61.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_61.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_62.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_62.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_63.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_63.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_64.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_64.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_65.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_65.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_66.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_66.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_67.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_67.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_68.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_68.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_69.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_69.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_7.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_7.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_70.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_70.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_71.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_71.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_72.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_72.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_73.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_73.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_74.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_74.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_75.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_75.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_76.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_76.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_77.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_77.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_78.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_78.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_79.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_79.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_8.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_8.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_80.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_80.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_81.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_81.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_82.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_82.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_83.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_83.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_84.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_84.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_85.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_85.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_86.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_86.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_87.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_87.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_88.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_88.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_89.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_89.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_9.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_9.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_90.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_90.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_91.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_91.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_92.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_92.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_93.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_93.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_94.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_94.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_95.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_95.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_96.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_96.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_97.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_97.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_98.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_98.key.pub create mode 100644 oracle_script/pbft/rep_123/cert/node_99.key.pri create mode 100644 oracle_script/pbft/rep_123/cert/node_99.key.pub create mode 100644 oracle_script/pbft/rep_123/cli_list.txt create mode 100644 oracle_script/pbft/rep_123/client.config create mode 100644 oracle_script/pbft/rep_123/iplist.txt create mode 100644 oracle_script/pbft/rep_123/poc.conf create mode 100755 oracle_script/pbft/rep_123/run_cli.sh create mode 100644 oracle_script/pbft/rep_123/run_svr.sh create mode 100644 oracle_script/pbft/rep_123/server.config create mode 100644 oracle_script/pbft/rep_123/svr_list.txt create mode 100644 oracle_script/pbft/rep_16/benchmark.conf create mode 100644 oracle_script/pbft/rep_16/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_6.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_7.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_8.cert create mode 100644 oracle_script/pbft/rep_16/cert/cert_9.cert create mode 100644 oracle_script/pbft/rep_16/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_1.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_10.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_11.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_12.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_13.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_14.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_15.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_16.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_17.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_2.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_3.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_4.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_5.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_6.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_6.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_7.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_7.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_8.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_8.key.pub create mode 100644 oracle_script/pbft/rep_16/cert/node_9.key.pri create mode 100644 oracle_script/pbft/rep_16/cert/node_9.key.pub create mode 100644 oracle_script/pbft/rep_16/cli_list.txt create mode 100644 oracle_script/pbft/rep_16/client.config create mode 100644 oracle_script/pbft/rep_16/iplist.txt create mode 100644 oracle_script/pbft/rep_16/poc.conf create mode 100755 oracle_script/pbft/rep_16/run_cli.sh create mode 100644 oracle_script/pbft/rep_16/run_svr.sh create mode 100644 oracle_script/pbft/rep_16/server.config create mode 100644 oracle_script/pbft/rep_16/svr_list.txt create mode 100644 oracle_script/pbft/rep_32/benchmark.conf create mode 100644 oracle_script/pbft/rep_32/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_18.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_19.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_20.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_21.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_22.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_23.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_24.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_25.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_26.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_27.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_28.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_29.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_30.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_31.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_32.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_33.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_34.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_35.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_36.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_37.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_38.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_39.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_40.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_41.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_42.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_43.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_44.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_45.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_46.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_47.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_48.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_49.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_50.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_51.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_52.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_53.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_54.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_55.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_56.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_57.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_58.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_59.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_6.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_60.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_61.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_62.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_63.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_64.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_65.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_7.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_8.cert create mode 100644 oracle_script/pbft/rep_32/cert/cert_9.cert create mode 100644 "oracle_script/pbft/rep_32/cert/node_1 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_1 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_1.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_10 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_10 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_10.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_11 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_11 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_11.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_12 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_12 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_12.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_13 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_13 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_13.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_14 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_14 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_14.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_15 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_15 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_15.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_16 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_16 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_16.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_17 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_17 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_17.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_18 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_18 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_18.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_18.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_19 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_19 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_19.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_19.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_2 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_2 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_2.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_20 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_20 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_20.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_20.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_21 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_21 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_21.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_21.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_22 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_22 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_22.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_22.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_23 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_23 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_23.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_23.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_24 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_24 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_24.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_24.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_25 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_25 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_25.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_25.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_26 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_26 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_26.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_26.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_27 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_27 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_27.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_27.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_28 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_28 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_28.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_28.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_29 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_29 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_29.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_29.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_3 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_3 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_3.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_30 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_30 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_30.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_30.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_31 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_31 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_31.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_31.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_32 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_32 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_32.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_32.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_33 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_33 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_33.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_33.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_34 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_34 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_34.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_34.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_35 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_35 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_35.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_35.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_36 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_36 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_36.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_36.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_37 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_37 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_37.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_37.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_38 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_38 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_38.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_38.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_39 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_39 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_39.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_39.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_4 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_4 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_4.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_40 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_40 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_40.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_40.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_41 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_41 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_41.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_41.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_42 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_42 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_42.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_42.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_43 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_43 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_43.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_43.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_44 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_44 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_44.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_44.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_45 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_45 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_45.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_45.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_46 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_46 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_46.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_46.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_47 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_47 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_47.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_47.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_48 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_48 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_48.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_48.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_49 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_49 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_49.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_49.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_5 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_5 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_5.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_50 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_50 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_50.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_50.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_51 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_51 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_51.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_51.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_52 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_52 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_52.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_52.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_53 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_53 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_53.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_53.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_54 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_54 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_54.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_54.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_55 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_55 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_55.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_55.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_56 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_56 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_56.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_56.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_57 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_57 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_57.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_57.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_58 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_58 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_58.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_58.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_59 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_59 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_59.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_59.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_6 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_6 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_6.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_6.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_60 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_60 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_60.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_60.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_61 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_61 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_61.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_61.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_62 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_62 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_62.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_62.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_63 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_63 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_63.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_63.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_64 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_64 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_64.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_64.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_65 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_65 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_65.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_65.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_7 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_7 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_7.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_7.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_8 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_8 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_8.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_8.key.pub create mode 100644 "oracle_script/pbft/rep_32/cert/node_9 \"AES\".key.pri" create mode 100644 "oracle_script/pbft/rep_32/cert/node_9 \"AES\".key.pub" create mode 100644 oracle_script/pbft/rep_32/cert/node_9.key.pri create mode 100644 oracle_script/pbft/rep_32/cert/node_9.key.pub create mode 100644 oracle_script/pbft/rep_32/cli_list.txt create mode 100644 oracle_script/pbft/rep_32/client.config create mode 100644 oracle_script/pbft/rep_32/iplist.txt create mode 100644 oracle_script/pbft/rep_32/poc.conf create mode 100755 oracle_script/pbft/rep_32/run_cli.sh create mode 100644 oracle_script/pbft/rep_32/run_svr.sh create mode 100644 oracle_script/pbft/rep_32/server.config create mode 100644 oracle_script/pbft/rep_32/svr_list.txt create mode 100644 oracle_script/pbft/rep_4/benchmark.conf create mode 100644 oracle_script/pbft/rep_4/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_100.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_101.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_102.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_103.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_104.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_105.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_106.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_107.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_108.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_109.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_110.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_111.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_112.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_113.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_114.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_115.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_116.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_117.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_118.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_119.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_120.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_18.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_19.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_20.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_21.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_22.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_23.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_24.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_25.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_26.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_27.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_28.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_29.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_30.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_31.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_32.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_33.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_34.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_35.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_36.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_37.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_38.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_39.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_40.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_41.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_42.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_43.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_44.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_45.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_46.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_47.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_48.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_49.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_50.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_51.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_52.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_53.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_54.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_55.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_56.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_57.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_58.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_59.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_61.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_62.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_63.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_64.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_65.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_71.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_72.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_73.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_74.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_75.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_81.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_82.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_83.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_84.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_85.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_91.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_92.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_93.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_94.cert create mode 100644 oracle_script/pbft/rep_4/cert/cert_95.cert create mode 100644 oracle_script/pbft/rep_4/cert/cli_list.txt create mode 100644 oracle_script/pbft/rep_4/cert/iplist.txt create mode 100644 oracle_script/pbft/rep_4/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_1.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_10.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_100.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_100.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_101.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_101.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_102.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_102.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_103.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_103.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_104.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_104.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_105.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_105.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_106.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_106.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_107.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_107.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_108.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_108.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_109.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_109.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_11.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_110.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_110.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_111.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_111.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_112.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_112.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_113.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_113.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_114.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_114.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_115.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_115.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_116.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_116.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_117.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_117.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_118.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_118.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_119.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_119.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_12.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_120.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_120.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_121.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_121.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_122.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_122.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_123.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_123.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_13.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_14.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_15.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_16.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_17.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_18.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_18.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_19.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_19.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_2.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_20.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_20.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_21.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_21.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_22.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_22.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_23.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_23.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_24.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_24.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_25.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_25.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_26.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_26.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_27.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_27.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_28.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_28.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_29.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_29.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_3.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_30.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_30.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_31.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_31.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_32.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_32.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_33.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_33.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_34.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_34.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_35.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_35.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_36.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_36.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_37.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_37.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_38.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_38.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_39.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_39.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_4.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_40.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_40.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_41.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_41.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_42.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_42.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_43.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_43.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_44.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_44.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_45.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_45.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_46.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_46.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_47.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_47.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_48.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_48.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_49.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_49.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_5.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_50.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_50.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_51.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_51.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_52.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_52.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_53.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_53.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_54.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_54.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_55.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_55.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_56.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_56.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_57.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_57.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_58.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_58.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_59.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_59.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_61.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_61.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_62.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_62.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_63.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_63.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_64.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_64.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_65.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_65.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_66.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_66.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_67.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_67.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_68.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_68.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_69.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_69.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_70.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_70.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_71.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_71.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_72.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_72.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_73.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_73.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_74.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_74.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_75.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_75.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_76.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_76.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_77.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_77.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_78.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_78.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_79.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_79.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_80.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_80.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_81.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_81.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_82.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_82.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_83.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_83.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_84.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_84.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_85.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_85.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_86.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_86.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_87.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_87.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_88.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_88.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_89.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_89.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_90.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_90.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_91.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_91.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_92.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_92.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_93.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_93.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_94.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_94.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_95.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_95.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_96.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_96.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_97.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_97.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_98.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_98.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/node_99.key.pri create mode 100644 oracle_script/pbft/rep_4/cert/node_99.key.pub create mode 100644 oracle_script/pbft/rep_4/cert/svr_list.txt create mode 100644 oracle_script/pbft/rep_4/cli_list.txt create mode 100644 oracle_script/pbft/rep_4/client.config create mode 100644 oracle_script/pbft/rep_4/iplist.txt create mode 100644 oracle_script/pbft/rep_4/poc.conf create mode 100755 oracle_script/pbft/rep_4/run_cli.sh create mode 100644 oracle_script/pbft/rep_4/run_poc.sh create mode 100644 oracle_script/pbft/rep_4/run_svr.sh create mode 100644 oracle_script/pbft/rep_4/server.config create mode 100644 oracle_script/pbft/rep_4/svr_list.txt create mode 100644 oracle_script/pbft/rep_64/benchmark.conf create mode 100644 oracle_script/pbft/rep_64/cert/cert_1.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_10.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_11.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_12.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_13.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_14.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_15.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_16.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_17.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_18.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_19.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_2.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_20.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_21.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_22.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_23.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_24.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_25.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_26.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_27.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_28.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_29.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_3.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_30.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_31.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_32.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_33.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_34.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_35.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_36.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_37.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_38.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_39.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_4.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_40.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_41.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_42.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_43.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_44.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_45.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_46.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_47.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_48.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_49.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_5.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_50.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_51.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_52.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_53.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_54.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_55.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_56.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_57.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_58.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_59.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_6.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_60.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_61.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_62.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_63.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_64.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_65.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_7.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_8.cert create mode 100644 oracle_script/pbft/rep_64/cert/cert_9.cert create mode 100644 oracle_script/pbft/rep_64/cert/node_1.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_1.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_10.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_10.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_11.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_11.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_12.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_12.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_13.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_13.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_14.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_14.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_15.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_15.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_16.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_16.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_17.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_17.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_18.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_18.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_19.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_19.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_2.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_2.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_20.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_20.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_21.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_21.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_22.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_22.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_23.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_23.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_24.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_24.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_25.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_25.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_26.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_26.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_27.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_27.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_28.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_28.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_29.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_29.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_3.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_3.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_30.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_30.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_31.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_31.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_32.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_32.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_33.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_33.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_34.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_34.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_35.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_35.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_36.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_36.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_37.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_37.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_38.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_38.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_39.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_39.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_4.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_4.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_40.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_40.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_41.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_41.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_42.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_42.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_43.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_43.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_44.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_44.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_45.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_45.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_46.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_46.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_47.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_47.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_48.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_48.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_49.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_49.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_5.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_5.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_50.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_50.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_51.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_51.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_52.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_52.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_53.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_53.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_54.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_54.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_55.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_55.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_56.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_56.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_57.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_57.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_58.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_58.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_59.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_59.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_6.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_6.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_60.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_60.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_61.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_61.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_62.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_62.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_63.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_63.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_64.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_64.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_65.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_65.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_7.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_7.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_8.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_8.key.pub create mode 100644 oracle_script/pbft/rep_64/cert/node_9.key.pri create mode 100644 oracle_script/pbft/rep_64/cert/node_9.key.pub create mode 100644 oracle_script/pbft/rep_64/cli_list.txt create mode 100644 oracle_script/pbft/rep_64/client.config create mode 100644 oracle_script/pbft/rep_64/iplist.txt create mode 100644 oracle_script/pbft/rep_64/poc.conf create mode 100755 oracle_script/pbft/rep_64/run_cli.sh create mode 100644 oracle_script/pbft/rep_64/run_svr.sh create mode 100644 oracle_script/pbft/rep_64/server.config create mode 100644 oracle_script/pbft/rep_64/svr_list.txt create mode 100755 oracle_script/pbft/run_cli.sh create mode 100644 oracle_script/pbft/run_poc.sh create mode 100644 oracle_script/pbft/run_svr.sh create mode 100644 oracle_script/pbft/script/BUILD create mode 100644 oracle_script/pbft/script/benchmark_result.py create mode 100644 oracle_script/pbft/script/killall.sh create mode 100644 oracle_script/pbft/script/ready_result.py create mode 100644 oracle_script/pbft/script/run_cli.py create mode 100644 oracle_script/pbft/script/run_server.sh create mode 100644 oracle_script/pbft/script/run_svr.py create mode 100644 oracle_script/pbft/script/shell_cmd.sh create mode 100644 oracle_script/pbft/server.config create mode 100755 oracle_script/pbft/start_benchmark.sh create mode 100644 oracle_script/pbft/svr_list.txt create mode 100644 oracle_script/pow/BUILD create mode 100644 oracle_script/pow/benchmark_result.py create mode 100644 oracle_script/pow/bft_server.config create mode 100644 oracle_script/pow/cli_list.txt create mode 100644 oracle_script/pow/cmd.sh create mode 100644 oracle_script/pow/killall.sh create mode 100644 oracle_script/pow/poc.conf create mode 100644 oracle_script/pow/pow_server.config create mode 100644 oracle_script/pow/remote_shell_cmd.sh create mode 100644 oracle_script/pow/rep_120/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_10.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_100.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_101.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_102.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_103.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_104.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_105.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_106.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_107.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_108.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_109.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_11.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_110.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_111.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_112.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_113.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_114.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_115.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_116.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_117.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_118.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_119.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_12.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_120.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_121.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_122.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_123.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_13.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_14.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_15.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_16.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_17.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_18.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_19.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_20.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_21.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_22.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_23.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_24.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_25.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_26.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_27.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_28.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_29.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_30.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_31.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_32.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_33.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_34.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_35.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_36.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_37.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_38.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_39.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_40.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_41.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_42.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_43.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_44.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_45.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_46.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_47.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_48.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_49.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_50.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_51.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_52.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_53.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_54.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_55.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_56.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_57.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_58.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_59.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_60.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_61.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_62.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_63.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_64.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_65.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_66.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_67.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_68.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_69.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_70.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_71.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_72.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_73.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_74.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_75.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_76.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_77.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_78.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_79.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_80.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_81.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_82.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_83.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_84.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_85.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_86.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_87.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_88.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_89.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_90.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_91.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_92.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_93.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_94.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_95.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_96.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_97.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_98.cert create mode 100644 oracle_script/pow/rep_120/cert/cert_99.cert create mode 100644 oracle_script/pow/rep_120/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_17.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_17.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_18.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_18.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_19.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_19.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_20.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_20.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_21.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_21.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_22.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_22.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_23.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_23.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_24.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_24.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_25.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_25.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_26.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_26.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_27.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_27.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_28.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_28.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_29.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_29.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_30.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_30.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_31.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_31.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_32.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_32.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_33.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_33.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_34.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_34.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_35.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_35.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_36.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_36.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_37.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_37.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_38.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_38.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_39.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_39.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_40.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_40.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_41.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_41.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_42.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_42.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_43.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_43.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_44.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_44.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_45.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_45.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_46.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_46.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_47.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_47.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_48.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_48.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_49.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_49.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_50.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_50.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_51.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_51.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_52.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_52.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_53.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_53.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_54.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_54.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_55.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_55.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_56.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_56.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_57.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_57.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_58.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_58.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_59.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_59.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_60.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_60.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_61.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_61.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_62.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_62.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_63.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_63.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_64.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_64.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_65.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_65.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_120/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_120/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_120/cli_list.txt create mode 100644 oracle_script/pow/rep_120/iplist.txt create mode 100755 oracle_script/pow/rep_120/lat.sh create mode 100644 oracle_script/pow/rep_120/poc.conf create mode 100644 oracle_script/pow/rep_120/run_poc.sh create mode 100644 oracle_script/pow/rep_120/svr_list.txt create mode 100644 oracle_script/pow/rep_16/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_10.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_11.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_12.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_13.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_14.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_15.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_16.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_16/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_16/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_16/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_16/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_16/cli_list.txt create mode 100644 oracle_script/pow/rep_16/iplist.txt create mode 100755 oracle_script/pow/rep_16/lat.sh create mode 100644 oracle_script/pow/rep_16/poc.conf create mode 100644 oracle_script/pow/rep_16/run_poc.sh create mode 100644 oracle_script/pow/rep_16/svr_list.txt create mode 100644 oracle_script/pow/rep_32/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_10.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_11.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_12.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_13.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_14.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_15.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_16.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_17.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_18.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_19.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_20.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_21.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_22.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_23.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_24.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_25.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_26.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_27.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_28.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_29.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_30.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_31.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_32.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_32/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_32/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_17.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_17.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_18.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_18.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_19.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_19.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_20.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_20.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_21.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_21.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_22.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_22.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_23.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_23.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_24.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_24.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_25.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_25.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_26.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_26.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_27.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_27.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_28.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_28.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_29.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_29.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_30.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_30.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_31.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_31.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_32.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_32.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_32/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_32/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_32/cli_list.txt create mode 100644 oracle_script/pow/rep_32/iplist.txt create mode 100644 oracle_script/pow/rep_32/poc.conf create mode 100644 oracle_script/pow/rep_32/run_poc.sh create mode 100644 oracle_script/pow/rep_32/svr_list.txt create mode 100644 oracle_script/pow/rep_4/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_10.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_11.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_12.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_13.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_14.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_15.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_16.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_17.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_18.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_19.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_20.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_21.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_22.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_23.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_24.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_25.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_26.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_27.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_28.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_29.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_30.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_31.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_32.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_4/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_4/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_17.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_17.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_18.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_18.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_19.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_19.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_20.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_20.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_21.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_21.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_22.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_22.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_23.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_23.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_24.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_24.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_25.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_25.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_26.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_26.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_27.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_27.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_28.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_28.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_29.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_29.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_30.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_30.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_31.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_31.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_32.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_32.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_4/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_4/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_4/cli_list.txt create mode 100644 oracle_script/pow/rep_4/iplist.txt create mode 100644 oracle_script/pow/rep_4/poc.conf create mode 100644 oracle_script/pow/rep_4/run_poc.sh create mode 100644 oracle_script/pow/rep_4/svr_list.txt create mode 100644 oracle_script/pow/rep_64/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_10.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_100.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_101.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_102.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_103.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_104.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_105.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_106.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_107.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_108.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_109.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_11.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_110.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_111.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_112.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_113.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_114.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_115.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_116.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_117.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_118.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_119.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_12.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_120.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_13.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_14.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_15.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_16.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_17.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_18.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_19.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_20.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_21.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_22.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_23.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_24.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_25.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_26.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_27.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_28.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_29.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_30.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_31.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_32.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_33.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_34.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_35.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_36.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_37.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_38.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_39.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_40.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_41.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_42.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_43.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_44.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_45.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_46.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_47.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_48.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_49.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_50.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_51.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_52.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_53.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_54.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_55.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_56.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_57.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_58.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_59.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_60.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_61.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_62.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_63.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_64.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_65.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_66.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_67.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_68.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_69.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_70.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_71.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_72.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_73.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_74.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_75.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_76.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_77.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_78.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_79.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_80.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_81.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_82.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_83.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_84.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_85.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_86.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_87.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_88.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_89.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_90.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_91.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_92.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_93.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_94.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_95.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_96.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_97.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_98.cert create mode 100644 oracle_script/pow/rep_64/cert/cert_99.cert create mode 100644 oracle_script/pow/rep_64/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_17.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_17.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_18.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_18.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_19.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_19.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_20.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_20.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_21.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_21.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_22.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_22.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_23.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_23.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_24.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_24.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_25.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_25.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_26.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_26.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_27.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_27.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_28.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_28.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_29.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_29.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_30.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_30.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_31.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_31.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_32.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_32.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_33.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_33.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_34.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_34.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_35.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_35.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_36.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_36.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_37.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_37.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_38.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_38.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_39.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_39.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_40.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_40.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_41.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_41.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_42.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_42.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_43.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_43.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_44.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_44.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_45.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_45.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_46.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_46.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_47.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_47.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_48.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_48.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_49.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_49.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_50.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_50.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_51.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_51.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_52.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_52.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_53.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_53.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_54.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_54.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_55.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_55.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_56.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_56.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_57.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_57.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_58.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_58.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_59.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_59.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_60.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_60.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_61.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_61.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_62.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_62.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_63.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_63.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_64.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_64.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_65.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_65.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_64/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_64/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_64/cli_list.txt create mode 100644 oracle_script/pow/rep_64/iplist.txt create mode 100644 oracle_script/pow/rep_64/poc.conf create mode 100644 oracle_script/pow/rep_64/run_poc.sh create mode 100644 oracle_script/pow/rep_64/svr_list.txt create mode 100644 oracle_script/pow/rep_8/cert/cert_1.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_2.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_3.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_4.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_5.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_6.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_7.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_8.cert create mode 100644 oracle_script/pow/rep_8/cert/cert_9.cert create mode 100644 oracle_script/pow/rep_8/cert/node_1.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_1.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_10.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_10.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_100.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_100.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_101.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_101.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_102.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_102.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_103.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_103.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_104.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_104.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_105.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_105.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_106.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_106.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_107.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_107.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_108.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_108.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_109.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_109.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_11.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_11.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_110.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_110.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_111.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_111.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_112.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_112.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_113.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_113.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_114.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_114.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_115.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_115.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_116.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_116.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_117.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_117.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_118.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_118.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_119.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_119.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_12.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_12.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_120.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_120.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_121.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_121.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_122.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_122.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_123.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_123.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_13.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_13.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_14.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_14.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_15.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_15.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_16.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_16.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_2.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_2.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_3.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_3.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_4.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_4.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_5.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_5.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_6.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_6.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_66.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_66.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_67.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_67.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_68.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_68.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_69.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_69.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_7.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_7.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_70.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_70.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_71.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_71.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_72.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_72.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_73.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_73.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_74.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_74.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_75.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_75.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_76.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_76.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_77.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_77.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_78.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_78.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_79.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_79.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_8.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_8.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_80.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_80.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_81.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_81.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_82.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_82.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_83.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_83.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_84.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_84.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_85.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_85.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_86.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_86.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_87.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_87.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_88.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_88.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_89.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_89.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_9.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_9.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_90.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_90.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_91.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_91.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_92.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_92.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_93.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_93.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_94.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_94.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_95.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_95.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_96.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_96.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_97.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_97.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_98.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_98.key.pub create mode 100644 oracle_script/pow/rep_8/cert/node_99.key.pri create mode 100644 oracle_script/pow/rep_8/cert/node_99.key.pub create mode 100644 oracle_script/pow/rep_8/cli_list.txt create mode 100644 oracle_script/pow/rep_8/iplist.txt create mode 100644 oracle_script/pow/rep_8/poc.conf create mode 100644 oracle_script/pow/rep_8/run_poc.sh create mode 100644 oracle_script/pow/rep_8/svr_list.txt create mode 100644 oracle_script/pow/run_cli.py create mode 100644 oracle_script/pow/run_cli.sh create mode 100644 oracle_script/pow/run_poc.sh create mode 100644 oracle_script/pow/run_server.sh create mode 100644 oracle_script/pow/run_svr.py create mode 100644 oracle_script/pow/shell_cmd.sh create mode 100644 oracle_script/pow/shutdown.sh create mode 100644 oracle_script/pow/svr_list.txt create mode 100644 oracle_script/ssh-2022-03-24.key create mode 100644 oracle_script/svr_list.txt create mode 100644 ordering/pbft/BUILD create mode 100644 ordering/pbft/checkpoint.cpp create mode 100644 ordering/pbft/checkpoint.h create mode 100644 ordering/pbft/checkpoint_collector.cpp create mode 100644 ordering/pbft/checkpoint_collector.h create mode 100644 ordering/pbft/commitment.cpp create mode 100644 ordering/pbft/commitment.h create mode 100644 ordering/pbft/commitment_test.cpp create mode 100644 ordering/pbft/consensus_service_pbft.cpp create mode 100644 ordering/pbft/consensus_service_pbft.h create mode 100644 ordering/pbft/lock_free_collector_pool.cpp create mode 100644 ordering/pbft/lock_free_collector_pool.h create mode 100644 ordering/pbft/lock_free_collector_pool_test.cpp create mode 100644 ordering/pbft/query.cpp create mode 100644 ordering/pbft/query.h create mode 100644 ordering/pbft/query_test.cpp create mode 100644 ordering/pbft/recovery.cpp create mode 100644 ordering/pbft/recovery.h create mode 100644 ordering/pbft/response_manager.cpp create mode 100644 ordering/pbft/response_manager.h create mode 100644 ordering/pbft/response_manager_test.cpp create mode 100644 ordering/pbft/transaction_collector.cpp create mode 100644 ordering/pbft/transaction_collector.h rename {platform/consensus/ordering => ordering}/pbft/transaction_collector_test.cpp (86%) create mode 100644 ordering/pbft/transaction_manager.cpp create mode 100644 ordering/pbft/transaction_manager.h create mode 100644 ordering/pbft/transaction_utils.cpp create mode 100644 ordering/pbft/transaction_utils.h create mode 100644 ordering/poc/pow/BUILD create mode 100644 ordering/poc/pow/block_manager.cpp create mode 100644 ordering/poc/pow/block_manager.h create mode 100644 ordering/poc/pow/block_manager_test.cpp create mode 100644 ordering/poc/pow/consensus_service_pow.cpp create mode 100644 ordering/poc/pow/consensus_service_pow.h create mode 100644 ordering/poc/pow/consensus_service_pow_test.cpp create mode 100644 ordering/poc/pow/merkle.cpp create mode 100644 ordering/poc/pow/merkle.h create mode 100644 ordering/poc/pow/merkle_test.cpp create mode 100644 ordering/poc/pow/miner.cpp create mode 100644 ordering/poc/pow/miner.h create mode 100644 ordering/poc/pow/miner_manager.cpp create mode 100644 ordering/poc/pow/miner_manager.h create mode 100644 ordering/poc/pow/miner_test.cpp create mode 100644 ordering/poc/pow/miner_utils.cpp create mode 100644 ordering/poc/pow/miner_utils.h create mode 100644 ordering/poc/pow/miner_utils_test.cpp create mode 100644 ordering/poc/pow/mock_transaction_accessor.h create mode 100644 ordering/poc/pow/pow_manager.cpp create mode 100644 ordering/poc/pow/pow_manager.h create mode 100644 ordering/poc/pow/pow_manager_test.cpp create mode 100644 ordering/poc/pow/shift_manager.cpp create mode 100644 ordering/poc/pow/shift_manager.h create mode 100644 ordering/poc/pow/transaction_accessor.cpp create mode 100644 ordering/poc/pow/transaction_accessor.h create mode 100644 ordering/poc/pow/transaction_accessor_test.cpp create mode 100644 ordering/poc/proto/BUILD create mode 100644 ordering/poc/proto/pow.proto create mode 100644 ordering/poc/proto/transaction.proto create mode 100644 ordering/status/checkpoint/BUILD create mode 100644 ordering/status/checkpoint/check_point_info.cpp create mode 100644 ordering/status/checkpoint/check_point_info.h delete mode 100644 package-lock.json delete mode 100644 platform/common/data_comm/BUILD delete mode 100644 platform/common/data_comm/data_comm.h delete mode 100644 platform/common/data_comm/network_comm.h delete mode 100644 platform/common/network/BUILD delete mode 100644 platform/common/network/mock_socket.h delete mode 100644 platform/common/network/network_utils.cpp delete mode 100644 platform/common/network/network_utils.h delete mode 100644 platform/common/network/network_utils_test.cpp delete mode 100644 platform/common/network/socket.h delete mode 100644 platform/common/network/tcp_socket.h delete mode 100644 platform/common/network/tcp_socket_test.cpp delete mode 100644 platform/common/queue/BUILD delete mode 100644 platform/common/queue/batch_queue.h delete mode 100644 platform/common/queue/batch_queue_test.cpp delete mode 100644 platform/common/queue/blocking_queue.h delete mode 100644 platform/common/queue/lock_free_queue.h delete mode 100644 platform/common/queue/lock_free_queue_test.cpp delete mode 100644 platform/config/BUILD delete mode 100644 platform/config/resdb_config.cpp delete mode 100644 platform/config/resdb_config.h delete mode 100644 platform/config/resdb_config_utils.cpp delete mode 100644 platform/config/resdb_config_utils.h delete mode 100644 platform/config/resdb_poc_config.cpp delete mode 100644 platform/config/resdb_poc_config.h delete mode 100644 platform/consensus/checkpoint/BUILD delete mode 100644 platform/consensus/checkpoint/checkpoint.h delete mode 100644 platform/consensus/checkpoint/mock_checkpoint.h delete mode 100644 platform/consensus/execution/BUILD delete mode 100644 platform/consensus/execution/duplicate_manager.cpp delete mode 100644 platform/consensus/execution/duplicate_manager.h delete mode 100644 platform/consensus/execution/geo_global_executor.cpp delete mode 100644 platform/consensus/execution/geo_global_executor.h delete mode 100644 platform/consensus/execution/geo_global_executor_test.cpp delete mode 100644 platform/consensus/execution/geo_transaction_executor.cpp delete mode 100644 platform/consensus/execution/geo_transaction_executor.h delete mode 100644 platform/consensus/execution/geo_transaction_executor_test.cpp delete mode 100644 platform/consensus/execution/mock_geo_global_executor.h delete mode 100644 platform/consensus/execution/system_info.cpp delete mode 100644 platform/consensus/execution/system_info.h delete mode 100644 platform/consensus/execution/system_info_test.cpp delete mode 100644 platform/consensus/execution/transaction_executor.cpp delete mode 100644 platform/consensus/execution/transaction_executor.h delete mode 100644 platform/consensus/execution/transaction_executor_test.cpp delete mode 100644 platform/consensus/ordering/common/BUILD delete mode 100644 platform/consensus/ordering/common/algorithm/BUILD delete mode 100644 platform/consensus/ordering/common/algorithm/protocol_base.cpp delete mode 100644 platform/consensus/ordering/common/algorithm/protocol_base.h delete mode 100644 platform/consensus/ordering/common/framework/BUILD delete mode 100644 platform/consensus/ordering/common/framework/consensus.cpp delete mode 100644 platform/consensus/ordering/common/framework/consensus.h delete mode 100644 platform/consensus/ordering/common/framework/performance_manager.cpp delete mode 100644 platform/consensus/ordering/common/framework/performance_manager.h delete mode 100644 platform/consensus/ordering/common/framework/response_manager.cpp delete mode 100644 platform/consensus/ordering/common/framework/response_manager.h delete mode 100644 platform/consensus/ordering/common/framework/transaction_utils.cpp delete mode 100644 platform/consensus/ordering/common/framework/transaction_utils.h delete mode 100644 platform/consensus/ordering/common/transaction_utils.cpp delete mode 100644 platform/consensus/ordering/common/transaction_utils.h delete mode 100644 platform/consensus/ordering/geo_pbft/BUILD delete mode 100644 platform/consensus/ordering/geo_pbft/README.md delete mode 100644 platform/consensus/ordering/geo_pbft/consensus_manager_geo_pbft.cpp delete mode 100644 platform/consensus/ordering/geo_pbft/consensus_manager_geo_pbft.h delete mode 100644 platform/consensus/ordering/geo_pbft/geo_pbft_commitment.cpp delete mode 100644 platform/consensus/ordering/geo_pbft/geo_pbft_commitment.h delete mode 100644 platform/consensus/ordering/geo_pbft/geo_pbft_commitment_test.cpp delete mode 100644 platform/consensus/ordering/geo_pbft/hash_set.h delete mode 100644 platform/consensus/ordering/img/GeoBFT_1.png delete mode 100644 platform/consensus/ordering/img/PBFT_1.png delete mode 100644 platform/consensus/ordering/img/PBFT_2.png delete mode 100644 platform/consensus/ordering/img/PBFT_3.png delete mode 100644 platform/consensus/ordering/img/PBFT_4.png delete mode 100644 platform/consensus/ordering/img/PBFT_5.png delete mode 100644 platform/consensus/ordering/img/PBFT_6.png delete mode 100644 platform/consensus/ordering/pbft/BUILD delete mode 100644 platform/consensus/ordering/pbft/README.md delete mode 100644 platform/consensus/ordering/pbft/checkpoint_manager.cpp delete mode 100644 platform/consensus/ordering/pbft/checkpoint_manager.h delete mode 100644 platform/consensus/ordering/pbft/checkpoint_manager_test.cpp delete mode 100644 platform/consensus/ordering/pbft/commitment.cpp delete mode 100644 platform/consensus/ordering/pbft/commitment.h delete mode 100644 platform/consensus/ordering/pbft/commitment_test.cpp delete mode 100644 platform/consensus/ordering/pbft/consensus_manager_pbft.cpp delete mode 100644 platform/consensus/ordering/pbft/consensus_manager_pbft.h delete mode 100644 platform/consensus/ordering/pbft/lock_free_collector_pool.cpp delete mode 100644 platform/consensus/ordering/pbft/lock_free_collector_pool.h delete mode 100644 platform/consensus/ordering/pbft/lock_free_collector_pool_test.cpp delete mode 100644 platform/consensus/ordering/pbft/message_manager.cpp delete mode 100644 platform/consensus/ordering/pbft/message_manager.h delete mode 100644 platform/consensus/ordering/pbft/mock_checkpoint_manager.h delete mode 100644 platform/consensus/ordering/pbft/performance_manager.cpp delete mode 100644 platform/consensus/ordering/pbft/performance_manager.h delete mode 100644 platform/consensus/ordering/pbft/pre_very_consensus_service_pbft.h delete mode 100644 platform/consensus/ordering/pbft/query.cpp delete mode 100644 platform/consensus/ordering/pbft/query.h delete mode 100644 platform/consensus/ordering/pbft/query_test.cpp delete mode 100644 platform/consensus/ordering/pbft/response_manager.cpp delete mode 100644 platform/consensus/ordering/pbft/response_manager.h delete mode 100644 platform/consensus/ordering/pbft/response_manager_test.cpp delete mode 100644 platform/consensus/ordering/pbft/transaction_collector.cpp delete mode 100644 platform/consensus/ordering/pbft/transaction_collector.h delete mode 100644 platform/consensus/ordering/pbft/transaction_utils.cpp delete mode 100644 platform/consensus/ordering/pbft/transaction_utils.h delete mode 100644 platform/consensus/ordering/pbft/viewchange_manager.cpp delete mode 100644 platform/consensus/ordering/pbft/viewchange_manager.h delete mode 100644 platform/consensus/ordering/pbft/viewchange_manager_test.cpp delete mode 100644 platform/consensus/ordering/poe/algorithm/BUILD delete mode 100644 platform/consensus/ordering/poe/algorithm/poe.cpp delete mode 100644 platform/consensus/ordering/poe/algorithm/poe.h delete mode 100644 platform/consensus/ordering/poe/framework/BUILD delete mode 100644 platform/consensus/ordering/poe/framework/consensus.cpp delete mode 100644 platform/consensus/ordering/poe/framework/consensus.h delete mode 100644 platform/consensus/ordering/poe/proto/BUILD delete mode 100644 platform/consensus/ordering/poe/proto/proposal.proto delete mode 100644 platform/consensus/recovery/BUILD delete mode 100644 platform/consensus/recovery/recovery.cpp delete mode 100644 platform/consensus/recovery/recovery.h delete mode 100644 platform/consensus/recovery/recovery_test.cpp delete mode 100644 platform/networkstrate/BUILD delete mode 100644 platform/networkstrate/README.md delete mode 100644 platform/networkstrate/async_acceptor.cpp delete mode 100644 platform/networkstrate/async_acceptor.h delete mode 100644 platform/networkstrate/async_replica_client.cpp delete mode 100644 platform/networkstrate/async_replica_client.h delete mode 100644 platform/networkstrate/consensus_manager.cpp delete mode 100644 platform/networkstrate/consensus_manager.h delete mode 100644 platform/networkstrate/consensus_manager_test.cpp delete mode 100644 platform/networkstrate/mock_async_replica_client.h delete mode 100644 platform/networkstrate/mock_replica_communicator.h delete mode 100644 platform/networkstrate/mock_service_interface.h delete mode 100644 platform/networkstrate/replica_communicator.cpp delete mode 100644 platform/networkstrate/replica_communicator.h delete mode 100644 platform/networkstrate/replica_communicator_test.cpp delete mode 100644 platform/networkstrate/server_comm.h delete mode 100644 platform/networkstrate/service_interface.cpp delete mode 100644 platform/networkstrate/service_interface.h delete mode 100644 platform/networkstrate/service_network.cpp delete mode 100644 platform/networkstrate/service_network.h delete mode 100644 platform/networkstrate/service_network_test.cpp delete mode 100644 platform/proto/BUILD delete mode 100644 platform/proto/broadcast.proto delete mode 100644 platform/proto/checkpoint_info.proto delete mode 100644 platform/proto/client_test.proto delete mode 100644 platform/proto/logging.proto delete mode 100644 platform/proto/network_type.proto delete mode 100644 platform/proto/replica_info.proto delete mode 100644 platform/proto/resdb.proto delete mode 100644 platform/proto/system_info_data.proto delete mode 100644 platform/proto/viewchange_message.proto delete mode 100644 platform/rdbc/BUILD delete mode 100644 platform/rdbc/acceptor.cpp delete mode 100644 platform/rdbc/acceptor.h delete mode 100644 platform/statistic/BUILD delete mode 100644 platform/statistic/README.md delete mode 100644 platform/statistic/prometheus_handler.cpp delete mode 100644 platform/statistic/prometheus_handler.h delete mode 100644 platform/statistic/set_random_data.cpp delete mode 100644 platform/statistic/stats.cpp delete mode 100644 platform/statistic/stats.h delete mode 100644 platform/test/BUILD delete mode 100644 platform/test/proto/BUILD delete mode 100644 platform/test/proto/resdb_test.proto delete mode 100644 platform/test/resdb_test.cpp delete mode 100644 platform/test/test_data/BUILD delete mode 100644 platform/test/test_data/kv_config.config delete mode 100644 platform/test/test_data/server.config create mode 100644 proto/BUILD create mode 100644 proto/broadcast.proto create mode 100644 proto/checkpoint_info.proto create mode 100644 proto/client_test.proto delete mode 100644 proto/contract/BUILD delete mode 100644 proto/contract/account.proto delete mode 100644 proto/contract/contract.proto delete mode 100644 proto/contract/func_params.proto delete mode 100644 proto/contract/rpc.proto delete mode 100644 proto/kv/BUILD delete mode 100644 proto/kv/kv.proto create mode 100644 proto/kv_server.proto create mode 100644 proto/logging.proto create mode 100644 proto/network_type.proto create mode 100644 proto/replica_info.proto create mode 100644 proto/resdb.proto create mode 100644 proto/signature_info.proto delete mode 100644 proto/utxo/BUILD delete mode 100644 proto/utxo/config.proto delete mode 100644 proto/utxo/rpc.proto delete mode 100644 proto/utxo/utxo.proto delete mode 100644 repositories.bzl delete mode 100644 script.js delete mode 100644 scripts/deploy/README.md delete mode 100644 scripts/deploy/config/key_example.conf delete mode 100644 scripts/deploy/config/kv_performance_server.conf delete mode 100644 scripts/deploy/config/kv_server.conf delete mode 100644 scripts/deploy/config/poe.config delete mode 100644 scripts/deploy/config/template.config delete mode 100644 scripts/deploy/data/cert/cert_6.cert delete mode 100644 scripts/deploy/data/cert/cert_7.cert delete mode 100644 scripts/deploy/data/cert/cert_8.cert delete mode 100644 scripts/deploy/data/cert/cert_9.cert delete mode 100644 scripts/deploy/data/cert/node6.key.key.pri delete mode 100644 scripts/deploy/data/cert/node6.key.key.pub delete mode 100644 scripts/deploy/data/cert/node6.key.pri delete mode 100644 scripts/deploy/data/cert/node6.key.pub delete mode 100644 scripts/deploy/data/cert/node7.key.key.pri delete mode 100644 scripts/deploy/data/cert/node7.key.key.pub delete mode 100644 scripts/deploy/data/cert/node7.key.pri delete mode 100644 scripts/deploy/data/cert/node7.key.pub delete mode 100644 scripts/deploy/data/cert/node8.key.key.pri delete mode 100644 scripts/deploy/data/cert/node8.key.key.pub delete mode 100644 scripts/deploy/data/cert/node8.key.pri delete mode 100644 scripts/deploy/data/cert/node8.key.pub delete mode 100644 scripts/deploy/data/cert/node9.key.key.pri delete mode 100644 scripts/deploy/data/cert/node9.key.key.pub delete mode 100644 scripts/deploy/data/cert/node9.key.pri delete mode 100644 scripts/deploy/data/cert/node9.key.pub delete mode 100644 scripts/deploy/performance/calculate_result.py delete mode 100755 scripts/deploy/performance/pbft_performance.sh delete mode 100755 scripts/deploy/performance/poe_performance.sh delete mode 100755 scripts/deploy/performance/run_performance.sh delete mode 100755 scripts/deploy/script/deploy.sh delete mode 100755 scripts/deploy/script/env.sh delete mode 100755 scripts/deploy/script/generate_config.sh delete mode 100755 scripts/deploy/script/generate_key.sh delete mode 100755 scripts/deploy/script/load_config.sh delete mode 100644 scripts/format.sh create mode 100644 server/BUILD create mode 100644 server/async_acceptor.cpp create mode 100644 server/async_acceptor.h rename {platform/networkstrate => server}/async_acceptor_test.cpp (75%) create mode 100644 server/async_replica_client.cpp create mode 100644 server/async_replica_client.h rename {platform/networkstrate => server}/async_replica_client_test.cpp (81%) create mode 100644 server/consensus_service.cpp create mode 100644 server/consensus_service.h create mode 100644 server/consensus_service_test.cpp create mode 100644 server/mock_async_replica_client.h create mode 100644 server/mock_resdb_replica_client.h create mode 100644 server/mock_resdb_service.h create mode 100644 server/resdb_replica_client.cpp create mode 100644 server/resdb_replica_client.h create mode 100644 server/resdb_replica_client_test.cpp create mode 100644 server/resdb_server.cpp create mode 100644 server/resdb_server.h create mode 100644 server/resdb_server_test.cpp create mode 100644 server/resdb_service.cpp create mode 100644 server/resdb_service.h create mode 100644 server/server_comm.h delete mode 100644 service/contract/BUILD delete mode 100644 service/contract/contract_service.cpp delete mode 100644 service/kv/BUILD delete mode 100644 service/kv/kv_service.cpp delete mode 100644 service/tools/config/interface/service.config delete mode 100644 service/tools/config/interface/service0.config delete mode 100644 service/tools/config/server/server.config delete mode 100644 service/tools/config/server/utxo_config.config delete mode 100644 service/tools/contract/README.md delete mode 100644 service/tools/contract/api_tools/BUILD delete mode 100644 service/tools/contract/api_tools/config/server_config.config delete mode 100644 service/tools/contract/api_tools/contract_tools.cpp delete mode 100644 service/tools/contract/api_tools/example_contract/compile.sh delete mode 100644 service/tools/contract/api_tools/example_contract/token.json delete mode 100644 service/tools/contract/api_tools/example_contract/token.sol delete mode 100755 service/tools/contract/service_tools/start_contract_service.sh delete mode 100644 service/tools/data/cert/admin.key.pri delete mode 100644 service/tools/data/cert/admin.key.pub delete mode 100644 service/tools/data/cert/cert_1.cert delete mode 100644 service/tools/data/cert/cert_2.cert delete mode 100644 service/tools/data/cert/cert_3.cert delete mode 100644 service/tools/data/cert/cert_4.cert delete mode 100644 service/tools/data/cert/cert_5.cert delete mode 100644 service/tools/data/cert/cert_6.cert delete mode 100644 service/tools/data/cert/cert_7.cert delete mode 100644 service/tools/data/cert/cert_8.cert delete mode 100644 service/tools/data/cert/cert_9.cert delete mode 100644 service/tools/data/cert/node1.key.pri delete mode 100644 service/tools/data/cert/node1.key.pub delete mode 100644 service/tools/data/cert/node2.key.pri delete mode 100644 service/tools/data/cert/node2.key.pub delete mode 100644 service/tools/data/cert/node3.key.pri delete mode 100644 service/tools/data/cert/node3.key.pub delete mode 100644 service/tools/data/cert/node4.key.pri delete mode 100644 service/tools/data/cert/node4.key.pub delete mode 100644 service/tools/data/cert/node5.key.pri delete mode 100644 service/tools/data/cert/node5.key.pub delete mode 100644 service/tools/data/cert/node6.key.key.pri delete mode 100644 service/tools/data/cert/node6.key.key.pub delete mode 100644 service/tools/data/cert/node6.key.pri delete mode 100644 service/tools/data/cert/node6.key.pub delete mode 100644 service/tools/data/cert/node7.key.key.pri delete mode 100644 service/tools/data/cert/node7.key.key.pub delete mode 100644 service/tools/data/cert/node7.key.pri delete mode 100644 service/tools/data/cert/node7.key.pub delete mode 100644 service/tools/data/cert/node8.key.key.pri delete mode 100644 service/tools/data/cert/node8.key.key.pub delete mode 100644 service/tools/data/cert/node8.key.pri delete mode 100644 service/tools/data/cert/node8.key.pub delete mode 100644 service/tools/data/cert/node9.key.key.pri delete mode 100644 service/tools/data/cert/node9.key.key.pub delete mode 100644 service/tools/data/cert/node9.key.pri delete mode 100644 service/tools/data/cert/node9.key.pub delete mode 100644 service/tools/kv/api_tools/BUILD delete mode 100644 service/tools/kv/api_tools/kv_client_txn_tools.cpp delete mode 100644 service/tools/kv/api_tools/kv_service_tools.cpp delete mode 100755 service/tools/kv/server_tools/start_kv_service.sh delete mode 100755 service/tools/kv/server_tools/start_kv_service_monitoring.sh delete mode 100644 service/tools/utxo/README.md delete mode 100755 service/tools/utxo/service_tools/start_utxo_service.sh delete mode 100644 service/tools/utxo/wallet_tool/cpp/BUILD delete mode 100644 service/tools/utxo/wallet_tool/cpp/addr_utils.cpp delete mode 100644 service/tools/utxo/wallet_tool/cpp/addr_utils.h delete mode 100644 service/tools/utxo/wallet_tool/cpp/key_utils.cpp delete mode 100644 service/tools/utxo/wallet_tool/cpp/key_utils.h delete mode 100644 service/tools/utxo/wallet_tool/cpp/server_config0.config delete mode 100644 service/tools/utxo/wallet_tool/cpp/utxo_client_tools.cpp delete mode 100644 service/tools/utxo/wallet_tool/py/BUILD delete mode 100644 service/tools/utxo/wallet_tool/py/addr.py delete mode 100644 service/tools/utxo/wallet_tool/py/keys.py delete mode 100644 service/tools/utxo/wallet_tool/pybind/BUILD delete mode 100644 service/tools/utxo/wallet_tool/pybind/wallet_tools_py.cpp delete mode 100644 service/tools/utxo/wallet_tool/test/BUILD delete mode 100644 service/tools/utxo/wallet_tool/test/key_tester.py delete mode 100644 service/tools/utxo/wallet_tool/test/key_tester_utils.cpp delete mode 100644 service/utils/BUILD delete mode 100644 service/utils/server_factory.cpp delete mode 100644 service/utils/server_factory.h delete mode 100644 service/utxo/BUILD delete mode 100644 service/utxo/config/server_config.config delete mode 100644 service/utxo/config/utxo_config.config delete mode 100755 service/utxo/start_contract_server.sh delete mode 100644 service/utxo/utxo_service.cpp create mode 100644 statistic/BUILD create mode 100644 statistic/influxdb.hpp create mode 100644 statistic/influxdb_handler.cpp create mode 100644 statistic/influxdb_handler.h create mode 100644 statistic/prometheus_handler.cpp create mode 100644 statistic/prometheus_handler.h create mode 100644 statistic/stats.cpp create mode 100644 statistic/stats.h create mode 100644 sun.sh create mode 100644 test/BUILD create mode 100644 test/proto/BUILD create mode 100644 test/proto/resdb_test.proto create mode 100644 test/resdb_test.cpp create mode 100644 test/test_data/BUILD rename {scripts/deploy/data/cert => test/test_data}/admin.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/admin.key.pub (100%) rename {platform/test => test}/test_data/cert_1.cert (100%) rename {platform/test => test}/test_data/cert_2.cert (100%) rename {platform/test => test}/test_data/cert_3.cert (100%) rename {platform/test => test}/test_data/cert_4.cert (100%) rename {platform/test => test}/test_data/cert_5.cert (100%) create mode 100644 test/test_data/cert_6.cert rename {scripts/deploy/data/cert => test/test_data}/node1.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/node1.key.pub (100%) rename {scripts/deploy/data/cert => test/test_data}/node2.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/node2.key.pub (100%) rename {scripts/deploy/data/cert => test/test_data}/node3.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/node3.key.pub (100%) rename {scripts/deploy/data/cert => test/test_data}/node4.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/node4.key.pub (100%) rename {scripts/deploy/data/cert => test/test_data}/node5.key.pri (100%) rename {scripts/deploy/data/cert => test/test_data}/node5.key.pub (100%) create mode 100644 test/test_data/server.config delete mode 100644 third_party/asio.BUILD delete mode 100644 third_party/civetweb.BUILD delete mode 100644 third_party/crow.BUILD delete mode 100644 third_party/date.BUILD delete mode 100644 third_party/eEVM.BUILD delete mode 100644 third_party/json.BUILD delete mode 100644 third_party/loc_script/action.yml delete mode 100644 third_party/loc_script/src/index.js delete mode 100644 third_party/prometheus.BUILD delete mode 100644 third_party/rapidjson.BUILD create mode 100644 third_party/rocksdb.BUILD create mode 100644 third_party/zstd.BUILD delete mode 100644 tools/generate_mulregion_config.py delete mode 100644 tools/generate_region_config.py create mode 100644 tools/kv_client_txn_tools.cpp delete mode 100644 tools/resdb_state_accessor_tools.cpp create mode 100644 tools/resdb_status_client_tools.cpp delete mode 100644 tools/resdb_txn_accessor_tools.cpp create mode 100644 tools/resdb_txn_client_tools.cpp diff --git a/BUILD.bazel b/BUILD.bazel index a2966540e..ef1087816 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,22 +1,3 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - package(default_visibility = ["//visibility:public"]) load("@rules_foreign_cc//foreign_cc:defs.bzl", "make") diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index b7d0c1fd2..000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,160 +0,0 @@ - - -# Change Log - -### Apache ResilientDB v1.10.0 ([2024-4-16](https://github.com/resilientdb/resilientdb/releases/tag/v1.10.0-rc01)) - -Add the prototype of PoE. ([Junchao Chen](https://github.com/cjcchen)) - -* Implement the base version of the Proof-of-Execution (PoE) Consensus Protocol [EDBT 2011]. - -Add ResView Data Collection and APIs ([Saipranav-Kotamreddy](https://github.com/Saipranav-Kotamreddy)) - -* Consensus data such as PBFT messages and states is now collected and stored -* Added APIs to query consensus data and progress of replicas -* Added APIs to trigger faultiness and test view change - -### NexRes v1.9.0 ([2023-11-29](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.9.0)) - -Support Multi-version Key-Value Interface. ([Junchao Chen](https://github.com/cjcchen)) - -* Get and Set need to provide a version number to fetch the correct version of the data (if exists) or write to the correct version of data (if not overwritten already), respectively. -* Provide interfaces to obtain historical data with a specific version or a range of versions. - - -### NexRes v1.8.0 ([2023-08-21](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.8.0)) - -**Implemented Enhancements:** The view-change recovery protocol was extensively expanded to support the following Byzantine failures through primary/leader replacement and replica recovery. ([Dakai Kang](https://github.com/DakaiKang)) - -* Byzantine primary becomes non-responsive, stopping proposing any new Pre-Prepare messages. -* Byzantine primary equivocates, proposing two different client requests to two subsets of replicas. -* Byzantine replicas try to keep some non-faulty replicas in the dark. -* Byzantine new primary becomes non-responsive, refusing to broadcast New-View messages. - -### NexRes v1.7.0 ([2023-08-04](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.7.0)) - -**Implemented Enhancements:** For each replica local recovery from durable storage upon system restart was added.([Junchao Chen](https://github.com/cjcchen)) - - -### NexRes v1.6.0 ([2023-05-30](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.6.0)) - -**Implemented Enhancements:** Refactoring and enhancement of the codebase to highlight the entire software stack of ResilientDB consisting of the following layers ([Junchao Chen](https://github.com/cjcchen)) - -* SDK Layer (C++, Python, Go, Solidity) -* Interface Layer (key-value, smart contract, UTXO) -* ResilientDB Database Connectivity (RDBC) API -* Platform Layer (consensus, chain, network, notary) -* Transaction Layer (execution runtime and in-memory chain state) -* Storage Layer (chain and chain state durability) - - -### NexRes v1.5.0 ([2023-04-04](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.5.0)) - -**Implemented Enhancements:** -* A complete refactoring of the codebase such that (1) the core engine code is now moved to the platform folder, including the formwork architectures and protocols implementations; (2) the API/interface-related code is moved to the service folder, including UTXO, smart contract, and key-value interface; (3) the python SDK code is moved to a different repository [here](https://github.com/resilientdb/sdk) ([Junchao Chen](https://github.com/cjcchen)). - -### NexRes v1.4.0 ([2023-02-28](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v.1.4.0)) -Major Changes -* Support of UTXO model and wallet integration: [Detailed Documentation](https://blog.resilientdb.com/2023/02/12/GettingStartedOnUtxo.html) ([Junchao Chen](https://github.com/cjcchen)) - - -### NexRes v1.3.0 ([2023-02-22](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.3.0)) - -**Implemented Enhancements:** -* Added Python SDK that supports UTXO-like transactions such as asset creation, transfer, and multi-party validations. ([Arindaam Roy](https://github.com/royari), [Glenn Chen](https://github.com/glenn-chen), and [Julieta Duarte](https://github.com/juduarte00)) -* Added REST CROW endpoints to interface with the on-chain KV service. ([Glenn Chen](https://github.com/glenn-chen) and [Julieta Duarte](https://github.com/juduarte00)) -* Extended KV service range queries. ([Glenn Chen](https://github.com/glenn-chen) and [Julieta Duarte](https://github.com/juduarte00)) - -**Fixed Bugs:** -* Fixed KV service queries on all values retrieving empty placeholder values ([Glenn Chen](https://github.com/glenn-chen)) - -### NexRes v1.2.0 ([2023-01-29](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.2.0)) - -**Implemented Enhancements:** -* Support smart contract compiled from Solidity. ([Junchao Chen](https://github.com/cjcchen)) -* Use eEVM as a back-end service to execute the contract functions. ([Junchao Chen](https://github.com/cjcchen)) - -### NexRes v1.1.0 ([2023-01-03](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.1.0)) - -**Implemented Enhancements:** - -* Added Geo-Scale Byzantine Fault-tolerant consensus protocol, referred to as GeoBFT. It is designed for excellent scalability by using a topological-aware grouping of replicas in local clusters, giving rise to parallelization of consensus at the local level and by minimizing communication between clusters. ([WayneWang](https://github.com/WayneJa)) - -ResilientDB: Global Scale Resilient Blockchain Fabric, VLDB 2020 - -### NexRes v1.0.1 ([2022-10-13](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.0.1)) - -**Implemented Enhancements:** - -* Add node manager backend for resilientdb.com to launch NexRes locally. ([Vishnu](https://github.com/sheshavpd) and [Junchao Chen](https://github.com/cjcchen)) - -### NexRes v1.0.0 ([2022-09-30](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.0.0)) - -**Implemented Enhancements:** - -* Release the next generation of RelisientDB referred to as NexRes. ([Junchao Chen](https://github.com/cjcchen)) -* NexRes supports PBFT as the default core protocol and provides a KV-Server as a service. ([Junchao Chen](https://github.com/cjcchen)) -* NexRes also supports LevelDB and RocksDB as the durable storage layer. ([Junchao Chen](https://github.com/cjcchen)) -* Add SDK endpoints. ([Junchao Chen](https://github.com/cjcchen)) -* Add implementation of Dashboard. ([Jianxio](https://github.com/jyu25utk)) -* Add the recovery protocol and checkpoint on PBFT. ([Junchao Chen](https://github.com/cjcchen) and [Vishnu](https://github.com/sheshavpd)) - - -### NexRes v1.0.0-alpha ([2022-09-22](https://github.com/resilientdb/resilientdb/releases/tag/nexres-alpha)) - -**Implemented Enhancements:** -* Release the next generation of RelisientDB, a complete rewrite and re-architecting, referred to as NexRes. ([Junchao Chen](https://github.com/cjcchen)) -* NexRes supports PBFT as the default core protocol and provides a KV-Server as a service. ([Junchao Chen](https://github.com/cjcchen)) -* NexRes also supports LevelDB and RocksDB as the durable storage layer. ([Glenn Chen](https://github.com/glenn-chen), [Julieta Duarte](https://github.com/juduarte00), and [Junchao Chen](https://github.com/cjcchen)) - - -### v3.0 ([2021-09-30](https://github.com/resilientdb/resilientdb/releases/tag/v3.0)) - -**Implemented Enhancements:** -* GeoBFT Protocol Added ([Sajjad Rahnama](https://github.com/sajjadrahnama)) -* Work Queue structure changed ([Sajjad Rahnama](https://github.com/sajjadrahnama)) -* Refactoring, and added Statistics and Scripts ([Sajjad Rahnama](https://github.com/sajjadrahnama)) - - -### v2.0 ([2020-02-29](https://github.com/resilientdb/resilientdb/releases/tag/v2.0)) - -**Implemented Enhancements:** -* A GUI display for ResilientDB to ease user interaction and analysis. [#9](https://github.com/resilientdb/resilientdb/issues/9) ([Sajjad Rahnama](https://github.com/sajjadrahnama) and [RohanSogani](https://github.com/RohanSogani)) -* Added support for Smart Contracts with a Banking use case. [#7](https://github.com/resilientdb/resilientdb/issues/7) ([Sajjad Rahnama](https://github.com/sajjadrahnama)) -* Monitoring results for visualizing graphs using influxdb. [#8](https://github.com/resilientdb/resilientdb/issues/8) ([Sajjad Rahnama](https://github.com/sajjadrahnama), [Dhruv Krishnan](https://github.com/DhruvKrish) and [Priya Holani](https://github.com/Holani)) -* Added support for SQLite and provided a new representation for in-memory storage. [#6](https://github.com/resilientdb/resilientdb/issues/6) ([Sajjad Rahnama](https://github.com/sajjadrahnama)) - -**Fixed Bugs:** -* Bug in the Chain Initialization [#5](https://github.com/resilientdb/resilientdb/issues/5) ([Sajjad Rahnama](https://github.com/sajjadrahnama)) - - -### v1.1 ([2019-12-05](https://github.com/resilientdb/resilientdb/releases/tag/v1.1)) - -**Implemented Enhancements:** -* Defined class to represent ledger. [6b0fdc5](https://github.com/resilientdb/resilientdb/commit/56f500fe5e4749c45f57dc8e62d12bc7a218ce69) ([Suyash Gupta](https://github.com/gupta-suyash)) - -**Fixed Bugs:** -* Docker script fails to run for multiple client [#1](https://github.com/resilientdb/resilientdb/issues/1) ([RohanSogani](https://github.com/RohanSogani)) - -### v1.0 ([2019-11-24](https://github.com/resilientdb/resilientdb/releases/tag/v1.0)) - -Launched ResilientDB ([Suyash Gupta](https://github.com/gupta-suyash) and [Sajjad Rahnama](https://github.com/sajjadrahnama)) - - diff --git a/CNAME b/CNAME deleted file mode 100644 index f53fa6a9d..000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -api.resilientdb.com \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index f53ce4f0e..000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,95 +0,0 @@ - - -# Contributor Covenant Code of Conduct - -## Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal -appearance, race, religion, or sexual identity and orientation. - -## Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or - advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -## Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -## Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -## Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at support@resilientdb.com. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - -## Attribution - -This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, -available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html - -[homepage]: https://www.contributor-covenant.org - -For answers to common questions about this code of conduct, see -https://www.contributor-covenant.org/faq diff --git a/DISCLAIMER-WIP b/DISCLAIMER-WIP deleted file mode 100644 index d94e089d8..000000000 --- a/DISCLAIMER-WIP +++ /dev/null @@ -1,22 +0,0 @@ -Apache ResilientDB is an effort undergoing incubation at the Apache Software -Foundation (ASF), sponsored by the Apache Incubator PMC. - -Incubation is required of all newly accepted projects until a further review -indicates that the infrastructure, communications, and decision making process -have stabilized in a manner consistent with other successful ASF projects. - -While incubation status is not necessarily a reflection of the completeness -or stability of the code, it does indicate that the project has yet to be -fully endorsed by the ASF. - -Some of the incubating project’s releases may not be fully compliant with ASF policy. -For example, releases may have incomplete or un-reviewed licensing conditions. -What follows is a list of known issues the project is currently aware of -(note that this list, by definition, is likely to be incomplete): - -If you are planning to incorporate this work into your product/project, please -be aware that you will need to conduct a thorough licensing review to determine -the overall implications of including this work. For the current status of this -project through the Apache Incubator visit: -https://incubator.apache.org/projects/resilientdb.html - diff --git a/Docker/Dockerfile b/Docker/Dockerfile deleted file mode 100644 index c5f82544a..000000000 --- a/Docker/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -FROM ubuntu:20.04 - -ARG DEBIAN_FRONTEND=noninteractive - -# Update package lists and install required dependencies -RUN apt-get update && apt-get install -y \ - apt-transport-https \ - curl \ - gnupg \ - protobuf-compiler \ - rapidjson-dev \ - build-essential \ - openjdk-11-jdk \ - zip \ - unzip \ - clang-format - -# Install Bazel -RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg \ - && mv bazel.gpg /etc/apt/trusted.gpg.d/ \ - && echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \ - && curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \ - && apt-get update && apt-get install -y bazel=5.0.0 \ - && rm /etc/apt/sources.list.d/bazel.list - -# Set the working directory -WORKDIR /app - -# Copy your project files to the container -COPY . /app - -# Build the project with Bazel -RUN bazel --version -RUN bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier -RUN bazel build service/tools/kv/api_tools/kv_service_tools - -ENTRYPOINT ["./entrypoint.sh"] diff --git a/Docker/Dockerfile_mac b/Docker/Dockerfile_mac deleted file mode 100644 index fb629b399..000000000 --- a/Docker/Dockerfile_mac +++ /dev/null @@ -1,53 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# Use a base image for ARM64 architecture -FROM arm64v8/ubuntu:20.04 - -ARG DEBIAN_FRONTEND=noninteractive - -# Update package lists and install required dependencies -RUN apt-get update && apt-get install -y \ - apt-transport-https \ - curl \ - gnupg \ - protobuf-compiler \ - rapidjson-dev \ - build-essential \ - openjdk-11-jdk \ - zip \ - unzip \ - clang-format - -# Install Bazelisk -RUN curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-arm64 \ - && chmod +x /usr/local/bin/bazel - -# Set the working directory -WORKDIR /app - -# Copy your project files to the container -COPY . /app - -# Build the project with Bazel -RUN bazel --version -RUN bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier -RUN bazel build service/tools/kv/api_tools/kv_service_tools - -ENTRYPOINT ["./entrypoint.sh"] diff --git a/INSTALL.sh b/INSTALL.sh old mode 100755 new mode 100644 index c4fdcff3e..91666d327 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -1,61 +1,19 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# +!/bin/sh -sudo apt update sudo apt install apt-transport-https curl gnupg -y -sudo apt-get install protobuf-compiler -y -sudo apt-get install rapidjson-dev -y +sudo apt install protobuf-compiler -y curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg sudo mv bazel.gpg /etc/apt/trusted.gpg.d/ echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - -sudo apt update && sudo apt install bazel=6.0.0 -y +sudo apt update && sudo apt install bazel=5.0.0 -y sudo apt install clang-format -y rm $PWD/.git/hooks/pre-push ln -s $PWD/hooks/pre-push $PWD/.git/hooks/pre-push -bazel --version -ret=$? - -if [[ $ret != "0" ]]; then - -sudo apt-get install build-essential openjdk-11-jdk zip unzip -y -rm bazel-6.0.0-dist.zip -rm -rf bazel_build -wget wget https://releases.bazel.build/6.0.0/release/bazel-6.0.0-dist.zip -mkdir -p bazel_build -mv bazel-6.0.0-dist.zip bazel_build/ -cd bazel_build - -unzip bazel-6.0.0-dist.zip - -export JAVA_HOME='/usr/lib/jvm/java-1.11.0-openjdk-arm64/' -env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash ./compile.sh -sudo cp output/bazel /usr/local/bin/ -cd .. -rm -rf bazel_build - -fi - # install buildifier bazel build @com_github_bazelbuild_buildtools//buildifier:buildifier -sudo apt-get install python3.10-dev -y -sudo apt-get install python3-dev -y +# for jemalloc +sudo apt-get install autoconf automake libtool -y diff --git a/INSTALL/README.md b/INSTALL/README.md deleted file mode 100755 index 969142a20..000000000 --- a/INSTALL/README.md +++ /dev/null @@ -1,62 +0,0 @@ - - -# Prerequire -python3.10 - -pip - -``` -sudo apt update -sudo apt-get install python3.10-dev -y -sudo apt-get install python3-dev -y -sudo apt-get install python3-pip -y -``` - -# Install Protobuf -``` -cd protobuf -./install_protobuf.sh -``` - -# Install Bazel -``` -cd bazel -wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-darwin-amd64 -chmod +x bazelisk-darwin-amd64 -mkdir -p bin -mv bazelisk-darwin-amd64 bin/bazel - -bin/bazel --version -echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc -. ~/.bashrc -``` -or -``` -cd bazel -./install_bazel.sh -echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc -. ~/.bashrc -``` - - -test bazel -``` -bazel --version -``` diff --git a/INSTALL/bazel/install_bazel.sh b/INSTALL/bazel/install_bazel.sh deleted file mode 100755 index 499de8209..000000000 --- a/INSTALL/bazel/install_bazel.sh +++ /dev/null @@ -1,27 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -wget wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-linux-amd64 -chmod +x bazelisk-linux-amd64 -mkdir -p bin -mv bazelisk-linux-amd64 bin/bazel - -bin/bazel --version -echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc -. ~/.bashrc diff --git a/INSTALL/protobuf/install_protobuf.sh b/INSTALL/protobuf/install_protobuf.sh deleted file mode 100755 index 66edc5ac7..000000000 --- a/INSTALL/protobuf/install_protobuf.sh +++ /dev/null @@ -1,20 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -pip install protobuf diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ad9b5c8b3..000000000 --- a/LICENSE +++ /dev/null @@ -1,235 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -================================================================ - -This product includes a number of dependencies with separate copyright notices -and license terms. Your use of these submodules is subject to the terms and -conditions of the following licenses. - -================================================================ -MIT licenses -================================================================ - -third_party/loc_script/src/index.js files from https://github.com/shadowmoose/GHA-LoC-Badge/blob/1.0.0/src/index.js - -MIT License - -Copyright (c) 2020 Mike - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..20a7ec618 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,5 @@ +Trade Secret License + +Copyright (c) 2018 ExpoLab, ResilientDB + +This is a strictly confidential repo, please do not fork, share, or distribute any part of the code. diff --git a/NOTICE b/NOTICE deleted file mode 100644 index 2acdbb2a6..000000000 --- a/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -Apache ResilientDB -Copyright 2023-2024 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - diff --git a/README.md b/README.md index e46106b74..2c3288f7b 100644 --- a/README.md +++ b/README.md @@ -1,359 +1,51 @@ - +# ResilientDB: A High-throughput yielding Permissioned Blockchain Fabric. -![](https://img.shields.io/github/v/release/resilientdb/resilientdb) -![](https://img.shields.io/badge/language-c++-orange.svg) -![](https://img.shields.io/badge/platform-Ubuntu20.0+-lightgrey.svg) -![GitHub](https://img.shields.io/github/license/resilientdb/resilientdb) -![Generated Button](https://raw.githubusercontent.com/resilientdb/resilientdb/image-data/badge.svg) -![build](https://github.com/resilientdb/resilientdb/workflows/bazel-build%20CI/badge.svg) -![build](https://github.com/resilientdb/resilientdb/workflows/Unite%20Test/badge.svg) + ResilientDB aims at *Making Permissioned Blockchain Systems Fast Again*. ResilientDB makes *system-centric* design decisions by adopting a *multi-thread architecture* that encompasses *deep-pipelines*. Further, we *separate* the ordering of client transactions from their execution, which allows us to perform *out-of-order processing of messages*. +## System Design: -# ResilientDB: Global-Scale Sustainable Blockchain Fabric +High Level Design: -**[ResilientDB](https://resilientdb.com/)** is a **High Throughput Yielding Permissioned Blockchain Fabric** founded by **[ExpoLab](https://expolab.org/)** at **[UC Davis](https://www.ucdavis.edu/)** in 2018. ResilientDB advocates a **system-centric** design by adopting a **multi-threaded architecture** that encompasses **deep pipelines**. Further, ResilientDB **separates** the ordering of client transactions from their execution, which allows it to **process messages out-of-order**. +[ResDBServer](https://docs.google.com/presentation/d/1i5sKocV4LQrngwNVLTTLRtshVIKICt3_tqMH4e5QgYQ/edit#slide=id.p) -# Downloads: -Download address for run-directly software package: https://downloads.apache.org/incubator/resilientdb/ +[ConsensusService-PBFT](https://docs.google.com/presentation/d/1HjXVlCGbjkSzs6d7o4bT_wT-cllSCx1RkvVUskTaZJA/edit#slide=id.p) -### Quick Facts on ResilientDB -1. ResilientDB orders client transactions through a highly optimized implementation of the **[PBFT](https://pmg.csail.mit.edu/papers/osdi99.pdf)** [Castro and Liskov, 1998] protocol, which helps to achieve consensus among its replicas. ResilientDB also supports deploying other state-of-the-art consensus protocols *[release are planned]* such as **[GeoBFT](http://www.vldb.org/pvldb/vol13/p868-gupta.pdf)** [**[blog](https://blog.resilientdb.com/2023/03/07/GeoBFT.html), [released](https://github.com/resilientdb/resilientdb/releases/tag/nexres-v1.1.0)**], **[PoE](https://openproceedings.org/2021/conf/edbt/p111.pdf)**, **[RCC](https://arxiv.org/abs/1911.00837)**, **[RingBFT](https://openproceedings.org/2022/conf/edbt/paper-73.pdf)**, **[PoC](https://arxiv.org/abs/2302.02325)**, **[SpotLess](https://arxiv.org/abs/2302.02118)**, **[HotStuff](https://arxiv.org/abs/1803.05069)**, and **[DAG](https://arxiv.org/pdf/2105.11827.pdf)**. -2. ResilientDB requires deploying at least **3f+1** replicas, where **f (f > 0)** is the maximum number of arbitrary (or malicious) replicas. -3. ResilientDB supports primary-backup architecture, which designates one of the replicas as the **primary** (replica with identifier **0**). The primary replica initiates consensus on a client transaction, while backups agree to follow a non-malicious primary. -4. ResilientDB exposes a wide range of interfaces such as a **Key-Value** store, **Smart Contracts**, **UTXO**, and **Python SDK**. Following are some of the decentralized applications (DApps) built on top of ResilientDB: **[NFT Marketplace](https://nft.resilientdb.com/)** and **[Debitable](https://debitable.resilientdb.com/)**. -5. To persist blockchain, chain state, and metadata, ResilientDB provides durability through **LevelDB**. -6. ResilientDB provides access to a seamless **GUI display** for deployment and maintenance, and supports **Grafana** for plotting monitoring data. -7. **[Historial Facts]** The ResilientDB project was founded by **[Mohammad Sadoghi](https://expolab.org/)** along with his students ([Suyash Gupta](https://gupta-suyash.github.io/index.html) as the lead Architect, [Sajjad Rahnama](https://sajjadrahnama.com/) as the lead System Designer, and [Jelle Hellings](https://www.jhellings.nl/)) at **[UC Davis](https://www.ucdavis.edu/)** in 2018 and was open-sourced in late 2019. On September 30, 2021, we released ResilientDB v-3.0. In 2022, ResilientDB was completely re-written and re-architected ([Junchao Chen](https://github.com/cjcchen) as the lead Architect, [Dakai Kang](https://github.com/DakaiKang) as the lead Recovery Architect along with the entire [NexRes Team](https://expolab.resilientdb.com/)), paving the way for a new sustainable foundation, referred to as NexRes (Next Generation ResilientDB). Thus, on September 30, 2022, NexRes-v1.0.0 was born, marking a new beginning for **[ResilientDB](https://resilientdb.com/)**. On October 21, 2023, **[ResilientDB](https://cwiki.apache.org/confluence/display/INCUBATOR/ResilientDBProposal)** was officially accepted into **[Apache Incubation](https://incubator.apache.org/projects/resilientdb.html)**. +[Full Design Doc](https://docs.google.com/document/d/1YA-vIMhSUnq6necRPY3t3thh4Zc2OuP9_GUwwuzSo-w/edit#) -
- - - -
+## User Development guide +https://docs.google.com/presentation/d/1YIX6dG6cuc5EhXdytrJXoxMhGLP2BxLCmnVMhiC4WBc/edit#slide=id.p --- +## Steps to Run KVServer -## Online Documentation: +Install dependences. -The latest ResilientDB documentation, including a programming guide, is available on our **[blog repository](https://blog.resilientdb.com/archive.html?tag=NexRes)**. This README file provides basic setup instructions. + sh INSTALL -#### Table of Contents -1. Software Stack Architecture - - SDK, Interface/API, Platform, Execution, and Chain Layers - - Detailed API Documentation: **[Core](https://api.resilientdb.com/)** and **[SDK](https://sdk.resilientdb.com/)** -2. **SDK Layer:** **[Python SDK](https://blog.resilientdb.com/2023/02/01/UsingPythonSDK.html)** and **[Wallet - ResVault](https://blog.resilientdb.com/2023/09/21/ResVault.html)** -3. **Interface Layer:** **[Key-Value](https://blog.resilientdb.com/2022/09/28/GettingStartedNexRes.html)**, **[Solidity Smart Contract](https://blog.resilientdb.com/2023/01/15/GettingStartedSmartContract.html)**, **[Unspent Transaction Output (UTXO) Model](https://blog.resilientdb.com/2023/02/12/UtxoOnNexres.html)**, ResilientDB Database Connectivity (RDBC) API -4. **Platform Layer:** **[Consensus Manager Architecture (ordering, recovery, network, chain management)](https://blog.resilientdb.com/2022/09/27/What_Is_NexRes.html)** - - **[Recovery & Checkpoint Design](https://blog.resilientdb.com/2023/08/22/ViewChangeInNexRes.html)** -5. **Execution Layer:** Transaction Manager Design (Runtime) -6. **Chain Layer:** Chain State & Storage Manager Design (**[durability](https://blog.resilientdb.com/2023/02/15/NexResDurabilityLayer.html)**) -7. **[Installing & Deploying ResilientDB](https://blog.resilientdb.com/2022/09/28/GettingStartedNexRes.html)** - - Build Your First Application: **[KV Service](https://blog.resilientdb.com/2022/09/28/StartYourApplication.html)**, **[UTXO](https://blog.resilientdb.com/2023/02/12/GettingStartedOnUtxo.html)** - - Dashboard: **[Monitoring](https://blog.resilientdb.com/2022/12/06/NexResGrafanaDashboardInstallation.html)**, **[Deployment](https://blog.resilientdb.com/2022/12/06/DeployGrafanaDashboardOnOracleCloud.html)**, **[Data Pipeline](https://blog.resilientdb.com/2022/12/12/NexResGrafanaDashboardPipeline.html)** - - System Parameters & Configuration - - Continuous Integration & Testing -
- -
+Start local KVServers: -## OS Requirements -Ubuntu 20+ + sh example/start_kv_server.sh +- This script will start 4 local kv servers and 1 local client proxy. The client proxy is the proxy transferring the messages between servers and the user client. ---- - -## Build and Deploy ResilientDB - -Next, we show how to quickly build ResilientDB and deploy 4 replicas and 1 client proxy on your local machine. The proxy acts as an interface for all the clients. It batches client requests and forwards these batches to the replica designated as the leader. The 4 replicas participate in the PBFT consensus to order and execute these batches. Post execution, they return the response to the leader. - -Install dependencies: - - ./INSTALL.sh +Build KVServer Toos: -For non-root users, see [INSTALL/README.md](https://github.com/apache/incubator-resilientdb/blob/master/INSTALL/README.md) - -Run ResilientDB (Providing a Key-Value Service): - - ./service/tools/kv/server_tools/start_kv_service.sh + bazel build example/kv_server_tools -- This script starts 4 replicas and 1 client. Each replica instantiates a key-value store. - -Build Interactive Tools: - - bazel build service/tools/kv/api_tools/kv_service_tools - -## Functions ## -ResilientDB supports two types of functions: version-based and non-version-based. -Version-based functions will leverage versions to protect each update, versions must be obtained before updating a key. - -***Note***: Version-based functions are not compatible with non-version-based functions. Do not use both in your applications. - -We show the functions below and show how to use [kv_service_tools](service/tools/kv/api_tools/kv_service_tools.cpp) to test the function. - -### Version-Based Functions ### -#### Get #### -Obtain the value of `key` with a specific version `v`. - - kv_service_tools --config config_file --cmd get_with_version --key key --version v - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get_with_version | -| key | the key you want to obtain | -| version | the version you want to obtain. (If the `v` is 0, it will return the latest version | - - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get_with_version --key key1 --version 0 - -Results: -> get key = key1, value = value: "v2" -> version: 2 - -#### Set #### -Set `value` to the key `key` based on version `v`. - - kv_service_tools --config config_file --cmd set_with_version --key key --version v --value value - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | set_with_version | -| key | the key you want to set | -| version | the version you have obtained. (If the version has been changed during the update, the transaction will be ignored) | -| value | the new value | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd set_with_version --key key1 --version 0 --value v1 - -Results: -> set key = key1, value = v3, version = 2 done, ret = 0 -> -> current value = value: "v3" -> version: 3 - -#### Get Key History #### -Obtain the update history of key `key` within the versions [`v1`, `v2`]. - - kv_service_tools --config config_file --cmd get_history --key key --min_version v1 --max_version v2 - - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get_history | -| key | the key you want to obtain | -| min_version | the minimum version you want to obtain | -| max_version | the maximum version you want to obtain | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get_history --key key1 --min_version 1 --max_version 2 - -Results: - -> get history key = key1, min version = 1, max version = 2
-> value =
-> item {
->   key: "key1"
->   value_info {
->    value: "v1"
->    version: 2
->  }
-> }
-> item {
->   key: "key1"
->   value_info {
->    value: "v0"
->    version: 1
->  }
-> } - -#### Get Top #### -Obtain the recent `top_number` history of the key `key`. - - kv_service_tools --config config_path --cmd get_top --key key --top top_number - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get_top | -| key | the key you want to obtain | -| top | the number of the recent updates | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get_top --key key1 --top 1 - -Results: +Run tools to get value by key(for example, get the value with key "test"): ->key = key1, top 1
-> value =
-> item {
-> key: "key1"
->  value_info {
->    value: "v2"
->    version: 3
->  }
->} - -#### Get Key Range #### -Obtain the values of the keys in the ranges [`key1`, `key2`]. Do not use this function in your practice code - - kv_service_tools --config config_file --cmd get_key_range_with_version --min_key key1 --max_key key2 - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get_key_range_with_version | -| min_key | the minimum key | -| max_key | the maximum key | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get_key_range_with_version --min_key key1 --max_key key3 - -Results: - ->min key = key1 max key = key2
-> getrange value =
-> item {
->   key: "key1"
->   value_info {
->    value: "v0"
->    version: 1
->   }
-> }
-> item {
->   key: "key2"
->   value_info {
->    value: "v1"
->    version: 1
->   }
->} - - -### Non-Version-Based Function ### -#### Set ##### -Set `value` to the key `key`. - - kv_service_tools --config config_file --cmd set --key key --value value - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | set | -| key | the key you want to set | -| value | the new value | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd set --key key1 --value value1 - -Results: -> set key = key1, value = v1, done, ret = 0 - -#### Get #### -Obtain the value of `key`. - - kv_service_tools --config config_file --cmd get --key key - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get | -| key | the key you want to obtain | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get --key key1 - -Results: -> get key = key1, value = "v2" - - -#### Get Key Range #### -Obtain the values of the keys in the ranges [`key1`, `key2`]. Do not use this function in your practice code - - kv_service_tools --config config_path --cmd get_key_range --min_key key1 --max_key key2 - -| parameters | descriptions | -| ---- | ---- | -| config | the path of the client config which points to the db entrance | -| cmd | get_key_range | -| min_key | the minimum key | -| max_key | the maximum key | - -Example: - - bazel-bin/service/tools/kv/api_tools/kv_service_tools --config service/tools/config/interface/service.config --cmd get_key_range --min_key key1 --max_key key3 - -Results: -> getrange min key = key1, max key = key3
-> value = [v3,v2,v1] - - -## Deployment Script - -We also provide access to a [deployment script](https://github.com/resilientdb/resilientdb/tree/master/scripts/deploy) that allows deployment on distinct machines. - -## Deploy via Docker - -1. **Install Docker** - Before getting started, make sure you have Docker installed on your system. If you don't have Docker already, you can download and install it from the official [Docker website](https://www.docker.com/products/docker-desktop/). - -2. **Pull the Latest ResilientDB Image** - Choose the appropriate [ResilientDB image](https://hub.docker.com/repository/docker/expolab/resdb/general) for your machine's architecture: - - - For amd architecture, run: - ```shell - docker pull expolab/resdb:amd64 - ``` - - - For Apple Silicon (M1/M2) architecture, run: - ```shell - docker pull expolab/resdb:arm64 - ``` - -3. **Run a Container with the Pulled Image** - Launch a Docker container using the ResilientDB image you just pulled: + bazel-bin/example/kv_server_tools example/kv_client_config.config get test + +You will see this if success: - - For amd architecture, run: - ```shell - docker run -d --name myserver expolab/resdb:amd64 - ``` + client get value = xxx - - For Apple Silicon (M1/M2) architecture, run: - ```shell - docker run -d --name myserver expolab/resdb:arm64 - ``` +Run tools to set value by key(for example, set the value with key "test" and value "test_value"): -4. **Test with Set and Get Commands** - Exec into the running server: - ```shell - docker exec -it myserver bash - ``` + bazel-bin/example/kv_server_tools example/kv_client_config.config set test test_value + +You will see this if success: - Verify the functionality of the service by performing set and get operations provided above [functions](README.md#functions). + client set ret = 0 diff --git a/WORKSPACE b/WORKSPACE index 93a66164b..244b59c6f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,15 +1,13 @@ -workspace(name = "com_resdb_nexres") - load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("//:repositories.bzl", "nexres_repositories") - -nexres_repositories() http_archive( name = "rules_foreign_cc", - sha256 = "69023642d5781c68911beda769f91fcbc8ca48711db935a75da7f6536b65047f", - strip_prefix = "rules_foreign_cc-0.6.0", - url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.6.0.tar.gz", + # TODO: Get the latest sha256 value from a bazel debug message or the latest + # release on the releases page: https://github.com/bazelbuild/rules_foreign_cc/releases + # + # sha256 = "...", + strip_prefix = "rules_foreign_cc-50ee9979e60e8db38e10de45d2c60873a210bf55", + url = "https://github.com/bazelbuild/rules_foreign_cc/archive/50ee9979e60e8db38e10de45d2c60873a210bf55.tar.gz", ) load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") @@ -32,31 +30,24 @@ rules_proto_dependencies() rules_proto_toolchains() -http_archive( - name = "rules_python", - sha256 = "ffc7b877c95413c82bfd5482c017edcf759a6250d8b24e82f41f3c8b8d9e287e", - strip_prefix = "rules_python-0.19.0", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.19.0/rules_python-0.19.0.tar.gz", -) - -load("@rules_python//python:pip.bzl", "pip_install") -load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") - -rules_proto_dependencies() - -rules_proto_toolchains() - -load("@rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_repos", "rules_proto_grpc_toolchains") - -rules_proto_grpc_toolchains() - -rules_proto_grpc_repos() - bind( name = "gtest", actual = "@com_google_googletest//:gtest", ) +http_archive( + name = "com_google_googletest", + strip_prefix = "googletest-609281088cfefc76f9d0ce82e1ff6c30cc3591e5", + urls = ["https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip"], +) + +http_archive( + name = "com_github_gflags_gflags", + sha256 = "34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf", + strip_prefix = "gflags-2.2.2", + urls = ["https://github.com/gflags/gflags/archive/v2.2.2.tar.gz"], +) + bind( name = "glog", actual = "@com_github_google_glog//:glog", @@ -69,19 +60,20 @@ http_archive( urls = ["https://github.com/google/glog/archive/v0.5.0.zip"], ) -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") +all_content = """filegroup(name = "all_srcs", srcs = glob(["**"]), visibility = ["//visibility:public"])""" -git_repository( - name = "com_google_protobuf", - remote = "https://github.com/protocolbuffers/protobuf", - tag = "v3.10.0", +http_archive( + name = "cryptopp", + build_file_content = all_content, + strip_prefix = "cryptopp-CRYPTOPP_8_6_0", + urls = ["https://github.com/weidai11/cryptopp/archive/refs/tags/CRYPTOPP_8_6_0.zip"], ) -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") - -protobuf_deps() - -all_content = """filegroup(name = "all_srcs", srcs = glob(["**"]), visibility = ["//visibility:public"])""" +http_archive( + name = "com_google_absl", + strip_prefix = "abseil-cpp-20211102.0", + urls = ["https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.zip"], +) # buildifier is written in Go and hence needs rules_go to be built. # See https://github.com/bazelbuild/rules_go for the up to date setup instructions. @@ -100,7 +92,7 @@ go_rules_dependencies() load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains") -go_register_toolchains(version = "1.19.5") +go_register_toolchains(version = "1.17.2") http_archive( name = "bazel_gazelle", @@ -125,24 +117,25 @@ http_archive( ) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps") -boost_deps() +_RULES_BOOST_COMMIT = "652b21e35e4eeed5579e696da0facbe8dba52b1f" http_archive( - name = "net_zlib_zlib", - build_file = "@com_resdb_nexres//third_party:z.BUILD", - sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9", - strip_prefix = "zlib-1.2.12", + name = "com_github_nelhage_rules_boost", + sha256 = "c1b8b2adc3b4201683cf94dda7eef3fc0f4f4c0ea5caa3ed3feffe07e1fb5b15", + strip_prefix = "rules_boost-%s" % _RULES_BOOST_COMMIT, urls = [ - "https://zlib.net/zlib-1.2.12.tar.gz", - "https://storage.googleapis.com/bazel-mirror/zlib.net/zlib-1.2.12.tar.gz", + "https://github.com/nelhage/rules_boost/archive/%s.tar.gz" % _RULES_BOOST_COMMIT, ], ) +load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps") + +boost_deps() + http_archive( name = "com_google_leveldb", - build_file = "@com_resdb_nexres//third_party:leveldb.BUILD", + build_file = "//third_party:leveldb.BUILD", sha256 = "a6fa7eebd11de709c46bf1501600ed98bf95439d6967963606cc964931ce906f", strip_prefix = "leveldb-1.23", url = "https://github.com/google/leveldb/archive/refs/tags/1.23.zip", @@ -155,7 +148,7 @@ bind( http_archive( name = "com_google_snappy", - build_file = "@com_resdb_nexres//third_party:snappy.BUILD", + build_file = "//third_party:snappy.BUILD", sha256 = "e170ce0def2c71d0403f5cda61d6e2743373f9480124bcfcd0fa9b3299d428d9", strip_prefix = "snappy-1.1.9", url = "https://github.com/google/snappy/archive/refs/tags/1.1.9.zip", @@ -168,58 +161,73 @@ bind( http_archive( name = "com_zlib", - build_file = "@com_resdb_nexres//third_party:zlib.BUILD", + build_file = "//third_party:zlib.BUILD", sha256 = "629380c90a77b964d896ed37163f5c3a34f6e6d897311f1df2a7016355c45eff", strip_prefix = "zlib-1.2.11", url = "https://github.com/madler/zlib/archive/v1.2.11.tar.gz", ) -http_archive( - name = "pybind11_bazel", - strip_prefix = "pybind11_bazel-2.11.1.bzl.1", - urls = ["https://github.com/pybind/pybind11_bazel/archive/refs/tags/v2.11.1.bzl.1.zip"], +bind( + name = "zstd", + actual = "//third_party:zstd", ) http_archive( - name = "pybind11", - build_file = "@pybind11_bazel//:pybind11.BUILD", - sha256 = "8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2", - strip_prefix = "pybind11-2.6.2", - urls = ["https://github.com/pybind/pybind11/archive/v2.6.2.tar.gz"], + name = "com_facebook_zstd", + build_file_content = all_content, + strip_prefix = "zstd-1.5.2", + url = "https://github.com/facebook/zstd/archive/refs/tags/v1.5.2.zip", ) -load("@pybind11_bazel//:python_configure.bzl", "python_configure") +bind( + name = "jemalloc", + actual = "//third_party:jemalloc", +) -python_configure( - name = "local_config_python", - python_version = "3", +http_archive( + name = "com_jemalloc", + build_file_content = all_content, + sha256 = "1f35888bad9fd331f5a03445bc1bff808a59378be61fef01e9736179d76f2fab", + strip_prefix = "jemalloc-5.3.0", + url = "https://github.com/jemalloc/jemalloc/archive/refs/tags/5.3.0.zip", ) http_archive( - name = "nlohmann_json", - build_file = "@com_resdb_nexres//third_party:json.BUILD", # see below - sha256 = "4cf0df69731494668bdd6460ed8cb269b68de9c19ad8c27abc24cd72605b2d5b", - strip_prefix = "json-3.9.1", - urls = ["https://github.com/nlohmann/json/archive/v3.9.1.tar.gz"], + name = "com_github_facebook_rocksdb", + build_file = "//third_party:rocksdb.BUILD", + sha256 = "928cbd416c0531e9b2e7fa74864ce0d7097dca3f5a8c31f31459772a28dbfcba", + strip_prefix = "rocksdb-7.2.2", + url = "https://github.com/facebook/rocksdb/archive/refs/tags/v7.2.2.zip", ) http_archive( - name = "com_crowcpp_crow", - build_file = "//third_party:crow.BUILD", - sha256 = "f95128a8976fae6f2922823e07da59edae277a460776572a556a4b663ff5ee4b", - strip_prefix = "Crow-1.0-5", - url = "https://github.com/CrowCpp/Crow/archive/refs/tags/v1.0+5.zip", + name = "net_zlib_zlib", + build_file = "//third_party:z.BUILD", + sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9", + strip_prefix = "zlib-1.2.12", + urls = [ + "https://zlib.net/zlib-1.2.12.tar.gz", + "https://storage.googleapis.com/bazel-mirror/zlib.net/zlib-1.2.12.tar.gz", + ], ) -bind( - name = "asio", - actual = "@com_chriskohlhoff_asio//:asio", + +http_archive( + name = "com_github_jupp0r_prometheus_cpp", + sha256 = "281b6d9a26da35375c9958954e03616d71ea28d57ec193b0e75c3e10ff3da55d", + strip_prefix = "prometheus-cpp-1.0.1", + url = "https://github.com/jupp0r/prometheus-cpp/archive/refs/tags/v1.0.1.zip", ) +load("@com_github_jupp0r_prometheus_cpp//bazel:repositories.bzl", "prometheus_cpp_repositories") + +prometheus_cpp_repositories() + + http_archive( - name = "com_chriskohlhoff_asio", - build_file = "//third_party:asio.BUILD", - sha256 = "babcdfd2c744905a73d20de211b51367bda0d5200f11d654c4314b909d8c963c", - strip_prefix = "asio-asio-1-26-0", - url = "https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-26-0.zip", + name = "com_github_influxdb_cxx", + build_file_content = all_content, + strip_prefix = "influxdb-cxx-0.5.1", + url = "https://github.com/awegrzyn/influxdb-cxx/archive/refs/tags/v0.5.1.zip" ) + diff --git a/api/BUILD b/api/BUILD deleted file mode 100644 index 5bad893ba..000000000 --- a/api/BUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -cc_binary( - name = "pybind_kv.so", - srcs = ["pybind_kv_service.cpp"], - linkshared = 1, - linkstatic = 1, - deps = [ - "@//common/proto:signature_info_cc_proto", - "@//interface/kv:kv_client", - "@//platform/config:resdb_config_utils", - "@pybind11", - ], -) - -py_library( - name = "pybind_kv_so", - data = [":pybind_kv.so"], - imports = ["."], -) diff --git a/api/README.md b/api/README.md deleted file mode 100644 index d25474f30..000000000 --- a/api/README.md +++ /dev/null @@ -1,66 +0,0 @@ - - -# ResilientDB kv-Service Python API(Get and Set Command) - -## Description -This API allows users to use kv-service of the ResilientDB in Python directly. - -## How to Run -1. Make sure to run `./INSTALL.sh` in advance. -1. cd to `incubator-resilientdb/api` folder. -2. Run command `bazel build :pybind_kv_so`. -3. From `kv_operation.py`, import `get_value` and `set_value` functions into your Python file to use it (Make sure to use the same Python version when running `bazel build` command and calling the functions). - -## Parameters -### `set_value`: -1. `key`: The key user wants to store in a key-value pair. Acceptable types are `str`, `int`, `float`. -2. `value`: The corresponding value to `key` in the key-value pair. Acceptable types are `str`, `int`, `float`. -3. config_path (optional): The path to the user's blockchain config file (IP addresses). If the user does not specify this parameter, the system will default to the address located in "ip.address.config." The acceptable type is `str`. -4. `return`: `True` if `value` has been set successfully; otherwise, `value` has not been set successfully. -### `get_value`: -1. `key`: The key user wants to get in a key-value pair. Acceptable types are `str`, `int`, `float`. -2. `return`: `\n` if the corresponding value of `key` is empty, otherwise is the corresponding value of `key`. - - -## Example -```angular2html -import sys -# Your path to ResilientDB api folder -sys.path.append("/home/ubuntu/Desktop/incubator-resilientdb/api") -from kv_operation import set_value, get_value - -set_value("test", "111222") -get_value("test") -``` - -If having set up the environment parameter, "sys.path" can be ignorred. -``` -export PYTHON_PATH="/home/ubuntu/Desktop/incubator-resilientdb/api":PYTHON_PATH -``` -```angular2html -from kv_operation import set_value, get_value - -set_value("test", "111222") -get_value("test") -``` - - - - diff --git a/api/ip_address.config b/api/ip_address.config deleted file mode 100644 index e119673ea..000000000 --- a/api/ip_address.config +++ /dev/null @@ -1 +0,0 @@ -5 44.193.63.142 17005 \ No newline at end of file diff --git a/api/kv_operation.py b/api/kv_operation.py deleted file mode 100644 index f18c84601..000000000 --- a/api/kv_operation.py +++ /dev/null @@ -1,46 +0,0 @@ -# - # Licensed to the Apache Software Foundation (ASF) under one - # or more contributor license agreements. See the NOTICE file - # distributed with this work for additional information - # regarding copyright ownership. The ASF licenses this file - # to you under the Apache License, Version 2.0 (the - # "License"); you may not use this file except in compliance - # with the License. You may obtain a copy of the License at - # - # http://www.apache.org/licenses/LICENSE-2.0 - # - # Unless required by applicable law or agreed to in writing, - # software distributed under the License is distributed on an - # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - # KIND, either express or implied. See the License for the - # specific language governing permissions and limitations - # under the License. - # - -import os -import sys -current_file_path = os.path.abspath(__file__) -current_dir = os.path.dirname(current_file_path) -parent_dir = os.path.dirname(current_dir) -new_path_dir = os.path.join(parent_dir, "bazel-out", "k8-fastbuild", "bin", "api") -sys.path.insert(0, new_path_dir) -import pybind_kv - - -def set_value(key: str or int or float, value: str or int or float, config_path: str = current_dir + "/ip_address.config") -> bool: - """ - :param key: The key you want to set your value to. - :param value: The key's corresponding value in key value pair. - :param config_path: Default is connect to the main chain, users can specify the path to connect to their local blockchain. - :return: True if value has been set successfully. - """ - return pybind_kv.set(str(key), str(value), os.path.abspath(config_path)) - - -def get_value(key: str or int or float, config_path: str = current_dir + "/ip_address.config") -> str: - """ - :param key: The key of the value you want to get in key value pair. - :param config_path: Default is connect to the main chain, users can specify the path to connect to their local blockchain. - :return: A string of the key's corresponding value. - """ - return pybind_kv.get(str(key), os.path.abspath(config_path)) diff --git a/api/pybind_kv_service.cpp b/api/pybind_kv_service.cpp deleted file mode 100644 index 013683fbd..000000000 --- a/api/pybind_kv_service.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include -#include -#include -#include -#include -#include - -#include - -#include "common/proto/signature_info.pb.h" -#include "interface/kv/kv_client.h" -#include "platform/config/resdb_config_utils.h" - -using resdb::GenerateReplicaInfo; -using resdb::GenerateResDBConfig; -using resdb::KVClient; -using resdb::ReplicaInfo; -using resdb::ResDBConfig; - -std::string get(std::string key, std::string config_path) { - ResDBConfig config = GenerateResDBConfig(config_path); - config.SetClientTimeoutMs(100000); - KVClient client(config); - auto result_ptr = client.Get(key); - if (result_ptr) { - return *result_ptr; - } else { - return ""; - } -} - -bool set(std::string key, std::string value, std::string config_path) { - ResDBConfig config = GenerateResDBConfig(config_path); - config.SetClientTimeoutMs(100000); - KVClient client(config); - int result = client.Set(key, value); - if (result == 0) { - return true; - } else { - return false; - } -} - -PYBIND11_MODULE(pybind_kv, m) { - m.def("get", &get, "A function that gets a value from the key-value store"); - m.def("set", &set, "A function that sets a value in the key-value store"); -} diff --git a/application/poc/BUILD b/application/poc/BUILD new file mode 100644 index 000000000..d105e1b66 --- /dev/null +++ b/application/poc/BUILD @@ -0,0 +1,41 @@ +package(default_visibility = ["//visibility:public"]) + +cc_binary( + name = "pow_server", + srcs = ["pow_server.cpp"], + deps = [ + "//config:resdb_config_utils", + "//ordering/poc/pow:consensus_service_pow", + "//server:resdb_server", + "//statistic:stats" + ], +) + +cc_binary( + name = "pbft_server", + srcs = ["pbft_server.cpp"], + deps = [ + "//config:resdb_config_utils", + "//ordering/pbft:consensus_service_pbft", + "//server:resdb_server", + ], +) + +cc_library( + name = "pbft_client", + srcs = ["pbft_client.cpp"], + hdrs = ["pbft_client.h"], + deps = [ + "//client:resdb_user_client", + "//ordering/poc/proto:transaction_cc_proto", + ], +) + +cc_binary( + name = "pbft_client_main", + srcs = ["pbft_client_main.cpp"], + deps = [ + ":pbft_client", + "//config:resdb_config_utils", + ], +) diff --git a/application/poc/pbft.config b/application/poc/pbft.config new file mode 100644 index 000000000..d5755a7fe --- /dev/null +++ b/application/poc/pbft.config @@ -0,0 +1,4 @@ +1 127.0.0.1 10001 +2 127.0.0.1 10002 +3 127.0.0.1 10003 +4 127.0.0.1 10004 diff --git a/service/tools/contract/api_tools/client_config.config b/application/poc/pbft_client.config similarity index 100% rename from service/tools/contract/api_tools/client_config.config rename to application/poc/pbft_client.config diff --git a/application/poc/pbft_client.cpp b/application/poc/pbft_client.cpp new file mode 100644 index 000000000..8839fef95 --- /dev/null +++ b/application/poc/pbft_client.cpp @@ -0,0 +1,15 @@ +#include "application/poc/pbft_client.h" + +#include "ordering/poc/proto/transaction.pb.h" + +namespace resdb { + +PBFTClient::PBFTClient(const ResDBConfig& config) : ResDBUserClient(config) {} + +int PBFTClient::Set(const std::string& data) { + Transaction txn; + txn.set_data(data); + return SendRequest(txn); +} + +} // namespace resdb diff --git a/application/poc/pbft_client.h b/application/poc/pbft_client.h new file mode 100644 index 000000000..545eb507e --- /dev/null +++ b/application/poc/pbft_client.h @@ -0,0 +1,15 @@ +#pragma once + +#include "client/resdb_user_client.h" + +namespace resdb { + +// PBFTClient to send data to the pbft cluster. +class PBFTClient : public ResDBUserClient { + public: + PBFTClient(const ResDBConfig& config); + + int Set(const std::string& data); +}; + +} // namespace resdb diff --git a/application/poc/pbft_client_main.cpp b/application/poc/pbft_client_main.cpp new file mode 100644 index 000000000..fb5a1a513 --- /dev/null +++ b/application/poc/pbft_client_main.cpp @@ -0,0 +1,21 @@ +#include "application/poc/pbft_client.h" +#include "config/resdb_config_utils.h" + +using resdb::GenerateResDBConfig; +using resdb::PBFTClient; +using resdb::ResDBConfig; + +int main(int argc, char** argv) { + if (argc < 3) { + printf(" data\n"); + return 0; + } + std::string config_file = argv[1]; + std::string value = argv[2]; + + ResDBConfig config = GenerateResDBConfig(config_file); + + PBFTClient client(config); + int ret = client.Set(value); + printf("client set ret = %d\n", ret); +} diff --git a/application/poc/pbft_server.cpp b/application/poc/pbft_server.cpp new file mode 100644 index 000000000..e0d04683d --- /dev/null +++ b/application/poc/pbft_server.cpp @@ -0,0 +1,29 @@ +#include "config/resdb_config_utils.h" +#include "ordering/pbft/consensus_service_pbft.h" +#include "server/resdb_server.h" + +using resdb::ConsensusServicePBFT; +using resdb::GenerateResDBConfig; +using resdb::ResDBConfig; +using resdb::ResDBServer; + +void ShowUsage() { printf(" \n"); } + +int main(int argc, char** argv) { + if (argc < 3) { + ShowUsage(); + exit(0); + } + + char* config_file = argv[1]; + char* private_key_file = argv[2]; + char* cert_file = argv[3]; + + std::unique_ptr config = + GenerateResDBConfig(config_file, private_key_file, cert_file); + + ResDBServer server(*config, + std::make_unique(*config, nullptr)); + server.Run(); +} + diff --git a/application/poc/pow.config b/application/poc/pow.config new file mode 100644 index 000000000..884038adb --- /dev/null +++ b/application/poc/pow.config @@ -0,0 +1,4 @@ +1 127.0.0.1 30001 +2 127.0.0.1 30002 +3 127.0.0.1 30003 +4 127.0.0.1 30004 diff --git a/application/poc/pow_server.cpp b/application/poc/pow_server.cpp new file mode 100644 index 000000000..7260adf78 --- /dev/null +++ b/application/poc/pow_server.cpp @@ -0,0 +1,55 @@ +#include "config/resdb_config_utils.h" +#include "ordering/poc/pow/consensus_service_pow.h" +#include "server/resdb_server.h" +#include "statistic/stats.h" + +using resdb::CertificateInfo; +using resdb::ConsensusServicePoW; +using resdb::GenerateReplicaInfo; +using resdb::GenerateResDBConfig; +using resdb::KeyInfo; +using resdb::ReadConfig; +using resdb::Stats; +using resdb::ReplicaInfo; +using resdb::ResDBConfig; +using resdb::ResDBPoCConfig; +using resdb::ResDBServer; + +void ShowUsage() { printf(" \n"); } + +int main(int argc, char** argv) { + if (argc < 5) { + ShowUsage(); + exit(0); + } + + std::string bft_config_file = argv[1]; + std::string pow_config_file = argv[2]; + std::string private_key_file = argv[3]; + std::string cert_file = argv[4]; + LOG(ERROR) << "pow_config:" << pow_config_file; + + ResDBConfig bft_config = GenerateResDBConfig(bft_config_file); + + std::unique_ptr pow_config = GenerateResDBConfig( + pow_config_file, private_key_file, cert_file, std::nullopt, + [&](const std::vector& replicas, + const ReplicaInfo& self_info, const KeyInfo& private_key, + const CertificateInfo& public_key_cert_info) { + return std::make_unique( + bft_config, replicas, self_info, private_key, public_key_cert_info); + }); + + LOG(ERROR)<<"elf ip:"<GetSelfInfo().ip(); + Stats::InitGlobalPrometheus("0.0.0.0:8091"); + ResDBPoCConfig* pow_config_ptr = + static_cast(pow_config.get()); + + pow_config_ptr->SetMaxNonceBit(42); + pow_config_ptr->SetDifficulty(36); + + ResDBServer server(*pow_config_ptr, + std::make_unique(*pow_config_ptr)); + server.Run(); +} + diff --git a/application/poc/tools/feed_local.sh b/application/poc/tools/feed_local.sh new file mode 100644 index 000000000..ab8db5926 --- /dev/null +++ b/application/poc/tools/feed_local.sh @@ -0,0 +1 @@ +bazel-bin/application/poc/pbft_client_main application/poc/pbft_client.config test1234 diff --git a/application/poc/tools/pow_cert/cert_1.cert b/application/poc/tools/pow_cert/cert_1.cert new file mode 100644 index 000000000..e8317c3ac --- /dev/null +++ b/application/poc/tools/pow_cert/cert_1.cert @@ -0,0 +1,7 @@ + +$ + u>,Nb+Rm.dQ|;V;݅ } +7 +$ + A/{?"XU,lErI +#A" 127.0.0.1(B@!&ksld;hay6{v8eu"fFlIɡHJv(5VA|  \ No newline at end of file diff --git a/application/poc/tools/pow_cert/cert_2.cert b/application/poc/tools/pow_cert/cert_2.cert new file mode 100644 index 000000000..d19c96308 --- /dev/null +++ b/application/poc/tools/pow_cert/cert_2.cert @@ -0,0 +1,7 @@ + +$ + u>,Nb+Rm.dQ|;V;݅ } +7 +$ + 󗑉EjK' =zp@rE" 127.0.0.1(B@+hC3l t7gkk5G  p +D@YCR\  \ No newline at end of file diff --git a/application/poc/tools/pow_cert/cert_3.cert b/application/poc/tools/pow_cert/cert_3.cert new file mode 100644 index 000000000..9e1199287 --- /dev/null +++ b/application/poc/tools/pow_cert/cert_3.cert @@ -0,0 +1,7 @@ + +$ + u>,Nb+Rm.dQ|;V;݅ } +7 +$ + |a9 #Y,Nb+Rm.dQ|;V;݅ } +7 +$ + { aLx2٢t\\Y&ʳo4  \ No newline at end of file diff --git a/application/poc/tools/start_pbft_server.sh b/application/poc/tools/start_pbft_server.sh new file mode 100644 index 000000000..18ba6e29a --- /dev/null +++ b/application/poc/tools/start_pbft_server.sh @@ -0,0 +1,17 @@ +BIN=pbft_server +WORK_PATH=$PWD + +SERVER_SRC_PATH=application/poc +SERVER_BIN_PATH=$WORK_PATH/bazel-bin/${SERVER_SRC_PATH}/${BIN} +LOG_PATH=$WORK_PATH/log/pbft +SERVER_CONFIG=$SERVER_SRC_PATH/pbft.config +mkdir -p $LOG_PATH + +killall -9 $BIN +bazel build ${SERVER_SRC_PATH}:${BIN} + +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node1.key.pri $WORK_PATH/cert/cert_1.cert > $LOG_PATH/server0.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node2.key.pri $WORK_PATH/cert/cert_2.cert > $LOG_PATH/server1.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node3.key.pri $WORK_PATH/cert/cert_3.cert > $LOG_PATH/server2.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node4.key.pri $WORK_PATH/cert/cert_4.cert > $LOG_PATH/server3.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node5.key.pri $WORK_PATH/cert/cert_5.cert > $LOG_PATH/client.log & diff --git a/application/poc/tools/start_pow_server.sh b/application/poc/tools/start_pow_server.sh new file mode 100644 index 000000000..6ef6a1c7d --- /dev/null +++ b/application/poc/tools/start_pow_server.sh @@ -0,0 +1,20 @@ +BIN=pow_server +WORK_PATH=$PWD + +SERVER_SRC_PATH=application/poc +SERVER_BIN_PATH=$WORK_PATH/bazel-bin/${SERVER_SRC_PATH}/${BIN} +CERT_PATH=$WORK_PATH/$SERVER_SRC_PATH/tools/pow_cert +LOG_PATH=$WORK_PATH/log/poc/pow +BFT_CONFIG_PATH=$SERVER_SRC_PATH/pbft.config +POW_CONFIG_PATH=$SERVER_SRC_PATH/pow.config + +set -x +mkdir -p $LOG_PATH + +killall -9 $BIN + +bazel build ${SERVER_SRC_PATH}:${BIN} +nohup $SERVER_BIN_PATH $BFT_CONFIG_PATH $POW_CONFIG_PATH $WORK_PATH/cert/node1.key.pri $CERT_PATH/cert_1.cert > $LOG_PATH/server0.log & +nohup $SERVER_BIN_PATH $BFT_CONFIG_PATH $POW_CONFIG_PATH $WORK_PATH/cert/node2.key.pri $CERT_PATH/cert_2.cert > $LOG_PATH/server1.log & +nohup $SERVER_BIN_PATH $BFT_CONFIG_PATH $POW_CONFIG_PATH $WORK_PATH/cert/node3.key.pri $CERT_PATH/cert_3.cert > $LOG_PATH/server2.log & +nohup $SERVER_BIN_PATH $BFT_CONFIG_PATH $POW_CONFIG_PATH $WORK_PATH/cert/node4.key.pri $CERT_PATH/cert_4.cert > $LOG_PATH/server3.log & diff --git a/application/utils/BUILD b/application/utils/BUILD new file mode 100644 index 000000000..9544cca80 --- /dev/null +++ b/application/utils/BUILD @@ -0,0 +1,12 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "server_factory", + srcs = ["server_factory.cpp"], + hdrs = ["server_factory.h"], + deps = [ + "//config:resdb_config_utils", + "//ordering/pbft:consensus_service_pbft", + "//server:resdb_server", + ], +) diff --git a/application/utils/server_factory.cpp b/application/utils/server_factory.cpp new file mode 100644 index 000000000..80f395a5c --- /dev/null +++ b/application/utils/server_factory.cpp @@ -0,0 +1,32 @@ +#include "application/utils/server_factory.h" + +#include "config/resdb_config_utils.h" +#include "ordering/pbft/consensus_service_pbft.h" + +namespace resdb { + +std::unique_ptr ServerFactory::CreateResDBServer( + char* config_file, char* private_key_file, char* cert_file, + std::unique_ptr executor, char* logging_dir, + std::function config_handler) { + std::unique_ptr config = + GenerateResDBConfig(config_file, private_key_file, cert_file); + + if (config_handler) { + config_handler(config.get()); + } + return std::make_unique( + *config, + std::make_unique(*config, std::move(executor))); +} + +std::unique_ptr GenerateResDBServer( + char* config_file, char* private_key_file, char* cert_file, + std::unique_ptr executor, char* logging_dir, + std::function config_handler) { + return ServerFactory().CreateResDBServer(config_file, private_key_file, + cert_file, std::move(executor), + logging_dir, config_handler); +} + +} // namespace resdb diff --git a/application/utils/server_factory.h b/application/utils/server_factory.h new file mode 100644 index 000000000..c75c848c3 --- /dev/null +++ b/application/utils/server_factory.h @@ -0,0 +1,21 @@ +#pragma once + +#include "execution/transaction_executor_impl.h" +#include "server/resdb_server.h" + +namespace resdb { + +class ServerFactory { + public: + std::unique_ptr CreateResDBServer( + char* config_file, char* private_key_file, char* cert_file, + std::unique_ptr executor, char* logging_dir, + std::function config_handler); +}; + +std::unique_ptr GenerateResDBServer( + char* config_file, char* private_key_file, char* cert_file, + std::unique_ptr executor, + char* logging_dir = nullptr, + std::function config_handler = nullptr); +} // namespace resdb diff --git a/benchmark/pbft/BUILD b/benchmark/pbft/BUILD new file mode 100644 index 000000000..f84b7e2e5 --- /dev/null +++ b/benchmark/pbft/BUILD @@ -0,0 +1,45 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "benchmark_server_impl", + srcs = ["benchmark_server_impl.cpp"], + hdrs = ["benchmark_server_impl.h"], + deps = [ + "//benchmark/pbft/proto:benchmark_cc_proto", + "//common:comm", + "//execution:transaction_executor_impl", + ], +) + +cc_binary( + name = "benchmark_server", + srcs = ["benchmark_server.cpp"], + deps = [ + ":benchmark_server_impl", + "//application/utils:server_factory", + "//config:resdb_config_utils", + "//ordering/pbft:consensus_service_pbft", + "//server:resdb_server", + ], +) + +cc_library( + name = "benchmark_client", + srcs = ["benchmark_client.cpp"], + hdrs = ["benchmark_client.h"], + deps = [ + "//benchmark/pbft/proto:benchmark_cc_proto", + "//client:resdb_user_client", + "//config:resdb_config_utils", + ], +) + +cc_binary( + name = "benchmark_client_main", + srcs = ["benchmark_client_main.cpp"], + deps = [ + ":benchmark_client", + "//common/utils", + "//config:resdb_config_utils", + ], +) diff --git a/benchmark/pbft/benchmark_client.cpp b/benchmark/pbft/benchmark_client.cpp new file mode 100644 index 000000000..582b28ecb --- /dev/null +++ b/benchmark/pbft/benchmark_client.cpp @@ -0,0 +1,20 @@ +#include "benchmark/pbft/benchmark_client.h" + +#include + +#include "benchmark/pbft/proto/benchmark.pb.h" + +namespace resdb { + +BenchmarkClient::BenchmarkClient(const ResDBConfig& config) + : ResDBUserClient(config) {} + +int BenchmarkClient::Set(const std::string& data) { + BenchmarkMessage request; + request.set_data(data); + return SendRequest(request); + // BenchmarkResponse response; + // return SendRequest(request, &response); +} + +} // namespace resdb diff --git a/benchmark/pbft/benchmark_client.h b/benchmark/pbft/benchmark_client.h new file mode 100644 index 000000000..e4e84d1ba --- /dev/null +++ b/benchmark/pbft/benchmark_client.h @@ -0,0 +1,15 @@ +#pragma once + +#include "client/resdb_user_client.h" + +namespace resdb { + +// BenchmarkClient to send data to the pbft cluster. +class BenchmarkClient : public ResDBUserClient { + public: + BenchmarkClient(const ResDBConfig& config); + + int Set(const std::string& data); +}; + +} // namespace resdb diff --git a/benchmark/pbft/benchmark_client_main.cpp b/benchmark/pbft/benchmark_client_main.cpp new file mode 100644 index 000000000..27419f1cc --- /dev/null +++ b/benchmark/pbft/benchmark_client_main.cpp @@ -0,0 +1,29 @@ +#include + +#include "benchmark/pbft/benchmark_client.h" +#include "common/utils/utils.h" +#include "config/resdb_config_utils.h" + +using resdb::BenchmarkClient; +using resdb::GenerateResDBConfig; +using resdb::get_sys_clock; +using resdb::ReplicaInfo; +using resdb::ResDBConfig; + +int main(int argc, char** argv) { + if (argc < 5) { + printf(" \n"); + return 0; + } + std::string config_file = argv[1]; + int value_size = std::stoi(argv[2]); + + ResDBConfig config = GenerateResDBConfig(config_file); + + config.SetClientTimeoutMs(10000000); + BenchmarkClient client(config); + int ret = client.Set(std::string(value_size, 't')); + if (ret != 0) { + printf("client set fail ret = %d\n", ret); + } +} diff --git a/benchmark/pbft/benchmark_server.config b/benchmark/pbft/benchmark_server.config new file mode 100644 index 000000000..d5755a7fe --- /dev/null +++ b/benchmark/pbft/benchmark_server.config @@ -0,0 +1,4 @@ +1 127.0.0.1 10001 +2 127.0.0.1 10002 +3 127.0.0.1 10003 +4 127.0.0.1 10004 diff --git a/benchmark/pbft/benchmark_server.cpp b/benchmark/pbft/benchmark_server.cpp new file mode 100644 index 000000000..7cf9f033d --- /dev/null +++ b/benchmark/pbft/benchmark_server.cpp @@ -0,0 +1,30 @@ +#include "application/utils/server_factory.h" +#include "benchmark/pbft/benchmark_server_impl.h" +#include "statistic/stats.h" + +using resdb::BenchmarkServerImpl; +using resdb::GenerateResDBServer; +using resdb::ResDBConfig; +using resdb::Stats; + +void ShowUsage() { printf(" \n"); } + +int main(int argc, char** argv) { + if (argc < 3) { + ShowUsage(); + exit(0); + } + + char* config_file = argv[1]; + char* private_key_file = argv[2]; + char* cert_file = argv[3]; + + Stats::GetGlobalStats(/*int sleep_seconds = */ 5); + + auto server = GenerateResDBServer( + config_file, private_key_file, cert_file, + std::make_unique(), nullptr, + [&](ResDBConfig* config) { config->RunningPerformance(true); }); + + server->Run(); +} diff --git a/benchmark/pbft/benchmark_server_impl.cpp b/benchmark/pbft/benchmark_server_impl.cpp new file mode 100644 index 000000000..be70078b2 --- /dev/null +++ b/benchmark/pbft/benchmark_server_impl.cpp @@ -0,0 +1,19 @@ +#include "benchmark/pbft/benchmark_server_impl.h" + +#include + +#include "benchmark/pbft/proto/benchmark.pb.h" + +namespace resdb { + +BenchmarkServerImpl::BenchmarkServerImpl() {} +std::unique_ptr BenchmarkServerImpl::ExecuteData( + const std::string& request) { + BenchmarkResponse response; + response.set_data(std::string('b', 17)); + std::unique_ptr resp = std::make_unique(); + response.SerializeToString(resp.get()); + return resp; +} + +} // namespace resdb diff --git a/benchmark/pbft/benchmark_server_impl.h b/benchmark/pbft/benchmark_server_impl.h new file mode 100644 index 000000000..095ce6370 --- /dev/null +++ b/benchmark/pbft/benchmark_server_impl.h @@ -0,0 +1,23 @@ +#pragma once + +#include +#include +#include + +#include "execution/transaction_executor_impl.h" + +namespace resdb { + +class BenchmarkServerImpl : public TransactionExecutorImpl { + public: + BenchmarkServerImpl(); + virtual ~BenchmarkServerImpl() = default; + + std::unique_ptr ExecuteData(const std::string& request) override; + + private: + std::thread thread_; + std::promise begin_; +}; + +} // namespace resdb diff --git a/benchmark/pbft/kv_server_impl_test.cpp b/benchmark/pbft/kv_server_impl_test.cpp new file mode 100644 index 000000000..2f91caf14 --- /dev/null +++ b/benchmark/pbft/kv_server_impl_test.cpp @@ -0,0 +1,62 @@ +#include "kv_server/kv_server_impl.h" + +#include +#include + +#include "proto/kv_server.pb.h" + +namespace resdb { +namespace { + +using ::testing::Test; + +class KVServerImplTest : public Test { + public: + int Set(const std::string& key, const std::string& value) { + KVRequest request; + request.set_cmd(KVRequest::SET); + request.set_key(key); + request.set_value(value); + + std::string str; + if (!request.SerializeToString(&str)) { + return -1; + } + impl_.ExecuteData(str); + return 0; + } + + std::string Get(const std::string& key) { + KVRequest request; + request.set_cmd(KVRequest::GET); + request.set_key(key); + + std::string str; + if (!request.SerializeToString(&str)) { + return ""; + } + auto resp = impl_.ExecuteData(str); + if (resp == nullptr) { + return ""; + } + KVResponse kv_response; + if (!kv_response.ParseFromString(*resp)) { + return ""; + } + return kv_response.value(); + } + + private: + KVServerImpl impl_; +}; + +TEST_F(KVServerImplTest, SetValue) { + EXPECT_EQ(Set("test_key", "test_value"), 0); + EXPECT_EQ(Get("test_key"), "test_value"); +} + +TEST_F(KVServerImplTest, GetValue) { EXPECT_EQ(Get("test_key"), ""); } + +} // namespace + +} // namespace resdb diff --git a/benchmark/pbft/local_benchark.sh b/benchmark/pbft/local_benchark.sh new file mode 100644 index 000000000..af1e43719 --- /dev/null +++ b/benchmark/pbft/local_benchark.sh @@ -0,0 +1,14 @@ +BIN=benchmark_client_main +ROOT_PATH=$PWD/ +PBFT_BM_SRC=//benchmark/pbft +PBFT_BM_BIN=${ROOT_PATH}/bazel-bin/benchmark/pbft/${BIN} + +value_size=10 +req_num=10 +thd_num=2 +client_ip=127.0.0.1 + +bazel build $PBFT_BM_SRC:${BIN} + +$PBFT_BM_BIN ${ROOT_PATH}/benchmark/poc/pbft/benchmark_server.config ${ROOT_PATH}/cert/node5.key.pri ${ROOT_PATH}/cert/cert_5.cert ${value_size} ${req_num} ${thd_num} ${client_ip} + diff --git a/benchmark/pbft/proto/BUILD b/benchmark/pbft/proto/BUILD new file mode 100644 index 000000000..b69c7f954 --- /dev/null +++ b/benchmark/pbft/proto/BUILD @@ -0,0 +1,14 @@ +package(default_visibility = ["//benchmark/pbft:__subpackages__"]) + +load("@rules_cc//cc:defs.bzl", "cc_proto_library") +load("@rules_proto//proto:defs.bzl", "proto_library") + +proto_library( + name = "benchmark_proto", + srcs = ["benchmark.proto"], +) + +cc_proto_library( + name = "benchmark_cc_proto", + deps = [":benchmark_proto"], +) diff --git a/benchmark/pbft/proto/benchmark.proto b/benchmark/pbft/proto/benchmark.proto new file mode 100644 index 000000000..9559bcfdc --- /dev/null +++ b/benchmark/pbft/proto/benchmark.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package resdb; + +message BenchmarkMessage { + string data = 1; +} + +message BenchmarkResponse { + string data = 1; +} diff --git a/benchmark/pbft/start_benchmark_server.sh b/benchmark/pbft/start_benchmark_server.sh new file mode 100644 index 000000000..00d45aff5 --- /dev/null +++ b/benchmark/pbft/start_benchmark_server.sh @@ -0,0 +1,16 @@ +WORK_PATH=$PWD + +BIN=benchmark_server +SERVER_SRC_PATH=benchmark/pbft +SERVER_BIN_PATH=$WORK_PATH/bazel-bin/${SERVER_SRC_PATH}/${BIN} +LOG_PATH=$WORK_PATH/log/pbft +SERVER_CONFIG=${WORK_PATH}/$SERVER_SRC_PATH/benchmark_server.config +mkdir -p $LOG_PATH + +killall -9 $BIN +bazel build //${SERVER_SRC_PATH}:${BIN} + +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node1.key.pri $WORK_PATH/cert/cert_1.cert > $LOG_PATH/server0.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node2.key.pri $WORK_PATH/cert/cert_2.cert > $LOG_PATH/server1.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node3.key.pri $WORK_PATH/cert/cert_3.cert > $LOG_PATH/server2.log & +nohup $SERVER_BIN_PATH $SERVER_CONFIG $WORK_PATH/cert/node4.key.pri $WORK_PATH/cert/cert_4.cert > $LOG_PATH/server3.log & diff --git a/benchmark/poc/pow/BUILD b/benchmark/poc/pow/BUILD new file mode 100644 index 000000000..4b65afce3 --- /dev/null +++ b/benchmark/poc/pow/BUILD @@ -0,0 +1,10 @@ +package(default_visibility = ["//visibility:public"]) + +cc_binary( + name = "benchmark_client", + srcs = ["benchmark_client.cpp"], + deps = [ + "//application/poc:pbft_client", + "//config:resdb_config_utils", + ], +) diff --git a/benchmark/poc/pow/benchmark_client.cpp b/benchmark/poc/pow/benchmark_client.cpp new file mode 100644 index 000000000..9afc3e9e6 --- /dev/null +++ b/benchmark/poc/pow/benchmark_client.cpp @@ -0,0 +1,49 @@ +#include "application/poc/pbft_client.h" +#include "config/resdb_config_utils.h" + +using resdb::GenerateReplicaInfo; +using resdb::PBFTClient; +using resdb::ReplicaInfo; +using resdb::ResDBConfig; + +int main(int argc, char** argv) { + if (argc < 5) { + printf( + " \n"); + return 0; + } + std::string config_file = argv[1]; + std::string private_key_file = argv[2]; + std::string cert_file = argv[3]; + int value_size = std::stoi(argv[4]); + int req_num = std::stoi(argv[5]); + std::string client_ip = argv[6]; + + ReplicaInfo self_info = GenerateReplicaInfo(0, client_ip, 88888); + + std::unique_ptr config = + GenerateResDBConfig(config_file, private_key_file, cert_file, self_info); + + srand(time(0)); + PBFTClient client(*config); + for (int j = 0; j < req_num; ++j) { + std::string value; + for (int i = 0; i < value_size; ++i) { + int idx = rand() % 52; + if (idx >= 26) { + value += 'A' + (idx - 26); + } else { + value += 'a' + (idx - 26); + } + } + int ret = client.Set(value); + if (ret != 0) { + printf("client set fail ret = %d\n", ret); + } + usleep(100); + // printf("send ret = %d len = %d\n",ret,value.size()); + } + sleep(5); + std::cout << " num??:" << req_num << " done"; +} diff --git a/benchmark/protocols/pbft/BUILD b/benchmark/protocols/pbft/BUILD deleted file mode 100644 index f99e82062..000000000 --- a/benchmark/protocols/pbft/BUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:private"]) - -load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") - -cc_binary( - name = "kv_server_performance", - srcs = ["kv_server_performance.cpp"], - deps = [ - "//chain/storage:memory_db", - "//executor/kv:kv_executor", - "//platform/config:resdb_config_utils", - "//platform/consensus/ordering/pbft:consensus_manager_pbft", - "//service/utils:server_factory", - ], -) - -cc_binary( - name = "kv_service_tools", - srcs = ["kv_service_tools.cpp"], - deps = [ - "//common/proto:signature_info_cc_proto", - "//interface/kv:kv_client", - "//platform/config:resdb_config_utils", - ], -) diff --git a/benchmark/protocols/pbft/kv_server_performance.cpp b/benchmark/protocols/pbft/kv_server_performance.cpp deleted file mode 100644 index 7a81f27c7..000000000 --- a/benchmark/protocols/pbft/kv_server_performance.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include - -#include "chain/storage/memory_db.h" -#include "executor/kv/kv_executor.h" -#include "platform/config/resdb_config_utils.h" -#include "platform/consensus/ordering/pbft/consensus_manager_pbft.h" -#include "platform/networkstrate/service_network.h" -#include "platform/statistic/stats.h" -#include "proto/kv/kv.pb.h" - -using namespace resdb; -using namespace resdb::storage; - -void ShowUsage() { - printf(" [logging_dir]\n"); -} - -std::string GetRandomKey() { - int num1 = rand() % 10; - int num2 = rand() % 10; - return std::to_string(num1) + std::to_string(num2); -} - -int main(int argc, char** argv) { - if (argc < 3) { - ShowUsage(); - exit(0); - } - - // google::InitGoogleLogging(argv[0]); - // FLAGS_minloglevel = google::GLOG_WARNING; - - char* config_file = argv[1]; - char* private_key_file = argv[2]; - char* cert_file = argv[3]; - - if (argc >= 5) { - auto monitor_port = Stats::GetGlobalStats(5); - monitor_port->SetPrometheus(argv[4]); - } - - std::unique_ptr config = - GenerateResDBConfig(config_file, private_key_file, cert_file); - - config->RunningPerformance(true); - - auto performance_consens = std::make_unique( - *config, std::make_unique(std::make_unique())); - performance_consens->SetupPerformanceDataFunc([]() { - KVRequest request; - request.set_cmd(KVRequest::SET); - request.set_key(GetRandomKey()); - request.set_value("helloworld"); - std::string request_data; - request.SerializeToString(&request_data); - return request_data; - }); - - auto server = - std::make_unique(*config, std::move(performance_consens)); - server->Run(); -} diff --git a/benchmark/protocols/pbft/kv_service_tools.cpp b/benchmark/protocols/pbft/kv_service_tools.cpp deleted file mode 100644 index 43627b34f..000000000 --- a/benchmark/protocols/pbft/kv_service_tools.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include -#include -#include -#include - -#include - -#include "common/proto/signature_info.pb.h" -#include "interface/kv/kv_client.h" -#include "platform/config/resdb_config_utils.h" - -using resdb::GenerateReplicaInfo; -using resdb::GenerateResDBConfig; -using resdb::KVClient; -using resdb::ReplicaInfo; -using resdb::ResDBConfig; - -int main(int argc, char** argv) { - if (argc < 2) { - printf("\n"); - return 0; - } - std::string client_config_file = argv[1]; - ResDBConfig config = GenerateResDBConfig(client_config_file); - - config.SetClientTimeoutMs(100000); - - KVClient client(config); - - client.Set("start", "value"); - printf("start benchmark\n"); -} diff --git a/benchmark/protocols/poe/BUILD b/benchmark/protocols/poe/BUILD deleted file mode 100644 index 7f1cc05ec..000000000 --- a/benchmark/protocols/poe/BUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:private"]) - -load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") - -cc_binary( - name = "kv_server_performance", - srcs = ["kv_server_performance.cpp"], - deps = [ - "//chain/storage:memory_db", - "//executor/kv:kv_executor", - "//platform/config:resdb_config_utils", - "//platform/consensus/ordering/poe/framework:consensus", - "//service/utils:server_factory", - ], -) diff --git a/benchmark/protocols/poe/kv_server_performance.cpp b/benchmark/protocols/poe/kv_server_performance.cpp deleted file mode 100644 index 90a220a1f..000000000 --- a/benchmark/protocols/poe/kv_server_performance.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include - -#include "chain/storage/memory_db.h" -#include "executor/kv/kv_executor.h" -#include "platform/config/resdb_config_utils.h" -#include "platform/consensus/ordering/poe/framework/consensus.h" -#include "platform/networkstrate/service_network.h" -#include "platform/statistic/stats.h" -#include "proto/kv/kv.pb.h" - -using namespace resdb; -using namespace resdb::poe; -using namespace resdb::storage; - -void ShowUsage() { - printf(" [logging_dir]\n"); -} - -std::string GetRandomKey() { - int num1 = rand() % 10; - int num2 = rand() % 10; - return std::to_string(num1) + std::to_string(num2); -} - -int main(int argc, char** argv) { - if (argc < 3) { - ShowUsage(); - exit(0); - } - - // google::InitGoogleLogging(argv[0]); - // FLAGS_minloglevel = google::GLOG_WARNING; - - char* config_file = argv[1]; - char* private_key_file = argv[2]; - char* cert_file = argv[3]; - - if (argc >= 5) { - auto monitor_port = Stats::GetGlobalStats(5); - monitor_port->SetPrometheus(argv[4]); - } - - std::unique_ptr config = - GenerateResDBConfig(config_file, private_key_file, cert_file); - - config->RunningPerformance(true); - ResConfigData config_data = config->GetConfigData(); - - auto performance_consens = std::make_unique( - *config, std::make_unique(std::make_unique())); - performance_consens->SetupPerformanceDataFunc([]() { - KVRequest request; - request.set_cmd(KVRequest::SET); - request.set_key(GetRandomKey()); - request.set_value("helloword"); - std::string request_data; - request.SerializeToString(&request_data); - return request_data; - }); - - auto server = - std::make_unique(*config, std::move(performance_consens)); - server->Run(); -} diff --git a/platform/test/test_data/admin.key.pri b/cert/admin.key.pri similarity index 100% rename from platform/test/test_data/admin.key.pri rename to cert/admin.key.pri diff --git a/platform/test/test_data/admin.key.pub b/cert/admin.key.pub similarity index 100% rename from platform/test/test_data/admin.key.pub rename to cert/admin.key.pub diff --git a/scripts/deploy/data/cert/cert_1.cert b/cert/cert_1.cert similarity index 100% rename from scripts/deploy/data/cert/cert_1.cert rename to cert/cert_1.cert diff --git a/scripts/deploy/data/cert/cert_2.cert b/cert/cert_2.cert similarity index 100% rename from scripts/deploy/data/cert/cert_2.cert rename to cert/cert_2.cert diff --git a/scripts/deploy/data/cert/cert_3.cert b/cert/cert_3.cert similarity index 100% rename from scripts/deploy/data/cert/cert_3.cert rename to cert/cert_3.cert diff --git a/scripts/deploy/data/cert/cert_4.cert b/cert/cert_4.cert similarity index 100% rename from scripts/deploy/data/cert/cert_4.cert rename to cert/cert_4.cert diff --git a/scripts/deploy/data/cert/cert_5.cert b/cert/cert_5.cert similarity index 100% rename from scripts/deploy/data/cert/cert_5.cert rename to cert/cert_5.cert diff --git a/platform/test/test_data/cert_6.cert b/cert/cert_6.cert similarity index 100% rename from platform/test/test_data/cert_6.cert rename to cert/cert_6.cert diff --git a/platform/test/test_data/node1.key.pri b/cert/node1.key.pri similarity index 100% rename from platform/test/test_data/node1.key.pri rename to cert/node1.key.pri diff --git a/platform/test/test_data/node1.key.pub b/cert/node1.key.pub similarity index 100% rename from platform/test/test_data/node1.key.pub rename to cert/node1.key.pub diff --git a/platform/test/test_data/node2.key.pri b/cert/node2.key.pri similarity index 100% rename from platform/test/test_data/node2.key.pri rename to cert/node2.key.pri diff --git a/platform/test/test_data/node2.key.pub b/cert/node2.key.pub similarity index 100% rename from platform/test/test_data/node2.key.pub rename to cert/node2.key.pub diff --git a/platform/test/test_data/node3.key.pri b/cert/node3.key.pri similarity index 100% rename from platform/test/test_data/node3.key.pri rename to cert/node3.key.pri diff --git a/platform/test/test_data/node3.key.pub b/cert/node3.key.pub similarity index 100% rename from platform/test/test_data/node3.key.pub rename to cert/node3.key.pub diff --git a/platform/test/test_data/node4.key.pri b/cert/node4.key.pri similarity index 100% rename from platform/test/test_data/node4.key.pri rename to cert/node4.key.pri diff --git a/platform/test/test_data/node4.key.pub b/cert/node4.key.pub similarity index 100% rename from platform/test/test_data/node4.key.pub rename to cert/node4.key.pub diff --git a/platform/test/test_data/node5.key.pri b/cert/node5.key.pri similarity index 100% rename from platform/test/test_data/node5.key.pri rename to cert/node5.key.pri diff --git a/platform/test/test_data/node5.key.pub b/cert/node5.key.pub similarity index 100% rename from platform/test/test_data/node5.key.pub rename to cert/node5.key.pub diff --git a/chain/state/BUILD b/chain/state/BUILD deleted file mode 100644 index f4bcde57f..000000000 --- a/chain/state/BUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -cc_library( - name = "chain_state", - srcs = ["chain_state.cpp"], - hdrs = ["chain_state.h"], - deps = [ - "//common:comm", - "//platform/proto:resdb_cc_proto", - ], -) - -cc_test( - name = "chain_state_test", - srcs = ["chain_state_test.cpp"], - deps = [ - ":chain_state", - "//common/test:test_main", - ], -) diff --git a/chain/state/chain_state.cpp b/chain/state/chain_state.cpp deleted file mode 100644 index 18eaed71b..000000000 --- a/chain/state/chain_state.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "chain/state/chain_state.h" - -#include - -namespace resdb { - -ChainState::ChainState() : max_seq_(0) {} - -Request* ChainState::Get(uint64_t seq) { - std::unique_lock lk(mutex_); - if (data_.find(seq) == data_.end()) { - return nullptr; - } - return data_[seq].get(); -} - -void ChainState::Put(std::unique_ptr request) { - std::unique_lock lk(mutex_); - max_seq_ = request->seq(); - data_[max_seq_] = std::move(request); -} - -uint64_t ChainState::GetMaxSeq() { return max_seq_; } - -} // namespace resdb diff --git a/chain/state/chain_state.h b/chain/state/chain_state.h deleted file mode 100644 index 697b1afcb..000000000 --- a/chain/state/chain_state.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include -#include - -#include "platform/proto/resdb.pb.h" - -namespace resdb { - -class ChainState { - public: - ChainState(); - Request* Get(uint64_t seq); - void Put(std::unique_ptr request); - uint64_t GetMaxSeq(); - - private: - std::mutex mutex_; - std::unordered_map > data_; - std::atomic max_seq_; -}; - -} // namespace resdb diff --git a/chain/state/chain_state_test.cpp b/chain/state/chain_state_test.cpp deleted file mode 100644 index 7fd3fbe19..000000000 --- a/chain/state/chain_state_test.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "chain/state/chain_state.h" - -#include -#include - -#include "common/test/test_macros.h" - -namespace resdb { -namespace { - -using ::resdb::testing::EqualsProto; -using ::testing::Pointee; - -TEST(ChainStateTest, GetEmptyValue) { - ChainState db; - EXPECT_EQ(db.Get(1), nullptr); -} - -TEST(ChainStateTest, GetValue) { - Request request; - request.set_seq(1); - request.set_data("test"); - - ChainState db; - db.Put(std::make_unique(request)); - EXPECT_THAT(db.Get(1), Pointee(EqualsProto(request))); -} - -TEST(ChainStateTest, GetSecondValue) { - Request request; - request.set_seq(1); - request.set_data("test"); - - ChainState db; - db.Put(std::make_unique(request)); - - request.set_seq(1); - request.set_data("test_1"); - db.Put(std::make_unique(request)); - - EXPECT_THAT(db.Get(1), Pointee(EqualsProto(request))); -} - -} // namespace - -} // namespace resdb diff --git a/chain/storage/BUILD b/chain/storage/BUILD deleted file mode 100644 index 19108fa99..000000000 --- a/chain/storage/BUILD +++ /dev/null @@ -1,67 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -cc_library( - name = "storage", - hdrs = ["storage.h"], - deps = [ - ], -) - -cc_library( - name = "mock_storage", - hdrs = ["mock_storage.h"], - deps = [ - ":storage", - ], -) - -cc_library( - name = "memory_db", - srcs = ["memory_db.cpp"], - hdrs = ["memory_db.h"], - deps = [ - ":storage", - "//common:comm", - ], -) - -cc_library( - name = "leveldb", - srcs = ["leveldb.cpp"], - hdrs = ["leveldb.h"], - deps = [ - ":storage", - "//chain/storage/proto:kv_cc_proto", - "//chain/storage/proto:leveldb_config_cc_proto", - "//common:comm", - "//third_party:leveldb", - ], -) - -cc_test( - name = "kv_storage_test", - srcs = ["kv_storage_test.cpp"], - deps = [ - ":leveldb", - ":memory_db", - "//common/test:test_main", - ], -) diff --git a/chain/storage/kv_storage_test.cpp b/chain/storage/kv_storage_test.cpp deleted file mode 100644 index fd8c4bfdb..000000000 --- a/chain/storage/kv_storage_test.cpp +++ /dev/null @@ -1,226 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include -#include -#include - -#include - -#include "chain/storage/leveldb.h" -#include "chain/storage/memory_db.h" - -namespace resdb { -namespace storage { -namespace { - -enum StorageType { - MEM = 0, - LEVELDB = 1, -}; - -class KVStorageTest : public ::testing::TestWithParam { - protected: - KVStorageTest() { - StorageType t = GetParam(); - switch (t) { - case MEM: - storage = NewMemoryDB(); - break; - case LEVELDB: - Reset(); - storage = NewResLevelDB(path_); - break; - } - } - - private: - void Reset() { std::filesystem::remove_all(path_.c_str()); } - - protected: - std::unique_ptr storage; - std::string path_ = "/tmp/leveldb_test"; -}; - -TEST_P(KVStorageTest, SetValue) { - EXPECT_EQ(storage->SetValue("test_key", "test_value"), 0); - EXPECT_EQ(storage->GetValue("test_key"), "test_value"); -} - -TEST_P(KVStorageTest, GetValue) { - EXPECT_EQ(storage->GetValue("test_key"), ""); -} - -TEST_P(KVStorageTest, GetEmptyValueWithVersion) { - EXPECT_EQ(storage->GetValueWithVersion("test_key", 0), - std::make_pair(std::string(""), 0)); -} - -TEST_P(KVStorageTest, SetValueWithVersion) { - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value", 1), -2); - - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value", 0), 0); - - EXPECT_EQ(storage->GetValueWithVersion("test_key", 0), - std::make_pair(std::string("test_value"), 1)); - EXPECT_EQ(storage->GetValueWithVersion("test_key", 1), - std::make_pair(std::string("test_value"), 1)); - - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value_v2", 2), -2); - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value_v2", 1), 0); - - EXPECT_EQ(storage->GetValueWithVersion("test_key", 0), - std::make_pair(std::string("test_value_v2"), 2)); - - EXPECT_EQ(storage->GetValueWithVersion("test_key", 1), - std::make_pair(std::string("test_value"), 1)); - - EXPECT_EQ(storage->GetValueWithVersion("test_key", 2), - std::make_pair(std::string("test_value_v2"), 2)); - - EXPECT_EQ(storage->GetValueWithVersion("test_key", 3), - std::make_pair(std::string("test_value_v2"), 2)); -} - -TEST_P(KVStorageTest, GetAllValueWithVersion) { - { - std::map > expected_list{ - std::make_pair("test_key", std::make_pair("test_value", 1))}; - - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value", 0), 0); - EXPECT_EQ(storage->GetAllItems(), expected_list); - } - - { - std::map > expected_list{ - std::make_pair("test_key", std::make_pair("test_value_v2", 2))}; - EXPECT_EQ(storage->SetValueWithVersion("test_key", "test_value_v2", 1), 0); - EXPECT_EQ(storage->GetAllItems(), expected_list); - } - - { - std::map > expected_list{ - std::make_pair("test_key_v1", std::make_pair("test_value1", 1)), - std::make_pair("test_key", std::make_pair("test_value_v2", 2))}; - EXPECT_EQ(storage->SetValueWithVersion("test_key_v1", "test_value1", 0), 0); - EXPECT_EQ(storage->GetAllItems(), expected_list); - } -} - -TEST_P(KVStorageTest, GetKeyRange) { - EXPECT_EQ(storage->SetValueWithVersion("1", "value1", 0), 0); - EXPECT_EQ(storage->SetValueWithVersion("2", "value2", 0), 0); - EXPECT_EQ(storage->SetValueWithVersion("3", "value3", 0), 0); - EXPECT_EQ(storage->SetValueWithVersion("4", "value4", 0), 0); - - { - std::map > expected_list{ - std::make_pair("1", std::make_pair("value1", 1)), - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3", 1)), - std::make_pair("4", std::make_pair("value4", 1))}; - EXPECT_EQ(storage->GetKeyRange("1", "4"), expected_list); - } - - EXPECT_EQ(storage->SetValueWithVersion("3", "value3_1", 1), 0); - { - std::map > expected_list{ - std::make_pair("1", std::make_pair("value1", 1)), - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3_1", 2)), - std::make_pair("4", std::make_pair("value4", 1))}; - EXPECT_EQ(storage->GetKeyRange("1", "4"), expected_list); - } - { - std::map > expected_list{ - std::make_pair("1", std::make_pair("value1", 1)), - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3_1", 2)), - }; - EXPECT_EQ(storage->GetKeyRange("1", "3"), expected_list); - } - { - std::map > expected_list{ - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3_1", 2)), - std::make_pair("4", std::make_pair("value4", 1))}; - EXPECT_EQ(storage->GetKeyRange("2", "4"), expected_list); - } - { - std::map > expected_list{ - std::make_pair("1", std::make_pair("value1", 1)), - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3_1", 2)), - std::make_pair("4", std::make_pair("value4", 1))}; - EXPECT_EQ(storage->GetKeyRange("0", "5"), expected_list); - } - { - std::map > expected_list{ - std::make_pair("2", std::make_pair("value2", 1)), - std::make_pair("3", std::make_pair("value3_1", 2)), - }; - EXPECT_EQ(storage->GetKeyRange("2", "3"), expected_list); - } -} - -TEST_P(KVStorageTest, GetHistory) { - { - std::vector > expected_list{}; - EXPECT_EQ(storage->GetHistory("1", 1, 5), expected_list); - } - { - std::vector > expected_list{ - std::make_pair("value3", 3), std::make_pair("value2", 2), - std::make_pair("value1", 1)}; - - EXPECT_EQ(storage->SetValueWithVersion("1", "value1", 0), 0); - EXPECT_EQ(storage->SetValueWithVersion("1", "value2", 1), 0); - EXPECT_EQ(storage->SetValueWithVersion("1", "value3", 2), 0); - - EXPECT_EQ(storage->GetHistory("1", 1, 5), expected_list); - } - - { - std::vector > expected_list{ - std::make_pair("value5", 5), std::make_pair("value4", 4), - std::make_pair("value3", 3), std::make_pair("value2", 2), - std::make_pair("value1", 1)}; - - EXPECT_EQ(storage->SetValueWithVersion("1", "value4", 3), 0); - EXPECT_EQ(storage->SetValueWithVersion("1", "value5", 4), 0); - EXPECT_EQ(storage->SetValueWithVersion("1", "value6", 5), 0); - EXPECT_EQ(storage->SetValueWithVersion("1", "value7", 6), 0); - - EXPECT_EQ(storage->GetHistory("1", 1, 5), expected_list); - } - - { - std::vector > expected_list{ - std::make_pair("value7", 7), std::make_pair("value6", 6)}; - - EXPECT_EQ(storage->GetTopHistory("1", 2), expected_list); - } -} - -INSTANTIATE_TEST_CASE_P(KVStorageTest, KVStorageTest, - ::testing::Values(MEM, LEVELDB)); - -} // namespace -} // namespace storage -} // namespace resdb diff --git a/chain/storage/leveldb.cpp b/chain/storage/leveldb.cpp deleted file mode 100644 index 2cc96fb59..000000000 --- a/chain/storage/leveldb.cpp +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "chain/storage/leveldb.h" - -#include - -#include "chain/storage/proto/kv.pb.h" - -namespace resdb { -namespace storage { - -std::unique_ptr NewResLevelDB(const std::string& path, - std::optional config) { - if (config == std::nullopt) { - config = LevelDBInfo(); - } - (*config).set_path(path); - return std::make_unique(config); -} - -std::unique_ptr NewResLevelDB(std::optional config) { - return std::make_unique(config); -} - -ResLevelDB::ResLevelDB(std::optional config) { - std::string path = "/tmp/nexres-leveldb"; - if (config.has_value()) { - write_buffer_size_ = (*config).write_buffer_size_mb() << 20; - write_batch_size_ = (*config).write_batch_size(); - if (!(*config).path().empty()) { - LOG(ERROR) << "Custom path for ResLevelDB provided in config: " - << (*config).path(); - path = (*config).path(); - } - } - CreateDB(path); -} - -void ResLevelDB::CreateDB(const std::string& path) { - LOG(ERROR) << "ResLevelDB Create DB: path:" << path - << " write buffer size:" << write_buffer_size_ - << " batch size:" << write_batch_size_; - leveldb::Options options; - options.create_if_missing = true; - options.write_buffer_size = write_buffer_size_; - - leveldb::DB* db = nullptr; - leveldb::Status status = leveldb::DB::Open(options, path, &db); - if (status.ok()) { - db_ = std::unique_ptr(db); - } - assert(status.ok()); - LOG(ERROR) << "Successfully opened LevelDB"; -} - -ResLevelDB::~ResLevelDB() { - if (db_) { - db_.reset(); - } -} - -int ResLevelDB::SetValue(const std::string& key, const std::string& value) { - batch_.Put(key, value); - - if (batch_.ApproximateSize() >= write_batch_size_) { - leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch_); - if (status.ok()) { - batch_.Clear(); - return 0; - } else { - LOG(ERROR) << "flush buffer fail:" << status.ToString(); - return -1; - } - } - return 0; -} - -std::string ResLevelDB::GetValue(const std::string& key) { - std::string value = ""; - leveldb::Status status = db_->Get(leveldb::ReadOptions(), key, &value); - if (status.ok()) { - return value; - } else { - return ""; - } -} - -std::string ResLevelDB::GetAllValues(void) { - std::string values = "["; - leveldb::Iterator* it = db_->NewIterator(leveldb::ReadOptions()); - bool first_iteration = true; - for (it->SeekToFirst(); it->Valid(); it->Next()) { - if (!first_iteration) values.append(","); - first_iteration = false; - values.append(it->value().ToString()); - } - values.append("]"); - - delete it; - return values; -} - -std::string ResLevelDB::GetRange(const std::string& min_key, - const std::string& max_key) { - std::string values = "["; - leveldb::Iterator* it = db_->NewIterator(leveldb::ReadOptions()); - bool first_iteration = true; - for (it->Seek(min_key); it->Valid() && it->key().ToString() <= max_key; - it->Next()) { - if (!first_iteration) values.append(","); - first_iteration = false; - values.append(it->value().ToString()); - } - values.append("]"); - - delete it; - return values; -} - -bool ResLevelDB::Flush() { - leveldb::Status status = db_->Write(leveldb::WriteOptions(), &batch_); - if (status.ok()) { - batch_.Clear(); - return true; - } - LOG(ERROR) << "flush buffer fail:" << status.ToString(); - return false; -} - -int ResLevelDB::SetValueWithVersion(const std::string& key, - const std::string& value, int version) { - std::string value_str = GetValue(key); - ValueHistory history; - if (!history.ParseFromString(value_str)) { - LOG(ERROR) << "old_value parse fail"; - return -2; - } - - int last_v = 0; - if (history.value_size() > 0) { - last_v = history.value(history.value_size() - 1).version(); - } - - if (last_v != version) { - LOG(ERROR) << "version does not match:" << version - << " old version:" << last_v; - return -2; - } - - Value* new_value = history.add_value(); - new_value->set_value(value); - new_value->set_version(version + 1); - - history.SerializeToString(&value_str); - return SetValue(key, value_str); -} - -std::pair ResLevelDB::GetValueWithVersion( - const std::string& key, int version) { - std::string value_str = GetValue(key); - ValueHistory history; - if (!history.ParseFromString(value_str)) { - LOG(ERROR) << "old_value parse fail"; - return std::make_pair("", 0); - } - if (history.value_size() == 0) { - return std::make_pair("", 0); - } - if (version > 0) { - for (int i = history.value_size() - 1; i >= 0; --i) { - if (history.value(i).version() == version) { - return std::make_pair(history.value(i).value(), - history.value(i).version()); - } - if (history.value(i).version() < version) { - break; - } - } - } - int last_idx = history.value_size() - 1; - return std::make_pair(history.value(last_idx).value(), - history.value(last_idx).version()); -} - -// Return a map of > -std::map> ResLevelDB::GetAllItems() { - std::map> resp; - - leveldb::Iterator* it = db_->NewIterator(leveldb::ReadOptions()); - for (it->SeekToFirst(); it->Valid(); it->Next()) { - ValueHistory history; - if (!history.ParseFromString(it->value().ToString()) || - history.value_size() == 0) { - LOG(ERROR) << "old_value parse fail"; - continue; - } - const Value& value = history.value(history.value_size() - 1); - resp.insert(std::make_pair(it->key().ToString(), - std::make_pair(value.value(), value.version()))); - } - delete it; - - return resp; -} - -std::map> ResLevelDB::GetKeyRange( - const std::string& min_key, const std::string& max_key) { - std::map> resp; - - leveldb::Iterator* it = db_->NewIterator(leveldb::ReadOptions()); - for (it->Seek(min_key); it->Valid() && it->key().ToString() <= max_key; - it->Next()) { - ValueHistory history; - if (!history.ParseFromString(it->value().ToString()) || - history.value_size() == 0) { - LOG(ERROR) << "old_value parse fail"; - continue; - } - const Value& value = history.value(history.value_size() - 1); - resp.insert(std::make_pair(it->key().ToString(), - std::make_pair(value.value(), value.version()))); - } - delete it; - - return resp; -} - -// Return a list of -std::vector> ResLevelDB::GetHistory( - const std::string& key, int min_version, int max_version) { - std::vector> resp; - std::string value_str = GetValue(key); - ValueHistory history; - if (!history.ParseFromString(value_str)) { - LOG(ERROR) << "old_value parse fail"; - return resp; - } - - for (int i = history.value_size() - 1; i >= 0; --i) { - if (history.value(i).version() < min_version) { - break; - } - if (history.value(i).version() <= max_version) { - resp.push_back( - std::make_pair(history.value(i).value(), history.value(i).version())); - } - } - - return resp; -} - -// Return a list of -std::vector> ResLevelDB::GetTopHistory( - const std::string& key, int top_number) { - std::vector> resp; - std::string value_str = GetValue(key); - ValueHistory history; - if (!history.ParseFromString(value_str)) { - LOG(ERROR) << "old_value parse fail"; - return resp; - } - - for (int i = history.value_size() - 1; - i >= 0 && resp.size() < static_cast(top_number); --i) { - resp.push_back( - std::make_pair(history.value(i).value(), history.value(i).version())); - } - - return resp; -} - -} // namespace storage -} // namespace resdb diff --git a/chain/storage/leveldb.h b/chain/storage/leveldb.h deleted file mode 100644 index 199f1f274..000000000 --- a/chain/storage/leveldb.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include -#include -#include - -#include "chain/storage/proto/leveldb_config.pb.h" -#include "chain/storage/storage.h" -#include "leveldb/db.h" -#include "leveldb/write_batch.h" - -namespace resdb { -namespace storage { - -std::unique_ptr NewResLevelDB( - const std::string& path, std::optional config = std::nullopt); -std::unique_ptr NewResLevelDB( - std::optional config = std::nullopt); - -class ResLevelDB : public Storage { - public: - ResLevelDB(std::optional config_data = std::nullopt); - - virtual ~ResLevelDB(); - int SetValue(const std::string& key, const std::string& value) override; - std::string GetValue(const std::string& key) override; - std::string GetAllValues(void) override; - std::string GetRange(const std::string& min_key, - const std::string& max_key) override; - - int SetValueWithVersion(const std::string& key, const std::string& value, - int version) override; - std::pair GetValueWithVersion(const std::string& key, - int version) override; - - // Return a map of > - std::map> GetAllItems() override; - std::map> GetKeyRange( - const std::string& min_key, const std::string& max_key) override; - - // Return a list of - std::vector> GetHistory(const std::string& key, - int min_version, - int max_version) override; - - std::vector> GetTopHistory( - const std::string& key, int top_number) override; - - bool Flush() override; - - private: - void CreateDB(const std::string& path); - - private: - std::unique_ptr db_ = nullptr; - ::leveldb::WriteBatch batch_; - unsigned int write_buffer_size_ = 64 << 20; - unsigned int write_batch_size_ = 1; -}; - -} // namespace storage -} // namespace resdb diff --git a/chain/storage/memory_db.cpp b/chain/storage/memory_db.cpp deleted file mode 100644 index 2d5b87258..000000000 --- a/chain/storage/memory_db.cpp +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "chain/storage/memory_db.h" - -#include - -namespace resdb { -namespace storage { - -std::unique_ptr NewMemoryDB() { return std::make_unique(); } - -MemoryDB::MemoryDB() {} - -int MemoryDB::SetValue(const std::string& key, const std::string& value) { - kv_map_[key] = value; - return 0; -} - -std::string MemoryDB::GetAllValues(void) { - std::string values = "["; - bool first_iteration = true; - for (auto kv : kv_map_) { - if (!first_iteration) values.append(","); - first_iteration = false; - values.append(kv.second); - } - values.append("]"); - return values; -} - -std::string MemoryDB::GetRange(const std::string& min_key, - const std::string& max_key) { - std::string values = "["; - bool first_iteration = true; - for (auto kv : kv_map_) { - if (kv.first >= min_key && kv.first <= max_key) { - if (!first_iteration) values.append(","); - first_iteration = false; - values.append(kv.second); - } - } - values.append("]"); - return values; -} - -std::string MemoryDB::GetValue(const std::string& key) { - auto search = kv_map_.find(key); - if (search != kv_map_.end()) - return search->second; - else { - return ""; - } -} - -int MemoryDB::SetValueWithVersion(const std::string& key, - const std::string& value, int version) { - auto it = kv_map_with_v_.find(key); - if ((it == kv_map_with_v_.end() && version != 0) || - (it != kv_map_with_v_.end() && it->second.back().second != version)) { - LOG(ERROR) << " value version not match. key:" << key << " db version:" - << (it == kv_map_with_v_.end() ? 0 : it->second.back().second) - << " user version:" << version; - return -2; - } - kv_map_with_v_[key].push_back(std::make_pair(value, version + 1)); - return 0; -} - -std::pair MemoryDB::GetValueWithVersion( - const std::string& key, int version) { - auto search_it = kv_map_with_v_.find(key); - if (search_it != kv_map_with_v_.end() && search_it->second.size()) { - auto it = search_it->second.end(); - do { - --it; - if (it->second == version) { - return *it; - } - if (it->second < version) { - break; - } - } while (it != search_it->second.begin()); - it = --search_it->second.end(); - LOG(ERROR) << " key:" << key << " no version:" << version - << " return max:" << it->second; - return *it; - } - return std::make_pair("", 0); -} - -std::map> MemoryDB::GetAllItems() { - std::map> resp; - - for (const auto& it : kv_map_with_v_) { - resp.insert(std::make_pair(it.first, it.second.back())); - } - return resp; -} - -std::map> MemoryDB::GetKeyRange( - const std::string& min_key, const std::string& max_key) { - LOG(ERROR) << "min key:" << min_key << " max key:" << max_key; - std::map> resp; - for (const auto& it : kv_map_with_v_) { - if (it.first >= min_key && it.first <= max_key) { - resp.insert(std::make_pair(it.first, it.second.back())); - } - } - return resp; -} - -std::vector> MemoryDB::GetHistory( - const std::string& key, int min_version, int max_version) { - std::vector> resp; - auto search_it = kv_map_with_v_.find(key); - if (search_it == kv_map_with_v_.end()) { - return resp; - } - - auto it = search_it->second.end(); - do { - --it; - if (it->second < min_version) { - break; - } - if (it->second <= max_version) { - resp.push_back(*it); - } - } while (it != search_it->second.begin()); - return resp; -} - -std::vector> MemoryDB::GetTopHistory( - const std::string& key, int top_number) { - std::vector> resp; - auto search_it = kv_map_with_v_.find(key); - if (search_it == kv_map_with_v_.end()) { - return resp; - } - - auto it = search_it->second.end(); - do { - --it; - resp.push_back(*it); - if (resp.size() >= static_cast(top_number)) { - break; - } - } while (it != search_it->second.begin()); - return resp; -} - -} // namespace storage -} // namespace resdb diff --git a/chain/storage/memory_db.h b/chain/storage/memory_db.h deleted file mode 100644 index 372f46474..000000000 --- a/chain/storage/memory_db.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include -#include -#include -#include - -#include "chain/storage/storage.h" - -namespace resdb { -namespace storage { - -// Key Value Storage supporting two types of interfaces: -// Non-version: -// It provides set and get function to set a value to a specific key -// Values will be set directly. -// Version: -// It provides set and get function to set a value to a specific key -// with a version. -// The version inside setting function is to support OCC verification. -// The version value should be obtained before setting -// and returned back when setting a new value. If the version is not -// the same as the old one, return failure. -// If the value of a specific version does not exist or providing -// version 0 as parameter when accessing get -// it returns the current value along its version. -// -// Note: Only one type of interface are allowed to be used. -// - -std::unique_ptr NewMemoryDB(); - -class MemoryDB : public Storage { - public: - MemoryDB(); - - int SetValue(const std::string& key, const std::string& value); - std::string GetValue(const std::string& key); - - std::string GetAllValues() override; - std::string GetRange(const std::string& min_key, - const std::string& max_key) override; - - int SetValueWithVersion(const std::string& key, const std::string& value, - int version) override; - std::pair GetValueWithVersion(const std::string& key, - int version) override; - - // Return a map of > - std::map> GetAllItems() override; - std::map> GetKeyRange( - const std::string& min_key, const std::string& max_key) override; - - // Return a list of - std::vector> GetHistory(const std::string& key, - int min_version, - int max_version) override; - - std::vector> GetTopHistory(const std::string& key, - int number) override; - - private: - std::unordered_map kv_map_; - std::unordered_map>> - kv_map_with_v_; -}; - -} // namespace storage -} // namespace resdb diff --git a/chain/storage/mock_storage.h b/chain/storage/mock_storage.h deleted file mode 100644 index 963d92bbe..000000000 --- a/chain/storage/mock_storage.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include "chain/storage/storage.h" -#include "gmock/gmock.h" - -namespace resdb { - -class MockStorage : public Storage { - public: - MOCK_METHOD(int, SetValue, (const std::string& key, const std::string& value), - (override)); - MOCK_METHOD(std::string, GetValue, (const std::string& key), (override)); - MOCK_METHOD(std::string, GetAllValues, (), (override)); - MOCK_METHOD(std::string, GetRange, (const std::string&, const std::string&), - (override)); - - MOCK_METHOD(int, SetValueWithVersion, - (const std::string& key, const std::string& value, int version), - (override)); - - using ValueType = std::pair; - using ItemsType = std::map; - using ValuesType = std::vector; - - MOCK_METHOD(ValueType, GetValueWithVersion, - (const std::string& key, int version), (override)); - MOCK_METHOD(ItemsType, GetAllItems, (), (override)); - MOCK_METHOD(ItemsType, GetKeyRange, (const std::string&, const std::string&), - (override)); - MOCK_METHOD(ValuesType, GetHistory, (const std::string&, int, int), - (override)); - MOCK_METHOD(ValuesType, GetTopHistory, (const std::string&, int), (override)); - - MOCK_METHOD(bool, Flush, (), (override)); -}; - -} // namespace resdb diff --git a/chain/storage/proto/BUILD b/chain/storage/proto/BUILD deleted file mode 100644 index 0b1c7263f..000000000 --- a/chain/storage/proto/BUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load("@rules_cc//cc:defs.bzl", "cc_proto_library") -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( - name = "kv_proto", - srcs = ["kv.proto"], - visibility = ["//chain/storage:__subpackages__"], -) - -cc_proto_library( - name = "kv_cc_proto", - visibility = ["//chain/storage:__subpackages__"], - deps = [":kv_proto"], -) - -proto_library( - name = "leveldb_config_proto", - srcs = ["leveldb_config.proto"], -) - -cc_proto_library( - name = "leveldb_config_cc_proto", - deps = [":leveldb_config_proto"], -) diff --git a/chain/storage/proto/kv.proto b/chain/storage/proto/kv.proto deleted file mode 100644 index 8466b8dc7..000000000 --- a/chain/storage/proto/kv.proto +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -syntax = "proto3"; - -package resdb.storage; - -message Value { - bytes value = 1; - int32 version = 2; -} - -message ValueHistory { - repeated Value value = 1; -} - diff --git a/chain/storage/proto/leveldb_config.proto b/chain/storage/proto/leveldb_config.proto deleted file mode 100644 index d8be25195..000000000 --- a/chain/storage/proto/leveldb_config.proto +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -syntax = "proto3"; - -package resdb.storage; - -message LevelDBInfo { - uint32 write_buffer_size_mb = 2; - uint32 write_batch_size = 3; - string path = 4; -} diff --git a/chain/storage/setting/BUILD b/chain/storage/setting/BUILD deleted file mode 100644 index 25d11b4e8..000000000 --- a/chain/storage/setting/BUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load("@bazel_skylib//rules:common_settings.bzl", "bool_flag") - -bool_flag( - name = "enable_leveldb", - build_setting_default = False, - visibility = ["//visibility:public"], -) - -config_setting( - name = "enable_leveldb_setting", - values = { - "define": "enable_leveldb=True", - }, - visibility = ["//visibility:public"], -) diff --git a/chain/storage/storage.h b/chain/storage/storage.h deleted file mode 100644 index 76e352de8..000000000 --- a/chain/storage/storage.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include -#include -#include - -namespace resdb { - -class Storage { - public: - Storage() = default; - virtual ~Storage() = default; - - virtual int SetValue(const std::string& key, const std::string& value) = 0; - virtual std::string GetValue(const std::string& key) = 0; - virtual std::string GetAllValues() = 0; - virtual std::string GetRange(const std::string& min_key, - const std::string& max_key) = 0; - - virtual int SetValueWithVersion(const std::string& key, - const std::string& value, int version) = 0; - virtual std::pair GetValueWithVersion( - const std::string& key, int version) = 0; - - // Return a map of > - virtual std::map> GetAllItems() = 0; - virtual std::map> GetKeyRange( - const std::string& min_key, const std::string& max_key) = 0; - - // Return a list of from a key - // The version list is sorted by the version value in descending order - virtual std::vector> GetHistory( - const std::string& key, int min_version, int max_version) = 0; - - virtual std::vector> GetTopHistory( - const std::string& key, int number) = 0; - - virtual bool Flush() { return true; }; -}; - -} // namespace resdb diff --git a/client/BUILD b/client/BUILD new file mode 100644 index 000000000..b82dc1836 --- /dev/null +++ b/client/BUILD @@ -0,0 +1,112 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "resdb_client", + srcs = ["resdb_client.cpp"], + hdrs = ["resdb_client.h"], + deps = [ + "//common:comm", + "//common/data_comm", + "//common/network:tcp_socket", + "//config:resdb_config", + "//crypto:signature_verifier", + "//proto:resdb_cc_proto", + ], +) + +cc_library( + name = "mock_resdb_client", + testonly = True, + hdrs = ["mock_resdb_client.h"], + deps = [ + ":resdb_client", + ], +) + +cc_test( + name = "resdb_client_test", + srcs = ["resdb_client_test.cpp"], + deps = [ + ":resdb_client", + "//common/network:mock_socket", + "//common/test:test_main", + "//crypto:key_generator", + "//proto:client_test_cc_proto", + ], +) + +cc_library( + name = "resdb_user_client", + srcs = ["resdb_user_client.cpp"], + hdrs = ["resdb_user_client.h"], + deps = [ + ":resdb_client", + "//common/data_comm", + ], +) + +cc_test( + name = "resdb_user_client_test", + srcs = ["resdb_user_client_test.cpp"], + deps = [ + ":resdb_user_client", + "//common/network:mock_socket", + "//common/test:test_main", + "//crypto:signature_verifier", + "//proto:client_test_cc_proto", + ], +) + +cc_library( + name = "resdb_state_client", + srcs = ["resdb_state_client.cpp"], + hdrs = ["resdb_state_client.h"], + deps = [ + ":resdb_user_client", + "//common:comm", + "//proto:replica_info_cc_proto", + "//proto:resdb_cc_proto", + ], +) + +cc_test( + name = "resdb_state_client_test", + srcs = ["resdb_state_client_test.cpp"], + deps = [ + ":mock_resdb_client", + ":resdb_state_client", + "//common/test:test_main", + ], +) + +cc_library( + name = "resdb_txn_client", + srcs = ["resdb_txn_client.cpp"], + hdrs = ["resdb_txn_client.h"], + deps = [ + ":resdb_client", + "//common:comm", + "//proto:replica_info_cc_proto", + "//proto:resdb_cc_proto", + ], +) + +cc_library( + name = "mock_resdb_txn_client", + testonly = True, + hdrs = ["mock_resdb_txn_client.h"], + deps = [ + ":resdb_txn_client", + ], +) + +cc_test( + name = "resdb_txn_client_test", + srcs = ["resdb_txn_client_test.cpp"], + deps = [ + ":mock_resdb_client", + ":resdb_txn_client", + "//common/test:test_main", + "//config:resdb_config_utils", + ], +) diff --git a/client/mock_resdb_client.h b/client/mock_resdb_client.h new file mode 100644 index 000000000..175304cc6 --- /dev/null +++ b/client/mock_resdb_client.h @@ -0,0 +1,23 @@ +#pragma once + +#include "client/resdb_client.h" +#include "gmock/gmock.h" + +namespace resdb { + +// A mock class for ResDBClient. +class MockResDBClient : public ResDBClient { + public: + MockResDBClient(const std::string& ip, int port) : ResDBClient(ip, port) {} + + MOCK_METHOD(int, SendRequest, + (const google::protobuf::Message&, Request::Type, bool), + (override)); + MOCK_METHOD(int, SendRawMessage, (const google::protobuf::Message&), + (override)); + MOCK_METHOD(int, SendRawMessageData, (const std::string&), (override)); + MOCK_METHOD(int, RecvRawMessageStr, (std::string*), (override)); + MOCK_METHOD(int, RecvRawMessage, (google::protobuf::Message*), (override)); +}; + +} // namespace resdb diff --git a/client/mock_resdb_txn_client.h b/client/mock_resdb_txn_client.h new file mode 100644 index 000000000..fb87463be --- /dev/null +++ b/client/mock_resdb_txn_client.h @@ -0,0 +1,17 @@ +#pragma once + +#include "client/resdb_txn_client.h" +#include "gmock/gmock.h" + +namespace resdb { + +// A mock class for ResDBClient. +class MockResDBTxnClient : public ResDBTxnClient { + public: + MockResDBTxnClient(const ResDBConfig& config) : ResDBTxnClient(config) {} + + MOCK_METHOD((absl::StatusOr>>), + GetTxn, (uint64_t, uint64_t), (override)); +}; + +} // namespace resdb diff --git a/client/resdb_client.cpp b/client/resdb_client.cpp new file mode 100644 index 000000000..e018995e5 --- /dev/null +++ b/client/resdb_client.cpp @@ -0,0 +1,212 @@ +#include "client/resdb_client.h" + +#include + +#include "common/data_comm/data_comm.h" +#include "common/network/tcp_socket.h" + +namespace resdb { + +ResDBClient::ResDBClient(const std::string& ip, int port) + : ip_(ip), port_(port) { + socket_ = std::make_unique(); + socket_->SetSendTimeout(300); + socket_->SetRecvTimeout(read_timeouts_); +} + +void ResDBClient::SetRecvTimeout(int microseconds) { + read_timeouts_ = microseconds; + socket_->SetRecvTimeout(read_timeouts_); +} + +void ResDBClient::SetAsyncSend(bool is_async_send) { + is_async_send_ = is_async_send; +} + +ResDBClient::ResDBClient(std::unique_ptr socket, bool connected) { + SetSocket(std::move(socket)); + connected_ = connected; +} + +void ResDBClient::Close() { socket_->Close(); } + +void ResDBClient::SetSignatureVerifier(SignatureVerifier* verifier) { + verifier_ = verifier; +} + +void ResDBClient::SetSocket(std::unique_ptr socket) { + socket_ = std::move(socket); +} + +void ResDBClient::SetDestReplicaInfo(const ReplicaInfo& replica) { + ip_ = replica.ip(); + port_ = replica.port(); +} + +void ResDBClient::IsLongConnection(bool long_connect_tion) { + long_connect_tion_ = long_connect_tion; +} + +int ResDBClient::Connect() { + socket_->ReInit(); + socket_->SetAsync(is_async_send_); + return socket_->Connect(ip_, port_); +} + +int ResDBClient::SendDataInternal(const std::string& data) { + return socket_->Send(data); +} + +// Connect to the server if not connected and send data. +int ResDBClient::SendFromKeepAlive(const std::string& data) { + for (int i = 0; i < max_retry_time_; ++i) { + if (!long_connecting_) { + if (Connect() == 0) { + long_connecting_ = true; + } + if (!long_connecting_) { + LOG(ERROR) << "connect fail:" << ip_ << " port:" << port_; + continue; + } + } + int ret = SendDataInternal(data); + if (ret >= 0) { + return ret; + } + long_connecting_ = false; + } + return -1; +} + +int ResDBClient::Send(const std::string& data) { + if (long_connect_tion_) { + return SendFromKeepAlive(data); + } + for (int i = 0; i < max_retry_time_; ++i) { + if (!connected_) { + if (Connect()) { + LOG(ERROR) << "connect fail:" << ip_ << " port:" << port_; + continue; + } + } + int ret = SendDataInternal(data); + if (ret >= 0) { + return ret; + } else if (ret == -1) { + LOG(ERROR) << "send data fail:" << ip_ << " port:" << port_; + } + } + return -1; +} + +// Receive data from the server. +int ResDBClient::Recv(std::string* data) { + std::unique_ptr resp = std::make_unique(); + int ret = socket_->Recv(&resp->buff, &resp->data_len); + if (ret > 0) { + *data = std::string((char*)resp->buff, resp->data_len); + } + return ret; +} + +// Sign the message if verifier has been provied and send the message to the +// server. +std::string ResDBClient::GetRawMessageString( + const google::protobuf::Message& message, SignatureVerifier* verifier) { + ResDBMessage sig_message; + if (!message.SerializeToString(sig_message.mutable_data())) { + return ""; + } + + if (verifier != nullptr) { + auto signature_or = verifier->SignMessage(sig_message.data()); + if (!signature_or.ok()) { + LOG(ERROR) << "Sign message fail"; + return ""; + } + sig_message.mutable_signature()->Swap(&(*signature_or)); + } else { + LOG(ERROR) << " no verifier"; + } + + std::string message_str; + if (!sig_message.SerializeToString(&message_str)) { + return ""; + } + return message_str; +} + +int ResDBClient::SendRawMessageData(const std::string& message_str) { + return Send(message_str); +} + +int ResDBClient::RecvRawMessageData(std::string* message_str) { + return Recv(message_str); +} + +int ResDBClient::SendRawMessage(const google::protobuf::Message& message) { + ResDBMessage sig_message; + if (!message.SerializeToString(sig_message.mutable_data())) { + return -1; + } + + if (verifier_ != nullptr) { + auto signature_or = verifier_->SignMessage(sig_message.data()); + if (!signature_or.ok()) { + LOG(ERROR) << "Sign message fail"; + return -1; + } + sig_message.mutable_signature()->Swap(&(*signature_or)); + } + std::string message_str; + if (!sig_message.SerializeToString(&message_str)) { + return -1; + } + return Send(message_str); +} + +int ResDBClient::RecvRawMessageStr(std::string* message) { + std::string recv_str; + int ret = Recv(&recv_str); + if (ret <= 0) { + return ret; + } + ResDBMessage sig_message; + if (!sig_message.ParseFromString(recv_str)) { + LOG(ERROR) << "parse to sig fail"; + return -1; + } + *message = sig_message.data(); + return 0; +} + +int ResDBClient::RecvRawMessage(google::protobuf::Message* message) { + std::string resp_data; + int ret = Recv(&resp_data); + if (ret <= 0) { + return -1; + } + ResDBMessage sig_message; + if (!sig_message.ParseFromString(resp_data)) { + LOG(ERROR) << "parse sig msg fail"; + return -1; + } + if (!message->ParseFromString(sig_message.data())) { + LOG(ERROR) << "parse response msg fail"; + return -1; + } + return 0; +} + +int ResDBClient::SendRequest(const google::protobuf::Message& message, + Request::Type type, bool need_response) { + Request request; + request.set_type(type); + request.set_need_response(need_response); + if (!message.SerializeToString(request.mutable_data())) { + return -1; + } + return SendRawMessage(request); +} + +} // namespace resdb diff --git a/client/resdb_client.h b/client/resdb_client.h new file mode 100644 index 000000000..5ff04352f --- /dev/null +++ b/client/resdb_client.h @@ -0,0 +1,89 @@ +#pragma once +#include + +#include "common/network/socket.h" +#include "crypto/signature_verifier.h" +#include "proto/resdb.pb.h" + +namespace resdb { + +// ResDBClient is used to send data to the server identified by ip:port or via +// the provided socket. If SignatureVerifier is provided, data will be signed. +// The client will retry max_retry_time_ if the connection or sned process fail. +// For a message with a command, it will be set inside a Request message. +// Each Request will be put into the network message ResDBMessage and signed. +// +// Message structre: +// ResDBMessage: +// Request: +// cmd +// user_message +// signature +// +// For a raw message, it will be set inside a Network Message directly. +// Message structre: +// ResDBMessage: +// user_message +// signature +// +class ResDBClient { + public: + ResDBClient(const std::string& ip, int port); + // Use the provided socket to send data. If the socket has been connect to + // the server, it won't connect again. + ResDBClient(std::unique_ptr socket, bool connected = false); + + virtual ~ResDBClient() = default; + + void Close(); + + void SetSocket(std::unique_ptr socket); + void SetSignatureVerifier(SignatureVerifier* verifier); + void SetDestReplicaInfo(const ReplicaInfo& replica); + + // Send a message request to the server with a commend. + // A new request will be generated with command cmd and contain the message. + virtual int SendRequest(const google::protobuf::Message& message, + Request::Type cmd, bool need_response = false); + + // Send the message to the server directly. + virtual int SendRawMessage(const google::protobuf::Message& message); + virtual int SendRawMessageData(const std::string& message_str); + + // Recv the data inside ResDBMessage. + virtual int RecvRawMessageStr(std::string* message); + virtual int RecvRawMessage(google::protobuf::Message* message); + + // Recv the raw string from the server. + virtual int RecvRawMessageData(std::string* message_str); + + static std::string GetRawMessageString( + const google::protobuf::Message& message, + SignatureVerifier* verifier = nullptr); + + void SetRecvTimeout(int microseconds); + void IsLongConnection(bool long_connect_tion); + void SetAsyncSend(bool is_async_send); + + protected: + int SendDataInternal(const std::string& data); + int SendFromKeepAlive(const std::string& data); + int Send(const std::string& data); + int Recv(std::string* data); + int Connect(); + + protected: + SignatureVerifier* verifier_ = nullptr; + + std::unique_ptr socket_; + int max_retry_time_ = 3; + std::string ip_; + int port_; + bool connected_ = false; + int read_timeouts_ = 1000000; // timeout for 1s. + bool long_connect_tion_ = false; + bool long_connecting_ = false; + bool is_async_send_ = false; +}; + +} // namespace resdb diff --git a/client/resdb_client_test.cpp b/client/resdb_client_test.cpp new file mode 100644 index 000000000..701e25253 --- /dev/null +++ b/client/resdb_client_test.cpp @@ -0,0 +1,195 @@ +#include "client/resdb_client.h" + +#include + +#include "common/network/mock_socket.h" +#include "crypto/key_generator.h" +#include "proto/client_test.pb.h" + +namespace resdb { +namespace { + +using ::testing::Invoke; +using ::testing::Return; +using ::testing::Test; + +class ResDBClientTest : public Test { + protected: + ResDBMessage GetSendPackage(const google::protobuf::Message& message, + Request::Type type) { + ResDBMessage resdb_message; + Request request; + request.set_type(type); + EXPECT_TRUE(message.SerializeToString(request.mutable_data())); + EXPECT_TRUE(request.SerializeToString(resdb_message.mutable_data())); + return resdb_message; + } + + std::string GetSendPackageString(const google::protobuf::Message& message, + Request::Type type) { + ResDBMessage resdb_message = GetSendPackage(message, type); + std::string data; + EXPECT_TRUE(resdb_message.SerializeToString(&data)); + return data; + } + + ResDBMessage GetSendPackage(const google::protobuf::Message& message) { + ResDBMessage resdb_message; + EXPECT_TRUE(message.SerializeToString(resdb_message.mutable_data())); + return resdb_message; + } + + std::string GetSendPackageString(const google::protobuf::Message& message) { + ResDBMessage resdb_message = GetSendPackage(message); + std::string data; + EXPECT_TRUE(resdb_message.SerializeToString(&data)); + return data; + } +}; + +TEST_F(ResDBClientTest, ClientConnectFail) { + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)) + .Times(3) + .WillRepeatedly(Return(-1)); + ResDBClient client("127.0.0.1", 1234); + + client.SetSocket(std::move(socket)); + + ClientTestRequest client_request; + std::string data; + ASSERT_TRUE(client_request.SerializeToString(&data)); + int ret = client.SendRawMessage(client_request); + EXPECT_LE(ret, 0); +} + +TEST_F(ResDBClientTest, KeepAliveAndAsyncReConnect) { + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)) + .Times(3) + .WillRepeatedly(Return(-1)); + + EXPECT_CALL(*socket, SetAsync(true)).Times(3).WillRepeatedly(Return(0)); + + ResDBClient client("127.0.0.1", 1234); + client.SetAsyncSend(true); + client.IsLongConnection(true); + + client.SetSocket(std::move(socket)); + + ClientTestRequest client_request; + std::string data; + ASSERT_TRUE(client_request.SerializeToString(&data)); + int ret = client.SendRawMessage(client_request); + EXPECT_LE(ret, 0); +} + +TEST_F(ResDBClientTest, SendRequest) { + std::string data = "test_data"; + + ClientTestRequest client_request; + client_request.set_value("test_value"); + + std::string expected_request_str = + GetSendPackageString(client_request, Request::TYPE_CLIENT_REQUEST); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)).WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(expected_request_str)).WillOnce(Return(0)); + + ResDBClient client("127.0.0.1", 1234); + client.SetSocket(std::move(socket)); + client.SetSignatureVerifier(nullptr); + + int ret = client.SendRequest(client_request, Request::TYPE_CLIENT_REQUEST); + EXPECT_EQ(ret, 0); +} + +TEST_F(ResDBClientTest, SendRequestFail) { + std::string data = "test_data"; + + ClientTestRequest client_request; + client_request.set_value("test_value"); + + std::string expected_request_str = + GetSendPackageString(client_request, Request::TYPE_CLIENT_REQUEST); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, ReInit()).Times(3); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)).Times(3).WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(expected_request_str)) + .Times(3) + .WillRepeatedly(Return(-1)); + + ResDBClient client("127.0.0.1", 1234); + client.SetSocket(std::move(socket)); + client.SetSignatureVerifier(nullptr); + + int ret = client.SendRequest(client_request, Request::TYPE_CLIENT_REQUEST); + EXPECT_NE(ret, 0); +} + +TEST_F(ResDBClientTest, SendMessage) { + ClientTestRequest client_request; + client_request.set_value("test_value"); + + std::string data = GetSendPackageString(client_request); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)).WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(data)).WillOnce(Return(0)); + + ResDBClient client("127.0.0.1", 1234); + client.SetSocket(std::move(socket)); + client.SetSignatureVerifier(nullptr); + + EXPECT_EQ(client.SendRawMessage(client_request), 0); +} + +TEST_F(ResDBClientTest, SignMessage) { + SecretKey my_key = KeyGenerator ::GeneratorKeys(SignatureInfo::RSA); + int64_t my_node_id = 1; + + KeyInfo private_key; + private_key.set_key(my_key.private_key()); + private_key.set_hash_type(my_key.hash_type()); + CertificateInfo cert_info; + cert_info.set_node_id(my_node_id); + cert_info.mutable_public_key() + ->mutable_public_key_info() + ->mutable_key() + ->set_key(my_key.public_key()); + cert_info.mutable_public_key() + ->mutable_public_key_info() + ->mutable_key() + ->set_hash_type(my_key.hash_type()); + cert_info.mutable_public_key()->mutable_public_key_info()->set_node_id( + my_node_id); + + SignatureVerifier verifier(private_key, cert_info); + + ClientTestRequest client_request; + client_request.set_value("test_value"); + + std::string data = GetSendPackageString(client_request); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect("127.0.0.1", 1234)).WillOnce(Return(0)); + EXPECT_CALL(*socket, Send).WillOnce(Invoke([&](const std::string& data) { + ResDBMessage resdb_message; + EXPECT_TRUE(resdb_message.ParseFromString(data)); + EXPECT_TRUE(verifier.VerifyMessage(resdb_message.data(), + resdb_message.signature())); + return 0; + })); + + ResDBClient client("127.0.0.1", 1234); + client.SetSocket(std::move(socket)); + client.SetSignatureVerifier(&verifier); + + EXPECT_EQ(client.SendRawMessage(client_request), 0); +} + +} // namespace + +} // namespace resdb diff --git a/client/resdb_state_client.cpp b/client/resdb_state_client.cpp new file mode 100644 index 000000000..368efa3b1 --- /dev/null +++ b/client/resdb_state_client.cpp @@ -0,0 +1,67 @@ +#include "client/resdb_state_client.h" + +#include + +#include +#include + +namespace resdb { + +ResDBStateClient::ResDBStateClient(const ResDBConfig& config) + : config_(config) {} + +std::unique_ptr ResDBStateClient::GetResDBClient( + const std::string& ip, int port) { + return std::make_unique(ip, port); +} + +// Obtain ReplicaState of each replica. +absl::StatusOr> ResDBStateClient::GetReplicaStates() { + std::vector ths; + Request request; + std::vector>> resp_future; + std::vector resp; + + for (const auto& replica : config_.GetReplicaInfos()) { + std::promise> state_prom; + resp_future.push_back(state_prom.get_future()); + ths.push_back(std::thread( + [&](std::promise> state_prom) { + std::unique_ptr client = + GetResDBClient(replica.ip(), replica.port()); + client->SetRecvTimeout(1000000); // 1s for recv timeout. + + int ret = client->SendRequest(request, Request::TYPE_REPLICA_STATE); + if (ret) { + state_prom.set_value(nullptr); + return; + } + + std::unique_ptr state = + std::make_unique(); + ret = client->RecvRawMessage(state.get()); + if (ret < 0) { + state_prom.set_value(nullptr); + return; + } + state_prom.set_value(std::move(state)); + return; + }, + std::move(state_prom))); + } + + for (auto& future : resp_future) { + auto state = future.get(); + if (state == nullptr) { + continue; + } + resp.push_back(*state); + } + + for (auto& th : ths) { + th.join(); + } + return resp; +} + +} // namespace resdb diff --git a/client/resdb_state_client.h b/client/resdb_state_client.h new file mode 100644 index 000000000..2eae31693 --- /dev/null +++ b/client/resdb_state_client.h @@ -0,0 +1,28 @@ +#pragma once + +#include "absl/status/statusor.h" +#include "client/resdb_client.h" +#include "config/resdb_config.h" +#include "proto/replica_info.pb.h" + +namespace resdb { + +// ResDBStateClient used to obtain the server state of each replica in ResDB. +// The addresses of each replica are provided from the config. +class ResDBStateClient { + public: + ResDBStateClient(const ResDBConfig& config); + virtual ~ResDBStateClient() = default; + + // Obtain ReplicaState of each replica. + absl::StatusOr> GetReplicaStates(); + + protected: + virtual std::unique_ptr GetResDBClient(const std::string& ip, + int port); + + private: + ResDBConfig config_; +}; + +} // namespace resdb diff --git a/client/resdb_state_client_test.cpp b/client/resdb_state_client_test.cpp new file mode 100644 index 000000000..e489886bf --- /dev/null +++ b/client/resdb_state_client_test.cpp @@ -0,0 +1,139 @@ +#include "client/resdb_state_client.h" + +#include +#include + +#include "client/mock_resdb_client.h" +#include "common/test/test_macros.h" + +namespace resdb { +namespace { + +using ::google::protobuf::util::MessageDifferencer; +using ::testing::ElementsAre; +using ::testing::Invoke; +using ::testing::Test; + +void AddReplicaToList(const std::string& ip, int port, + std::vector* replica) { + ReplicaInfo info; + info.set_ip(ip); + info.set_port(port); + replica->push_back(info); +} + +class MockResDBStateClient : public ResDBStateClient { + public: + MockResDBStateClient(const ResDBConfig& config) : ResDBStateClient(config) {} + + MOCK_METHOD(std::unique_ptr, GetResDBClient, + (const std::string&, int), (override)); +}; + +class StateClientTest : public Test { + public: + StateClientTest() { + self_info_.set_ip("127.0.0.1"); + self_info_.set_port(1234); + + AddReplicaToList("127.0.0.1", 1235, &replicas_); + AddReplicaToList("127.0.0.1", 1236, &replicas_); + AddReplicaToList("127.0.0.1", 1237, &replicas_); + AddReplicaToList("127.0.0.1", 1238, &replicas_); + + KeyInfo private_key; + private_key.set_key("private_key"); + config_ = std::make_unique(replicas_, self_info_, private_key, + CertificateInfo()); + } + + protected: + ReplicaInfo self_info_; + std::vector replicas_; + std::unique_ptr config_; +}; + +TEST_F(StateClientTest, GetAllReplicaState) { + MockResDBStateClient client(*config_); + + std::vector replica_states; + for (auto replica : replicas_) { + ReplicaState state; + *state.mutable_replica_info() = replica; + replica_states.push_back(state); + } + + std::atomic idx = 0; + EXPECT_CALL(client, GetResDBClient) + .Times(4) + .WillRepeatedly(Invoke([&](const std::string& ip, int port) { + auto client = std::make_unique(ip, port); + EXPECT_CALL(*client, RecvRawMessage) + .WillRepeatedly(Invoke([&](google::protobuf::Message* message) { + *reinterpret_cast(message) = replica_states[idx++]; + return 0; + })); + return client; + })); + auto ret = client.GetReplicaStates(); + EXPECT_TRUE(ret.ok()); + std::set results; + for (auto& state : *ret) { + auto it = + std::find_if(replica_states.begin(), replica_states.end(), + [&](const ReplicaState& cur_state) { + return MessageDifferencer::Equals(cur_state, state); + }); + EXPECT_TRUE(it != replica_states.end()); + results.insert(it - replica_states.begin()); + } + EXPECT_EQ(results.size(), 4); +} + +TEST_F(StateClientTest, GetAllReplicaStateButOneFail) { + MockResDBStateClient client(*config_); + + std::vector replica_states; + for (auto replica : replicas_) { + ReplicaState state; + *state.mutable_replica_info() = replica; + replica_states.push_back(state); + } + + std::mutex mutex; + std::atomic idx = 0; + EXPECT_CALL(client, GetResDBClient) + .Times(4) + .WillRepeatedly(Invoke([&](const std::string& ip, int port) { + auto client = std::make_unique(ip, port); + EXPECT_CALL(*client, RecvRawMessage) + .WillRepeatedly(Invoke([&](google::protobuf::Message* message) { + std::unique_lock lk(mutex); + if (idx < 3) { + *reinterpret_cast(message) = + replica_states[idx++]; + return 0; + } else { + return -1; + } + })); + return client; + })); + auto ret = client.GetReplicaStates(); + EXPECT_TRUE(ret.ok()); + std::set results; + for (auto& state : *ret) { + auto it = + std::find_if(replica_states.begin(), replica_states.end(), + [&](const ReplicaState& cur_state) { + return MessageDifferencer::Equals(cur_state, state); + }); + EXPECT_TRUE(it != replica_states.end()); + results.insert(it - replica_states.begin()); + } + EXPECT_EQ(results.size(), 3); +} + +} // namespace + +} // namespace resdb diff --git a/client/resdb_txn_client.cpp b/client/resdb_txn_client.cpp new file mode 100644 index 000000000..a04cc1da5 --- /dev/null +++ b/client/resdb_txn_client.cpp @@ -0,0 +1,97 @@ +#include "client/resdb_txn_client.h" + +#include + +#include +#include + +namespace resdb { + +ResDBTxnClient::ResDBTxnClient(const ResDBConfig& config) + : config_(config), + replicas_(config.GetReplicaInfos()), + recv_timeout_(1) /*1s*/ {} + +std::unique_ptr ResDBTxnClient::GetResDBClient( + const std::string& ip, int port) { + return std::make_unique(ip, port); +} + +// Obtain ReplicaState of each replica. +absl::StatusOr>> +ResDBTxnClient::GetTxn(uint64_t min_seq, uint64_t max_seq) { + QueryRequest request; + request.set_min_seq(min_seq); + request.set_max_seq(max_seq); + + std::vector> clients; + std::vector ths; + std::string final_str; + std::mutex mtx; + std::condition_variable resp_cv; + bool success = false; + std::map recv_count; + for (const auto& replica : replicas_) { + std::unique_ptr client = + GetResDBClient(replica.ip(), replica.port()); + ResDBClient* client_ptr = client.get(); + clients.push_back(std::move(client)); + + ths.push_back(std::thread( + [&](ResDBClient* client) { + std::string response_str; + int ret = client->SendRequest(request, Request::TYPE_QUERY); + if (ret) { + return; + } + client->SetRecvTimeout(1000); + ret = client->RecvRawMessageStr(&response_str); + if (ret == 0) { + std::unique_lock lck(mtx); + recv_count[response_str]++; + // receive f+1 count. + if (recv_count[response_str] == config_.GetMinClientReceiveNum()) { + final_str = response_str; + success = true; + // notify the main thread. + resp_cv.notify_all(); + } + } + return; + }, + client_ptr)); + } + + { + std::unique_lock lck(mtx); + resp_cv.wait_for(lck, std::chrono::seconds(recv_timeout_)); + // Time out or done, close all the client. + for (auto& client : clients) { + client->Close(); + } + } + + // wait for all theads done. + for (auto& th : ths) { + if (th.joinable()) { + th.join(); + } + } + + std::vector> txn_resp; + QueryResponse resp; + if (success && final_str.empty()) { + return txn_resp; + } + + if (final_str.empty() || !resp.ParseFromString(final_str)) { + LOG(ERROR) << "parse fail len:" << final_str.size(); + return absl::InternalError("recv data fail."); + } + for (auto& transaction : resp.transactions()) { + txn_resp.push_back(std::make_pair(transaction.seq(), transaction.data())); + } + return txn_resp; +} + +} // namespace resdb diff --git a/client/resdb_txn_client.h b/client/resdb_txn_client.h new file mode 100644 index 000000000..8321b9314 --- /dev/null +++ b/client/resdb_txn_client.h @@ -0,0 +1,31 @@ +#pragma once + +#include "absl/status/statusor.h" +#include "client/resdb_client.h" +#include "config/resdb_config.h" +#include "proto/replica_info.pb.h" + +namespace resdb { + +// ResDBTxnClient used to obtain the server state of each replica in ResDB. +// The addresses of each replica are provided from the config. +class ResDBTxnClient { + public: + ResDBTxnClient(const ResDBConfig& config); + virtual ~ResDBTxnClient() = default; + + // Obtain ReplicaState of each replica. + virtual absl::StatusOr>> GetTxn( + uint64_t min_seq, uint64_t max_seq); + + protected: + virtual std::unique_ptr GetResDBClient(const std::string& ip, + int port); + + private: + ResDBConfig config_; + std::vector replicas_; + int recv_timeout_ = 1; +}; + +} // namespace resdb diff --git a/client/resdb_txn_client_test.cpp b/client/resdb_txn_client_test.cpp new file mode 100644 index 000000000..e81fa2775 --- /dev/null +++ b/client/resdb_txn_client_test.cpp @@ -0,0 +1,140 @@ +#include "client/resdb_txn_client.h" + +#include +#include +#include + +#include "client/mock_resdb_client.h" +#include "common/test/test_macros.h" +#include "config/resdb_config_utils.h" + +namespace resdb { +namespace { + +using ::resdb::testing::EqualsProto; +using ::testing::_; +using ::testing::ElementsAre; +using ::testing::Invoke; +using ::testing::Pointee; +using ::testing::Return; + +class MockResDBTxnClient : public ResDBTxnClient { + public: + MockResDBTxnClient(const ResDBConfig& config) : ResDBTxnClient(config) {} + MOCK_METHOD(std::unique_ptr, GetResDBClient, + (const std::string&, int), (override)); +}; + +TEST(ResDBTxnClientTest, GetTransactionsFail) { + ResDBConfig config({GenerateReplicaInfo(1, "127.0.0.1", 1234), + GenerateReplicaInfo(2, "127.0.0.1", 1235), + GenerateReplicaInfo(3, "127.0.0.1", 1236), + GenerateReplicaInfo(4, "127.0.0.1", 1237)}, + GenerateReplicaInfo(1, "127.0.0.1", 1234)); + + QueryRequest request; + request.set_min_seq(0); + request.set_max_seq(0); + MockResDBTxnClient client(config); + EXPECT_CALL(client, GetResDBClient) + .Times(4) + .WillRepeatedly(Invoke([&](const std::string& ip, int port) { + auto client = std::make_unique(ip, port); + EXPECT_CALL(*client, + SendRequest(EqualsProto(request), Request::TYPE_QUERY, _)) + .WillOnce(Return(0)); + EXPECT_CALL(*client, RecvRawMessageStr) + .WillOnce(Invoke([&](std::string* resp) { return -1; })); + return client; + })); + absl::StatusOr>> resp = + client.GetTxn(0, 0); + EXPECT_FALSE(resp.ok()); +} + +TEST(ResDBTxnClientTest, GetTransactions) { + ResDBConfig config({GenerateReplicaInfo(1, "127.0.0.1", 1234), + GenerateReplicaInfo(2, "127.0.0.1", 1235), + GenerateReplicaInfo(3, "127.0.0.1", 1236), + GenerateReplicaInfo(4, "127.0.0.1", 1237)}, + GenerateReplicaInfo(1, "127.0.0.1", 1234)); + + QueryResponse query_resp; + auto txn = query_resp.add_transactions(); + txn->set_seq(1); + txn->set_data("test_resp"); + + QueryRequest request; + request.set_min_seq(1); + request.set_max_seq(1); + MockResDBTxnClient client(config); + EXPECT_CALL(client, GetResDBClient) + .Times(4) + .WillRepeatedly(Invoke([&](const std::string& ip, int port) { + auto client = std::make_unique(ip, port); + EXPECT_CALL(*client, + SendRequest(EqualsProto(request), Request::TYPE_QUERY, _)) + .WillOnce(Return(0)); + + EXPECT_CALL(*client, RecvRawMessageStr) + .WillOnce(Invoke([&](std::string* resp) { + query_resp.SerializeToString(resp); + return 0; + })); + return client; + })); + + absl::StatusOr>> resp = + client.GetTxn(1, 1); + EXPECT_TRUE(resp.ok()); + EXPECT_THAT(*resp, ElementsAre(std::make_pair(1, "test_resp"))); +} + +TEST(ResDBTxnClientTest, GetTransactionsOneDelay) { + ResDBConfig config({GenerateReplicaInfo(1, "127.0.0.1", 1234), + GenerateReplicaInfo(2, "127.0.0.1", 1235), + GenerateReplicaInfo(3, "127.0.0.1", 1236), + GenerateReplicaInfo(4, "127.0.0.1", 1237)}, + GenerateReplicaInfo(1, "127.0.0.1", 1234)); + + QueryResponse query_resp; + auto txn = query_resp.add_transactions(); + txn->set_seq(1); + txn->set_data("test_resp"); + + QueryRequest request; + request.set_min_seq(1); + request.set_max_seq(1); + MockResDBTxnClient client(config); + EXPECT_CALL(client, GetResDBClient) + .Times(4) + .WillRepeatedly(Invoke([&](const std::string& ip, int port) { + auto client = std::make_unique(ip, port); + EXPECT_CALL(*client, + SendRequest(EqualsProto(request), Request::TYPE_QUERY, _)) + .WillOnce(Return(0)); + + if (port == 1237) { + EXPECT_CALL(*client, RecvRawMessageStr) + .WillOnce(Invoke([&](std::string* resp) { + sleep(2); + return 0; + })); + } else { + EXPECT_CALL(*client, RecvRawMessageStr) + .WillOnce(Invoke([&](std::string* resp) { + query_resp.SerializeToString(resp); + return 0; + })); + } + return client; + })); + + absl::StatusOr>> resp = + client.GetTxn(1, 1); + EXPECT_TRUE(resp.ok()); + EXPECT_THAT(*resp, ElementsAre(std::make_pair(1, "test_resp"))); +} + +} // namespace +} // namespace resdb diff --git a/client/resdb_user_client.cpp b/client/resdb_user_client.cpp new file mode 100644 index 000000000..074c45760 --- /dev/null +++ b/client/resdb_user_client.cpp @@ -0,0 +1,73 @@ +#include "client/resdb_user_client.h" + +#include + +namespace resdb { + +ResDBUserClient::ResDBUserClient(const ResDBConfig& config) + : ResDBClient("", 0), + config_(config), + timeout_ms_( + config.GetClientTimeoutMs()), // default 2s for process timeout + is_check_signature_(true) { + socket_->SetRecvTimeout(timeout_ms_); +} + +void ResDBUserClient::DisableSignatureCheck() { is_check_signature_ = false; } + +absl::StatusOr ResDBUserClient::GetResponseData( + const Response& response) { + std::string hash_; + std::set hash_counter; + std::string resp_str; + for (const auto& each_resp : response.resp()) { + // Check signature + std::string hash = SignatureVerifier::CalculateHash(each_resp.data()); + + if (!hash_.empty() && hash != hash_) { + LOG(ERROR) << "hash not the same"; + return absl::InvalidArgumentError("hash not match"); + } + if (hash_.empty()) { + hash_ = hash; + resp_str = each_resp.data(); + } + hash_counter.insert(each_resp.signature().node_id()); + } + // LOG(INFO) << "recv hash:" << hash_counter.size() + // << " need:" << config_.GetMinClientReceiveNum() + // << " data len:" << resp_str.size(); + if (hash_counter.size() >= + static_cast(config_.GetMinClientReceiveNum())) { + return resp_str; + } + return absl::InvalidArgumentError("data not enough"); +} + +int ResDBUserClient::SendRequest(const google::protobuf::Message& message, + Request::Type type) { + // Use the replica obtained from the server. + ResDBClient::SetDestReplicaInfo(config_.GetReplicaInfos()[0]); + return ResDBClient::SendRequest(message, type, false); +} + +int ResDBUserClient::SendRequest(const google::protobuf::Message& message, + google::protobuf::Message* response, + Request::Type type) { + ResDBClient::SetDestReplicaInfo(config_.GetReplicaInfos()[0]); + int ret = ResDBClient::SendRequest(message, type, true); + if (ret == 0) { + std::string resp_str; + int ret = ResDBClient::RecvRawMessageData(&resp_str); + if (ret >= 0) { + if (!response->ParseFromString(resp_str)) { + LOG(ERROR) << "parse response fail:" << resp_str.size(); + return -2; + } + return 0; + } + } + return -1; +} + +} // namespace resdb diff --git a/client/resdb_user_client.h b/client/resdb_user_client.h new file mode 100644 index 000000000..a0cb16f61 --- /dev/null +++ b/client/resdb_user_client.h @@ -0,0 +1,44 @@ +#pragma once + +#include "absl/status/statusor.h" +#include "client/resdb_client.h" +#include "config/resdb_config.h" + +namespace resdb { + +// ResDBUserClient to send data to one server located in the config replicas +// and receive data from it. +// Inside ResDBUserClient, it does two things: +// 1. Broadcast the public key obtained from the config +// and receive the public keys of each replicas and the up-to-date replica +// list. +// 2. Send the messages to one server with the certificate signed by the +// private key and receive the response if needed. Each response contains +// at least f+1 valid sub response from distinct replicas (can be verified +// by the public keys obtained from 1). +class ResDBUserClient : public ResDBClient { + public: + ResDBUserClient(const ResDBConfig& config); + virtual ~ResDBUserClient() = default; + + // Send request with a command. + int SendRequest(const google::protobuf::Message& message, + Request::Type type = Request::TYPE_CLIENT_REQUEST); + // Send request with a command and wait for a response. + int SendRequest(const google::protobuf::Message& message, + google::protobuf::Message* response, + Request::Type type = Request::TYPE_CLIENT_REQUEST); + + // Only For test. + void DisableSignatureCheck(); + + private: + absl::StatusOr GetResponseData(const Response& response); + + private: + ResDBConfig config_; + int64_t timeout_ms_; // microsecond for timeout. + bool is_check_signature_; +}; + +} // namespace resdb diff --git a/client/resdb_user_client_test.cpp b/client/resdb_user_client_test.cpp new file mode 100644 index 000000000..677ef9085 --- /dev/null +++ b/client/resdb_user_client_test.cpp @@ -0,0 +1,141 @@ +#include "client/resdb_user_client.h" + +#include +#include + +#include "common/network/mock_socket.h" +#include "common/test/test_macros.h" +#include "crypto/signature_verifier.h" +#include "proto/client_test.pb.h" + +namespace resdb { +namespace { + +using ::resdb::testing::EqualsProto; +using ::testing::_; +using ::testing::Invoke; +using ::testing::Return; +using ::testing::Test; + +std::string GenerateRequestData(const ClientTestRequest& client_request, + bool need_resp = false) { + ResDBMessage message; + + Request request; + request.set_type(Request::TYPE_CLIENT_REQUEST); + request.set_need_response(need_resp); + client_request.SerializeToString(request.mutable_data()); + request.SerializeToString(message.mutable_data()); + + std::string request_data; + message.SerializeToString(&request_data); + + return request_data; +} + +std::string GenerateResponseData(const ClientTestResponse& client_responses) { + std::string response_data; + client_responses.SerializeToString(&response_data); + return response_data; +} + +class UserClientTest : public Test { + public: + UserClientTest() { + self_info_.set_ip("127.0.0.1"); + self_info_.set_port(1234); + + dest_info_.set_ip("127.0.0.1"); + dest_info_.set_port(1235); + replicas_.push_back(dest_info_); + + KeyInfo private_key; + private_key.set_key("private_key"); + config_ = std::make_unique(replicas_, self_info_, private_key, + CertificateInfo()); + config_->SetClientTimeoutMs(10000); + } + + protected: + ReplicaInfo dest_info_; + ReplicaInfo self_info_; + std::vector replicas_; + std::unique_ptr config_; +}; + +TEST_F(UserClientTest, OnlySendRequestOK) { + ClientTestRequest client_request; + client_request.set_value("test_value"); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect(dest_info_.ip(), dest_info_.port())) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(GenerateRequestData(client_request))) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Recv(_, _)).Times(0); + + ResDBUserClient client(*config_); + client.SetSocket(std::move(socket)); + client.SetSignatureVerifier(nullptr); + + int ret = client.SendRequest(client_request, Request::TYPE_CLIENT_REQUEST); + EXPECT_EQ(ret, 0); +} + +TEST_F(UserClientTest, GetResponse) { + ClientTestRequest client_request; + client_request.set_value("test_value"); + + ClientTestResponse client_response, expected_response; + expected_response.set_value("ack"); + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect(dest_info_.ip(), dest_info_.port())) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(GenerateRequestData(client_request, true))) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Recv(_, _)) + .WillOnce(Invoke([&](void** buf, size_t* len) { + ClientTestResponse response; + response.set_value("ack"); + + std::string resp_str = GenerateResponseData(response); + + *len = resp_str.size(); + *buf = malloc(*len); + memcpy(*buf, resp_str.c_str(), *len); + return *len; + })); + + ResDBUserClient client(*config_); + client.SetSocket(std::move(socket)); + EXPECT_EQ(client.SendRequest(client_request, &client_response, + Request::TYPE_CLIENT_REQUEST), + 0); + EXPECT_THAT(client_response, EqualsProto(expected_response)); +} + +TEST_F(UserClientTest, RecvResponseFail) { + ClientTestRequest client_request; + client_request.set_value("test_value"); + + ClientTestResponse client_response; + + std::unique_ptr socket = std::make_unique(); + EXPECT_CALL(*socket, Connect(dest_info_.ip(), dest_info_.port())) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Send(GenerateRequestData(client_request, true))) + .WillOnce(Return(0)); + EXPECT_CALL(*socket, Recv(_, _)).WillOnce(Return(-1)); + + ResDBUserClient client(*config_); + client.SetSocket(std::move(socket)); + + EXPECT_NE(client.SendRequest(client_request, &client_response, + Request::TYPE_CLIENT_REQUEST), + 0); +} + +} // namespace + +} // namespace resdb diff --git a/client1.config b/client1.config new file mode 100644 index 000000000..8aea50521 --- /dev/null +++ b/client1.config @@ -0,0 +1,2 @@ + +18 192.9.248.252 17018 diff --git a/client2.config b/client2.config new file mode 100644 index 000000000..6cf507ded --- /dev/null +++ b/client2.config @@ -0,0 +1,2 @@ + +17 138.2.231.174 17017 diff --git a/common/BUILD b/common/BUILD index c5982dd14..aa6ad0caa 100644 --- a/common/BUILD +++ b/common/BUILD @@ -1,21 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - package(default_visibility = ["//visibility:public"]) cc_library( @@ -33,13 +15,6 @@ cc_library( ], ) -cc_library( - name = "beast", - deps = [ - "@boost//:beast", - ], -) - cc_library( name = "boost_lockfree", deps = [ @@ -54,28 +29,6 @@ cc_library( ], ) -cc_library( - name = "pybind", - deps = [ - "@pybind11", - ], -) - -cc_library( - name = "json", - deps = [ - "@nlohmann_json//:json", - ], -) - -cc_library( - name = "boost_comm", - deps = [ - "@boost//:algorithm", - "@boost//:optional", - ], -) - cc_library( name = "comm", deps = [ diff --git a/common/crypto/BUILD b/common/crypto/BUILD deleted file mode 100644 index e55969031..000000000 --- a/common/crypto/BUILD +++ /dev/null @@ -1,104 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -cc_library( - name = "key_generator", - srcs = ["key_generator.cpp"], - hdrs = ["key_generator.h"], - deps = [ - "//:cryptopp_lib", - "//common:comm", - "//common/proto:signature_info_cc_proto", - ], -) - -cc_library( - name = "hash", - srcs = ["hash.cpp"], - hdrs = ["hash.h"], - deps = [ - "//:cryptopp_lib", - "//common:comm", - ], -) - -cc_test( - name = "hash_test", - srcs = ["hash_test.cpp"], - deps = [ - ":hash", - "//common/test:test_main", - ], -) - -cc_library( - name = "signature_utils", - srcs = ["signature_utils.cpp"], - hdrs = ["signature_utils.h"], - deps = [ - "//:cryptopp_lib", - "//common:comm", - "//common/proto:signature_info_cc_proto", - ], -) - -cc_library( - name = "signature_verifier_interface", - srcs = ["signature_verifier_interface.cpp"], - hdrs = ["signature_verifier_interface.h"], - deps = [ - "//common:comm", - "//common/proto:signature_info_cc_proto", - ], -) - -cc_library( - name = "signature_verifier", - srcs = ["signature_verifier.cpp"], - hdrs = ["signature_verifier.h"], - deps = [ - ":signature_utils", - ":signature_verifier_interface", - "//:cryptopp_lib", - "//common:comm", - "//common/proto:signature_info_cc_proto", - ], -) - -cc_library( - name = "mock_signature_verifier", - testonly = True, - hdrs = ["mock_signature_verifier.h"], - deps = [ - ":signature_verifier", - ], -) - -cc_test( - name = "signature_verifier_test", - srcs = ["signature_verifier_test.cpp"], - deps = [ - ":key_generator", - ":signature_verifier", - "//:cryptopp_lib", - "//common/test:test_main", - ], -) diff --git a/common/crypto/hash.cpp b/common/crypto/hash.cpp deleted file mode 100644 index b96a2b81d..000000000 --- a/common/crypto/hash.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/hash.h" - -#include -#include -#include - -namespace resdb { -namespace utils { -// Funtion to calculate hash of a string. -std::string CalculateSHA256Hash(const std::string& str) { - CryptoPP::byte const* pData = (CryptoPP::byte*)str.data(); - unsigned int nDataLen = str.size(); - CryptoPP::byte aDigest[CryptoPP::SHA256::DIGESTSIZE]; - - CryptoPP::SHA256().CalculateDigest(aDigest, pData, nDataLen); - return std::string((char*)aDigest, CryptoPP::SHA256::DIGESTSIZE); -} - -std::string CalculateRIPEMD160Hash(const std::string& str) { - CryptoPP::byte const* pData = (CryptoPP::byte*)str.data(); - unsigned int nDataLen = str.size(); - CryptoPP::byte aDigest[CryptoPP::RIPEMD160::DIGESTSIZE]; - - CryptoPP::RIPEMD160().CalculateDigest(aDigest, pData, nDataLen); - return std::string((char*)aDigest, CryptoPP::RIPEMD160::DIGESTSIZE); -} - -} // namespace utils -} // namespace resdb diff --git a/common/crypto/hash.h b/common/crypto/hash.h deleted file mode 100644 index 5136bfd55..000000000 --- a/common/crypto/hash.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include - -namespace resdb { -namespace utils { - -std::string CalculateSHA256Hash(const std::string& str); -std::string CalculateRIPEMD160Hash(const std::string& str); - -} // namespace utils -} // namespace resdb diff --git a/common/crypto/hash_test.cpp b/common/crypto/hash_test.cpp deleted file mode 100644 index 8cb32022c..000000000 --- a/common/crypto/hash_test.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/hash.h" - -#include -#include - -#include "common/test/test_macros.h" - -namespace resdb { -namespace utils { -namespace { - -using ::resdb::testing::EqualsProto; - -TEST(SignatureVerifyTest, CalculateSHA256) { - std::string expected_str = - "\x9F\x86\xD0\x81\x88L}e\x9A/" - "\xEA\xA0\xC5Z\xD0\x15\xA3\xBFO\x1B+\v\x82,\xD1]l\x15\xB0\xF0\n\b"; - EXPECT_EQ(CalculateSHA256Hash("test"), expected_str); -} - -TEST(SignatureVerifyTest, CalculateRIPEMD160) { - std::string expected_str = - "^R\xFE\xE4~k\a\x5" - "e\xF7" - "CrF\x8C\xDCi\x9D\xE8\x91\a"; - EXPECT_EQ(CalculateRIPEMD160Hash("test"), expected_str); -} - -} // namespace -} // namespace utils -} // namespace resdb diff --git a/common/crypto/key_generator.cpp b/common/crypto/key_generator.cpp deleted file mode 100644 index 5a60923fd..000000000 --- a/common/crypto/key_generator.cpp +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/key_generator.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -//#include -//#include - -namespace resdb { - -namespace { - -//============================================================================== -// Return a KeyPairHex for each node. This function is used by the nodes to -// obtain their keyPair -SecretKey RsaGenerateHexKeyPair(unsigned int key_size) { - SecretKey key_pair; - // PGP Random Pool-like generator - CryptoPP::AutoSeededRandomPool rng; - - // generate keys - CryptoPP::RSA::PrivateKey private_key; - private_key.GenerateRandomWithKeySize(rng, key_size); - CryptoPP::RSA::PublicKey public_key(private_key); - - // save keys - public_key.Save(CryptoPP::HexEncoder( - new CryptoPP::StringSink(*key_pair.mutable_public_key())) - .Ref()); - private_key.Save(CryptoPP::HexEncoder(new CryptoPP::StringSink( - *key_pair.mutable_private_key())) - .Ref()); - - return key_pair; -} - -// Initialize the signer and the keys for ED25519 -SecretKey ED25519GenerateKeys() { - CryptoPP::ed25519::Signer signer; - SecretKey key_pair; - CryptoPP::AutoSeededRandomPool prng; - // Initilize signer; - signer.AccessPrivateKey().GenerateRandom(prng); - - const CryptoPP::ed25519PrivateKey &private_key = - dynamic_cast(signer.GetPrivateKey()); - - key_pair.mutable_private_key()->assign( - (char *)private_key.GetPrivateKeyBytePtr(), - CryptoPP::ed25519PrivateKey::SECRET_KEYLENGTH); - key_pair.mutable_public_key()->assign( - (char *)private_key.GetPublicKeyBytePtr(), - CryptoPP::ed25519PrivateKey::PUBLIC_KEYLENGTH); - return key_pair; -} - -// CMAC-AES key generator -// Return a keyPairHex where just the priv key is set -SecretKey CmacGenerateHexKey(unsigned int key_size) { - SecretKey key_pair; - std::string private_key; - CryptoPP::AutoSeededRandomPool prng; - // int keySize = 16 ; // AES::DEFAULT_KEYLENGTH - CryptoPP::SecByteBlock key(key_size); - prng.GenerateBlock( - key.data(), key.size()); // Key is a SecByteBlock that contains the key. - - CryptoPP::StringSource ss(key.data(), key.size(), true, - new CryptoPP::HexEncoder(new CryptoPP::StringSink( - private_key)) // HexEncoder - ); // StringSource - key_pair.set_private_key(private_key); - key_pair.set_public_key(private_key); - return key_pair; -} - -SecretKey ECDSAGenerateKeys() { - CryptoPP::AutoSeededRandomPool prng; - CryptoPP::ECDSA::PrivateKey privateKey; - CryptoPP::DL_GroupParameters_EC params( - CryptoPP::ASN1::secp256k1()); - privateKey.Initialize(prng, params); - - CryptoPP::ECDSA::PublicKey publicKey; - privateKey.MakePublicKey(publicKey); - - SecretKey key_pair; - - // save keys - publicKey.Save(CryptoPP::HexEncoder( - new CryptoPP::StringSink(*key_pair.mutable_public_key())) - .Ref()); - privateKey.Save(CryptoPP::HexEncoder( - new CryptoPP::StringSink(*key_pair.mutable_private_key())) - .Ref()); - return key_pair; -} - -} // namespace - -SecretKey KeyGenerator::GeneratorKeys(SignatureInfo::HashType type) { - SecretKey key; - switch (type) { - case SignatureInfo::RSA: - key = RsaGenerateHexKeyPair(3072); - break; - case SignatureInfo::ED25519: { - key = ED25519GenerateKeys(); - break; - } - case SignatureInfo::CMAC_AES: { - key = CmacGenerateHexKey(16); - break; - } - case SignatureInfo::ECDSA: { - key = ECDSAGenerateKeys(); - break; - } - default: - break; - } - key.set_hash_type(type); - return key; -} - -} // namespace resdb diff --git a/common/crypto/key_generator.h b/common/crypto/key_generator.h deleted file mode 100644 index fcbe0f59e..000000000 --- a/common/crypto/key_generator.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include "common/proto/signature_info.pb.h" - -namespace resdb { - -class KeyGenerator { - public: - static SecretKey GeneratorKeys(SignatureInfo::HashType type); -}; - -} // namespace resdb diff --git a/common/crypto/mock_signature_verifier.h b/common/crypto/mock_signature_verifier.h deleted file mode 100644 index e22d3586c..000000000 --- a/common/crypto/mock_signature_verifier.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include "common/crypto/signature_verifier.h" - -namespace resdb { - -class MockSignatureVerifier : public SignatureVerifier { - public: - MockSignatureVerifier() : SignatureVerifier(KeyInfo(), CertificateInfo()) {} - MOCK_METHOD(absl::StatusOr, SignMessage, (const std::string&), - (override)); - MOCK_METHOD(bool, VerifyMessage, - (const std::string&, const SignatureInfo& sign), (override)); -}; - -} // namespace resdb diff --git a/common/crypto/signature_utils.cpp b/common/crypto/signature_utils.cpp deleted file mode 100644 index 4df11022b..000000000 --- a/common/crypto/signature_utils.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/signature_utils.h" - -#include -#include -#include -#include -#include -#include -#include - -namespace resdb { -namespace utils { - -bool RsaVerifyString(const std::string& message, const std::string& public_key, - const std::string& signature) { - try { - // decode and load public key (using pipeline) - CryptoPP::RSA::PublicKey rsa_public_key; - rsa_public_key.Load( - CryptoPP::StringSource(public_key, true, new CryptoPP::HexDecoder()) - .Ref()); - - // decode signature - std::string decoded_signature; - CryptoPP::StringSource ss( - signature, true, - new CryptoPP::HexDecoder(new CryptoPP::StringSink(decoded_signature))); - - // verify message - bool result = false; - CryptoPP::RSASS::Verifier verifier( - rsa_public_key); - CryptoPP::StringSource ss2( - decoded_signature + message, true, - new CryptoPP::SignatureVerificationFilter( - verifier, - new CryptoPP::ArraySink((CryptoPP::byte*)&result, sizeof(result)))); - - return result; - } catch (...) { - LOG(ERROR) << "key not valid"; - return false; - } -} - -bool ECDSAVerifyString(const std::string& message, - const std::string& public_key, - const std::string& signature) { - std::string decoded; - std::string output; - CryptoPP::StringSource( - signature, true, - new CryptoPP::HexDecoder(new CryptoPP::StringSink(decoded)) // StringSink - ); // StringSource - - CryptoPP::ECDSA::PublicKey dsa_public_key; - dsa_public_key.Load( - CryptoPP::StringSource(public_key, true, new CryptoPP::HexDecoder()) - .Ref()); - CryptoPP::ECDSA::Verifier verifier( - dsa_public_key); - - bool valid = true; - CryptoPP::StringSource( - decoded + message, true, - new CryptoPP::SignatureVerificationFilter( - verifier, - new CryptoPP::ArraySink((CryptoPP::byte*)&valid, sizeof(valid)))); - if (!valid) { - LOG(ERROR) << "signature invalid. signature len:" << signature.size() - << " message len:" << message.size(); - } - return valid; -} - -std::string RsaSignString(const std::string& private_key, - const std::string& message) { - // decode and load private key (using pipeline) - CryptoPP::RSA::PrivateKey rsa_private_key; - rsa_private_key.Load( - CryptoPP::StringSource(private_key, true, new CryptoPP::HexDecoder()) - .Ref()); - - // sign message - std::string signature; - CryptoPP::RSASS::Signer signer( - rsa_private_key); - CryptoPP::AutoSeededRandomPool rng; - CryptoPP::StringSource ss( - message, true, - new CryptoPP::SignerFilter( - rng, signer, - new CryptoPP::HexEncoder(new CryptoPP::StringSink(signature)))); - return signature; -} - -std::string ECDSASignString(const std::string& private_key, - const std::string& message) { - try { - CryptoPP::ECDSA::PrivateKey privateKey; - privateKey.Load( - CryptoPP::StringSource(private_key, true, new CryptoPP::HexDecoder()) - .Ref()); - CryptoPP::AutoSeededRandomPool prng; - std::string signature; - - CryptoPP::StringSource ss1( - message, true /*pump all*/, - new CryptoPP::SignerFilter( - prng, - CryptoPP::ECDSA::Signer( - privateKey), - new CryptoPP::StringSink(signature))); - - std::string output; - CryptoPP::StringSource(signature, true, - new CryptoPP::HexEncoder( - new CryptoPP::StringSink(output)) // HexEncoder - ); // StringSource - return output; - } catch (...) { - LOG(ERROR) << "sign error"; - return ""; - } -} - -} // namespace utils -} // namespace resdb diff --git a/common/crypto/signature_utils.h b/common/crypto/signature_utils.h deleted file mode 100644 index 927cbbd38..000000000 --- a/common/crypto/signature_utils.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include - -namespace resdb { -namespace utils { - -bool RsaVerifyString(const std::string& message, const std::string& public_key, - const std::string& signature); -bool ECDSAVerifyString(const std::string& message, - const std::string& public_key, - const std::string& signature); - -std::string RsaSignString(const std::string& private_key, - const std::string& message); - -std::string ECDSASignString(const std::string& private_key, - const std::string& message); - -} // namespace utils -} // namespace resdb diff --git a/common/crypto/signature_verifier.h b/common/crypto/signature_verifier.h deleted file mode 100644 index 2a8e312cd..000000000 --- a/common/crypto/signature_verifier.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include -#include - -#include -#include - -#include "absl/status/statusor.h" -#include "common/crypto/signature_verifier_interface.h" -#include "common/proto/signature_info.pb.h" - -namespace resdb { - -// SignatureVerifier used to sign signatures using private_key, -// and verify signatures using the public keys of the senders identified -// by their node_id. -class SignatureVerifier : public SignatureVerifierInterface { - public: - SignatureVerifier(const KeyInfo& private_key, - const CertificateInfo& certificate_info); - virtual ~SignatureVerifier() = default; - - // Set the public key that contains the public key, node id, - // and its certificate. - bool AddPublicKey(const CertificateKey& pub_key, bool need_verify = true); - - // Get the public key of node id. KeyInfo contains the key and its hash type. - absl::StatusOr GetPublicKey(int64_t node_id) const; - // Get all the public keys. - std::vector GetAllPublicKeys() const; - // Get the number of public keys it contains. - size_t GetPublicKeysSize() const; - - // Sign messages using the private key. - virtual absl::StatusOr SignMessage(const std::string& message); - absl::StatusOr SignCertificateKeyInfo( - const CertificateKeyInfo& info); - - // Verify messages using the public key from the sender. - virtual bool VerifyMessage(const std::string& message, - const SignatureInfo& sign); - bool VerifyMessage(const google::protobuf::Message& message, - const SignatureInfo& sign); - bool VerifyKey(const CertificateKeyInfo& info, const SignatureInfo& sign); - - static std::string CalculateHash(const std::string& str); - - static bool VerifyMessage(const std::string& message, - const KeyInfo& public_key, - const std::string& signature); - - private: - std::map keys_; - // GUARDED_BY(mutex_); // public keys of nodes, including the public key and - // its encrpt type. - KeyInfo private_key_; // public-private keys of self. - KeyInfo admin_public_key_; // public key of admin. - int64_t node_id_; // id of current node. - std::unique_ptr signer_; - mutable std::shared_mutex mutex_; -}; - -} // namespace resdb diff --git a/common/crypto/signature_verifier_interface.cpp b/common/crypto/signature_verifier_interface.cpp deleted file mode 100644 index 865eccffc..000000000 --- a/common/crypto/signature_verifier_interface.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/signature_verifier_interface.h" - -namespace resdb { - -absl::StatusOr SignatureVerifierInterface::SignMessage( - const std::string& message) { - return SignatureInfo(); -} - -} // namespace resdb diff --git a/common/crypto/signature_verifier_interface.h b/common/crypto/signature_verifier_interface.h deleted file mode 100644 index 197387fc3..000000000 --- a/common/crypto/signature_verifier_interface.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#pragma once - -#include "absl/status/statusor.h" -#include "common/proto/signature_info.pb.h" - -namespace resdb { - -// SignatureVerifier base class, provide an interface for communication. -class SignatureVerifierInterface { - public: - SignatureVerifierInterface() = default; - virtual ~SignatureVerifierInterface() = default; - - // Sign messages using the private key. - virtual absl::StatusOr SignMessage(const std::string& message); -}; - -} // namespace resdb diff --git a/common/data_comm/BUILD b/common/data_comm/BUILD new file mode 100644 index 000000000..65289be78 --- /dev/null +++ b/common/data_comm/BUILD @@ -0,0 +1,8 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "data_comm", + hdrs = [ + "data_comm.h", + ], +) diff --git a/common/data_comm/data_comm.h b/common/data_comm/data_comm.h new file mode 100644 index 000000000..e630daeb4 --- /dev/null +++ b/common/data_comm/data_comm.h @@ -0,0 +1,18 @@ +#pragma once +#include + +namespace resdb { + +struct DataInfo { + DataInfo() : buff(nullptr), data_len(0) {} + ~DataInfo() { + if (buff) { + free(buff); + buff = nullptr; + } + } + void* buff = nullptr; + size_t data_len = 0; +}; + +} // namespace resdb diff --git a/common/logging/BUILD b/common/logging/BUILD new file mode 100644 index 000000000..dab35f33d --- /dev/null +++ b/common/logging/BUILD @@ -0,0 +1,26 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "logging", + srcs = [ + "logging.cpp", + ], + hdrs = [ + "logging.h", + ], + deps = [ + "//common:comm", + "//proto:logging_cc_proto", + ], +) + +cc_test( + name = "logging_test", + srcs = ["logging_test.cpp"], + deps = [ + ":logging", + "//common/test", + "//common/test:test_main", + "//proto:logging_cc_proto", + ], +) diff --git a/common/logging/logging.cpp b/common/logging/logging.cpp new file mode 100644 index 000000000..b5c90a228 --- /dev/null +++ b/common/logging/logging.cpp @@ -0,0 +1,55 @@ +#include "common/logging/logging.h" + +#include +#include +#include +#include +#include + +namespace resdb { + +// TODO write to files +Logging::Logging(const std::string &path) { + fd_ = open(path.c_str(), O_CREAT | O_APPEND | O_RDWR, 0666); + assert(fd_ >= 0); +} + +Logging::~Logging() { close(fd_); } + +void Logging::Clear() { ftruncate(fd_, 0); } + +void Logging::Log(const google::protobuf::Message &message) { + std::string str; + if (message.SerializeToString(&str)) { + Log(str); + } +} + +void Logging::Log(const std::string &data) { + size_t size = data.size(); + write(fd_, &size, sizeof(size)); + write(fd_, data.c_str(), data.size()); +} + +void Logging::ResetHead() { lseek(fd_, 0, SEEK_SET); } + +void Logging::ResetEnd() { lseek(fd_, 0, SEEK_END); } + +int Logging::Read(google::protobuf::Message *info) { + size_t size; + if (read(fd_, &size, sizeof(size)) != sizeof(size)) { + LOG(ERROR) << "read len fail:" << strerror(errno); + return -1; + } + if (size == 0) { + return 0; + } + char *buffer = new char[size]; + size_t ret = read(fd_, buffer, size); + assert(ret == size); + assert(info->ParseFromArray(buffer, size)); + free(buffer); + return 0; +} + +} // namespace resdb diff --git a/common/logging/logging.h b/common/logging/logging.h new file mode 100644 index 000000000..b8322dff6 --- /dev/null +++ b/common/logging/logging.h @@ -0,0 +1,26 @@ +#pragma once + +#include + +namespace resdb { + +class Logging { + public: + Logging(const std::string& path); + ~Logging(); + + void Log(const google::protobuf::Message& message); + void Log(const std::string& data); + + // For recovery. + void ResetHead(); + void ResetEnd(); + int Read(google::protobuf::Message* info); + + // Only for test. + void Clear(); + + private: + int fd_; +}; +} // namespace resdb diff --git a/common/logging/logging_test.cpp b/common/logging/logging_test.cpp new file mode 100644 index 000000000..fbdd0d584 --- /dev/null +++ b/common/logging/logging_test.cpp @@ -0,0 +1,68 @@ +#include "common/logging/logging.h" + +#include + +#include "common/test/test_macros.h" +#include "proto/logging.pb.h" + +namespace resdb { + +using ::resdb::testing::EqualsProto; + +TEST(Logging, log) { + Logging logging("./test_log.log"); + logging.Clear(); + { + Logging logging("./test_log.log"); + + LoggingInfo info; + info.set_seq(123); + info.set_request("request"); + info.set_signature("signature"); + + logging.Log(info); + } + { + LoggingInfo expected_info; + expected_info.set_seq(123); + expected_info.set_request("request"); + expected_info.set_signature("signature"); + + Logging logging("./test_log.log"); + logging.ResetHead(); + + LoggingInfo info; + logging.Read(&info); + EXPECT_THAT(info, EqualsProto(expected_info)); + + int ret = logging.Read(&info); + EXPECT_NE(ret, 0); + logging.ResetEnd(); + + info.set_seq(234); + logging.Log(info); + } + { + LoggingInfo expected_info; + expected_info.set_seq(123); + expected_info.set_request("request"); + expected_info.set_signature("signature"); + + Logging logging("./test_log.log"); + logging.ResetHead(); + + LoggingInfo info; + logging.Read(&info); + EXPECT_THAT(info, EqualsProto(expected_info)); + + expected_info.set_seq(234); + logging.Read(&info); + EXPECT_THAT(info, EqualsProto(expected_info)); + + int ret = logging.Read(&info); + EXPECT_NE(ret, 0); + logging.ResetEnd(); + } +} + +} // namespace resdb diff --git a/common/network/BUILD b/common/network/BUILD new file mode 100644 index 000000000..66f6b9be7 --- /dev/null +++ b/common/network/BUILD @@ -0,0 +1,37 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "socket", + hdrs = ["socket.h"], + deps = [ + "//common:comm", + ], +) + +cc_library( + name = "mock_socket", + hdrs = ["mock_socket.h"], + deps = [ + ":socket", + "//common:comm", + "//common/test", + ], +) + +cc_library( + name = "tcp_socket", + srcs = ["tcp_socket.cpp"], + hdrs = ["tcp_socket.h"], + deps = [ + ":socket", + ], +) + +cc_test( + name = "tcp_socket_test", + srcs = ["tcp_socket_test.cpp"], + deps = [ + ":tcp_socket", + "//common/test:test_main", + ], +) diff --git a/common/network/mock_socket.h b/common/network/mock_socket.h new file mode 100644 index 000000000..3cff379e5 --- /dev/null +++ b/common/network/mock_socket.h @@ -0,0 +1,24 @@ +#pragma once + +#include + +#include "common/network/socket.h" +#include "gmock/gmock.h" + +namespace resdb { + +class MockSocket : public Socket { + public: + MOCK_METHOD(int, Connect, (const std::string&, int), (override)); + MOCK_METHOD(int, Listen, (const std::string&, int), (override)); + MOCK_METHOD(void, ReInit, (), (override)); + MOCK_METHOD(void, Close, (), (override)); + MOCK_METHOD(std::unique_ptr, Accept, (), (override)); + MOCK_METHOD(int, Send, (const std::string&), (override)); + MOCK_METHOD(int, Recv, (void**, size_t*), (override)); + MOCK_METHOD(int, GetBindingPort, (), (override)); + + MOCK_METHOD(int, SetAsync, (bool), (override)); +}; + +} // namespace resdb diff --git a/common/network/network_utils.cpp b/common/network/network_utils.cpp new file mode 100644 index 000000000..05de99777 --- /dev/null +++ b/common/network/network_utils.cpp @@ -0,0 +1,31 @@ +#include "network/network_utils.h" + +namespace resdb { + +std::string GetDNSName(const std::string& ip, int port, NetworkType type) { + char dns_name[1024]; + switch (type) { + case TPORT_TYPE: + snprintf(dns_name, sizeof(dns_name), "ipc://node_%d.ipc", port); + break; + case ENVIRONMENT_EC2: + snprintf(dns_name, sizeof(dns_name), "tcp://0.0.0.0:%d", port); + break; + default: + snprintf(dns_name, sizeof(dns_name), "tcp://%s:%d", ip.data(), port); + break; + } + return dns_name; +} + +std::string GetTcpUrl(const std::string& ip, int port) { + char name[1024]; + if (port > 0) { + snprintf(name, sizeof(name), "tcp://%s:%d", ip.data(), port); + } else { + snprintf(name, sizeof(name), "tcp://%s", ip.data()); + } + return name; +} + +} // namespace resdb diff --git a/common/network/network_utils.h b/common/network/network_utils.h new file mode 100644 index 000000000..ce086d345 --- /dev/null +++ b/common/network/network_utils.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +#include "proto/network_type.pb.h" + +namespace resdb { + +std::string GetDNSName(const std::string& ip, int port, NetworkType type); + +std::string GetTcpUrl(const std::string& ip, int port = 0); + +} // namespace resdb diff --git a/common/network/network_utils_test.cpp b/common/network/network_utils_test.cpp new file mode 100644 index 000000000..7900fde65 --- /dev/null +++ b/common/network/network_utils_test.cpp @@ -0,0 +1,24 @@ +#include "network/network_utils.h" + +#include + +#include +#include +#include + +namespace resdb { + +TEST(NetworkUtilsTest, GetDNSName) { + EXPECT_EQ(GetDNSName("127.0.0.1", 1234, NetworkType::TPORT_TYPE), + "ipc://node_1234.ipc"); + EXPECT_EQ(GetDNSName("127.0.0.1", 1234, NetworkType::ENVIRONMENT_EC2), + "tcp://0.0.0.0:1234"); + EXPECT_EQ(GetDNSName("127.0.0.1", 1234, NetworkType::TCP), + "tcp://127.0.0.1:1234"); +} + +TEST(NetworkUtilsTest, GetTcpUrl) { + EXPECT_EQ(GetTcpUrl("127.0.0.1", 1234), "tcp://127.0.0.1:1234"); + EXPECT_EQ(GetTcpUrl("127.0.0.1:1234"), "tcp://127.0.0.1:1234"); +} +} // namespace resdb diff --git a/common/network/socket.h b/common/network/socket.h new file mode 100644 index 000000000..a067d108a --- /dev/null +++ b/common/network/socket.h @@ -0,0 +1,32 @@ +#pragma once + +#include +#include + +namespace resdb { + +// Socket for Tcp Server +class Socket { + public: + Socket() = default; + virtual ~Socket() = default; + + virtual int Connect(const std::string& ip, int port) = 0; + virtual int Listen(const std::string& ip, int port) = 0; + + virtual void ReInit() = 0; + virtual void Close() = 0; + virtual std::unique_ptr Accept() = 0; + + virtual int Send(const std::string& data) = 0; + virtual int Recv(void** buf, size_t* len) = 0; + + virtual int SetSocketOpt(const char* option, int optval) { return -1; } + virtual int GetBindingPort() = 0; + + virtual void SetRecvTimeout(int64_t microseconds) {} + virtual void SetSendTimeout(int64_t microseconds) {} + virtual int SetAsync(bool is_open = true) { return -1; } +}; + +} // namespace resdb diff --git a/platform/common/network/tcp_socket.cpp b/common/network/tcp_socket.cpp similarity index 82% rename from platform/common/network/tcp_socket.cpp rename to common/network/tcp_socket.cpp index b541c71dc..9aacdef47 100644 --- a/platform/common/network/tcp_socket.cpp +++ b/common/network/tcp_socket.cpp @@ -1,23 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "platform/common/network/tcp_socket.h" +#include "common/network/tcp_socket.h" #include #include @@ -37,9 +18,11 @@ int RecvInternal(int fd, void* buf, size_t len) { while (len > 0) { int ret = recv(fd, (char*)buf + pos, len, 0); if (ret <= 0) { + if(ret<0){ // LOG(ERROR) << "recv data fail, fd =" << fd << " error " << - // strerror(errno) - // << " ret:" << ret; + //strerror(errno) + // << " ret:" << ret; + } return ret; } pos += ret; @@ -216,8 +199,7 @@ void TcpSocket::SetRecvTimeout(int64_t microseconds) { if (socket_fd_ < 0) { return; } - struct timeval timeout = {microseconds / 1000000, - static_cast(microseconds % 1000000)}; + struct timeval timeout = {microseconds / 1000000, microseconds % 1000000}; if (setsockopt(socket_fd_, SOL_SOCKET, SO_RCVTIMEO, (char*)&timeout, sizeof(struct timeval)) != 0) { LOG(ERROR) << "set recv timeout:" << microseconds @@ -226,8 +208,7 @@ void TcpSocket::SetRecvTimeout(int64_t microseconds) { } void TcpSocket::SetSendTimeout(int64_t microseconds) { - struct timeval timeout = {microseconds / 1000000, - static_cast(microseconds % 1000000)}; + struct timeval timeout = {microseconds / 1000000, microseconds % 1000000}; if (setsockopt(socket_fd_, SOL_SOCKET, SO_SNDTIMEO, (char*)&timeout, sizeof(struct timeval)) != 0) { LOG(ERROR) << "set second timeout failed:" << strerror(errno); diff --git a/common/network/tcp_socket.h b/common/network/tcp_socket.h new file mode 100644 index 000000000..b363ce7cb --- /dev/null +++ b/common/network/tcp_socket.h @@ -0,0 +1,40 @@ +#pragma once + +#include + +#include "common/network/socket.h" + +namespace resdb { + +// Socket for Tcp Server +class TcpSocket : public Socket { + public: + TcpSocket(); + TcpSocket(int socket_fd); + ~TcpSocket(); + + // For Server + int Listen(const std::string& ip, int port) override; + std::unique_ptr Accept() override; + virtual void ReInit(); + void Close() override; + + int Connect(const std::string& ip, int port) override; + + int Send(const std::string& data) override; + int Recv(void** buf, size_t* len) override; + + int GetBindingPort() override; + + void SetRecvTimeout(int64_t microseconds) override; + void SetSendTimeout(int64_t microseconds) override; + int SetAsync(bool is_open = true) override; + + private: + int InitSocket(); + + private: + int socket_fd_; + int binding_port_ = 0; +}; +} // namespace resdb diff --git a/common/network/tcp_socket_test.cpp b/common/network/tcp_socket_test.cpp new file mode 100644 index 000000000..572d1d947 --- /dev/null +++ b/common/network/tcp_socket_test.cpp @@ -0,0 +1,75 @@ +#include "common/network/tcp_socket.h" + +#include +#include + +#include +#include + +namespace resdb { + +TEST(TcpSocket, SendAndRecv) { + std::promise svr_done, cli_done; + std::future svr_done_future = svr_done.get_future(), + cli_done_future = cli_done.get_future(); + + std::thread svr_thead = std::thread([&]() { + TcpSocket svr_socket; + svr_socket.Listen("127.0.0.1", 1234); + svr_done.set_value(true); + auto client_socket = svr_socket.Accept(); + char *buf = nullptr; + size_t len = 0; + int ret = client_socket->Recv((void **)&buf, &len); + EXPECT_EQ(ret, 4); + EXPECT_EQ(std::string(buf, len), "test"); + free(buf); + + ret = client_socket->Send("recv_suc"); + EXPECT_EQ(ret, 0); + + cli_done_future.get(); + }); + + svr_done_future.get(); + // Sever is ready, start the client. + + TcpSocket client_socket; + int ret = client_socket.Connect("127.0.0.1", 1234); + ASSERT_EQ(ret, 0); + ret = client_socket.Send("test"); + ASSERT_EQ(ret, 0); + + char *buf = nullptr; + size_t len = 0; + ret = client_socket.Recv((void **)&buf, &len); + EXPECT_EQ(ret, 8); + EXPECT_EQ(std::string(buf, len), "recv_suc"); + free(buf); + + cli_done.set_value(true); + svr_thead.join(); +} + +TEST(TcpSocket, SendAfterClose) { + std::promise svr_done, cli_done; + std::future svr_done_future = svr_done.get_future(), + cli_done_future = cli_done.get_future(); + + std::thread svr_thead = std::thread([&]() { + TcpSocket svr_socket; + svr_socket.Listen("127.0.0.1", 1234); + svr_done.set_value(true); + cli_done_future.get(); + }); + + svr_done_future.get(); + TcpSocket client_socket; + client_socket.Connect("127.0.0.1", 1234); + client_socket.Close(); + EXPECT_EQ(client_socket.Send("test"), -2); + cli_done.set_value(true); + svr_thead.join(); +} + +} // namespace resdb diff --git a/common/proto/BUILD b/common/proto/BUILD deleted file mode 100644 index 2122cef4b..000000000 --- a/common/proto/BUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -package(default_visibility = ["//visibility:public"]) - -load("@rules_cc//cc:defs.bzl", "cc_proto_library") -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@rules_proto_grpc//python:defs.bzl", "python_proto_library") - -proto_library( - name = "signature_info_proto", - srcs = ["signature_info.proto"], -) - -cc_proto_library( - name = "signature_info_cc_proto", - deps = [":signature_info_proto"], -) - -python_proto_library( - name = "signature_info_py_proto", - protos = [":signature_info_proto"], -) diff --git a/common/proto/signature_info.proto b/common/proto/signature_info.proto deleted file mode 100644 index cc1cfc425..000000000 --- a/common/proto/signature_info.proto +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -syntax = "proto3"; - -package resdb; - -message SignatureInfo { - enum HashType{ - NONE = 0; - RSA = 1; - ED25519 = 2; - CMAC_AES = 3; - ECDSA = 4; - }; - - HashType hash_type = 1; - int64 node_id = 2; - bytes signature = 3; -}; - -message SecretKey { - bytes public_key = 1; - bytes private_key = 2; - SignatureInfo.HashType hash_type = 3; -}; - -message KeyInfo { - bytes key = 1; - SignatureInfo.HashType hash_type = 2; -} - -message CertificateKeyInfo { - enum Type { - REPLICA = 0; - CLIENT = 1; - } - KeyInfo key = 1; - int64 node_id = 2; - Type type = 3; - string ip = 4; - int32 port = 5; - // the ip:port the replica uses, if it is a client node, can be ignored. -} - -message CertificateKey { - CertificateKeyInfo public_key_info = 1; // the public key of current node. - SignatureInfo certificate = 2; // the certificate of `public_key_info`. -} - -// CertificateInfo is published from the adminisotr and will be written to a cert file. -message CertificateInfo { - KeyInfo admin_public_key = 1; // the public key owned by the administor. - CertificateKey public_key = 3; // public key info with certificate. - int64 node_id = 4; -}; - -// Used to construct SignatureVerifier. -message SignatureKeyInfo { - KeyInfo admin_public_key = 1; // the public key owned by the administor. - KeyInfo private_key = 2; // the private key from the user, used to sign messages. - int64 node_id = 3; // the unique id of the replica or client. -} - diff --git a/common/queue/BUILD b/common/queue/BUILD new file mode 100644 index 000000000..de2759ba7 --- /dev/null +++ b/common/queue/BUILD @@ -0,0 +1,47 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "blocking_queue", + hdrs = [ + "blocking_queue.h", + ], +) + +cc_library( + name = "lock_free_queue", + hdrs = [ + "lock_free_queue.h", + ], + deps = [ + "//common:boost_lockfree", + "//common:comm", + ], +) + +cc_test( + name = "lock_free_queue_test", + srcs = ["lock_free_queue_test.cpp"], + deps = [ + ":lock_free_queue", + "//common/test:test_main", + ], +) + +cc_library( + name = "batch_queue", + hdrs = [ + "batch_queue.h", + ], + deps = [ + "//common:comm", + ], +) + +cc_test( + name = "batch_queue_test", + srcs = ["batch_queue_test.cpp"], + deps = [ + ":batch_queue", + "//common/test:test_main", + ], +) diff --git a/common/queue/batch_queue.h b/common/queue/batch_queue.h new file mode 100644 index 000000000..41a0b0fa2 --- /dev/null +++ b/common/queue/batch_queue.h @@ -0,0 +1,67 @@ +#pragma once + +#include + +#include +#include + +namespace resdb { + +template +class BatchQueue { + struct BatchQueueItem { + std::vector list; + }; + + public: + int num = 0; + BatchQueue() = default; + BatchQueue(const std::string& name, int batch_size) + : name_(name), batch_size_(batch_size) {} + void Push(T&& data) { + std::lock_guard lk(mutex_); + if (queue_.empty() || queue_.back()->list.size() >= batch_size_) { + queue_.push_back(std::make_unique()); + queue_.back()->list.reserve(batch_size_); + } + queue_.back()->list.push_back(std::move(data)); + cv_.notify_all(); + } + + size_t Size() { return queue_.size(); } + + std::vector Pop(int timeout_ms) { + std::unique_ptr item = nullptr; + { + std::unique_lock lk(mutex_); + if (timeout_ms > 0) { + cv_.wait_for(lk, std::chrono::microseconds(timeout_ms), [&] { + return !queue_.empty() && queue_.front()->list.size() >= batch_size_; + }); + } + if(name_ == "bc_batch"){ + if (queue_.empty() ){ + return std::vector(); + } + } + else { + if (queue_.empty() || queue_.front()->list.size() < batch_size_) { + return std::vector(); + } + } + item = std::move(queue_.front()); + queue_.pop_front(); + } + return std::move(item->list); + } + + private: + std::string name_; + std::condition_variable cv_; + std::mutex mutex_; + // std::queue queue_ GUARDED_BY(mutex_); + std::list> queue_; + size_t batch_size_; +}; + +} // namespace resdb diff --git a/common/queue/batch_queue_test.cpp b/common/queue/batch_queue_test.cpp new file mode 100644 index 000000000..65618c185 --- /dev/null +++ b/common/queue/batch_queue_test.cpp @@ -0,0 +1,79 @@ +#include "common/queue/batch_queue.h" + +#include +#include +#include + +#include + +#include "common/test/test_macros.h" + +namespace resdb { +namespace { + +struct TestItem { + std::string data; +}; + +TEST(BatchQueueTest, NoBatch) { + BatchQueue> queue("test", 100); + auto item = std::make_unique(); + item->data = "test"; + queue.Push(std::move(item)); + + auto out = queue.Pop(100); + EXPECT_EQ(out.size(), 1); + EXPECT_EQ(out[0]->data, "test"); +} + +TEST(BatchQueueTest, Batch) { + int tot = 100; + BatchQueue> queue("test", 100); + auto th = std::thread([&]() { + int count = 0; + while (count != tot) { + auto out = queue.Pop(100); + count += out.size(); + } + }); + + for (int i = 0; i < tot; ++i) { + auto item = std::make_unique(); + item->data = "test"; + queue.Push(std::move(item)); + } + th.join(); +} + +TEST(BatchQueueTest, BatchPerformance) { + int tot = 5000000; + BatchQueue> queue("test", 100); + auto th = std::thread([&]() { + auto start_time = std::chrono::system_clock::now(); + int count = 0; + int num = 0; + while (count != tot) { + auto out = queue.Pop(100); + count += out.size(); + num++; + } + auto current_time = std::chrono::system_clock::now(); + std::chrono::duration diff = (current_time - start_time); + printf("pop time: %lf num = %d\n", diff.count(), num); + }); + auto start_time = std::chrono::system_clock::now(); + for (int i = 0; i < tot; ++i) { + auto item = std::make_unique(); + item->data = "test"; + queue.Push(std::move(item)); + } + auto current_time = std::chrono::system_clock::now(); + std::chrono::duration diff = (current_time - start_time); + printf("push time: %lf\n", diff.count()); + printf("queue size %zu\n", queue.Size()); + th.join(); +} + +} // namespace + +} // namespace resdb diff --git a/common/queue/blocking_queue.h b/common/queue/blocking_queue.h new file mode 100644 index 000000000..0c10f85ae --- /dev/null +++ b/common/queue/blocking_queue.h @@ -0,0 +1,87 @@ +#pragma once + +#include + +#include +#include + +#include "absl/status/statusor.h" + +namespace resdb { + +template +class BlockingQueue { + public: + BlockingQueue() = default; + BlockingQueue(const std::string& name) : name_(name) {} + void Push(T&& data) { + std::lock_guard lk(mutex_); + queue_.push(std::move(data)); + cv_.notify_all(); + } + + void Push(T& data) { + std::lock_guard lk(mutex_); + queue_.push(std::move(data)); + cv_.notify_all(); + } + + absl::StatusOr Front() { + std::unique_lock lk(mutex_); + if (queue_.empty()) { + return nullptr; + } + return &queue_.front(); + } + + T Pop() { + std::unique_lock lk(mutex_); + cv_.wait_for(lk, std::chrono::microseconds(timeout_ms_), + [&] { return !queue_.empty(); }); + + if (queue_.empty()) { + return nullptr; + } + auto resp = std::move(queue_.front()); + queue_.pop(); + return resp; + } + + T Pop(int timeout_ms) { + std::unique_lock lk(mutex_); + if (timeout_ms > 0) { + cv_.wait_for(lk, std::chrono::microseconds(timeout_ms), + [&] { return !queue_.empty(); }); + } + if (queue_.empty()) { + return nullptr; + } + auto resp = std::move(queue_.front()); + queue_.pop(); + return resp; + } + + T PopWithSize(int timeout_ms, size_t size) { + std::unique_lock lk(mutex_); + if (timeout_ms > 0) { + cv_.wait_for(lk, std::chrono::microseconds(timeout_ms), + [&] { return queue_.size() >= size; }); + } + if (queue_.empty()) { + return nullptr; + } + auto resp = std::move(queue_.front()); + queue_.pop(); + return resp; + } + + private: + std::string name_; + std::condition_variable cv_; + std::mutex mutex_; + // std::queue queue_ GUARDED_BY(mutex_); + std::queue queue_; + int64_t timeout_ms_ = 500; // microsecond for timeout. +}; + +} // namespace resdb diff --git a/common/queue/lock_free_queue.h b/common/queue/lock_free_queue.h new file mode 100644 index 000000000..9a1b2f3ce --- /dev/null +++ b/common/queue/lock_free_queue.h @@ -0,0 +1,58 @@ +#pragma once + +#include + +#include +#include + +#include "absl/status/statusor.h" + +namespace resdb { + +template +class LockFreeQueue { + public: + LockFreeQueue(const std::string& name = "") : name_(name), queue_(1024) {} + void Push(std::unique_ptr data) { + T* ptr = data.release(); + while (!queue_.push(ptr)) { + LOG(ERROR) << "push data:" << name_ << " fail"; + } + if (need_notify_.load()) { + bool old_v = true; + if (need_notify_.compare_exchange_strong(old_v, false, + std::memory_order_acq_rel, + std::memory_order_acq_rel)) { + std::lock_guard lk(mutex_); + cv_.notify_all(); + } + } + cv_.notify_all(); + } + + std::unique_ptr Pop(int timeout_ms = 100) { + T* ret = nullptr; + if (!queue_.pop(ret)) { + if (timeout_ms > 0) { + std::unique_lock lk(mutex_); + need_notify_ = true; + cv_.wait_for(lk, std::chrono::milliseconds(timeout_ms), + [&] { return !need_notify_.load(); }); + if (queue_.pop(ret)) { + return std::unique_ptr(ret); + } + } + return nullptr; + } + return std::unique_ptr(ret); + } + + private: + std::string name_; + boost::lockfree::queue queue_; + std::condition_variable cv_; + std::mutex mutex_; + std::atomic need_notify_; +}; + +} // namespace resdb diff --git a/common/queue/lock_free_queue_test.cpp b/common/queue/lock_free_queue_test.cpp new file mode 100644 index 000000000..3dce53fe4 --- /dev/null +++ b/common/queue/lock_free_queue_test.cpp @@ -0,0 +1,31 @@ +#include "common/queue/lock_free_queue.h" + +#include +#include +#include + +#include + +#include "common/test/test_macros.h" + +namespace resdb { +namespace { + +struct TestItem { + std::string data; +}; + +TEST(LockFreeQueueTest, SendAndPop) { + LockFreeQueue queue("test"); + auto item = std::make_unique(); + item->data = "test"; + queue.Push(std::move(item)); + + auto out = queue.Pop(); + assert(out != nullptr); + EXPECT_EQ(out->data, "test"); +} + +} // namespace + +} // namespace resdb diff --git a/common/test/BUILD b/common/test/BUILD index e6bd3d615..905b244d8 100644 --- a/common/test/BUILD +++ b/common/test/BUILD @@ -1,22 +1,3 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - package(default_visibility = ["//visibility:public"]) cc_library( @@ -25,38 +6,14 @@ cc_library( "test_macros.h", ], deps = [ - "//common:comm", "@com_google_googletest//:gtest", - "@com_google_protobuf//:protobuf", ], ) cc_library( name = "test_main", - defines = ["TEST_MODE"], deps = [ ":test", "@com_google_googletest//:gtest_main", ], ) - -proto_library( - name = "test_proto", - srcs = ["test.proto"], - visibility = ["//visibility:private"], -) - -cc_proto_library( - name = "test_cc_proto", - visibility = ["//visibility:private"], - deps = [":test_proto"], -) - -cc_test( - name = "json_test", - srcs = ["json_test.cpp"], - deps = [ - ":test_cc_proto", - ":test_main", - ], -) diff --git a/common/test/json_test.cpp b/common/test/json_test.cpp deleted file mode 100644 index 4fcaeed50..000000000 --- a/common/test/json_test.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include - -#include "common/test/test.pb.h" -#include "common/test/test_macros.h" - -namespace resdb { -namespace testing { -namespace { - -using ::resdb::testing::EqualsProto; - -TEST(SignatureVerifyTest, ParseFromJson) { - resdb::test::JsonMessage json_msg; - - json_msg.set_id(1); - json_msg.set_data("data"); - json_msg.mutable_sub_msg()->set_id(2); - json_msg.mutable_sub_msg()->set_data("sub_data"); - - std::string json = - "{ \ - \"id\": 1, \ - \"data\": \"data\", \ - \"sub_msg\":{ \ - \"id\": 2, \ - \"data\":\"sub_data\" \ - } \ - }"; - - EXPECT_THAT(ParseFromText(json), - EqualsProto(json_msg)); -} - -} // namespace -} // namespace testing -} // namespace resdb diff --git a/common/test/test.proto b/common/test/test.proto deleted file mode 100644 index 2e8320c00..000000000 --- a/common/test/test.proto +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -syntax = "proto3"; - -package resdb.test; - -message JsonSubMessage { - int64 id = 1; - string data = 2; -}; - -message JsonMessage { - int64 id = 1; - string data = 2; - JsonMessage sub_msg = 3; -}; - diff --git a/common/test/test_macros.h b/common/test/test_macros.h index 5e510f2a2..3f4f813df 100644 --- a/common/test/test_macros.h +++ b/common/test/test_macros.h @@ -1,25 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - #pragma once -#include -#include #include #include "gmock/gmock.h" @@ -31,17 +10,5 @@ MATCHER_P(EqualsProto, replica, "") { return ::google::protobuf::util::MessageDifferencer::Equals(arg, replica); } -template -T ParseFromText(const std::string& json_str) { - T message; - google::protobuf::util::JsonParseOptions options; - auto st = - google::protobuf::util::JsonStringToMessage(json_str, &message, options); - if (!st.ok()) { - LOG(ERROR) << st.message(); - } - return message; -} - } // namespace testing } // namespace resdb diff --git a/common/utils/BUILD b/common/utils/BUILD index 44d5e69b3..3f6d1d060 100644 --- a/common/utils/BUILD +++ b/common/utils/BUILD @@ -1,21 +1,3 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - package(default_visibility = ["//visibility:public"]) cc_library( diff --git a/common/utils/utils.cpp b/common/utils/utils.cpp index c51241204..331b2c42e 100644 --- a/common/utils/utils.cpp +++ b/common/utils/utils.cpp @@ -1,22 +1,3 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - #include "common/utils/utils.h" #include @@ -27,10 +8,34 @@ namespace resdb { #define CPU_FREQ 2.2 #define TIME_ENABLE true -uint64_t GetCurrentTime() { +uint64_t get_server_clock() { +#if defined(__i386__) + uint64_t ret; + __asm__ __volatile__("rdtsc" : "=A"(ret)); +#elif defined(__x86_64__) + unsigned hi, lo; + __asm__ __volatile__("rdtsc" : "=a"(lo), "=d"(hi)); + uint64_t ret = ((uint64_t)lo) | (((uint64_t)hi) << 32); + ret = (uint64_t)((double)ret / CPU_FREQ); +#else + timespec *tp = new timespec; + clock_gettime(CLOCK_REALTIME, tp); + uint64_t ret = tp->tv_sec * 1000000000 + tp->tv_nsec; + delete tp; +#endif + return ret; +} + +uint64_t get_sys_clock() { + if (TIME_ENABLE) return get_server_clock(); + return 0; +} + +uint64_t get_current_time() { struct timeval tv; - gettimeofday(&tv, nullptr); - return (uint64_t)(tv.tv_sec) * 1000000 + tv.tv_usec; + struct timezone tz; + gettimeofday(&tv, &tz); + return static_cast(tv.tv_sec) * 1000000000ll + tv.tv_usec; } } // namespace resdb diff --git a/common/utils/utils.h b/common/utils/utils.h index 2a17286a8..a880e328e 100644 --- a/common/utils/utils.h +++ b/common/utils/utils.h @@ -1,28 +1,11 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - #pragma once #include namespace resdb { -uint64_t GetCurrentTime(); +uint64_t get_sys_clock(); + +uint64_t get_current_time(); } // namespace resdb diff --git a/config/BUILD b/config/BUILD new file mode 100644 index 000000000..db9345eaf --- /dev/null +++ b/config/BUILD @@ -0,0 +1,38 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "resdb_config", + srcs = ["resdb_config.cpp"], + hdrs = ["resdb_config.h"], + deps = [ + "//common:comm", + "//proto:replica_info_cc_proto", + ], +) + +cc_test( + name = "resdb_config_test", + srcs = ["resdb_config_test.cpp"], + deps = [ + ":resdb_config", + "//common/test:test_main", + ], +) + +cc_library( + name = "resdb_config_utils", + srcs = ["resdb_config_utils.cpp"], + hdrs = ["resdb_config_utils.h"], + deps = [ + ":resdb_config", + ], +) + +cc_library( + name = "resdb_poc_config", + srcs = ["resdb_poc_config.cpp"], + hdrs = ["resdb_poc_config.h"], + deps = [ + ":resdb_config", + ], +) diff --git a/config/resdb_config.cpp b/config/resdb_config.cpp new file mode 100644 index 000000000..e07be28d1 --- /dev/null +++ b/config/resdb_config.cpp @@ -0,0 +1,125 @@ +#include "config/resdb_config.h" + +namespace resdb { + +ResDBConfig::ResDBConfig(const std::vector& replicas, + const ReplicaInfo& self_info) + : replicas_(replicas), self_info_(self_info) {} + +ResDBConfig::ResDBConfig(const std::vector& replicas, + const ReplicaInfo& self_info, + const KeyInfo& private_key, + const CertificateInfo& public_key_cert_info) + : replicas_(replicas), + self_info_(self_info), + private_key_(private_key), + public_key_cert_info_(public_key_cert_info) {} + +KeyInfo ResDBConfig::GetPrivateKey() const { return private_key_; } + +CertificateInfo ResDBConfig::GetPublicKeyCertificateInfo() const { + return public_key_cert_info_; +} + +const std::vector& ResDBConfig::GetReplicaInfos() const { + return replicas_; +} + +const ReplicaInfo& ResDBConfig::GetSelfInfo() const { return self_info_; } + +size_t ResDBConfig::GetReplicaNum() const { return replicas_.size(); } + +int ResDBConfig::GetMinDataReceiveNum() const { + int f = (replicas_.size() - 1) / 3; + return std::max(2 * f + 1, 1); +} + +int ResDBConfig::GetMinClientReceiveNum() const { + int f = (replicas_.size() - 1) / 3; + return std::max(f + 1, 1); +} + +size_t ResDBConfig::GetMaxMaliciousReplicaNum() const { + int f = (replicas_.size() - 1) / 3; + return std::max(f, 0); +} + +void ResDBConfig::SetClientTimeoutMs(int timeout_ms) { + client_timeout_ms_ = timeout_ms; +} + +int ResDBConfig::GetClientTimeoutMs() const { return client_timeout_ms_; } + +// Logging +std::string ResDBConfig::GetCheckPointLoggingPath() const { + return checkpoint_logging_path_; +} + +void ResDBConfig::SetCheckPointLoggingPath(const std::string& path) { + checkpoint_logging_path_ = path; +} + +int ResDBConfig::GetCheckPointWaterMark() const { + return checkpoint_water_mark_; +} + +void ResDBConfig::SetCheckPointWaterMark(int water_mark) { + checkpoint_water_mark_ = water_mark; +} + +void ResDBConfig::EnableCheckPoint(bool is_enable) { + is_enable_checkpoint_ = is_enable; +} + +bool ResDBConfig::IsCheckPointEnabled() { return is_enable_checkpoint_; } + +bool ResDBConfig::HeartBeatEnabled() { return hb_enabled_; } + +void ResDBConfig::SetHeartBeatEnabled(bool enable_heartbeat) { + hb_enabled_ = enable_heartbeat; +} + +bool ResDBConfig::SignatureVerifierEnabled() { + return signature_verifier_enabled_; +} + +void ResDBConfig::SetSignatureVerifierEnabled(bool enable_sv) { + signature_verifier_enabled_ = enable_sv; +} + +// Performance setting +bool ResDBConfig::IsPerformanceRunning() { return is_performance_running_; } + +void ResDBConfig::RunningPerformance(bool is_performance_running) { + is_performance_running_ = is_performance_running; +} + +void ResDBConfig::SetTestMode(bool is_test_mode) { + is_test_mode_ = is_test_mode; +} + +bool ResDBConfig::IsTestMode() const { return is_test_mode_; } + +uint32_t ResDBConfig::GetMaxProcessTxn() const { return max_process_txn_; } + +void ResDBConfig::SetMaxProcessTxn(uint32_t num) { max_process_txn_ = num; } + +uint32_t ResDBConfig::ClientBatchWaitTimeMS() const { + return client_batch_wait_time_ms_; +} + +void ResDBConfig::SetClientBatchWaitTimeMS(uint32_t wait_time_ms) { + client_batch_wait_time_ms_ = wait_time_ms; +} + +uint32_t ResDBConfig::ClientBatchNum() const { return client_batch_num_; } + +void ResDBConfig::SetClientBatchNum(uint32_t num) { client_batch_num_ = num; } + +uint32_t ResDBConfig::GetWorkerNum() const { return worker_num_; } + +uint32_t ResDBConfig::GetInputWorkerNum() const { return input_worker_num_; } + +uint32_t ResDBConfig::GetOutputWorkerNum() const { return output_worker_num_; } + +} // namespace resdb diff --git a/config/resdb_config.h b/config/resdb_config.h new file mode 100644 index 000000000..58cc36e5b --- /dev/null +++ b/config/resdb_config.h @@ -0,0 +1,108 @@ +#pragma once + +#include "proto/replica_info.pb.h" +#include "proto/signature_info.pb.h" + +namespace resdb { + +// TODO read from a proto json file. +class ResDBConfig { + public: + ResDBConfig(const std::vector& replicas, + const ReplicaInfo& self_info); + + ResDBConfig(const std::vector& replicas, + const ReplicaInfo& self_info, const KeyInfo& private_key, + const CertificateInfo& public_key_cert_info); + + // Get the private key. + KeyInfo GetPrivateKey() const; + + // Get the public key with its certificate. + CertificateInfo GetPublicKeyCertificateInfo() const; + + // Each replica infomation, including the binding urls(or ip,port). + const std::vector& GetReplicaInfos() const; + // The current replica infomation, including the binding urls(or ip,port). + const ReplicaInfo& GetSelfInfo() const; + // The total number of replicas. + size_t GetReplicaNum() const; + // The minimum number of messages that replicas have to receive after jumping + // to the next status.. + int GetMinDataReceiveNum() const; + // The max malicious replicas to be tolerated (the number of f). + size_t GetMaxMaliciousReplicaNum() const; + // const int GetMaxMaliciousNum() const; + // The minimum number of messages that client has to receive from the + // replicas. + int GetMinClientReceiveNum() const; + + // The timeout microseconds to process a client request. + // Default value is 3s. + void SetClientTimeoutMs(int timeout_ms); + int GetClientTimeoutMs() const; + + // CheckPoint Window + int GetCheckPointWaterMark() const; + void SetCheckPointWaterMark(int water_mark); + + // Logging + std::string GetCheckPointLoggingPath() const; + void SetCheckPointLoggingPath(const std::string& path); + + // Checkpoint flag + void EnableCheckPoint(bool is_enable); + bool IsCheckPointEnabled(); + + // HeartBeat + bool HeartBeatEnabled(); + void SetHeartBeatEnabled(bool enable_heartbeat); + + // Signature Verifier + bool SignatureVerifierEnabled(); + void SetSignatureVerifierEnabled(bool enable_sv); + + // Performance setting + bool IsPerformanceRunning(); + void RunningPerformance(bool); + + bool IsTestMode() const; + void SetTestMode(bool); + + // The maximun transactions being processed. + uint32_t GetMaxProcessTxn() const; + void SetMaxProcessTxn(uint32_t num); + + uint32_t ClientBatchWaitTimeMS() const; + void SetClientBatchWaitTimeMS(uint32_t wait_time_ms); + + uint32_t ClientBatchNum() const; + void SetClientBatchNum(uint32_t num); + + uint32_t GetWorkerNum() const; + uint32_t GetInputWorkerNum() const; + uint32_t GetOutputWorkerNum() const; + + private: + std::vector replicas_; + ReplicaInfo self_info_; + const KeyInfo private_key_; + const CertificateInfo public_key_cert_info_; + int client_timeout_ms_ = 3000000; + std::string checkpoint_logging_path_; + int checkpoint_water_mark_ = 5; + bool is_enable_checkpoint_ = false; + bool hb_enabled_ = true; + bool signature_verifier_enabled_ = true; + bool is_performance_running_ = false; + bool is_test_mode_ = false; + uint32_t max_process_txn_ = 2048; + uint32_t client_batch_wait_time_ms_ = 100000; + uint32_t client_batch_num_ = 1; + + uint32_t worker_num_ = 8; + uint32_t input_worker_num_ = 8; + uint32_t output_worker_num_ = 8; +}; + +} // namespace resdb diff --git a/platform/config/resdb_config_test.cpp b/config/resdb_config_test.cpp similarity index 80% rename from platform/config/resdb_config_test.cpp rename to config/resdb_config_test.cpp index f480b11f5..19e5f88fb 100644 --- a/platform/config/resdb_config_test.cpp +++ b/config/resdb_config_test.cpp @@ -1,23 +1,4 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "platform/config/resdb_config.h" +#include "config/resdb_config.h" #include #include diff --git a/config/resdb_config_utils.cpp b/config/resdb_config_utils.cpp new file mode 100644 index 000000000..e5971f4e2 --- /dev/null +++ b/config/resdb_config_utils.cpp @@ -0,0 +1,119 @@ +#include "config/resdb_config_utils.h" + +#include +#include +#include +#include +#include + +#include + +namespace resdb { +namespace { + +KeyInfo ReadKey(const std::string& file_name) { + int fd = open(file_name.c_str(), O_RDONLY, 0666); + if (fd < 0) { + LOG(ERROR) << "open file:" << file_name << " fail:" << strerror(errno); + } + assert(fd >= 0); + + std::string res; + int read_len = 0; + char tmp[1024]; + while (true) { + read_len = read(fd, tmp, sizeof(tmp)); + if (read_len <= 0) { + break; + } + res.append(tmp, read_len); + } + close(fd); + KeyInfo key; + assert(key.ParseFromString(res)); + return key; +} + +CertificateInfo ReadCert(const std::string& file_name) { + int fd = open(file_name.c_str(), O_RDONLY, 0666); + if (fd < 0) { + LOG(ERROR) << "open file:" << file_name << " fail" << strerror(errno); + } + assert(fd >= 0); + + std::string res; + int read_len = 0; + char tmp[1024]; + while (true) { + read_len = read(fd, tmp, sizeof(tmp)); + if (read_len <= 0) { + break; + } + res.append(tmp, read_len); + } + close(fd); + CertificateInfo info; + assert(info.ParseFromString(res)); + return info; +} + +} // namespace + +ReplicaInfo GenerateReplicaInfo(int id, const std::string& ip, int port) { + ReplicaInfo info; + info.set_id(id); + info.set_ip(ip); + info.set_port(port); + return info; +} + +std::vector ReadConfig(const std::string& file_name) { + std::vector replicas; + std::string line; + std::ifstream infile(file_name.c_str()); + int id; + std::string ip; + int port; + while (infile >> id >> ip >> port) { + replicas.push_back(GenerateReplicaInfo(id, ip, port)); + } + if (replicas.size() == 0) { + LOG(ERROR) << "read config:" << file_name << " fail."; + assert(replicas.size() > 0); + } + return replicas; +} + +std::unique_ptr GenerateResDBConfig( + const std::string& config_file, const std::string& private_key_file, + const std::string& cert_file, std::optional self_info, + std::optional gen_func) { + std::vector replicas = ReadConfig(config_file); + KeyInfo private_key = ReadKey(private_key_file); + CertificateInfo cert_info = ReadCert(cert_file); + + LOG(ERROR) << "private key:" << private_key.DebugString() + << " cert:" << cert_info.DebugString(); + if (!self_info.has_value()) { + self_info = ReplicaInfo(); + } + + (*self_info).set_id(cert_info.public_key().public_key_info().node_id()); + (*self_info).set_ip(cert_info.public_key().public_key_info().ip()); + (*self_info).set_port(cert_info.public_key().public_key_info().port()); + + *(*self_info).mutable_certificate_info() = cert_info; + + if (gen_func.has_value()) { + return (*gen_func)(replicas, self_info.value(), private_key, cert_info); + } + return std::make_unique(replicas, self_info.value(), private_key, + cert_info); +} + +ResDBConfig GenerateResDBConfig(const std::string& config_file) { + std::vector replicas = ReadConfig(config_file); + return ResDBConfig(replicas, ReplicaInfo()); +} + +} // namespace resdb diff --git a/config/resdb_config_utils.h b/config/resdb_config_utils.h new file mode 100644 index 000000000..5006072cb --- /dev/null +++ b/config/resdb_config_utils.h @@ -0,0 +1,22 @@ +#pragma once + +#include "config/resdb_config.h" + +namespace resdb { + +std::vector ReadConfig(const std::string& file_name); +ReplicaInfo GenerateReplicaInfo(int id, const std::string& ip, int port); + +typedef std::function( + const std::vector& replicas, const ReplicaInfo& self_info, + const KeyInfo& private_key, const CertificateInfo& public_key_cert_info)> + ConfigGenFunc; + +std::unique_ptr GenerateResDBConfig( + const std::string& config_file, const std::string& private_key_file, + const std::string& cert_file, + std::optional self_info = std::nullopt, + std::optional = std::nullopt); + +ResDBConfig GenerateResDBConfig(const std::string& config_file); +} // namespace resdb diff --git a/config/resdb_poc_config.cpp b/config/resdb_poc_config.cpp new file mode 100644 index 000000000..5da78b2f3 --- /dev/null +++ b/config/resdb_poc_config.cpp @@ -0,0 +1,55 @@ +#include "config/resdb_poc_config.h" + +namespace resdb { + +ResDBPoCConfig::ResDBPoCConfig(const ResDBConfig& bft_config, + const std::vector& replicas, + const ReplicaInfo& self_info, + const KeyInfo& private_key, + const CertificateInfo& public_key_cert_info) + : ResDBConfig(replicas, self_info, private_key, public_key_cert_info), + bft_config_(bft_config) { + SetHeartBeatEnabled(false); + SetSignatureVerifierEnabled(false); +} + +const ResDBConfig* ResDBPoCConfig::GetBFTConfig() const { return &bft_config_; } + +void ResDBPoCConfig::SetMaxNonceBit(uint32_t bit) { max_nonce_bit_ = bit; } + +uint32_t ResDBPoCConfig::GetMaxNonceBit() const { return max_nonce_bit_; } + +void ResDBPoCConfig::SetDifficulty(uint32_t difficulty) { + difficulty_ = difficulty; +} + +uint32_t ResDBPoCConfig::GetDifficulty() const { return difficulty_; } + +uint32_t ResDBPoCConfig::GetTargetValue() const { return target_value_; } + +void ResDBPoCConfig::SetTargetValue(uint32_t target_value) { + target_value_ = target_value; +} + +std::vector ResDBPoCConfig::GetBFTReplicas() { + return bft_replicas_; +} + +void ResDBPoCConfig::SetBFTReplicas(const std::vector& replicas) { + bft_replicas_ = replicas; +} + +// Batch +uint32_t ResDBPoCConfig::BatchTransactionNum() const { return batch_num_; } + +void ResDBPoCConfig::SetBatchTransactionNum(uint32_t batch_num) { + batch_num_ = batch_num; +} + +uint32_t ResDBPoCConfig::GetWokerNum() { return worker_num_; } + +void ResDBPoCConfig::SetWorkerNum(uint32_t worker_num) { + worker_num_ = worker_num; +} + +} // namespace resdb diff --git a/config/resdb_poc_config.h b/config/resdb_poc_config.h new file mode 100644 index 000000000..5bd57ddcc --- /dev/null +++ b/config/resdb_poc_config.h @@ -0,0 +1,52 @@ +#pragma once + +#include "config/resdb_config.h" + +namespace resdb { + +// TODO read from a proto json file. +class ResDBPoCConfig : public ResDBConfig { + public: + ResDBPoCConfig(const ResDBConfig& bft_config, + const std::vector& replicas, + const ReplicaInfo& self_info, const KeyInfo& private_key, + const CertificateInfo& public_key_cert_info); + + const ResDBConfig* GetBFTConfig() const; + + void SetMaxNonceBit(uint32_t bit); + uint32_t GetMaxNonceBit() const; + + void SetDifficulty(uint32_t difficulty); + uint32_t GetDifficulty() const; + + // If target value is zero, target value will be 1< GetBFTReplicas(); + void SetBFTReplicas(const std::vector& replicas); + + // Batch + uint32_t BatchTransactionNum() const; + void SetBatchTransactionNum(uint32_t batch_num); + + uint32_t GetWokerNum(); + void SetWorkerNum(uint32_t worker_num); + + uint32_t GetMiningTime() const { return mining_time_ms_;} + void SetMiningTime(uint32_t time_ms) {mining_time_ms_ = time_ms;} + + private: + uint32_t difficulty_ = 0; + uint32_t max_nonce_bit_ = 0; + uint32_t target_value_ = 0; + uint32_t batch_num_ = 12000; + uint32_t worker_num_ = 16; + uint32_t mining_time_ms_ = 60000; // 60s + std::vector bft_replicas_; + ResDBConfig bft_config_; +}; + +} // namespace resdb diff --git a/crypto/BUILD b/crypto/BUILD new file mode 100644 index 000000000..2ac4672ed --- /dev/null +++ b/crypto/BUILD @@ -0,0 +1,42 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "key_generator", + srcs = ["key_generator.cpp"], + hdrs = ["key_generator.h"], + deps = [ + "//:cryptopp_lib", + "//common:comm", + "//proto:signature_info_cc_proto", + ], +) + +cc_library( + name = "signature_verifier", + srcs = ["signature_verifier.cpp"], + hdrs = ["signature_verifier.h"], + deps = [ + "//:cryptopp_lib", + "//common:comm", + "//proto:signature_info_cc_proto", + ], +) + +cc_library( + name = "mock_signature_verifier", + testonly = True, + hdrs = ["mock_signature_verifier.h"], + deps = [ + ":signature_verifier", + ], +) + +cc_test( + name = "signature_verifier_test", + srcs = ["signature_verifier_test.cpp"], + deps = [ + ":key_generator", + ":signature_verifier", + "//common/test:test_main", + ], +) diff --git a/crypto/key_generator.cpp b/crypto/key_generator.cpp new file mode 100644 index 000000000..55e5c02b7 --- /dev/null +++ b/crypto/key_generator.cpp @@ -0,0 +1,109 @@ +#include "crypto/key_generator.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +//#include +//#include + +namespace resdb { + +namespace { + +//============================================================================== +// Return a KeyPairHex for each node. This function is used by the nodes to +// obtain their keyPair +SecretKey RsaGenerateHexKeyPair(unsigned int key_size) { + SecretKey key_pair; + // PGP Random Pool-like generator + CryptoPP::AutoSeededRandomPool rng; + + // generate keys + CryptoPP::RSA::PrivateKey private_key; + private_key.GenerateRandomWithKeySize(rng, key_size); + CryptoPP::RSA::PublicKey public_key(private_key); + + // save keys + public_key.Save(CryptoPP::HexEncoder( + new CryptoPP::StringSink(*key_pair.mutable_public_key())) + .Ref()); + private_key.Save(CryptoPP::HexEncoder(new CryptoPP::StringSink( + *key_pair.mutable_private_key())) + .Ref()); + + return key_pair; +} + +// Initialize the signer and the keys for ED25519 +SecretKey ED25519GenerateKeys() { + CryptoPP::ed25519::Signer signer; + SecretKey key_pair; + CryptoPP::AutoSeededRandomPool prng; + // Initilize signer; + signer.AccessPrivateKey().GenerateRandom(prng); + + const CryptoPP::ed25519PrivateKey &private_key = + dynamic_cast(signer.GetPrivateKey()); + + key_pair.mutable_private_key()->assign( + (char *)private_key.GetPrivateKeyBytePtr(), + CryptoPP::ed25519PrivateKey::SECRET_KEYLENGTH); + key_pair.mutable_public_key()->assign( + (char *)private_key.GetPublicKeyBytePtr(), + CryptoPP::ed25519PrivateKey::PUBLIC_KEYLENGTH); + return key_pair; +} + +// CMAC-AES key generator +// Return a keyPairHex where just the priv key is set +SecretKey CmacGenerateHexKey(unsigned int key_size) { + SecretKey key_pair; + std::string private_key; + CryptoPP::AutoSeededRandomPool prng; + // int keySize = 16 ; // AES::DEFAULT_KEYLENGTH + CryptoPP::SecByteBlock key(key_size); + prng.GenerateBlock( + key.data(), key.size()); // Key is a SecByteBlock that contains the key. + + CryptoPP::StringSource ss(key.data(), key.size(), true, + new CryptoPP::HexEncoder(new CryptoPP::StringSink( + private_key)) // HexEncoder + ); // StringSource + key_pair.set_private_key(private_key); + key_pair.set_public_key(private_key); + return key_pair; +} + +} // namespace + +SecretKey KeyGenerator::GeneratorKeys(SignatureInfo::HashType type) { + SecretKey key; + switch (type) { + case SignatureInfo::RSA: + key = RsaGenerateHexKeyPair(3072); + break; + case SignatureInfo::ED25519: { + key = ED25519GenerateKeys(); + break; + } + case SignatureInfo::CMAC_AES: { + key = CmacGenerateHexKey(16); + break; + } + default: + break; + } + key.set_hash_type(type); + return key; +} + +} // namespace resdb diff --git a/crypto/key_generator.h b/crypto/key_generator.h new file mode 100644 index 000000000..58900e852 --- /dev/null +++ b/crypto/key_generator.h @@ -0,0 +1,12 @@ +#pragma once + +#include "proto/signature_info.pb.h" + +namespace resdb { + +class KeyGenerator { + public: + static SecretKey GeneratorKeys(SignatureInfo::HashType type); +}; + +} // namespace resdb diff --git a/crypto/mock_signature_verifier.h b/crypto/mock_signature_verifier.h new file mode 100644 index 000000000..86fe6847b --- /dev/null +++ b/crypto/mock_signature_verifier.h @@ -0,0 +1,14 @@ +#pragma once + +#include "crypto/signature_verifier.h" + +namespace resdb { + +class MockSignatureVerifier : public SignatureVerifier { + public: + MockSignatureVerifier() : SignatureVerifier(KeyInfo(), CertificateInfo()) {} + MOCK_METHOD(absl::StatusOr, SignMessage, (const std::string&), + (override)); +}; + +} // namespace resdb diff --git a/common/crypto/signature_verifier.cpp b/crypto/signature_verifier.cpp similarity index 82% rename from common/crypto/signature_verifier.cpp rename to crypto/signature_verifier.cpp index cf2046e25..c60a85cc8 100644 --- a/common/crypto/signature_verifier.cpp +++ b/crypto/signature_verifier.cpp @@ -1,28 +1,7 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/signature_verifier.h" +#include "crypto/signature_verifier.h" #include #include -#include -#include #include #include #include @@ -32,13 +11,41 @@ #include #include -#include "common/crypto/signature_utils.h" +//#include +//#include namespace resdb { namespace { // ================== for verify ==================================== +bool RsaVerifyString(const std::string& message, const std::string& public_key, + const std::string& signature) { + // decode and load public key (using pipeline) + CryptoPP::RSA::PublicKey rsa_public_key; + rsa_public_key.Load( + CryptoPP::StringSource(public_key, true, new CryptoPP::HexDecoder()) + .Ref()); + + // decode signature + std::string decoded_signature; + CryptoPP::StringSource ss( + signature, true, + new CryptoPP::HexDecoder(new CryptoPP::StringSink(decoded_signature))); + + // verify message + bool result = false; + CryptoPP::RSASS::Verifier verifier( + rsa_public_key); + CryptoPP::StringSource ss2( + decoded_signature + message, true, + new CryptoPP::SignatureVerificationFilter( + verifier, + new CryptoPP::ArraySink((CryptoPP::byte*)&result, sizeof(result)))); + + return result; +} + bool ED25519verifyString(const std::string& message, const std::string& public_key, const std::string& signature) { @@ -63,6 +70,28 @@ bool ED25519verifyString(const std::string& message, return valid; } +// ================== for sign ==================================== +std::string RsaSignString(const std::string& private_key, + const std::string& message) { + // decode and load private key (using pipeline) + CryptoPP::RSA::PrivateKey rsa_private_key; + rsa_private_key.Load( + CryptoPP::StringSource(private_key, true, new CryptoPP::HexDecoder()) + .Ref()); + + // sign message + std::string signature; + CryptoPP::RSASS::Signer signer( + rsa_private_key); + CryptoPP::AutoSeededRandomPool rng; + CryptoPP::StringSource ss( + message, true, + new CryptoPP::SignerFilter( + rng, signer, + new CryptoPP::HexEncoder(new CryptoPP::StringSink(signature)))); + return signature; +} + bool CmacVerifyString(const std::string& message, const std::string& public_key, const std::string& signature) { bool res = false; @@ -83,8 +112,6 @@ bool CmacVerifyString(const std::string& message, const std::string& public_key, return res; } -// ================== for sign ==================================== - std::string ED25519signString(const std::string& message, CryptoPP::ed25519::Signer* signer) { CryptoPP::AutoSeededRandomPool prng; @@ -192,7 +219,7 @@ absl::StatusOr SignatureVerifier::SignMessage( info.set_node_id(node_id_); switch (private_key_.hash_type()) { case SignatureInfo::RSA: - info.set_signature(utils::RsaSignString(private_key_.key(), message)); + info.set_signature(RsaSignString(private_key_.key(), message)); break; case SignatureInfo::ED25519: info.set_signature(ED25519signString(message, signer_.get())); @@ -200,9 +227,6 @@ absl::StatusOr SignatureVerifier::SignMessage( case SignatureInfo::CMAC_AES: info.set_signature(CmacSignString(private_key_.key(), message)); break; - case SignatureInfo::ECDSA: - info.set_signature(utils::ECDSASignString(private_key_.key(), message)); - break; default: break; } @@ -264,13 +288,11 @@ bool SignatureVerifier::VerifyMessage(const std::string& message, // << " msg size:" << message.size(); switch (public_key.hash_type()) { case SignatureInfo::RSA: - return utils::RsaVerifyString(message, public_key.key(), signature); + return RsaVerifyString(message, public_key.key(), signature); case SignatureInfo::ED25519: return ED25519verifyString(message, public_key.key(), signature); case SignatureInfo::CMAC_AES: return CmacVerifyString(message, public_key.key(), signature); - case SignatureInfo::ECDSA: - return utils::ECDSAVerifyString(message, public_key.key(), signature); default: return true; } diff --git a/crypto/signature_verifier.h b/crypto/signature_verifier.h new file mode 100644 index 000000000..7d4418997 --- /dev/null +++ b/crypto/signature_verifier.h @@ -0,0 +1,60 @@ +#pragma once + +#include + +#include +#include + +#include "absl/status/statusor.h" +#include "proto/signature_info.pb.h" + +namespace resdb { + +// SignatureVerifier used to sign signatures using private_key, +// and verify signatures using the public keys of the senders identified +// by their node_id. +class SignatureVerifier { + public: + SignatureVerifier(const KeyInfo& private_key, + const CertificateInfo& certificate_info); + + // Set the public key that contains the public key, node id, + // and its certificate. + bool AddPublicKey(const CertificateKey& pub_key, bool need_verify = true); + + // Get the public key of node id. KeyInfo contains the key and its hash type. + absl::StatusOr GetPublicKey(int64_t node_id) const; + // Get all the public keys. + std::vector GetAllPublicKeys() const; + // Get the number of public keys it contains. + size_t GetPublicKeysSize() const; + + // Sign messages using the private key. + virtual absl::StatusOr SignMessage(const std::string& message); + absl::StatusOr SignCertificateKeyInfo( + const CertificateKeyInfo& info); + + // Verify messages using the public key from the sender. + bool VerifyMessage(const std::string& message, const SignatureInfo& sign); + bool VerifyMessage(const google::protobuf::Message& message, + const SignatureInfo& sign); + bool VerifyKey(const CertificateKeyInfo& info, const SignatureInfo& sign); + + static std::string CalculateHash(const std::string& str); + + static bool VerifyMessage(const std::string& message, + const KeyInfo& public_key, + const std::string& signature); + + private: + std::map keys_; + // GUARDED_BY(mutex_); // public keys of nodes, including the public key and + // its encrpt type. + KeyInfo private_key_; // public-private keys of self. + KeyInfo admin_public_key_; // public key of admin. + int64_t node_id_; // id of current node. + std::unique_ptr signer_; + mutable std::shared_mutex mutex_; +}; + +} // namespace resdb diff --git a/common/crypto/signature_verifier_test.cpp b/crypto/signature_verifier_test.cpp similarity index 81% rename from common/crypto/signature_verifier_test.cpp rename to crypto/signature_verifier_test.cpp index 3bdecc8da..b86e9b199 100644 --- a/common/crypto/signature_verifier_test.cpp +++ b/crypto/signature_verifier_test.cpp @@ -1,30 +1,11 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "common/crypto/signature_verifier.h" +#include "crypto/signature_verifier.h" #include #include #include -#include "common/crypto/key_generator.h" #include "common/test/test_macros.h" +#include "crypto/key_generator.h" namespace resdb { namespace { @@ -152,8 +133,7 @@ TEST_P(SignatureVerifyPTest, KeyNotMatch) { INSTANTIATE_TEST_SUITE_P(SignatureVerifyPTest, SignatureVerifyPTest, ::testing::Values(SignatureInfo::RSA, SignatureInfo::ED25519, - SignatureInfo::CMAC_AES, - SignatureInfo::ECDSA)); + SignatureInfo::CMAC_AES)); } // namespace diff --git a/database/BUILD b/database/BUILD new file mode 100644 index 000000000..d9ca57840 --- /dev/null +++ b/database/BUILD @@ -0,0 +1,20 @@ +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "txn_memory_db", + srcs = ["txn_memory_db.cpp"], + hdrs = ["txn_memory_db.h"], + deps = [ + "//common:comm", + "//proto:resdb_cc_proto", + ], +) + +cc_test( + name = "txn_memory_db_test", + srcs = ["txn_memory_db_test.cpp"], + deps = [ + ":txn_memory_db", + "//common/test:test_main", + ], +) diff --git a/database/leveldb/BUILD b/database/leveldb/BUILD new file mode 100644 index 000000000..6c35b192b --- /dev/null +++ b/database/leveldb/BUILD @@ -0,0 +1,8 @@ +cc_binary( + name = "leveldb_sample", + srcs = ["leveldb_sample.cpp"], + deps = [ + "//common:comm", + "//third_party:leveldb", + ], +) diff --git a/database/leveldb/leveldb_sample.cpp b/database/leveldb/leveldb_sample.cpp new file mode 100644 index 000000000..2c44c9798 --- /dev/null +++ b/database/leveldb/leveldb_sample.cpp @@ -0,0 +1,52 @@ +#include + +#include +#include +#include + +#include "leveldb/db.h" + +int main(int argc, char** argv) { + // Set up database connection information and open database + leveldb::DB* db; + leveldb::Options options; + options.create_if_missing = true; + + leveldb::Status status = leveldb::DB::Open(options, "./testdb", &db); + + if (false == status.ok()) { + LOG(ERROR) << "Unable to open/create test database './testdb'. status:" + << status.ToString(); + return -1; + } + + // Add 256 values to the database + leveldb::WriteOptions writeOptions; + for (unsigned int i = 0; i < 256; ++i) { + std::ostringstream keyStream; + keyStream << "Key" << i; + + std::ostringstream valueStream; + valueStream << "Test data value: " << i; + + db->Put(writeOptions, keyStream.str(), valueStream.str()); + } + + // Iterate over each item in the database and print them + leveldb::Iterator* it = db->NewIterator(leveldb::ReadOptions()); + + for (it->SeekToFirst(); it->Valid(); it->Next()) { + LOG(ERROR) << " iterator key:" << it->key().ToString() + << " value:" << it->value().ToString(); + } + + if (false == it->status().ok()) { + LOG(ERROR) << "An error was found during the scan. status:" + << it->status().ToString(); + } + + delete it; + + // Close the database + delete db; +} diff --git a/database/rocksdb/BUILD b/database/rocksdb/BUILD new file mode 100644 index 000000000..d89e0847d --- /dev/null +++ b/database/rocksdb/BUILD @@ -0,0 +1,8 @@ +cc_binary( + name = "rocksdb_sample", + srcs = ["rocksdb_sample.cpp"], + deps = [ + "//common:comm", + "//third_party:rocksdb", + ], +) diff --git a/database/rocksdb/rocksdb_sample.cpp b/database/rocksdb/rocksdb_sample.cpp new file mode 100644 index 000000000..82187ddd9 --- /dev/null +++ b/database/rocksdb/rocksdb_sample.cpp @@ -0,0 +1,91 @@ +// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. +// This source code is licensed under both the GPLv2 (found in the +// COPYING file in the root directory) and Apache 2.0 License +// (found in the LICENSE.Apache file in the root directory). + +#include + +#include +#include + +#include "rocksdb/db.h" +#include "rocksdb/options.h" +#include "rocksdb/slice.h" + +using rocksdb::DB; +using rocksdb::Options; +using rocksdb::PinnableSlice; +using rocksdb::ReadOptions; +using rocksdb::WriteBatch; +using rocksdb::WriteOptions; + +std::string kDBPath = "/tmp/rocksdb_simple_example"; + +int main() { + DB* db; + Options options; + // Optimize RocksDB. This is the easiest way to get RocksDB to perform well + options.IncreaseParallelism(); + options.OptimizeLevelStyleCompaction(); + // create the DB if it's not already present + options.create_if_missing = true; + + // open DB + rocksdb::Status s = DB::Open(options, kDBPath, &db); + assert(s.ok()); + + // Put key-value + s = db->Put(WriteOptions(), "key1", "value"); + assert(s.ok()); + std::string value; + // get value + s = db->Get(ReadOptions(), "key1", &value); + assert(s.ok()); + assert(value == "value"); + + // atomically apply a set of updates + { + WriteBatch batch; + batch.Delete("key1"); + batch.Put("key2", value); + s = db->Write(WriteOptions(), &batch); + } + + s = db->Get(ReadOptions(), "key1", &value); + assert(s.IsNotFound()); + + db->Get(ReadOptions(), "key2", &value); + assert(value == "value"); + + { + PinnableSlice pinnable_val; + db->Get(ReadOptions(), db->DefaultColumnFamily(), "key2", &pinnable_val); + assert(pinnable_val == "value"); + } + + { + std::string string_val; + // If it cannot pin the value, it copies the value to its internal buffer. + // The intenral buffer could be set during construction. + PinnableSlice pinnable_val(&string_val); + db->Get(ReadOptions(), db->DefaultColumnFamily(), "key2", &pinnable_val); + assert(pinnable_val == "value"); + // If the value is not pinned, the internal buffer must have the value. + assert(pinnable_val.IsPinned() || string_val == "value"); + } + + PinnableSlice pinnable_val; + s = db->Get(ReadOptions(), db->DefaultColumnFamily(), "key1", &pinnable_val); + assert(s.IsNotFound()); + // Reset PinnableSlice after each use and before each reuse + pinnable_val.Reset(); + db->Get(ReadOptions(), db->DefaultColumnFamily(), "key2", &pinnable_val); + assert(pinnable_val == "value"); + pinnable_val.Reset(); + // The Slice pointed by pinnable_val is not valid after this point + + delete db; + LOG(ERROR) << "sample done"; + + return 0; +} diff --git a/database/txn_memory_db.cpp b/database/txn_memory_db.cpp new file mode 100644 index 000000000..cf503c6fc --- /dev/null +++ b/database/txn_memory_db.cpp @@ -0,0 +1,25 @@ +#include "database/txn_memory_db.h" + +#include + +namespace resdb { + +TxnMemoryDB::TxnMemoryDB() : max_seq_(0) {} + +Request* TxnMemoryDB::Get(uint64_t seq) { + std::unique_lock lk(mutex_); + if (data_.find(seq) == data_.end()) { + return nullptr; + } + return data_[seq].get(); +} + +void TxnMemoryDB::Put(std::unique_ptr request) { + std::unique_lock lk(mutex_); + max_seq_ = request->seq(); + data_[max_seq_] = std::move(request); +} + +uint64_t TxnMemoryDB::GetMaxSeq() { return max_seq_; } + +} // namespace resdb diff --git a/database/txn_memory_db.h b/database/txn_memory_db.h new file mode 100644 index 000000000..059b756d3 --- /dev/null +++ b/database/txn_memory_db.h @@ -0,0 +1,23 @@ +#pragma once + +#include +#include + +#include "proto/resdb.pb.h" + +namespace resdb { + +class TxnMemoryDB { + public: + TxnMemoryDB(); + Request* Get(uint64_t seq); + void Put(std::unique_ptr request); + uint64_t GetMaxSeq(); + + private: + std::mutex mutex_; + std::unordered_map > data_; + std::atomic max_seq_; +}; + +} // namespace resdb diff --git a/database/txn_memory_db_test.cpp b/database/txn_memory_db_test.cpp new file mode 100644 index 000000000..76a97b467 --- /dev/null +++ b/database/txn_memory_db_test.cpp @@ -0,0 +1,46 @@ +#include "database/txn_memory_db.h" + +#include +#include + +#include "common/test/test_macros.h" + +namespace resdb { +namespace { + +using ::resdb::testing::EqualsProto; +using ::testing::Pointee; + +TEST(TxnMemoryDBTest, GetEmptyValue) { + TxnMemoryDB db; + EXPECT_EQ(db.Get(1), nullptr); +} + +TEST(TxnMemoryDBTest, GetValue) { + Request request; + request.set_seq(1); + request.set_data("test"); + + TxnMemoryDB db; + db.Put(std::make_unique(request)); + EXPECT_THAT(db.Get(1), Pointee(EqualsProto(request))); +} + +TEST(TxnMemoryDBTest, GetSecondValue) { + Request request; + request.set_seq(1); + request.set_data("test"); + + TxnMemoryDB db; + db.Put(std::make_unique(request)); + + request.set_seq(1); + request.set_data("test_1"); + db.Put(std::make_unique(request)); + + EXPECT_THAT(db.Get(1), Pointee(EqualsProto(request))); +} + +} // namespace + +} // namespace resdb diff --git a/dev/.rat-excludes b/dev/.rat-excludes deleted file mode 100644 index 7889a072b..000000000 --- a/dev/.rat-excludes +++ /dev/null @@ -1,19 +0,0 @@ -.bazelrc -.bazelversion -.clang-format -.licenserc.yaml -repositories.bzl -.gitignore -.git -.rat-excludes -DISCLAIMER-WIP -CNAME -WORKSPACE -build -.*\.conf -.*\.config -.*\.pub -.*\.pri -Doxyfile -header -.*\.sol diff --git a/dev/check-license b/dev/check-license deleted file mode 100755 index e929e68bf..000000000 --- a/dev/check-license +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash - -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - - -acquire_rat_jar () { - - URL="https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar" - - JAR="$rat_jar" - - # Download rat launch jar if it hasn't been downloaded yet - if [ ! -f "$JAR" ]; then - # Download - printf "Attempting to fetch rat\n" - JAR_DL="${JAR}.part" - if [ $(command -v curl) ]; then - curl -L --silent "${URL}" > "$JAR_DL" && mv "$JAR_DL" "$JAR" - elif [ $(command -v wget) ]; then - wget --quiet ${URL} -O "$JAR_DL" && mv "$JAR_DL" "$JAR" - else - printf "You do not have curl or wget installed, please install rat manually.\n" - exit -1 - fi - fi - - unzip -tq "$JAR" &> /dev/null - if [ $? -ne 0 ]; then - # We failed to download - rm "$JAR" - printf "Our attempt to download rat locally to ${JAR} failed. Please install rat manually.\n" - exit -1 - fi -} - -# Go to the Spark project root directory -FWDIR="$(cd "`dirname "$0"`"/..; pwd)" -cd "$FWDIR" - -if test -x "$JAVA_HOME/bin/java"; then - declare java_cmd="$JAVA_HOME/bin/java" -else - declare java_cmd=java -fi - -export RAT_VERSION=0.16.1 -export rat_jar="$FWDIR"/lib/apache-rat-${RAT_VERSION}.jar -mkdir -p "$FWDIR"/lib - -[[ -f "$rat_jar" ]] || acquire_rat_jar || { - echo "Download failed. Obtain the rat jar manually and place it at $rat_jar" - exit 1 -} - -mkdir -p build -$java_cmd -jar "$rat_jar" --scan-hidden-directories -E "$FWDIR"/dev/.rat-excludes -d "$FWDIR" > build/rat-results.txt - -if [ $? -ne 0 ]; then - echo "RAT exited abnormally" - exit 1 -fi - -ERRORS="$(cat build/rat-results.txt | grep -e "??")" - -if test ! -z "$ERRORS"; then - echo "Could not find Apache license headers in the following files:" - echo "$ERRORS" - exit 1 -else - echo -e "RAT checks passed." -fi diff --git a/documents/doxygen/.gitignore b/documents/doxygen/.gitignore deleted file mode 100644 index 678971787..000000000 --- a/documents/doxygen/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -html/ -latex/ diff --git a/documents/doxygen/Doxyfile b/documents/doxygen/Doxyfile deleted file mode 100644 index 13911062c..000000000 --- a/documents/doxygen/Doxyfile +++ /dev/null @@ -1,2780 +0,0 @@ -# Doxyfile 1.9.6 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). -# -# Note: -# -# Use doxygen to compare the used configuration file with the template -# configuration file: -# doxygen -x [configFile] -# Use doxygen to compare the used configuration file with the template -# configuration file without replacing the environment variables or CMake type -# replacement variables: -# doxygen -x_noenv [configFile] - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the configuration -# file that follow. The default is UTF-8 which is also the encoding used for all -# text before the first occurrence of this tag. Doxygen uses libiconv (or the -# iconv built into libc) for the transcoding. See -# https://www.gnu.org/software/libiconv/ for the list of possible encodings. -# The default value is: UTF-8. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. - -PROJECT_NAME = ResilientDB - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. - -PROJECT_NUMBER = v1.3.1 - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = ResilientDB - -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. - -PROJECT_LOGO = logo.png - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. - -OUTPUT_DIRECTORY = - -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096 -# sub-directories (in 2 levels) under the output directory of each output format -# and will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. Adapt CREATE_SUBDIRS_LEVEL to -# control the number of sub-directories. -# The default value is: NO. - -CREATE_SUBDIRS = YES - -# Controls the number of sub-directories that will be created when -# CREATE_SUBDIRS tag is set to YES. Level 0 represents 16 directories, and every -# level increment doubles the number of directories, resulting in 4096 -# directories at level 8 which is the default and also the maximum value. The -# sub-directories are organized in 2 levels, the first level always has a fixed -# number of 16 directories. -# Minimum value: 0, maximum value: 8, default value: 8. -# This tag requires that the tag CREATE_SUBDIRS is set to YES. - -CREATE_SUBDIRS_LEVEL = 8 - -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Bulgarian, -# Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, English -# (United States), Esperanto, Farsi (Persian), Finnish, French, German, Greek, -# Hindi, Hungarian, Indonesian, Italian, Japanese, Japanese-en (Japanese with -# English messages), Korean, Korean-en (Korean with English messages), Latvian, -# Lithuanian, Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, -# Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, -# Swedish, Turkish, Ukrainian and Vietnamese. -# The default value is: English. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. -# The default value is: YES. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. - -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief -# description. -# The default value is: NO. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. -# The default value is: NO. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. - -FULL_PATH_NAMES = YES - -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. - -JAVADOC_AUTOBRIEF = YES - -# If the JAVADOC_BANNER tag is set to YES then doxygen will interpret a line -# such as -# /*************** -# as being the beginning of a Javadoc-style comment "banner". If set to NO, the -# Javadoc-style will behave just like regular comments and it will not be -# interpreted by doxygen. -# The default value is: NO. - -JAVADOC_BANNER = NO - -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. - -MULTILINE_CPP_IS_BRIEF = NO - -# By default Python docstrings are displayed as preformatted text and doxygen's -# special commands cannot be used. By setting PYTHON_DOCSTRING to NO the -# doxygen's special commands can be used and the contents of the docstring -# documentation blocks is shown as doxygen documentation. -# The default value is: YES. - -PYTHON_DOCSTRING = YES - -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:^^" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". Note that you cannot put \n's in the value part of an alias -# to insert newlines (in the resulting output). You can put ^^ in the value part -# of an alias to insert a newline as if a physical newline was in the original -# file. When you need a literal { or } or , in the value part of an alias you -# have to escape them by means of a backslash (\), this can lead to conflicts -# with the commands \{ and \} for these it is advised to use the version @{ and -# @} or use a double escape (\\{ and \\}) - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Set the OPTIMIZE_OUTPUT_SLICE tag to YES if your project consists of Slice -# sources only. Doxygen will then generate output that is more tailored for that -# language. For instance, namespaces will be presented as modules, types will be -# separated into more groups, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_SLICE = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, JavaScript, -# Csharp (C#), C, C++, Lex, D, PHP, md (Markdown), Objective-C, Python, Slice, -# VHDL, Fortran (fixed format Fortran: FortranFixed, free formatted Fortran: -# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser -# tries to guess whether the code is fixed or free formatted code, this is the -# default for Fortran type files). For instance to make doxygen treat .inc files -# as Fortran files (default is PHP), and .f files as C (default is Fortran), -# use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. When specifying no_extension you should add -# * to the FILE_PATTERNS. -# -# Note see also the list of default file extension mappings. - -EXTENSION_MAPPING = - -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable -# documentation. See https://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. - -MARKDOWN_SUPPORT = YES - -# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up -# to that level are automatically included in the table of contents, even if -# they do not have an id attribute. -# Note: This feature currently applies only to Markdown headings. -# Minimum value: 0, maximum value: 99, default value: 5. -# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. - -TOC_INCLUDE_HEADINGS = 5 - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. -# The default value is: NO. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. -# The default value is: NO. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. -# The default value is: NO. - -DISTRIBUTE_GROUP_DOC = NO - -# If one adds a struct or class to a group and this option is enabled, then also -# any nested class or struct is added to the same group. By default this option -# is disabled and one has to add nested compounds explicitly via \ingroup. -# The default value is: NO. - -GROUP_NESTED_COMPOUNDS = NO - -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. - -LOOKUP_CACHE_SIZE = 0 - -# The NUM_PROC_THREADS specifies the number of threads doxygen is allowed to use -# during processing. When set to 0 doxygen will based this on the number of -# cores available in the system. You can set it explicitly to a value larger -# than 0 to get more control over the balance between CPU load and processing -# speed. At this moment only the input processing can be done using multiple -# threads. Since this is still an experimental feature the default is set to 1, -# which effectively disables parallel processing. Please report any issues you -# encounter. Generating dot graphs in parallel is controlled by the -# DOT_NUM_THREADS setting. -# Minimum value: 0, maximum value: 32, default value: 1. - -NUM_PROC_THREADS = 1 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual -# methods of a class will be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIV_VIRTUAL = NO - -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal -# scope will be included in the documentation. -# The default value is: NO. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. - -EXTRACT_ANON_NSPACES = NO - -# If this flag is set to YES, the name of an unnamed parameter in a declaration -# will be determined by the corresponding definition. By default unnamed -# parameters remain unnamed in the output. -# The default value is: YES. - -RESOLVE_UNNAMED_PARAMS = YES - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# will also hide undocumented C++ concepts if enabled. This option has no effect -# if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# declarations. If set to NO, these declarations will be included in the -# documentation. -# The default value is: NO. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. - -INTERNAL_DOCS = NO - -# With the correct setting of option CASE_SENSE_NAMES doxygen will better be -# able to match the capabilities of the underlying filesystem. In case the -# filesystem is case sensitive (i.e. it supports files in the same directory -# whose names only differ in casing), the option must be set to YES to properly -# deal with such files in case they appear in the input. For filesystems that -# are not case sensitive the option should be set to NO to properly deal with -# output files written for symbols that only differ in casing, such as for two -# classes, one named CLASS and the other named Class, and to also support -# references to files without having to specify the exact matching casing. On -# Windows (including Cygwin) and MacOS, users should typically set this option -# to NO, whereas on Linux or other Unix flavors it should typically be set to -# YES. -# Possible values are: SYSTEM, NO and YES. -# The default value is: SYSTEM. - -CASE_SENSE_NAMES = SYSTEM - -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. - -HIDE_SCOPE_NAMES = NO - -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_HEADERFILE tag is set to YES then the documentation for a class -# will show which file needs to be included to use the class. -# The default value is: YES. - -SHOW_HEADERFILE = YES - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. - -SHOW_INCLUDE_FILES = YES - -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if ... \endif and \cond -# ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the -# list will mention the files that were used to generate the documentation. -# The default value is: YES. - -SHOW_USED_FILES = NO - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. See also section "Changing the -# layout of pages" for information. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. - -LAYOUT_FILE = DoxygenLayout.xml - -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. - -WARNINGS = YES - -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. - -WARN_IF_UNDOCUMENTED = YES - -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as documenting some parameters in -# a documented function twice, or documenting parameters that don't exist or -# using markup commands wrongly. -# The default value is: YES. - -WARN_IF_DOC_ERROR = YES - -# If WARN_IF_INCOMPLETE_DOC is set to YES, doxygen will warn about incomplete -# function parameter documentation. If set to NO, doxygen will accept that some -# parameters have no documentation without warning. -# The default value is: YES. - -WARN_IF_INCOMPLETE_DOC = YES - -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong parameter -# documentation, but not about the absence of documentation. If EXTRACT_ALL is -# set to YES then this flag will automatically be disabled. See also -# WARN_IF_INCOMPLETE_DOC -# The default value is: NO. - -WARN_NO_PARAMDOC = NO - -# If WARN_IF_UNDOC_ENUM_VAL option is set to YES, doxygen will warn about -# undocumented enumeration values. If set to NO, doxygen will accept -# undocumented enumeration values. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: NO. - -WARN_IF_UNDOC_ENUM_VAL = NO - -# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when -# a warning is encountered. If the WARN_AS_ERROR tag is set to FAIL_ON_WARNINGS -# then doxygen will continue running as if WARN_AS_ERROR tag is set to NO, but -# at the end of the doxygen process doxygen will return with a non-zero status. -# Possible values are: NO, YES and FAIL_ON_WARNINGS. -# The default value is: NO. - -WARN_AS_ERROR = NO - -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# See also: WARN_LINE_FORMAT -# The default value is: $file:$line: $text. - -WARN_FORMAT = "$file:$line: $text" - -# In the $text part of the WARN_FORMAT command it is possible that a reference -# to a more specific place is given. To make it easier to jump to this place -# (outside of doxygen) the user can define a custom "cut" / "paste" string. -# Example: -# WARN_LINE_FORMAT = "'vi $file +$line'" -# See also: WARN_FORMAT -# The default value is: at line $line of file $file. - -WARN_LINE_FORMAT = "at line $line of file $file" - -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). In case the file specified cannot be opened for writing the -# warning and error messages are written to standard error. When as file - is -# specified the warning and error messages are written to standard output -# (stdout). - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING -# Note: If this tag is empty the current directory is searched. - -INPUT = ../../ - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: -# https://www.gnu.org/software/libiconv/) for the list of possible encodings. -# See also: INPUT_FILE_ENCODING -# The default value is: UTF-8. - -INPUT_ENCODING = UTF-8 - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses The INPUT_FILE_ENCODING tag can be used to specify -# character encoding on a per file pattern basis. Doxygen will compare the file -# name with each pattern and apply the encoding instead of the default -# INPUT_ENCODING) if there is a match. The character encodings are a list of the -# form: pattern=encoding (like *.php=ISO-8859-1). See cfg_input_encoding -# "INPUT_ENCODING" for further information on supported encodings. - -INPUT_FILE_ENCODING = - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# read by doxygen. -# -# Note the list of default checked file patterns might differ from the list of -# default file extension mappings. -# -# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, -# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, -# *.hh, *.hxx, *.hpp, *.h++, *.l, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, -# *.inc, *.m, *.markdown, *.md, *.mm, *.dox (to be provided as doxygen C -# comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd, -# *.vhdl, *.ucf, *.qsf and *.ice. - -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.idl \ - *.ddl \ - *.odl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.l \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.pyw \ - *.f90 \ - *.f95 \ - *.f03 \ - *.f08 \ - *.f18 \ - *.f \ - *.for \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf \ - *.ice - -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. -# The default value is: NO. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# ANamespace::AClass, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. - -EXAMPLE_PATTERNS = * - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# -# -# where is the value of the INPUT_FILTER tag, and is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. -# -# Note that doxygen will use the data processed and written to standard output -# for further processing, therefore nothing else, like debug statements or used -# commands (so in case of a Windows batch file always use @echo OFF), should be -# written to standard output. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = - -# The Fortran standard specifies that for fixed formatted Fortran code all -# characters from position 72 are to be considered as comment. A common -# extension is to allow longer lines before the automatic comment starts. The -# setting FORTRAN_COMMENT_AFTER will also make it possible that longer lines can -# be processed before the automatic comment starts. -# Minimum value: 7, maximum value: 10000, default value: 72. - -FORTRAN_COMMENT_AFTER = 72 - -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# entity all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. - -REFERENCES_LINK_SOURCE = YES - -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see https://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the configuration file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. - -VERBATIM_HEADERS = YES - -# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the -# clang parser (see: -# http://clang.llvm.org/) for more accurate parsing at the cost of reduced -# performance. This can be particularly helpful with template rich C++ code for -# which doxygen's built-in parser lacks the necessary type information. -# Note: The availability of this option depends on whether or not doxygen was -# generated with the -Duse_libclang=ON option for CMake. -# The default value is: NO. - -CLANG_ASSISTED_PARSING = NO - -# If the CLANG_ASSISTED_PARSING tag is set to YES and the CLANG_ADD_INC_PATHS -# tag is set to YES then doxygen will add the directory of each input to the -# include path. -# The default value is: YES. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_ADD_INC_PATHS = YES - -# If clang assisted parsing is enabled you can provide the compiler with command -# line options that you would normally use when invoking the compiler. Note that -# the include paths will already be set by doxygen for the files and directories -# specified with INPUT and INCLUDE_PATH. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_OPTIONS = - -# If clang assisted parsing is enabled you can provide the clang parser with the -# path to the directory containing a file called compile_commands.json. This -# file is the compilation database (see: -# http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html) containing the -# options used when the source files were built. This is equivalent to -# specifying the -p option to a clang tool, such as clang-check. These options -# will then be passed to the parser. Any options specified with CLANG_OPTIONS -# will be added as well. -# Note: The availability of this option depends on whether or not doxygen was -# generated with the -Duse_libclang=ON option for CMake. - -CLANG_DATABASE_PATH = - -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. - -ALPHABETICAL_INDEX = YES - -# The IGNORE_PREFIX tag can be used to specify a prefix (or a list of prefixes) -# that should be ignored while generating the index headers. The IGNORE_PREFIX -# tag works for classes, function and member names. The entity will be placed in -# the alphabetical list under the first letter of the entity name that remains -# after removing the prefix. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_HEADER = header - -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_STYLESHEET = - -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). -# Note: Since the styling of scrollbars can currently not be overruled in -# Webkit/Chromium, the styling will be left out of the default doxygen.css if -# one or more extra stylesheets have been specified. So if scrollbar -# customization is desired it has to be added explicitly. For an example see the -# documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_STYLESHEET = doxygen_html_style.css - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output -# should be rendered with a dark or light theme. -# Possible values are: LIGHT always generate light mode output, DARK always -# generate dark mode output, AUTO_LIGHT automatically set the mode according to -# the user preference, use light mode if no preference is set (the default), -# AUTO_DARK automatically set the mode according to the user preference, use -# dark mode if no preference is set and TOGGLE allow to user to switch between -# light and dark mode via a button. -# The default value is: AUTO_LIGHT. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE = DARK - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a color-wheel, see -# https://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use gray-scales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_TIMESTAMP = NO - -# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML -# documentation will contain a main index with vertical navigation menus that -# are dynamically created via JavaScript. If disabled, the navigation index will -# consists of multiple levels of tabs that are statically embedded in every HTML -# page. Disable this option to support browsers that do not have JavaScript, -# like the Qt help browser. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_MENUS = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: -# https://developer.apple.com/xcode/), introduced with OSX 10.5 (Leopard). To -# create a documentation set, doxygen will generate a Makefile in the HTML -# output directory. Running make will produce the docset in that directory and -# running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See https://developer.apple.com/library/archive/featuredarticles/Doxy -# genXcode/_index.html for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_DOCSET = NO - -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# This tag determines the URL of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDURL = - -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# on Windows. In the beginning of 2021 Microsoft took the original page, with -# a.o. the download links, offline the HTML help workshop was already many years -# in maintenance mode). You can download the HTML help workshop from the web -# archives at Installation executable (see: -# http://web.archive.org/web/20160201063255/http://download.microsoft.com/downlo -# ad/0/A/9/0A939EF6-E31C-430F-A3DF-DFAE7960D564/htmlhelp.exe). -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_HTMLHELP = NO - -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be -# written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_FILE = - -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -HHC_LOCATION = - -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the main .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -GENERATE_CHI = NO - -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_INDEX_ENCODING = - -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: -# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: -# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#virtual-folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_VIRTUAL_FOLDER = doc - -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: -# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: -# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#custom-filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# https://doc.qt.io/archives/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_SECT_FILTER_ATTRS = - -# The QHG_LOCATION tag can be used to specify the location (absolute path -# including file name) of Qt's qhelpgenerator. If non-empty doxygen will try to -# run qhelpgenerator on the generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -DISABLE_INDEX = YES - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine tune the look of the index (see "Fine-tuning the output"). As an -# example, the default style sheet generated by doxygen has an example that -# shows how to put an image at the root of the tree instead of the PROJECT_NAME. -# Since the tree basically has the same information as the tab index, you could -# consider setting DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_TREEVIEW = YES - -# When both GENERATE_TREEVIEW and DISABLE_INDEX are set to YES, then the -# FULL_SIDEBAR option determines if the side bar is limited to only the treeview -# area (value NO) or if it should extend to the full height of the window (value -# YES). Setting this to YES gives a layout similar to -# https://docs.readthedocs.io with more room for contents, but less room for the -# project logo, title, and description. If either GENERATE_TREEVIEW or -# DISABLE_INDEX is set to NO, this option has no effect. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FULL_SIDEBAR = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. - -ENUM_VALUES_PER_LINE = 4 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. - -TREEVIEW_WIDTH = 250 - -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -EXT_LINKS_IN_WINDOW = NO - -# If the OBFUSCATE_EMAILS tag is set to YES, doxygen will obfuscate email -# addresses. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -OBFUSCATE_EMAILS = YES - -# If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg -# tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see -# https://inkscape.org) to generate formulas as SVG images instead of PNGs for -# the HTML output. These images will generally look nicer at scaled resolutions. -# Possible values are: png (the default) and svg (looks nicer but requires the -# pdf2svg or inkscape tool). -# The default value is: png. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FORMULA_FORMAT = png - -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_FONTSIZE = 10 - -# The FORMULA_MACROFILE can contain LaTeX \newcommand and \renewcommand commands -# to create new LaTeX commands to be used in formulas as building blocks. See -# the section "Including formulas" for details. - -FORMULA_MACROFILE = - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# https://www.mathjax.org) which uses client side JavaScript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -USE_MATHJAX = NO - -# With MATHJAX_VERSION it is possible to specify the MathJax version to be used. -# Note that the different versions of MathJax have different requirements with -# regards to the different settings, so it is possible that also other MathJax -# settings have to be changed when switching between the different MathJax -# versions. -# Possible values are: MathJax_2 and MathJax_3. -# The default value is: MathJax_2. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_VERSION = MathJax_2 - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. For more details about the output format see MathJax -# version 2 (see: -# http://docs.mathjax.org/en/v2.7-latest/output.html) and MathJax version 3 -# (see: -# http://docs.mathjax.org/en/latest/web/components/output.html). -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility. This is the name for Mathjax version 2, for MathJax version 3 -# this will be translated into chtml), NativeMML (i.e. MathML. Only supported -# for NathJax 2. For MathJax version 3 chtml will be used instead.), chtml (This -# is the name for Mathjax version 3, for MathJax version 2 this will be -# translated into HTML-CSS) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from https://www.mathjax.org before deployment. The default value is: -# - in case of MathJax version 2: https://cdn.jsdelivr.net/npm/mathjax@2 -# - in case of MathJax version 3: https://cdn.jsdelivr.net/npm/mathjax@3 -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_RELPATH = - -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# for MathJax version 2 (see https://docs.mathjax.org/en/v2.7-latest/tex.html -# #tex-and-latex-extensions): -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# For example for MathJax version 3 (see -# http://docs.mathjax.org/en/latest/input/tex/extensions/index.html): -# MATHJAX_EXTENSIONS = ams -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: -# http://docs.mathjax.org/en/v2.7-latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use + S -# (what the is depends on the OS and browser, but it is typically -# , /