Skip to content

Update Alpha #431

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

Merged
merged 4 commits into from
Nov 15, 2019
Merged

Update Alpha #431

merged 4 commits into from
Nov 15, 2019

Conversation

andy-shi88
Copy link
Contributor

Description

Merge develop to alpha

astaphobia and others added 4 commits November 15, 2019 14:13

Verified

This commit was signed with the committer’s verified signature.
ZedThree Peter Hill
* initiate restoreMempoolsBackup func

* finished mempool backup process and add loggger into processfork struct

* fetch latest schema/origin/develop

* add logger into blockPopper stuff

Verified

This commit was signed with the committer’s verified signature.
ZedThree Peter Hill
* #420 rename get scrambled nodes function to get last scrambled node, since we will have multiple version now

* #420 move some scrambling function to util to reduce fetching function call frequency

* #420 add block_height to merkle tree table

* #420 fix query to fetch receipt, it had wrong block height scope on the query

* #420 handle error

* #420 add receipt validation

* #420 build scrambled node at height x

* #420 adjust constructor update

* #420 move receipt service instantiation to after node registration service

* #420 move scramble node model outside, it is used by other service as well : receipt service

* #420 validate receipt before storing to database

* #420 use bytes.equal for better comparison performance

* #420 rename memoized scramble nodes

* #420 simplify loop
* fixed addParticipationScore query
refactored unit test
refactored nodeRegistration applyConfirmed to use addParticipationScore instead of insertParticipationScore for gnenesis block (so we can remove that unsafe query :) )

* removed unused InsertParticipationScore query

* refactored addparticipationscore query to use a single upsert statement
* disable some process to adjust with alpha
* update unit test
@andy-shi88 andy-shi88 merged commit 9f17a47 into alpha Nov 15, 2019
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.

None yet

4 participants