Commit graph

399 commits

Author SHA1 Message Date
Jianrong
fcbc5a28e1 refactor XDPoS to accommodate multiple consensus engine versions 2021-10-10 16:02:16 +11:00
olumuyiwadad
cf18ceba33 Merge branch 'forking-incident-fix' of https://github.com/hash-laboratories-au/XDPoSChain into hash-laboratories-au-forking-incident-fix 2021-09-23 17:01:19 +05:30
olumuyiwadad
b5abbfed79 new EVM Upgrade
- Solidity Upgraded up to v0.8.0
-  Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
a41658640f hotfix etherbase/coinbase
Send tx sign for block number to smart contract blockSigner.
2021-09-17 18:18:55 +05:30
olumuyiwadad
571c41f891 FIx Bad block error. 2021-09-17 17:59:06 +05:30
Liam
0a5c047600
remove duplicate update m1 call (#8) 2021-09-04 17:51:32 +10:00
Jianrong
0fdab2027c add linting as the first CI task 2021-08-07 14:27:08 +10:00
AnilChinchawale
916b16de71 fix masternode stop block production. 2021-01-18 10:57:22 +05:30
AnilChinchawale
a8fc240b29 remove logs & add list of authorized signers 2020-12-30 18:00:37 +05:30
dev-vadim
dbe8c9d984 upgrade XDC.Network with v1.8.27. 2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036 upgrade codebase with ethereum:v1.8.13 2020-11-23 13:40:30 +05:30
parmarrushabh
3e5f4d54a8 Hot_Fix Bad block Error 2019-04-25 12:11:30 +05:30
Martin Holst Swende
af401d03a3
all: simplify timestamps to uint64 (#19372)
* all: simplify timestamps to uint64

* tests: update definitions

* clef, faucet, mobile: leftover uint64 fixups

* ethash: fix tests

* graphql: update schema for timestamp

* ethash: remove unused variable
2019-04-08 12:00:42 +03:00
AnilChinchawale
41ba2c6b33 m1_equal_m2 2019-03-25 11:45:14 +05:30
AnilChinchawale
22732d57fb Minor Changes added 2019-03-12 15:57:12 +05:30
AnilChinchawale
d5101dc3ed Condition added self.config.XDPoS != nil 2019-01-31 04:51:28 +05:30
parmarrushabh
7833a10c16 remove run evm with signing tracsaction 2018-12-28 12:33:35 +05:30
parmarrushabh
315c400748 Fixed hard code 3 mns address only for testnet. 2018-12-14 11:17:44 +05:30
AnilChinchawale
7ef8da4fee refactoring code 2018-12-07 10:49:42 +05:30
AnilChinchawale
4a6e8c7f5d Won't grasp txs at checkpoint 2018-12-07 10:42:40 +05:30
Paweł Bylica
de39513ced core, internal, eth, miner, les: Take VM config from BlockChain (#17955)
Until this commit, when sending an RPC request that called `NewEVM`, a blank `vm.Config`
would be taken so as to set some options, based on the default configuration. If some extra
configuration switches were passed to the blockchain, those would be ignored.

This PR adds a function to get the config from the blockchain, and this is what is now used
for RPC calls.

Some subsequent changes need to be made, see https://github.com/ethereum/go-ethereum/pull/17955#pullrequestreview-182237244
for the details of the discussion.
2018-12-06 14:34:49 +01:00
parmarrushabh
95041650e8 reduce number sign transaction 2018-12-04 10:24:07 +05:30
AnilChinchawale
6d3bcd918f fix nil exception 2018-12-04 14:29:07 +05:30
parmarrushabh
2b7010d51f add state variable to verifyHeader(), verifyHeaders() in the consensus 2018-12-02 12:21:48 +05:30
AnilChinchawale
549b08d953 rollback fix duplicate count reward 2018-11-27 10:15:34 +05:30
MestryOmkar
b0cfa3037f fixed error 2018-11-24 17:55:15 +05:30
parmarrushabh
8d7572ef1c hot fix 2018-11-22 15:49:29 +05:30
AnilChinchawale
428d3e2f9c fix duplicate hook rewards with --announceTxs 2018-11-22 12:43:16 +05:30
Rahulraj04
bd61027260 extend timeout at checkpoint to 2 mins 2018-11-17 18:32:52 +05:30
Rahulraj04
6c67be797b update logging 2018-11-17 16:37:14 +05:30
parmarrushabh
5501a5707c fixed 2018-11-17 16:15:25 +05:30
parmarrushabh
f5e8c999a2 set block difficulty belong to creator turn 2018-11-17 12:52:10 +05:30
AnilChinchawale
e2e75095ea remove caculate uncle block XDPoS 2018-11-17 12:16:20 +05:30
AnilChinchawale
6ad335097c remove faster tx invalid nonce 2018-11-17 12:10:37 +05:30
parmarrushabh
9f36d37558 Parallel process block from fetcher 2018-11-17 12:02:43 +05:30
parmarrushabh
abd494055b fix err download block on masternode 2018-11-14 11:29:48 +05:30
AnilChinchawale
146e73a6e9 Fixed wait period longer in when near checkpoit block for all MNs. 2018-11-14 17:58:21 +05:30
parmarrushabh
8562d53da0 Fixed delay longer than 10 seconds when near at block checkpoint. 2018-11-12 16:54:06 +05:30
parmarrushabh
2a4d8db5da fix gas limit for block equal param 2018-11-12 13:10:40 +05:30
parmarrushabh
f586154a8e fix error transaction underpriced when add sign tx to pool(full) 2018-11-12 13:08:55 +05:30
AnilChinchawale
1eda4b653c stop node when updateM1 fails 2018-11-12 12:51:18 +05:30
AnilChinchwale
5ebc19f70a fix error deadlocked master node 2018-11-09 17:17:50 +05:30
parmarrushabh
f0761106f4 m1 mine block but only broadcast block wait m2 validate 2018-11-09 16:01:01 +05:30
parmarrushabh
7ebdbeed64 fix after reviewing 2018-11-09 13:07:34 +05:30
parmarrushabh
9d6344fbb4 Broadcast special Tx through pairRW 2018-11-09 12:45:18 +05:30
gary rong
e2640a96d4 miner: fix miner stress test (#18039) 2018-11-07 10:55:56 +02:00
AnilChinchawale
deb79f4a23 push Randomization implementation 2018-11-06 17:27:13 +05:30
parmarrushabh
944494f6e4 Revert Randomization implementation 2018-11-06 16:16:29 +05:30
MestryOmkar
c9ad5cedb2 minor fix for chainHeadCh 2018-11-05 14:47:35 +05:30
AnilChinchawale
d81dc08a50 Get randomize m2 offer from validators in smart contract. 2018-11-05 11:12:22 +05:30