Skip to content
This repository was 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
hwwhww wants to merge 2 commits into
ethereum:developfrom
hwwhww:fix_dao_result
Open

Accept peers without DAO header and get rid of serpent#271
hwwhww wants to merge 2 commits into
ethereum:developfrom
hwwhww:fix_dao_result

Conversation

@hwwhww

@hwwhww hwwhww commented Oct 25, 2017

Copy link
Copy Markdown
  • 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

hwwhww commented Oct 25, 2017

Copy link
Copy Markdown
Author

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
Copy Markdown
Member

I restarted it

@coveralls

Copy link
Copy Markdown

Coverage Status

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

@hwwhww

hwwhww commented Oct 25, 2017

Copy link
Copy Markdown
Author

@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

coveralls commented Oct 30, 2017

Copy link
Copy Markdown

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