mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
5b4f352acb
* initial * mining * remove debug * debug * restore random seed in the mining tests * green tests * fix blockchain tests * fix lint * init miner only if asked * linters * do not store trie as singlton * fmt * new trieDbState constructor
10 lines
116 B
Go
10 lines
116 B
Go
package ethdb
|
|
|
|
import "sync/atomic"
|
|
|
|
var dbID = new(uint64)
|
|
|
|
func id() uint64 {
|
|
return atomic.AddUint64(dbID, 1)
|
|
}
|