Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsVaultSolvent ¶
IsVaultSolvent check whether the given vault is solvent or not , if it is not solvent , then it will need to report solvency to thornode
func SolvencyCheckRunner ¶
func SolvencyCheckRunner(chain common.Chain, provider SolvencyCheckProvider, bridge mayaclient.MayachainBridge, stopper <-chan struct{}, wg *sync.WaitGroup, backOffDuration time.Duration, )
SolvencyCheckRunner when a chain get marked as insolvent , and then get halt automatically , the chain client will stop scanning blocks , as a result , solvency checker will not report current solvency status to THORNode anymore, this method is to ensure that the chain client will continue to do solvency check even when the chain has been halted
Types ¶
Click to show internal directories.
Click to hide internal directories.