Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes for DSTX-es #3295

Merged
merged 6 commits into from
Jan 22, 2020
Merged

Various fixes for DSTX-es #3295

merged 6 commits into from
Jan 22, 2020

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Jan 18, 2020

Pls see individual commits

@UdjinM6 UdjinM6 added this to the 15 milestone Jan 18, 2020
`HasChainLock` was always `false` in `IsExpired` because tip is updated before the corresponding chainlock is received
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, looks good. All commits make sense

Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 added the P2P Some notable changes on p2p level label Jan 22, 2020
@UdjinM6 UdjinM6 merged commit b57901d into dashpay:develop Jan 22, 2020
UdjinM6 added a commit to UdjinM6/dash that referenced this pull request Jan 22, 2020
* Check MNs up to 24 blocks deep when verifying `dstx`

* Handle DSTX-es more like regular txes and not like "other" invs

* Try asking for a DSTX too when trying to find missing tx parents

* Check DSTX-es when chainlock arrives

`HasChainLock` was always `false` in `IsExpired` because tip is updated before the corresponding chainlock is received

* Apply `Handle DSTX-es more like regular txes` idea to `AlreadyHave()`

* Alternative handling of DSTX+recentRejects

Co-authored-by: Alexander Block <[email protected]>
FornaxA pushed a commit to ioncoincore/ion that referenced this pull request Jul 6, 2020
* Check MNs up to 24 blocks deep when verifying `dstx`

* Handle DSTX-es more like regular txes and not like "other" invs

* Try asking for a DSTX too when trying to find missing tx parents

* Check DSTX-es when chainlock arrives

`HasChainLock` was always `false` in `IsExpired` because tip is updated before the corresponding chainlock is received

* Apply `Handle DSTX-es more like regular txes` idea to `AlreadyHave()`

* Alternative handling of DSTX+recentRejects

Co-authored-by: Alexander Block <[email protected]>
Signed-off-by: cevap <[email protected]>
@UdjinM6 UdjinM6 deleted the dstxoldmn branch November 26, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2P Some notable changes on p2p level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants