chore: remove repetitive words (#7041)

This commit is contained in:
Oliver Nordbjerg
2024-03-08 14:02:37 +01:00
committed by GitHub
parent 5d83de223f
commit 43bb4ccbba
6 changed files with 7 additions and 7 deletions

View File

@ -226,7 +226,7 @@ RPC:
[aliases: --rpc.returndata.limit]
--rpc-max-subscriptions-per-connection <RPC_MAX_SUBSCRIPTIONS_PER_CONNECTION>
Set the the maximum concurrent subscriptions per connection
Set the maximum concurrent subscriptions per connection
[default: 1024]

View File

@ -915,7 +915,7 @@ where
total_difficulty: Default::default(),
};
// we update the the tracked header first
// we update the tracked header first
self.blockchain.set_canonical_head(head);
head_block.total_difficulty =

View File

@ -139,7 +139,7 @@ pub struct RpcServerArgs {
#[arg(long, visible_alias = "--rpc.returndata.limit", default_value_t = RPC_DEFAULT_MAX_RESPONSE_SIZE_MB.into())]
pub rpc_max_response_size: MaxU32,
/// Set the the maximum concurrent subscriptions per connection.
/// Set the maximum concurrent subscriptions per connection.
#[arg(long, default_value_t = RPC_DEFAULT_MAX_SUBS_PER_CONN.into())]
pub rpc_max_subscriptions_per_connection: MaxU32,

View File

@ -74,7 +74,7 @@ pub trait EngineApi<Engine: EngineTypes> {
/// Post Cancun forkchoice update handler
///
/// This is the same as `forkchoiceUpdatedV2`, but expects an additional
/// `parentBeaconBlockRoot` field in the the `payloadAttributes`, if payload attributes
/// `parentBeaconBlockRoot` field in the `payloadAttributes`, if payload attributes
/// are provided.
///
/// See also <https://github.com/ethereum/execution-apis/blob/main/src/engine/cancun.md#engine_forkchoiceupdatedv3>

View File

@ -2118,7 +2118,7 @@ impl RpcServer {
pub fn http_local_addr(&self) -> Option<SocketAddr> {
self.ws_http.http_local_addr
}
/// Return the JwtSecret of the the server
/// Return the JwtSecret of the server
pub fn jwt(&self) -> Option<JwtSecret> {
self.ws_http.jwt_secret.clone()
}

View File

@ -2079,7 +2079,7 @@ enum MDBX_option_t {
* for all processes interacting with the database.
*
* \details This defines the number of slots in the lock table that is used to
* track readers in the the environment. The default is about 100 for 4K
* track readers in the environment. The default is about 100 for 4K
* system page size. Starting a read-only transaction normally ties a lock
* table slot to the current thread until the environment closes or the thread
* exits. If \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the
@ -3343,7 +3343,7 @@ mdbx_limits_txnsize_max(intptr_t pagesize);
* \ingroup c_settings
*
* \details This defines the number of slots in the lock table that is used to
* track readers in the the environment. The default is about 100 for 4K system
* track readers in the environment. The default is about 100 for 4K system
* page size. Starting a read-only transaction normally ties a lock table slot
* to the current thread until the environment closes or the thread exits. If
* \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the slot to the