Skip to content

Commit

Permalink
quick comments in mining header
Browse files Browse the repository at this point in the history
  • Loading branch information
David Julien authored and David Julien committed Jun 26, 2017
1 parent 47c4004 commit 7a1fe0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ type MiningHeader struct {
Txs blockchain.Hash
// Target is the current target
Target blockchain.Hash
Time uint32
Nonce uint64
// Time is the current time, it increments every second when mining
Time uint32
// Nonce starts at 0 and increments by 1 for every hash when mining
Nonce uint64
}

// Marshal converts a Mining Header to a byte slice
Expand Down

0 comments on commit 7a1fe0b

Please sign in to comment.