mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
a6be18b915
* timer-based logs * timer-based logs * delegate progress calculation to user * delegate progress calculation to user * delegate progress calculation to user * clear * add logs to senders recovery * use default dir in integration * more logs * more logs
9 lines
119 B
Go
9 lines
119 B
Go
package etl
|
|
|
|
func ProgressFromKey(k []byte) int {
|
|
if len(k) < 1 {
|
|
return 0
|
|
}
|
|
return int(float64(k[0]>>4) * 3.3)
|
|
}
|