The issue is that this, among many others, our timing is correct for Bitcoin in many instances, and not for Veil. Veil is every 60 seconds per block per Bitcoin's 600 seconds per block. Times need to be adjusted.
A specific example is that in CTxIn, nSequence lock-time granularity is incorrectly set for Bitcoin's block-time to seconds.
Another example is that we are set for only holding the past few hours or blocks, not 2 days by default for pruned nodes.
This serves to set as to investigate and find many of these block related time issues and then fix them in a future pull request. The below list will be updated as more are found.
TO UPDATE:
transaction.h - SEQUENCE_LOCKTIME_GRANULARITY
- Retransmission random time to be scaled properly.
The issue is that this, among many others, our timing is correct for Bitcoin in many instances, and not for Veil. Veil is every 60 seconds per block per Bitcoin's 600 seconds per block. Times need to be adjusted.
A specific example is that in CTxIn,
nSequence
lock-time granularity is incorrectly set for Bitcoin's block-time to seconds.Another example is that we are set for only holding the past few hours or blocks, not 2 days by default for pruned nodes.
This serves to set as to investigate and find many of these block related time issues and then fix them in a future pull request. The below list will be updated as more are found.
TO UPDATE:
transaction.h
- SEQUENCE_LOCKTIME_GRANULARITY