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

feat: add set_network_active rpc #2144

Merged
merged 2 commits into from Jul 30, 2020
Merged

feat: add set_network_active rpc #2144

merged 2 commits into from Jul 30, 2020

Conversation

quake
Copy link
Member

@quake quake commented Jun 29, 2020

allows user to pause and restart p2p network message processing through rpc

@quake quake requested a review from a team June 29, 2020 13:34
@quake quake requested a review from a team as a code owner June 29, 2020 13:34
keroro520
keroro520 previously approved these changes Jul 1, 2020
@doitian doitian added this to 👀 Awaiting review in CKB - Pull Requests Jul 6, 2020
TheWaWaR
TheWaWaR previously approved these changes Jul 29, 2020
doitian
doitian previously approved these changes Jul 30, 2020
CKB - Pull Requests automation moved this from 👀 Awaiting review to ✅ Reviewer approved Jul 30, 2020
@doitian
Copy link
Member

doitian commented Jul 30, 2020

bors r=TheWaWaR,keroro520

@doitian
Copy link
Member

doitian commented Jul 30, 2020

bors r=TheWaWaR,keroro520

bors bot added a commit that referenced this pull request Jul 30, 2020
2144: feat: add `set_network_active` rpc r=TheWaWaR,keroro520 a=quake

allows user to pause and restart p2p network message processing through rpc

2169: small tx-pool refactoring  r=quake,doitian a=zhangsoledad

proposal changes:
* rename ContextualTransactionVerifier -> TimeRelativeTransactionVerifier
* split NonContextualTransactionVerifier from TransactionVerifier
* check syntactic correctness first before 
* refactory tx-pool rejection error
* re-broadcast when duplicated tx submit

2184: feat: tx_pool_info include tip hash r=quake,doitian a=keroro520

The state of the transaction pool is related to the chain tip. So attaching `tip_hash` and `tip_number` into `TxPoolInfo` which returns by RPC `tx_pool_info` makes it more rigorous.

Co-authored-by: quake <quake.wang@gmail.com>
Co-authored-by: zhangsoledad <787953403@qq.com>
Co-authored-by: keroro <keroroxx520@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jul 30, 2020

Build failed (retrying...):

  • continuous-integration/travis-ci/push

@quake quake dismissed stale reviews from doitian, TheWaWaR, and keroro520 via 454901b July 30, 2020 05:45
@quake quake requested a review from a team as a code owner July 30, 2020 05:45
CKB - Pull Requests automation moved this from ✅ Reviewer approved to 👀 Awaiting review Jul 30, 2020
@quake
Copy link
Member Author

quake commented Jul 30, 2020

@doitian , @TheWaWaR , @keroro520 rebased with dev branch, please review again, thanks

CKB - Pull Requests automation moved this from 👀 Awaiting review to ✅ Reviewer approved Jul 30, 2020
@quake
Copy link
Member Author

quake commented Jul 30, 2020

bors r=doitian,TheWaWaR,keroro520

@bors
Copy link
Contributor

bors bot commented Jul 30, 2020

Build succeeded:

@bors bors bot merged commit 34d32d2 into develop Jul 30, 2020
CKB - Pull Requests automation moved this from ✅ Reviewer approved to Done Jul 30, 2020
@bors bors bot deleted the quake/network-active branch July 30, 2020 11:25
bors bot added a commit that referenced this pull request Aug 5, 2020
2195: feat: add more fields to `local_node_info` rpc r=yangby-cryptape,doitian,keroro520 a=quake

add `active`, `connections` and `protocols` fields to local_node_info (waiting for #2144)

Co-authored-by: quake <quake.wang@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants