Skip to content

Commit ffe791b

Browse files
committed
Break out admin-only request/rpc classes into separate file.
Also, do the same for pyth_tx.
1 parent e69ce2a commit ffe791b

14 files changed

+3541
-3641
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ add_executable( pythd pcapps/pythd.cpp )
7171
target_link_libraries( pythd ${PC_DEP} )
7272
add_executable( pyth pcapps/pyth.cpp )
7373
target_link_libraries( pyth ${PC_DEP} )
74-
add_executable( pyth_admin pcapps/pyth_admin.cpp )
74+
add_executable( pyth_admin pcapps/admin_rpc_client.cpp pcapps/admin_request.cpp pcapps/pyth_admin.cpp )
7575
target_link_libraries( pyth_admin ${PC_DEP} )
7676
add_executable( pyth_csv pcapps/pyth_csv.cpp )
7777
target_link_libraries( pyth_csv ${PC_DEP} )
78-
add_executable( pyth_tx pcapps/tx_svr.cpp pcapps/pyth_tx.cpp )
78+
add_executable( pyth_tx pcapps/tx_rpc_client.cpp pcapps/tx_svr.cpp pcapps/pyth_tx.cpp )
7979
target_link_libraries( pyth_tx ${PC_DEP} )
8080

8181
#
@@ -102,8 +102,6 @@ add_executable( test_qset pctest/test_qset.cpp )
102102
target_link_libraries( test_qset ${PC_DEP} )
103103
add_executable( test_twap pctest/test_twap.cpp )
104104
target_link_libraries( test_twap ${PC_DEP} )
105-
add_executable( slots_info pctest/slots_info.cpp )
106-
target_link_libraries( slots_info ${PC_DEP} )
107105
add_executable( leader_stats pctest/leader_stats.cpp )
108106
target_link_libraries( leader_stats ${PC_DEP} )
109107

0 commit comments

Comments
 (0)