Move current code to separate package
This commit is contained in:
parent
84844cdb66
commit
c5dcc2acce
|
|
@ -1,4 +1,4 @@
|
||||||
package pow
|
package challenge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package pow
|
package challenge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package pow
|
package challenge
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/hmac"
|
"crypto/hmac"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package pow
|
package challenge
|
||||||
|
|
||||||
// Verifier handles validation of PoW challenges
|
// Verifier handles validation of PoW challenges
|
||||||
type Verifier struct {
|
type Verifier struct {
|
||||||
Loading…
Reference in a new issue