Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade Seele to version 1.3.0 (#1098)
* add another getMiningTarget function * fix a bug in getSecondMiningTarget function * add hash comparison to reduce forks * add a tool to check the consistency of the balances * fix a bug in cross-shard synchronization * fix bugs in cross-shard transactions * change the flag shortcut in checkbalance.go to resolve the conflicts * FOR TEST ONLY: remove debt validation * change checkbalance flags * add a size limit for debt manager pool; add a database to store debts in case the debt manager pool is full * add a new line to the end of core/pool_config.go * add a new line to the end of seele/debtManager.go * fix a typo in seeleservice.go * change the Seele reward parameter * modify reward condition * fix bugs in format printing * add new consensus engine * add spow api * modify cached_store_test.go * modify some unit tests because the block header structure has changed * fix a bug in engine.go * establish master account in the genesis block * add some test accounts * delete binary file * modify spow to use memory only * add dynamic adjustment for the size of hashpool * add bound check; modify initial balance of the master account; modify some unit tests * adjust the maximum difficulty * fix synchronization bugs * fix typo * create genesis timestamp;refine the genesis structure for future more shards * remove static node in node1.json * new master accounts * adjust unit test * add static nodes for mainnet connection * add static nodes for mainnet connection2 * optimize object pool and peer synchronization * optimize doSelectNode to speed up the connection of all the shards * object_pool * disable print info * change the number of times of random node selection * update travis config * remove travis.yml * modify .travis.yml * optimize spow mining kernel * optimize spow engine * adjust the upper limit of number of bits * for test only * modify spow engine, remove mutex * enhance spow engine and forking logic; adjust difficulty for future blocks * add upper limit to bitsToNonceMap * add new logic to spow consensus engine; forcing disconnection of invalid peer * disable some backend messages * a small modification * change some infos to debug mode * add the rewriting of local fork * disable some warning messages * start using new algo on shard 1 * for test only * initialize the blockchain at a given height * optimize lightchain synchronization; add lightchain rollback * disable a warning * update head block hash after reversing blockchain * disable a warning * fix a bug in chain reversal; add lightchain info * modify the unit tests * continue the program when the recovery point is not usable; fix a bug so that headblockhash and currentBlock are updated as expected * fix some unhandled errors * fix a format issue * fix a issus related to printing strings * fix a nil pointer issue * fix a bug related to transaction nonce * improve tx handling, hard fork at height 735000 * adjust nonce handling * always chainhead while writing a block; improve the handling of txindices; disconnect peer if the ancestor is not found * change version number * recover height to block mapping * fix blockleaves && change the frequency of announce sending * disable some log info * change version to 1.1.4 * modify a mutex lock in the pool * improve p2p connection, modify some constants * change version number to v1.2.1 * merge upstream 2 * fix handleFee issue * update version to v1.2.3 * optimize message timeout logic * optimize message timeout logic * change the freq of tx broadcasting && fix the logic of block headerHash creation * fix a bug related to deleteLargerHeightBlock * change Go-Seele version to 1.2.7 * modify json-rpc funcs * Seele version 1.3.0
- Loading branch information