mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* Add prefix to stores * Add prefix to forgotten stores * Add a special type for prefix * Rename transaction->dbTx * Change error message * Use countKeyName * Rename Temporary Consesnsus to Staging * Add DeleteStagingConsensus to Domain interface * Add lock to staging consensus * Make prefix type-safer * Use ioutil.TempDir instead of t.TempDir
10 lines
217 B
Go
10 lines
217 B
Go
package prefixmanager
|
|
|
|
import (
|
|
"github.com/kaspanet/kaspad/infrastructure/logger"
|
|
"github.com/kaspanet/kaspad/util/panics"
|
|
)
|
|
|
|
var log = logger.RegisterSubSystem("PRFX")
|
|
var spawn = panics.GoroutineWrapperFunc(log)
|