Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKeyPair ¶
NewKeyPair genera un par de claves pública y privada
Types ¶
type ProofOfWork ¶
type ProofOfWork struct {
// contains filtered or unexported fields
}
ProofOfWork representa la estructura del algoritmo de prueba de trabajo
func NewProofOfWork ¶
func NewProofOfWork(block *Block) *ProofOfWork
NewProofOfWork simula la creación de un "Proof of Work"
func (*ProofOfWork) Run ¶
func (pow *ProofOfWork) Run() (int, []byte)
Run simula la ejecución del algoritmo de prueba de trabajo
Click to show internal directories.
Click to hide internal directories.