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
Jianrong
7b7e34ae00
Fix XDC forking incident with tests
2021-08-29 14:20:01 +10:00
Jianrong
0fdab2027c
add linting as the first CI task
2021-08-07 14:27:08 +10:00
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
AnilChinchawale
80cd2d3871
added eth_client func.
2020-08-31 17:52:03 +05:30
parmarrushabh
3e5f4d54a8
Hot_Fix Bad block Error
2019-04-25 12:11:30 +05:30
Péter Szilágyi
d8787230fa
eth, les, light: enforce CHT checkpoints on fast-sync too
2019-04-17 14:56:58 +03:00
Martin Holst Swende
e872ba7a9e
eth, les, geth: implement cli-configurable global gas cap for RPC calls ( #19401 )
...
* eth, les, geth: implement cli-configurable global gas cap for RPC calls
* graphql, ethapi: place gas cap in DoCall
* ethapi: reformat log message
2019-04-08 15:15:13 +03:00
AnilChinchawale
00c46851a2
downloader error fix
2019-03-26 14:54:16 +05:30
parmarrushabh
7e491a582b
penalties returned at tip fork
2019-03-26 14:25:03 +05:30
parmarrushabh
4af57cc070
case m2 down affect to m1.
2019-03-25 12:19:25 +05:30
AnilChinchawale
ef94c38a68
penalties returned
2019-03-25 11:52:00 +05:30
AnilChinchawale
ed6533e092
Added "xdc" prefix in address
2019-03-17 16:14:42 +05:30
AnilChinchawale
c3c32ce113
Updated files.
2019-03-12 15:57:58 +05:30
parmarrushabh
b493f4b6ca
hot fix
2019-03-03 15:36:33 +05:30
MestryOmkar
1861c13bcd
fetcher-hotfix
2019-03-02 15:10:35 +05:30
parmarrushabh
6adee64867
handle SignHash error
2019-02-27 14:58:16 +05:30
parmarrushabh
147e1f0baf
create new func penalties for hard fork
2019-02-19 17:25:31 +05:30
Martin Holst Swende
631e2f07f6
eth: make tracers respect pre- EIP 158/161 rule
2019-02-09 17:35:54 +01:00
AnilChinchawale
29cb1de084
backend added with latest code
2019-01-28 04:50:18 +05:30
AnilChinchawale
7f18c84ea5
changes added in web3,bignumber
2019-01-27 04:49:00 +05:30
AnilChinchawale
9210dd4a76
Updated ethstats for XinFin Network
2019-01-26 04:43:22 +05:30
AnilChinchawale
c9889f2ad7
Changes added in tracers
2019-01-24 04:43:26 +05:30
gary rong
d5cad488be
core, eth: fix database version ( #18429 )
...
* core, eth: fix database version
* eth: polish error message
2019-01-11 13:49:12 +02:00
gary rong
e8ff318205
eth/tracer: extend create2 ( #18318 )
...
* eth/tracer: extend create2
* eth/tracers: fix create2-flaw in prestate_tracer
* eth/tracers: fix test
* eth/tracers: update assets
2019-01-05 21:26:50 +01:00
Dave McGregor
33d233d3e1
vendor, crypto, swarm: switch over to upstream sha3 package
2019-01-04 09:26:07 +02:00
Wenbiao Zheng
81c3dc728f
eth/downloader: progress in stateSync not used anymore ( #17998 )
2018-12-21 23:36:14 +01:00
Martin Holst Swende
5f251a6448
downloader: fix edgecase where returned index is OOB for downloader ( #18335 )
...
* downloader: fix edgecase where returned index is OOB for downloader
* downloader: documentation
Co-Authored-By: holiman <martin@swende.se>
2018-12-20 10:46:08 +01:00
Martin Holst Swende
83a9a73b89
cmd/geth, core, eth: implement Constantinople override flag ( #18273 )
...
* geth/core/eth: implement constantinople override flag
* les: implemnent constantinople override flag for les clients
* cmd/geth, eth, les: fix typo, move flag to experimentals
2018-12-11 14:19:03 +02:00
Péter Szilágyi
31b3334922
cmd/utils, eth: minor polishes on whitelist code
2018-12-10 14:47:01 +02:00
Ryan Schneider
48b70ecff1
cmd, eth: Add support for --whitelist <blocknum>=<hash>,... flag
...
* Rejects peers that respond with a different hash for any of the passed in block numbers.
* Meant for emergency situations when the network forks unexpectedly.
2018-12-10 14:30:06 +02:00
Péter Szilágyi
0983d02aa9
eth, internal/web3ext: tiny polishes in tracers
2018-12-10 12:33:50 +02:00
Martin Holst Swende
42a914a84f
cmd/evm, core/vm, eth: implement api methods to do stdjson dump to local filesystem
2018-12-10 12:33:50 +02:00
Max Sistemich
dfa16a3e4e
eth/tracers: fixed incorrect storage from prestate_tracer ( #18253 )
...
* eth: fixed incorrect storage from prestate_tracer
* eth/tracers: updated assets.go
2018-12-10 11:17:31 +02:00
MestryOmkar
0bb2ba1116
update minGasPrice in SuggestPrice
2018-12-10 11:09:51 +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
Péter Szilágyi
174083c3ae
eth/downloader: fix light client cht binary search issue
2018-11-28 13:46:13 +02:00
Felix Lange
b24ef5e05d
eth: increase timeout in TestBroadcastBlock ( #18064 )
2018-11-23 11:14:09 +02:00
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
MestryOmkar
4ab49f2752
goroutine get signers
2018-11-19 12:20:40 +05:30
AnilChinchawale
e8336d2770
evm mem db
2018-11-19 12:11:07 +05:30
parmarrushabh
51c88fe8ce
create new api get reward
2018-11-19 11:21:42 +05:30
Rahulraj04
01583f3548
print err
2018-11-17 16:41:00 +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
Rahulraj04
9087c0852b
reduce timed out when sync block
2018-11-17 12:22:40 +05:30
parmarrushabh
9f36d37558
Parallel process block from fetcher
2018-11-17 12:02:43 +05:30
Péter Szilágyi
accc0fab4f
core, eth/downloader: fix ancestor lookup for fast sync
2018-11-16 13:21:20 +02:00
Martin Holst Swende
51b2f1620c
downloader: different sync strategy
2018-11-16 11:54:36 +02:00
mr_franklin
b91766fe6d
eth: fix comment typo ( #18114 )
...
* consensus/clique: fix comment typo
* eth,eth/downloader: fix comment typo
2018-11-15 16:31:24 +02:00
Péter Szilágyi
434dd5bc00
cmd, core, eth, light, trie: add trie read caching layer
2018-11-15 12:22:13 +02:00
AnilChinchawale
5709546dfd
filter txs before add to pool
2018-11-14 11:32:40 +05:30
parmarrushabh
abd494055b
fix err download block on masternode
2018-11-14 11:29:48 +05:30
parmarrushabh
52ae30023a
refactor RW & pairRW connect for block , transaction
2018-11-14 10:40:05 +05:30
mr_franklin
4fecc7a3b1
eth: fix minor grammar issue in comment ( #18091 )
2018-11-13 11:57:46 +02:00
MestryOmkar
d3fc7da872
Fixed gasprice minimum 2500 for get gasprice api.
2018-11-12 16:09:28 +05:30
MestryOmkar
bbadba469b
change difficulty block in XDPoS
2018-11-12 15:52:55 +05:30
parmarrushabh
176b51f1f8
ignore faster with block no validator m2
2018-11-12 15:41:24 +05:30
parmarrushabh
f586154a8e
fix error transaction underpriced when add sign tx to pool(full)
2018-11-12 13:08:55 +05:30
MestryOmkar
5111364215
fix error double validation : m2 not validate body before verify block
2018-11-12 12:39:52 +05:30
AnilChinchawale
4211d56ad0
Fixed reward inflation and add unit test.
2018-11-12 12:03:22 +05:30
MestryOmkar
de7c60ed49
sleep time when fetch receive future block
2018-11-12 11:45:26 +05:30
parmarrushabh
3268d372a0
fix error fatal error: concurrent map read and map write
2018-11-12 11:39:43 +05:30
parmarrushabh
3fc36efeb3
Fixed golint.
2018-11-09 10:49:11 +05:30
parmarrushabh
25f010b5ab
remove useless code
2018-11-09 18:20:59 +05:30
MestryOmkar
01a3ec9a47
tiny fix m2 duplicate sign block
2018-11-09 18:07:01 +05:30
MestryOmkar
579adf1c8e
fix tiny error when full node import block
2018-11-09 17:23:18 +05:30
AnilChinchwale
2e505d6e99
change info at extra data in block from geth to XDC
2018-11-09 17:10:51 +05:30
MestryOmkar
1175d8e1b1
fix dv m2 validate block detail before broadcast
2018-11-09 16:53:09 +05:30
AnilChinchwale
53e39d77ac
fix error double validation
2018-11-09 16:42:45 +05:30
AnilChinchwale
03c07f37b4
tiny fix double validation
2018-11-09 16:39:14 +05:30
parmarrushabh
1396b1a10f
Fixed unit test for new m2 block header.
2018-11-09 16:29:54 +05:30
MestryOmkar
07b4be1284
Add new block header validator for store m2 data.
2018-11-09 16:11:13 +05:30
parmarrushabh
f0761106f4
m1 mine block but only broadcast block wait m2 validate
2018-11-09 16:01:01 +05:30
AnilChinchwale
3f1aadb861
fixed double validater
2018-11-09 15:43:29 +05:30
AnilChinchwale
8b92c4176c
move from SubscribeTx to Subscribe Special Tx in Double Validate
2018-11-09 15:00:22 +05:30
MestryOmkar
89d931299f
correct order - dv before importing
2018-11-09 14:46:03 +05:30
AnilChinchwale
360584a498
Revert adding double validation layer
2018-11-09 14:39:48 +05:30
parmarrushabh
161053b345
verify validators info at checkpoint block
2018-11-09 14:20:08 +05:30
parmarrushabh
7ebdbeed64
fix after reviewing
2018-11-09 13:07:34 +05:30
MestryOmkar
076cc560e5
add a pair connections with each peer
2018-11-09 12:52:01 +05:30
parmarrushabh
9d6344fbb4
Broadcast special Tx through pairRW
2018-11-09 12:45:18 +05:30
Corey Lin
a5dc087845
core/vm, eth/tracers: use pointer receiver for GetRefund ( #18018 )
2018-11-08 13:07:15 +01:00
Corey Lin
212bf266c5
eth, p2p: fix comment typos ( #18014 )
2018-11-08 12:25:14 +01:00
Felix Lange
0bcff8f525
eth/downloader: speed up tests by generating chain only once ( #17916 )
...
* core: speed up GenerateChain
Use a mock implementation of ChainReader instead of creating
and destroying a BlockChain object for each generated block.
* eth/downloader: speed up tests by generating chain only once
This change reworks the downloader tests so they share a common test
blockchain instead of generating a chain in every test. The tests are
roughly twice as fast now.
2018-11-07 15:07:43 +01:00
Wenbiao Zheng
b35165555d
eth/downloader: remove the expired id directly ( #17963 )
2018-11-07 15:30:19 +02:00
Martin Holst Swende
eea3ae42a3
core, eth/downloader: fix validation flaw, fix downloader printout flaw ( #17974 )
2018-11-07 14:47:11 +02:00
Martin Holst Swende
dc6648bb58
downloader: measure successfull deliveries, not failed ( #17983 )
...
* downloader: measure successfull deliveries, not failed
* downloader: fix typos
2018-11-07 14:18:07 +02:00
parmarrushabh
9fb0674907
add a pair connections with each peer
2018-11-07 12:23:51 +05:30
AnilChinchwale
9414ae6f2a
Add penalty feature for prevent signer without sign in epoc make slow
2018-11-07 12:05:58 +05:30
parmarrushabh
38d7c2c707
tiny fix hook penalty
2018-11-07 11:23:55 +05:30
parmarrushabh
eb9742ae27
verify penalty info in header check point
2018-11-07 11:15:32 +05:30
parmarrushabh
b41dcb301f
fix error when find penalties in 4 epoch ago
2018-11-07 11:02:12 +05:30
MestryOmkar
f39fe02a9c
update log & check case a master node in,out continuity
2018-11-07 10:58:12 +05:30
AnilChinchwale
551fd57271
Fixed unit test for penalty feature.
2018-11-07 10:46:09 +05:30
AnilChinchwale
f5152bf0cf
Add penalty feature for prevent signer without sign in epoc make slow…
2018-11-07 10:26:28 +05:30