diff --git a/backend/assets/config.toml b/backend/assets/config.toml index 65a65f30..82b6d489 100644 --- a/backend/assets/config.toml +++ b/backend/assets/config.toml @@ -15,17 +15,128 @@ track_reorgs = true network = "igor" base_node_identity_file = "/var/tari/base_node/config/igor/tar_base_node_id.json" # Uncomment all gRPC server methods that should be denied default (only active when `grpc_enabled = true`) -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [stagenet.base_node] identity_file = "/var/tari/base_node/config/stagenet/tari_base_node_id.json" # Uncomment all gRPC server methods that should be denied default (only active when `grpc_enabled = true`) -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [nextnet.base_node] identity_file = "/var/tari/base_node/config/nextnet/tari_base_node_id.json" -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [base_node.p2p] #auxiliary_tcp_listener_address = "/dns4/base_node/tcp/18189" @@ -53,12 +164,7 @@ listener_address = "/dns4/base_node/tcp/18189" # DNS seeds hosts - DNS TXT records are queried from these hosts and the resulting peers added to the comms peer list. dns_seeds = ["seeds.nextnet.tari.com"] # Custom specified peer seed nodes -peer_seeds = [ - # 44444408d5fa29410d9752770f - "2c84ccdf0dcb7b4845f167ea8988166384a36451d068e0ae1bb84b5bf0d52425::/onion3/7gwfakr7ko5uo3fl3yz3fsjc7elccbzter5botggodrmmwi2exm3vbid:18141", - # bbbbbb87215db9ee00bb2763b5 - "64639314dc3c9a4b0fa57f812d68b381a882e72eb9cc20e861ce6e04936ef438::/onion3/lvsj75guqc4gfqasgyhg3of2clijf3vkgipbpufh6dmhyapp2dmuelad:18141", -] +peer_seeds = [] [stagenet.p2p.seeds] # DNS seeds hosts - DNS TXT records are queried from these hosts and the resulting peers added to the comms peer list. diff --git a/libs/sdm-assets/assets/config.toml b/libs/sdm-assets/assets/config.toml index dc38a6de..45e13ec6 100644 --- a/libs/sdm-assets/assets/config.toml +++ b/libs/sdm-assets/assets/config.toml @@ -14,15 +14,126 @@ track_reorgs = true [igor.base_node] network = "igor" # Uncomment all gRPC server methods that should be denied default (only active when `grpc_enabled = true`) -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [stagenet.base_node] # Uncomment all gRPC server methods that should be denied default (only active when `grpc_enabled = true`) -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [nextnet.base_node] -grpc_server_deny_methods = [] +grpc_server_allow_methods = [ + "get_version", + #"check_for_updates", + #"get_sync_info", + #"get_sync_progress", + "get_tip_info", + #"identify", + #"get_network_status", + "list_headers", + #"get_header_by_hash", + #"get_blocks", + #"get_block_timing", + #"get_constants", + #"get_block_size", + #"get_block_fees", + "get_tokens_in_circulation", + "get_network_difficulty", + "get_new_block_template", + "get_new_block", + "get_new_block_with_coinbases", + "get_new_block_template_with_coinbases", + "get_new_block_blob", + "submit_block", + "submit_block_blob", + "submit_transaction", + "search_kernels", + "search_utxos", + "fetch_matching_utxos", + #"get_peers", + #"get_mempool_transactions", + "transaction_state", + "list_connected_peers", + "get_mempool_stats", + "get_active_validator_nodes", + "get_shard_key", + "get_template_registrations", + "get_side_chain_utxos", +] [base_node.p2p] auxiliary_tcp_listener_address = "/dns4/base_node/tcp/18189" @@ -50,12 +161,7 @@ listener_address = "/dns4/base_node/tcp/18189" # DNS seeds hosts - DNS TXT records are queried from these hosts and the resulting peers added to the comms peer list. dns_seeds = ["seeds.nextnet.tari.com"] # Custom specified peer seed nodes -peer_seeds = [ - # 44444408d5fa29410d9752770f - "2c84ccdf0dcb7b4845f167ea8988166384a36451d068e0ae1bb84b5bf0d52425::/onion3/7gwfakr7ko5uo3fl3yz3fsjc7elccbzter5botggodrmmwi2exm3vbid:18141", - # bbbbbb87215db9ee00bb2763b5 - "64639314dc3c9a4b0fa57f812d68b381a882e72eb9cc20e861ce6e04936ef438::/onion3/lvsj75guqc4gfqasgyhg3of2clijf3vkgipbpufh6dmhyapp2dmuelad:18141", -] +peer_seeds = [] [stagenet.p2p.seeds] # DNS seeds hosts - DNS TXT records are queried from these hosts and the resulting peers added to the comms peer list.