Documentation ¶
Overview ¶
Package power of ten heuristic It checks if in the outputs set there are addresses that have an amount in Satoshi that is a power of ten. We count the trans action in which this type of output is found.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerOfTen ¶
type PowerOfTen struct{}
PowerOfTen heuristic
func (*PowerOfTen) ChangeOutput ¶
func (h *PowerOfTen) ChangeOutput(transaction *tx.Tx) (c []uint32, err error)
ChangeOutput returns the index of the output which value is power of ten, if there is any and only one
func (*PowerOfTen) Vulnerable ¶
func (h *PowerOfTen) Vulnerable(transaction *tx.Tx) bool
Vulnerable returns true if the transaction has a privacy vulnerability due to power heuristic
Click to show internal directories.
Click to hide internal directories.