Documentation ¶
Overview ¶
Package locktime heuristic It checks for each output of a transaction, if the spending transactions locktime is the same of the original transaction. In this case, for the percentage, we just count each transaction that can be coupled with a transaction that has the same locktime (if its different from the default value).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locktime ¶
Locktime heuristic
func (*Locktime) ChangeOutput ¶
ChangeOutput returns the index of the change output address based on locktime heuristic: Bitcoin Core sets the locktime to the current block height to prevent fee sniping. If all outputs have been spent, and there is only one output that has been spent in a transaction that matches this transaction's locktime behavior, it is the change.