Commit Graph

11548 Commits

Author SHA1 Message Date
alex.sharov
73b50e080d debug_StorageRangeAt v0, got wrong response on request: {"jsonrpc":"2.0","method":"debug_storageRangeAt","params":["0x2bf07c790737be3bc4c57cbf3dedb231806f6bfef434657d59dcc9ddbe4665ab", 1,"0x8b3b3b624c3c0397d3da8fd861512393d51dcbac","0xfade75560a6cfb895f5dc7c4ab3fa10089ac2372c98aa78280d029ab36285ad6",1024],"id":1377} 2019-12-13 09:56:30 +06:00
alex.sharov
76dc061d8b FakePeer - reduce interface size 2019-12-13 09:56:30 +06:00
Igor Mandrigin
0ab530a614
Remote tapes from GenStructStep (#260) 2019-12-12 18:17:13 +01:00
Alex Sharov
21b921547a
Merge pull request #257 from ledgerwatch/224_lastError
remove concept of lastError
2019-12-12 21:42:50 +06:00
alex.sharov
d413ae5935 remove concept of lastError 2019-12-12 21:26:23 +06:00
alex.sharov
24c743587d remove concept of lastError 2019-12-12 21:26:23 +06:00
Evgeny Danilenko
585fbaaeab Subscribe on events only on init (#256)
* Update worker.go

* compile

* fmt
2019-12-12 10:59:17 +00:00
Evgeny Danilenko
40f1610710
Fix mining after geth 1.9.9 (#255)
* restore chain head event

* fmt

* restore init
2019-12-11 14:54:07 +03:00
Evgeny Danilenko
5b4f352acb
Restore Ethash mining (#231)
* initial

* mining

* remove debug

* debug

* restore random seed in the mining tests

* green tests

* fix blockchain tests

* fix lint

* init miner only if asked

* linters

* do not store trie as singlton

* fmt

* new trieDbState constructor
2019-12-10 16:12:21 +03:00
Giulio rebuffo
01e2dc5ce4 fixed pics (#249) 2019-12-10 12:25:28 +00:00
Alex Sharov
e7a6a52438
Merge pull request #232 from ledgerwatch/225_gasLimit
Analytics: gas limit
2019-12-10 08:49:28 +07:00
Igor Mandrigin
422b154fb1
Remove tapes from HashBuilder (#238) 2019-12-09 15:59:30 +01:00
alex.sharov
c72b2977c2 limit parallel connections on server, move batchSize into cursor - maybe will add method cursor.SetBatchSize() 2019-12-09 21:34:47 +07:00
alex.sharov
187670fcda more tests 2019-12-09 21:34:47 +07:00
alex.sharov
71dc098968 include to report` only blocks on chain with highest difficulty 2019-12-09 21:34:47 +07:00
alex.sharov
432c2a5b26 fix linter warning 2019-12-09 21:34:47 +07:00
alex.sharov
04a6517c5b added gasLimits to report object 2019-12-09 21:34:47 +07:00
alex.sharov
7a4023b4eb added gasLimits to report object 2019-12-09 21:34:47 +07:00
alex.sharov
005d715545 move gasLimits to remote db 2019-12-09 21:34:47 +07:00
Igor Mandrigin
cbfc2fa8d1
Merge pull request #248 from ledgerwatch/geth-1-9-9
Geth 1.9.9
2019-12-09 13:32:32 +01:00
Igor Mandrigin
ce62c4365b post-merge: fixups 2019-12-09 12:56:07 +01:00
Péter Szilágyi
6da4af9a5d params: release Geth v1.9.9 2019-12-09 12:56:07 +01:00
Martin Holst Swende
fffac1a5ed consensus/ethash, params: eip-2384: bump difficulty bomb (#20347)
* consensus/ethash, params: implement eip-2384: bump difficulty bomb

* params: EIP 2384 compat checks

* consensus, params: add Muir Glacier block number (mainnet,ropsten) + official name

* core/forkid: forkid tests for muir glacier

* params/config: address review concerns

* params, core/forkid: review nitpicks

* cmd/geth,eth,les: add override option for muir glacier

* params: nit fix
2019-12-09 12:56:07 +01:00
Marius van der Wijden
807a5167f8 p2p/enode: remove data race in sliceIter (#20421) 2019-12-09 12:56:07 +01:00
Péter Szilágyi
aaa566f0f5 params: update CHTs for v1.9.9 release 2019-12-09 12:56:07 +01:00
Péter Szilágyi
6f8dba02ef trie: track dirty cache metrics, track clean writes on commit 2019-12-09 12:56:07 +01:00
Marius van der Wijden
f1bd5c35ac accounts/abi/bind: fix destructive packing of *big.Int (#20412) 2019-12-09 12:17:48 +01:00
gary rong
7b664b8c51 core, miner: remove PostChainEvents (#19396)
This change:

- removes the PostChainEvents method on core.BlockChain.
- sorts 'removed log' events by block number.
- fire the NewChainHead event if we inject a canonical block into the chain
  even if the entire insertion is not successful.
- guarantees correct event ordering in all cases.
2019-12-09 12:17:48 +01:00
Guillaume Ballet
dcd10be740 accounts/usbwallet: fix staticcheck warnings (#20372) 2019-12-09 12:12:12 +01:00
xinluyin
040bbfcd49 internal/web3ext: add debug_accountRange (#20410) 2019-12-09 12:12:12 +01:00
Guillaume Ballet
d77151cff6 accounts/scwallet: fix staticcheck warnings (#20370) 2019-12-09 12:12:12 +01:00
Guillaume Ballet
2552049a79 internal: fix staticcheck warnings (#20380) 2019-12-09 12:12:12 +01:00
Guillaume Ballet
a3747e06f0 cmd/faucet, cmd/geth: fix staticcheck warnings (#20374) 2019-12-09 12:12:12 +01:00
gary rong
14bb7db725 trie: remove dead code (#20405) 2019-12-09 12:12:12 +01:00
Guillaume Ballet
572f341baf log: fix staticcheck warnings (#20388) 2019-12-09 12:12:12 +01:00
Felix Lange
b9217f88a2 consensus/ethash: refactor remote sealer (#20335)
The original idea behind this change was to remove a use of the
deprecated CancelRequest method. Simply removing it would've been an
option, but I couldn't resist and did a bit of a refactoring instead.

All remote sealing code was contained in a single giant function. Remote
sealing is now extracted into its own object, remoteSealer.
2019-12-09 12:12:12 +01:00
Martin Holst Swende
36ead6c125 deps: update fastcache to 1.5.3 2019-12-09 10:48:49 +01:00
Péter Szilágyi
d34bca7c3f core/rawdb: fix reinit regression caused by the hash check PR 2019-12-09 10:47:34 +01:00
Guillaume Ballet
423959d62d core: fix staticcheck warnings (#20384)
* core: fix staticcheck warnings

* fix goimports
2019-12-09 10:47:08 +01:00
Guillaume Ballet
220994d516 les: fix staticcheck warnings (#20371) 2019-12-09 10:46:27 +01:00
zaccoding
61358fef20 cmd: fix command help messages in modules (#20203) 2019-12-09 10:45:55 +01:00
Péter Szilágyi
1f9352e289 params: begin v1.9.9 release cycle 2019-12-09 10:45:38 +01:00
ledgerwatch
8a632e764b
Continue comparison of genesis block with geth, expand long values (#223) 2019-12-06 12:03:12 +00:00
Igor Mandrigin
1e231a8a9a
Add storage mode flags as letters. (#229) 2019-12-06 12:19:00 +01:00
Alex Sharov
d091240759
Merge pull request #222 from ledgerwatch/211_stateGrowth2
/cmd/state stateGrowth
2019-12-06 17:14:50 +07:00
alex.sharov
649d995a48 rename internal funcs 2019-12-06 08:12:02 +07:00
alex.sharov
bb2f7080ce Moved connection to .View method. Not very optimal, but it allow cancel connection from client side or configure timeout, also in future it will allow us make connection pool there (maybe don't need). 2019-12-06 08:12:02 +07:00
alex.sharov
53b19b7c47 idiomatic for loops 2019-12-06 08:12:02 +07:00
alex.sharov
6c00ef2b04 idiomatic for loops 2019-12-06 08:12:02 +07:00
alex.sharov
412c30c9ff fix lint 2019-12-06 08:12:02 +07:00