Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProofOfWork ¶
type ProofOfWork struct {
Difficulty int
}
ProofOfWork represents the structure of our PoW
func NewProofOfWork ¶
func NewProofOfWork(difficulty int) *ProofOfWork
NewProofOfWork creates a new ProofOfWork with a given difficulty
Click to show internal directories.
Click to hide internal directories.