Commit Graph

174 Commits (4274305024ad994e3672c026173430a277c4ff68)

Author SHA1 Message Date
chao fb5205828f separate the mode set from UpdateConsensusInformation to make it more usable by others e.g. explorer node 5 years ago
chao 49d9a6b421 update consensus information based on blockchain status 5 years ago
coolcottontail 798e2fe9d0 use constants for vdf, adjusted mainnetVdfDifficulty 5 years ago
coolcottontail bb3da16788 look for new VDF value at every new block 5 years ago
coolcottontail 2dea90edc9 updated vdf/vrf in header using []byte 5 years ago
Chao Ma c80d196e47 initial setup of shard information use latest epoch info to replace genesis epoch info 5 years ago
coolcottontail fbad541ccf added VRF/VDF features 5 years ago
chao e9a352e9e5 Revert "fix network restart issue for mainnet shard0 down" 5 years ago
chao 26022d5478 Revert "Merge pull request #1238 from LeoHChen/recovery_block_in_shards" 5 years ago
Leo Chen fbc0d2c89e [log] fix log using zerolog after merging master 5 years ago
Rongjian Lan b4e5c85325 Add consensus message sender/retryer 5 years ago
Leo Chen d1f7091127 [epoch] add IsLastBlock in shardingSchedule 5 years ago
Leo Chen b7c34f37e7 [epoch] dynamically calculate the epoch number 5 years ago
Leo Chen c7bcd89e6b [consensus] recovery block when shard is stuck 5 years ago
Chao Ma 2a299c9786 fix network restart issue for mainnet shard0 down 5 years ago
Rongjian Lan 02e279ffd9 Add last commit cache 5 years ago
Rongjian Lan ff7ce4cff5 Persist last commit sig 5 years ago
Leo Chen ff402dbf4a [cleanup] remove IsLeader of nodeConfig 5 years ago
Leo Chen d6e091ce74 [config] make blocks per epoch configurable on network type 5 years ago
Chao Ma 9f589aa2db address comments for PR1219 5 years ago
chao e62df7268a [resharding] allow new bls key to join shard; dynamically change the bls keys in shard 5 years ago
Kai Lee 593c881632 Log common.Hash with hex instead of TerminalString/Bytes() 5 years ago
Kai Lee fc22a66037 Replace all logs in censensus module to use zerolog 5 years ago
chao 978e8c4a3c retrieve leaderKey/viewID informatin before join consensus; fall back to ignoreViewID check if failed to retrieve leaderPubKey 5 years ago
Rongjian Lan 06f883cf58 Fix mainnet 6 years ago
Rongjian Lan 5a5730506f Add more log 6 years ago
Rongjian Lan 6540ffa70b Fine tune maxprocs and minpeer interval 6 years ago
Rongjian Lan 6e0cb6ac3c Remove threshold 6 years ago
Rongjian Lan a8cac090db Fix lint 6 years ago
Rongjian Lan d7aa1d1adf Fix block num mismatch issue 6 years ago
Rongjian Lan 1b2d1d27ab Fix consensus ready signal 6 years ago
chao 7073f8c1c2 turn on verifyseal checking 6 years ago
Rongjian Lan 84728cccb6 remove debug printout 6 years ago
Rongjian Lan bcd89eff8c Update EVM to latest constantinople 6 years ago
Rongjian Lan d2e9862b91 Fix coinbase bad block issue 6 years ago
Minh Doan ae38cc77b8 add flag for block period 6 years ago
chao cad89b0a4e change viewID from uint32 to uin64 in consensus and to big.Int in header 6 years ago
chao 2210b8fb43 * Add VerifySeal for PoS 6 years ago
Rongjian Lan c445e62492 Fix bootstrap problem 6 years ago
chao cf8f710b94 * add dns server for node syncing 6 years ago
Chao Ma d770979ba0 clean and make the finalizeCommits code more robust in the case of leader change 6 years ago
Chao Ma abbadacaa9 add block header information in announce message; add block header content verification in onAnnounce 6 years ago
Chao Ma e74a398385 move block broadcast into prepared phase 6 years ago
Chao Ma 2a08057b5f in sync trigger buffer changed from 10 to 2; not continue if not catchup in view changing mode 6 years ago
Chao Ma d23cadf79f add index information of leader in HOORAY message 6 years ago
Rongjian Lan 796dc630bb Optimistic sign prepare 6 years ago
Rongjian Lan 9ede920ccd Optimistic sign prepare 6 years ago
Rongjian Lan 75c5d44e17 more logs 6 years ago
Rongjian Lan d5c1057429 more logs 6 years ago
Rongjian Lan efc129962d More logs 6 years ago