Updated on 2026-08-14
This commit is contained in:
parent
a5488207ed
commit
2a41321e74
20 changed files with 440 additions and 9 deletions
|
|
@ -0,0 +1,13 @@
|
|||
package com.tangem.datasource.local.token
|
||||
|
||||
import com.tangem.datasource.local.datastore.RuntimeStateStore
|
||||
import javax.inject.Inject
|
||||
import javax.inject.Singleton
|
||||
|
||||
/**
|
||||
* In-memory flag: the last P2P vaults request returned HTTP 451 (region unavailable).
|
||||
* `true` → staking is blocked in the region. Reset to `false` on a successful fetch.
|
||||
*/
|
||||
@Singleton
|
||||
class P2PEthPoolRegionBlockedStore @Inject constructor() :
|
||||
RuntimeStateStore<Boolean> by RuntimeStateStore(defaultValue = false)
|
||||
Loading…
Add table
Add a link
Reference in a new issue