-
Notifications
You must be signed in to change notification settings - Fork 3
[ Stabilize ] Optimization and bug fixes #1312
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* initiate receipt reminder storage * remove unused codes * fix nil allocation of map * receipt reminder only need receipt key and chaintype * fnished mempool backup and receipt reminder cache storage * fnished mempool backup and receipt reminder cache storage * remove println code and remove badger db from go.mod * fix warning line exceded * remove badger key from config.toml * Update loadConfig to let nomad pass a full path to resource folder * Node status (#1170) * update healthcheck service : add node status endpoint * Fix case query between usage (#1173) * sort genesis transactions for consistent genesis block hash and id (#1174) * Genesis generate command refactoring (#1169) * Add genesisTimestamp flag and updated genesis templates * Add logic to validate input data files used to generate genesis.go * Exclude from node seed verification all entries that don't have a node seed, but only node public key and account address (we can't verify them using genesis generate)
* #1160 finish preparation for scramble node storage * #1160 handle scramble node stack limit * #1160 push scramble information by value instead of reference * #1160 add EmptyCache blocker * #1160 add GetTop method for stack storage * #1160 initialize scramble list on startup * #1160 initialize scramble list on finish applying snapshot * #1160 add database lookup in case looking for scramble outside of cache
* move batch receipt to cache storage * initiate batch receipt cache on main in a correct way * check duplicated batch receipt send or receipt tx and block * reminder batch receipt * remove not used fields on p2p service client
* initialize Node Address Info cache * implement node address info cache * fix wrong use address info service * add node Address info on Block main service & fix test * add check error on SetItem storage * fix parameter NewBlockMainService on unite test * add error handler
fix failed st receipt reminders (#1185)
* add cache storage metrics * update mutex mechanism on get size * better usage gauge vector metrics * add node address info cache into metrics
* get size in safety way, no more game
* Remove NodeAddress from node registration tx generator (cmd) * Remove (unused) NodeAddress from struct in genesis generator (cmd) * Fixed escrow=false in generate register node tx command * Updated readme.md Co-authored-by: stefano galassi <stefano.galassi@blockchainzoo.com>
* move function from node registry service to node address info * remove unused mock variable
* update node proto to have node public key
* fix: returning wrong address update status * fix: concurent read-write map in storage transactional * log node_id-address:port of failed nodeAddressInfo update
* do not update nodeAddress info if less than or same as latest height in database; * avoid updating multiple node address info that could cause unique constraint error by adding extra status filter * fix unit tests
* fix collide naming and no need to req txs when peer nil * fix posible to nil pointer * need to clearing receipt cache when rollback happened * fix failed test cases that was affected
* Update well known peers for beta Co-authored-by: stefano galassi <stefano.galassi@blockchainzoo.com>
* remove active node registry when participation score reach 0 * calculateNodeOrder divide by 1, it is not used anymore, will be removed in new blocksmith selection implementation #1190 * omit division * fix tests * remove outdated test
* Add arm architecture in Makefile for cross compiling with xgo Co-authored-by: stefano galassi <stefano.galassi@blockchainzoo.com>
* add missing reinitialize cache on import & insert snapshot * remove unneeded intilize snapshot
* fix missing dependencies on node address info * add missing depedencies on cmd
* update readme after enhancement
* add checker for Node ID 0 & Implement blocks storage on generate node address info * use cache to get activeRegisteredNode in InsertNextNodeAdmissionTimestamp
* use BlocksStorage in mempool & optimeze validate request p2p * remove priority peers from blacklist
…mat in Blocks Service (#1341) * add GetBlockByHeightCacheFormat & implement more blocks cache
* fix double import package
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Start from Sep 10 - Oct 22 2020 we had alot bug fixes and enhancements to optimizing speed and memory usages.
Enhancements:
n > 1
number of variable.github.com/mohae/deepcopy
and use marshal fromencoding/json
as a substituteBug fixes:
Reference schema
zoobc/zoobc-schema#167