Skip to content

Commit

Permalink
Merge branch 'main' into umbrella_iroha_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
aoyako authored Feb 21, 2025
2 parents 19fcb0b + 591dd5e commit ab86af7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions crates/iroha_torii_const/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,14 @@
pub mod uri {
//! URI that Torii uses to route incoming requests.
/// Default socket for listening on external requests
pub const DEFAULT_API_ADDR: iroha_primitives::addr::SocketAddr =
iroha_primitives::addr::socket_addr!(127.0.0.1:8080);
/// Query URI is used to handle incoming Query requests.
pub const QUERY: &str = "/query";
/// Transaction URI is used to handle incoming ISI requests.
pub const TRANSACTION: &str = "/transaction";
/// Block URI is used to handle incoming Block requests.
pub const CONSENSUS: &str = "/consensus";
/// Health URI is used to handle incoming Healthcheck requests.
pub const HEALTH: &str = "/health";
/// Peers URI is used to find all peers in the network
pub const PEERS: &str = "/peers";
/// The URI used for block synchronization.
pub const BLOCK_SYNC: &str = "/block/sync";
/// The web socket uri used to subscribe to block and transactions statuses.
pub const SUBSCRIPTION: &str = "/events";
/// The web socket uri used to subscribe to blocks stream.
Expand Down
1 change: 1 addition & 0 deletions docs/source/references/peer.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

[network]
# address =
# public_address =
# block_gossip_period_ms = 10_000
# block_gossip_size = 4
# transaction_gossip_period_ms = 1_000
Expand Down

0 comments on commit ab86af7

Please sign in to comment.