NewNode just return a new node struct.
()
| 121 | |
| 122 | // NewNode just return a new node struct. |
| 123 | func NewNode() *Node { |
| 124 | return &Node{} |
| 125 | } |
| 126 | |
| 127 | // Difficulty returns NodeID difficulty, returns -1 on length mismatch or any error. |
| 128 | func (id *NodeID) Difficulty() (difficulty int) { |
no outgoing calls