Skip to content

Conversation

@instagibbs
Copy link
Contributor

tests that blocks are only temporarily rejected, and recovery happens once connection is restored

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps call sync_all(sidechain, sidechain2) here and before the next assert?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not here, since they don't sync, but yes subsequent makes sense!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually no.... we are waiting for bitcoind to be up. We could spin-wait trying to connect at least.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

3rd thoght, you're right, will fix

@instagibbs
Copy link
Contributor Author

@jtimon pushed fix

@instagibbs
Copy link
Contributor Author

pushed real fix, with explanation inline in test. It was hitting some corner cases with pegin validity and block making

@jtimon jtimon merged commit f62c2d5 into ElementsProject:elements-0.14.1 Apr 2, 2018
jtimon added a commit that referenced this pull request Apr 2, 2018
…eg validation

f62c2d5 add peg test for bitcoind temporarily being down during peg validation (Gregory Sanders)
@jtimon
Copy link
Contributor

jtimon commented Apr 2, 2018

ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants