Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Miner ¶
type Miner struct {
// contains filtered or unexported fields
}
func NewMiner ¶
func NewMiner(blockchain *core.Blockchain, mempool *mempool.TransactionPool, minerAddress string) *Miner
func (*Miner) GetMetrics ¶
type ProofOfWork ¶
type ProofOfWork struct {
// contains filtered or unexported fields
}
func NewProofOfWork ¶
func NewProofOfWork(block *core.Block) *ProofOfWork
func (*ProofOfWork) Mine ¶
func (pow *ProofOfWork) Mine() (uint64, []byte)
Click to show internal directories.
Click to hide internal directories.