Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Accept peers without DAO header and get rid of serpent #271

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

hwwhww
Copy link

@hwwhww hwwhww commented Oct 25, 2017

  • Thanks to @karalabe for finding this issue and giving advice.

  • If the peer returns empty header list as the dao answer, it may be because the peer is not in Mainnet or the peer hasn't finished syncing yet. This patch fixed it so that we can connect to geth node in private network.

  • The other commits are for passing CI (a bug of serpent). IMO it is messy now and it would be better to fix serpent or remove the serpent code in future PRs.

@hwwhww
Copy link
Author

hwwhww commented Oct 25, 2017

The travis CI failed at sudo apt-get install -y solc" failed and exited with 100 during, but I don't have permission to restart build. :'(

@karalabe
Copy link
Member

I restarted it

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling e264119 on hwwhww:fix_dao_result into ** on ethereum:develop**.

@hwwhww
Copy link
Author

hwwhww commented Oct 25, 2017

@karalabe It passed! Thank you again! :)

If the peer returns empty header list as the dao answer, it may be because the peer is not in Mainnet or the peer hasn't finished syncing yet.
@hwwhww hwwhww changed the title Accept peers without DAO header Accept peers without DAO header and get rid of serpent Oct 30, 2017
@coveralls
Copy link

coveralls commented Oct 30, 2017

Coverage Status

Coverage increased (+0.03%) to 49.941% when pulling c912672 on hwwhww:fix_dao_result into 05d8037 on ethereum:develop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants