Tags: peterzen/dcrd
Tags
Notify only relevant stake txs, not all. (decred#447) I misunderstood an old dcrd comment and thought that all stake transactions were notified irrespective of whether they were actually relevant to the wallet or not. Fix this by only including those that pass the tx filter for block connected notifications. Rescanned blocks already handled this correctly by only including the relevant stake txs.
Optimize coinbase output tax check. Profiling indicated that significant time was being spent validating coinbase outputs, ensuring that they paid to the development organization's P2SH tax address. This check was more inefficient than necessary for a couple of reasons: * The tax address was always decoded from a string to a dcrutil.Address. * The actual script being validated was always parsed for addresses to check if they matched the tax address. Neither of these are needed. To optimize the algorithm, only the equality of the output script and script version are checked.
add more checkpoints for upcoming release (decred#329) (decred#338)
PreviousNext