dcrd/gcs/blockcf2
Ryan Staudt 598bf66f24 multi: Add isAutoRevocationsEnabled to CheckSSRtx.
This adds the isAutoRevocationsEnabled flag to stake.CheckSSRtx, which
in turn requires it to be added to stake.DetermineTxType and updating
all callers.

This is required for stake.CheckSSRtx since it will be updated to
return errors if revocation transactions are not valid when the
automatic ticket revocations agenda is enabled.

This is not ideal since it requires passing around the context-based
isAutoRevocationsEnabled flag in many places.

If the automatic ticket revocations agenda activates and there are no
existing version 2 revocation transactions in blocks, then this could
retroactively be removed and the updated checks can be based on the
transaction version instead.
2021-09-06 09:03:27 -05:00
..
blockcf.go multi: Add isAutoRevocationsEnabled to CheckSSRtx. 2021-09-06 09:03:27 -05:00
README.md multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00

blockcf2

Build Status ISC License Doc

Package blockcf2 provides functions to build version 2 block filters. Unlike the gcs package, which is a general implementation of golomb coded sets, this package is tailored for specific filter creation for Decred blocks.

License

Package blockcf2 is licensed under the copyfree ISC License.