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

Alignment w/mainline & Core, RPC, P2P improvements #139

Closed
wants to merge 3 commits into from
Closed

Alignment w/mainline & Core, RPC, P2P improvements #139

wants to merge 3 commits into from

Conversation

johnsonjh
Copy link

@johnsonjh johnsonjh commented Nov 2, 2020

  • Everywhere, more aggressively check for missing peers.

  • Everywhere, more aggressive locking.

  • addrmgr: Align our defaults closer to modern Bitcoin Core.

  • calcEasiestDifficulty removed completely, unneeded.

  • connmgr: Align our defaults closer to modern Bitcoin Core.

  • netsync: Announce new transactions via PeerNotifier only when we actually have accepted new transactions.

  • netsync: More aggressively attempt to maintain sync peers.

  • peer: Ignore proxy and tor checks in tests for reliability. (I believe I already completely removed this in an earlier PR.)

  • server.go: Align closer with Bitcoin Core, also, and fix up some of the logic in the address cache, should make some tests (like Yet another flaky test (or a flaky function!) causing rare failures. #128) more robust.

  • Use Go's HTTP/2 support for JSON-RPC to support keep-alives, etc. Brings us closer to the other implementations (such as Bitcoin Cash, pending in Core), and allows for removing a lot of code.

  • Remove alerts completely - they've been gone from Bitcoin Core forever.

  • Fix up and explicitly de-parallelize some of the tests.

  • Remove block fastAdd processing in processBlock.

  • Message peers even on orphan blocks as they might be from a reorg.

  • Fix the bug in pktctl that causes help to be shown twice.

* Everywhere, more aggressively check for missing peers.

* Everywhere, more aggressive locking.

* addrmgr: Align our defaults closer to modern Bitcoin Core.

* calcEasiestDifficulty removed completely, unneeded.

* connmgr: Align our defaults closer to modern Bitcoin Core.

* netsync: Announce new transactions via PeerNotifier only
  when we actually have accepted new transactons.

* netsync: More aggressively attempt to maintain sync peers.

* peer: Ignore proxy and tor checks in tests for reliability.
  I believe I already completely removed this in an earlier PR.

* server.go: Align closer with Bitcoin Core, also, and fix up
  some of the logic in the address cache, should make some tests
  (like #128) more robust.

* Use Go's HTTP/2 support for JSON-RPC to support keepalives, etc.
  Brings us closer to the other implementations (such as Bitcoin
  Cash, pending in Core), and allows for removing a lot of code.

* Fix bug that was causing help to be shown twice while I was there.

* Remove alerts - they've been gone from Bitcoin Core forever.

* Fix up and explicitly de-parallelize some of the tests.

* Remove block fastAdd processing in processBlock.

* Message peers even on orphan blocks as they might be from a reorg.
@johnsonjh
Copy link
Author

johnsonjh commented Nov 3, 2020

Regression test shows I broke something here, will fix and resubmit correction, probably as separated PR's

@johnsonjh johnsonjh closed this Nov 3, 2020
@johnsonjh johnsonjh deleted the alignment1 branch December 28, 2020 23:53
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.

1 participant