We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ea11c commit fb98188Copy full SHA for fb98188
pallets/subtensor/src/utils/rate_limiting.rs
@@ -39,7 +39,7 @@ impl<T: Config> Pallet<T> {
39
/// Get the rate limit for a specific transaction type
40
pub fn get_rate_limit(tx_type: &TransactionType) -> u64 {
41
match tx_type {
42
- TransactionType::SetChildren => 7200, // Cannot set children twice within a day
+ TransactionType::SetChildren => 150, // 30 minutes
43
TransactionType::SetChildkeyTake => TxChildkeyTakeRateLimit::<T>::get(),
44
TransactionType::Unknown => 0, // Default to no limit for unknown types (no limit)
45
TransactionType::RegisterNetwork => NetworkRateLimit::<T>::get(),
0 commit comments