Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressChecker ¶
type AddressLister ¶
type Addresses ¶
type Addresses interface {
AddressChecker
AddressLister
}
type ChainStore ¶
ChainStore extends Store with methods that require a chain ID.
func NewChainStore ¶
func NewChainStore(ks core.Keystore, chainID *big.Int) ChainStore
NewChainStore returns a new ChainStore for chainID backed by ks.
type MessageSigner ¶
type Mutex ¶
type Mutex struct {
// contains filtered or unexported fields
}
func (*Mutex) IsLocked ¶
func (m *Mutex) IsLocked(serviceType ServiceType) bool
IsLocked checks if the resource is locked by a specific service type.
func (*Mutex) TryLock ¶
func (m *Mutex) TryLock(serviceType ServiceType) error
TryLock attempts to lock the resource for the specified service type. It returns an error if the resource is locked by a different service type.
func (*Mutex) Unlock ¶
func (m *Mutex) Unlock(serviceType ServiceType) error
Unlock releases the lock for the service type
type RoundRobin ¶
type Store ¶
type Store interface {
AddressChecker
AddressLister
RoundRobin
MessageSigner
Locker
Signer
}
Click to show internal directories.
Click to hide internal directories.