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

ship-v2 #10268

Merged
merged 2 commits into from
Apr 23, 2021
Merged

ship-v2 #10268

merged 2 commits into from
Apr 23, 2021

Conversation

huangminghuang
Copy link
Contributor

Change Description

This PR implements new SHiP get_blocks_request_v1 and get_blocks_result_v2 messages so that the client can request block_header only instead of the full blocks.

  • When the nodeos receives get_blocks_request_v0, it will response with get_blocks_result_v1 to be compatible with existing clients.
  • When the nodeos received get_blocks_request_v1, it will response with get_blocks_result_v2.

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

# Conflicts:
#	libraries/abieos
#	libraries/state_history/abi.cpp
@spoonincode
Copy link
Contributor

This is a PR to 2.1.x, but the abieos submodule is pointing to the eosio branch. The typical pattern is to create a v2.1.x branch in the submodule.

@huangminghuang huangminghuang merged commit 957abbe into release/2.1.x Apr 23, 2021
@brianjohnson5972 brianjohnson5972 deleted the huangminghuang/ship-v2-2.1.x branch April 23, 2021 15:27
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