Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@svyatonik
Copy link
Contributor

@svyatonik svyatonik commented Aug 8, 2018

When block #2 * cht::SIZE + 1 is imported, headers of blocks [1..cht::SIZE] will be replaced with CHT#0.
When block #3 * cht::SIZE + 1 is imported, headers of blocks [cht::SIZE+1..2*cht::SIZE] will be replaced with CHT#1.
...

cht::SIZE is the same hardcoded value as in parity-ethereum - 2048, but probably it could be read from runtime - not sure this is required, though. When old header (which has been pruned and replaced with CHT) is requested, it will be queried from full nodes.

@svyatonik svyatonik added A0-please_review Pull request needs code review. and removed A1-onice labels Aug 13, 2018
@gavofyork gavofyork added A7-looksgoodcantmerge and removed A0-please_review Pull request needs code review. labels Sep 1, 2018
@gavofyork
Copy link
Member

bump

@gavofyork gavofyork merged commit 25154f9 into master Sep 4, 2018
@gavofyork gavofyork deleted the light_cht branch September 4, 2018 19:57
dvdplm added a commit that referenced this pull request Sep 5, 2018
* master:
  Include function comments into modules `json_metadata` (#657)
  Replace old headers with CHT in light clients (#512)
  Fix build
dvdplm added a commit that referenced this pull request Sep 5, 2018
…and-rlpcodec

* master:
  Upgrade to libp2p master (#660)
  Include function comments into modules `json_metadata` (#657)
  Replace old headers with CHT in light clients (#512)
  Fix build
  Introduce treasury and document (#646)
  Off-the-table staking preference (#656)
  Implement function `json_metadata` in `decl_module!` (#654)
  Fix warnings in networking (#652)
  Add a reputation system (#645)
  Check for pruned block state (#648)
liuchengxu added a commit to chainx-org/substrate that referenced this pull request Aug 23, 2021
paritytech#512)

* Add on_issue_before and on_move_before method for OnAssetChanged trait

tokens module only need to take care of the vote weight changes, we
should carefully choose the update timing, for the issue case, we should
update the vote weight before the issue action is done.

* No return value for on_issue_before and on_move_before

* Fix xbootstrap tokens initialization

* No need to update vote weight of psedu intention when moving assets

* Build wasm

* Ensure the receiver's vote weight is initialized

* Add log for vote claim

* Add total issuance test

* Still work after claiming

* Build wasm

* Tweak tokens in bootstrap
liuchengxu pushed a commit to autonomys/substrate that referenced this pull request Jun 3, 2022
* Disable pallet executor on transaction pool level
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