Documentation ¶
Overview ¶
Package shadow heuristic This heuristic checks if there are output addresses that are the first time they appear in the Blockchain. We count the transactions in which appear at least one fresh address in the output set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShadowAddress ¶
ShadowAddress heuristic
func (*ShadowAddress) ChangeOutput ¶
func (h *ShadowAddress) ChangeOutput(transaction *tx.Tx) (c []uint32, err error)
ChangeOutput returns the index of the output which appears for the first time in the chain based on client behaviour heuristic TODO: violates DRY, just different evaluation in output change, but same operations
func (*ShadowAddress) Vulnerable ¶
func (h *ShadowAddress) Vulnerable(transaction *tx.Tx) bool
Vulnerable returns true if the transaction has a privacy vulnerability due to optimal change heuristic
Click to show internal directories.
Click to hide internal directories.