Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Puzzle ¶
type Puzzle interface { // Solve solves the puzzle and returns the answer, or fails Solve() (answer []byte, err error) // Serialize turns the puzzle into something that's able to be sent over the wire Serialize() (raw []byte, err error) }
Puzzle is what can actually be solved. It should return the same answer that was the result of SetupTimelockPuzzle.
Directories ¶
Path | Synopsis |
---|---|
Package rsw is an implementation of Rivest-Shamir-Wagner timelock puzzles, from RSW96.
|
Package rsw is an implementation of Rivest-Shamir-Wagner timelock puzzles, from RSW96. |
Click to show internal directories.
Click to hide internal directories.