Skip to content

Parallel 2.0 dev#14

Open
setunapo wants to merge 2 commits intoparallel_2.0_dev_igorfrom
parallel_2.0_dev
Open

Parallel 2.0 dev#14
setunapo wants to merge 2 commits intoparallel_2.0_dev_igorfrom
parallel_2.0_dev

Conversation

@setunapo
Copy link
Owner

Description

add a description of your changes here...

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@setunapo setunapo force-pushed the parallel_2.0_dev branch 6 times, most recently from 4a6a8c0 to f3863f3 Compare April 13, 2022 10:18
@setunapo setunapo force-pushed the parallel_2.0_dev branch 24 times, most recently from 1c9b5e6 to fd0e7a0 Compare April 22, 2022 09:59
@setunapo setunapo force-pushed the parallel_2.0_dev branch 8 times, most recently from 9d2f607 to be5e6eb Compare April 26, 2022 05:44
@setunapo setunapo force-pushed the parallel_2.0_dev branch 16 times, most recently from db72bc5 to 594eac2 Compare May 6, 2022 02:08
@setunapo setunapo force-pushed the parallel_2.0_dev branch from 06561f3 to 8d29534 Compare May 18, 2022 02:16
@setunapo setunapo force-pushed the parallel_2.0_dev branch from d71911a to fcf9572 Compare May 20, 2022 07:02
1.features of 2.0:
  ** Streaming Pipeline
  ** Implement universal unconfirmed state db reference, try best to get account object state.
  ** New conflict detect, check based on what it has read.
  ** Do parallel KV conflict check for large KV read
  ** new Interface StateDBer and ParallelStateDB
  ** shared memory pool for parallel objects
  ** use map in sequential mode and sync.map in parallel mode for concurrent StateObject access
  ** replace DeepCopy by LightCopy to avoid redundant memory copy of StateObject
  ** do trie prefetch in advance
  ** dispatcher 2.0
     Static Dispatch & Dynamic Dispatch
     Stolen mode for TxReq when a slot finished its static dispatched tasks
     RealTime result confirm in Stage2, when most if the tx have been executed at least once
     Make it configurable

2.Handle of corner case:
 ** don't panic if there is anything wrong reading state
 ** handle system address, skip its balance check
 ** handle WBNB contract to reduce conflict rate by balance make up
    WBNB balance makeup by GetBalanceOpCode & depth
    add a lock to fix WBNB make up concurrent crash
    add a new interface GetBalanceOpCode
@setunapo setunapo force-pushed the parallel_2.0_dev branch from fcf9572 to ac492c6 Compare May 20, 2022 07:10
setunapo pushed a commit that referenced this pull request Oct 13, 2022
* feat: integration for BEP-127

* fix: euler config order

* fix: init code

* feat: integration for BEP-131

* fix: update RialtoGenesisHash

* feat: upgrade euler height

* feat: upgrade euler height and Validator contract byte code

* feat: modify railto genesis hash

* feat: modify railto genesis hash

* TODO: add comment to make sure upgrade height is not an integer multiple of 200(epoch number)

* force check that Euler height cannot be a multiple of 200

* fix String() function of ChainConfig

* add simple aggragate votes

* fix missing parent assign issue

Co-authored-by: zjubfd <296179868@qq.com>
Co-authored-by: soliditygo <soliditygo@outlook.com>
Co-authored-by: dean65 <dean950605@gmail.com>
Co-authored-by: Gothery <90246878+gothery001@users.noreply.github.com>
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.

3 participants