MCPcopy Create free account
hub / github.com/DEROFDN/Engram / stopEPOCH

Function stopEPOCH

functions.go:4520–4528  ·  view source on GitHub ↗

Store account EPOCH session and stop EPOCH

()

Source from the content-addressed store, hash-verified

4518
4519// Store account EPOCH session and stop EPOCH
4520func stopEPOCH() {
4521 if cyberdeck.EPOCH.enabled {
4522 storeEPOCHTotal(time.Second * 4)
4523 }
4524
4525 epoch.StopGetWork()
4526 cyberdeck.EPOCH.enabled = false
4527 cyberdeck.EPOCH.allowWithAddress = false
4528}
4529
4530// Check if value exists within a string array/slice
4531func scidExist(s []string, str string) bool {

Callers 2

closeWalletFunction · 0.85
layoutCyberdeckFunction · 0.85

Calls 1

storeEPOCHTotalFunction · 0.85

Tested by

no test coverage detected