Commit graph

13167 commits

Author SHA1 Message Date
yutianwu
25a661e0c2
consensus/clique: remove redundant pair of parentheses (#21104) 2020-05-25 12:00:18 +02:00
Martin Michlmayr
4f2784b38f
all: fix typos in comments (#21118) 2020-05-25 10:21:28 +02:00
ucwong
48e3b95e77
miner: replace use of 'self' as receiver name (#21113) 2020-05-25 10:20:09 +02:00
Jaynti Kanani
e5799ab1da
Merge pull request #68 from maticnetwork/jdkanani-patch-1
chg: change gas limit 20m for linux packages
2020-05-25 12:34:31 +05:30
Jaynti Kanani
1b50155c2a
chg: change gas limit 20m for linux packages 2020-05-25 12:27:09 +05:30
Felföldi Zsolt
b4a2681120
les, les/lespay: implement new server pool (#20758)
This PR reimplements the light client server pool. It is also a first step
to move certain logic into a new lespay package. This package will contain
the implementation of the lespay token sale functions, the token buying and
selling logic and other components related to peer selection/prioritization
and service quality evaluation. Over the long term this package will be
reusable for incentivizing future protocols.

Since the LES peer logic is now based on enode.Iterator, it can now use
DNS-based fallback discovery to find servers.

This document describes the function of the new components:
https://gist.github.com/zsfelfoldi/3c7ace895234b7b345ab4f71dab102d4
2020-05-22 13:46:34 +02:00
gary rong
65ce550b37
trie: extend range proofs with non-existence (#21000)
* trie: implement range proof with non-existent edge proof

* trie: fix cornercase

* trie: consider empty range

* trie: add singleSide test

* trie: support all-elements range proof

* trie: fix typo

* trie: tiny typos and formulations

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2020-05-20 15:45:38 +03:00
Jaynti Kanani
7fd50a84e6
Merge pull request #66 from maticnetwork/mew-deposits
alter the fetch logic a bit
2020-05-20 16:30:29 +05:30
atvanguard
1651575805 remove page param 2020-05-20 14:15:41 +05:30
atvanguard
2675dc59e9 fetch state events with from_id/to_time 2020-05-20 13:43:40 +05:30
ucwong
0a99efa61f
whisper: use canonical import name of package go-ethereum (#21099) 2020-05-20 10:32:54 +03:00
atvanguard
2526aa8530 wip 2020-05-20 10:08:30 +05:30
atvanguard
200472dfdc update bytecode in genesis 2020-05-20 08:54:46 +05:30
atvanguard
3236e423d2 dont return a pointer from LastStateSyncTime 2020-05-19 21:42:32 +05:30
Arpit Agarwal
89248d7116
Update consensus/bor/bor.go
Co-authored-by: Jaynti Kanani <jdkanani@gmail.com>
2020-05-19 21:34:35 +05:30
atvanguard
742c2104af alter the fetch logic a bit 2020-05-19 21:16:37 +05:30
Jaynti Kanani
01c9c8b4e8
Merge pull request #64 from maticnetwork/mew-deposits
new: New fetch State sync logic
2020-05-19 18:23:08 +05:30
Boqin Qin
d5b7d1cc34
accounts: add blockByNumberNoLock() to avoid double-lock (#20983)
* abi/bind/backends: testcase for double-lock

* accounts: add blockByNumberNoLock to avoid double-lock

* backend/simulated: use stateroot, not blockhash for retrieveing state

Co-authored-by: Martin Holst Swende <martin@swende.se>
2020-05-19 12:48:27 +02:00
Martin Holst Swende
e0987f67e0
cmd/clef, signer/core: password input fixes (#20960)
* cmd/clef, signer/core: use better terminal input for passwords, make it possible to avoid boot-up warning

* all: move commonly used prompter to isolated (small) package

* cmd/clef: Add new --acceptWarn to clef README

* cmd/clef: rename flag 'acceptWarn' to 'suppress-bootwarn'

Co-authored-by: ligi <ligi@ligi.de>
2020-05-19 10:44:46 +02:00
atvanguard
fa52ce61f7 sort state events acc to id 2020-05-19 12:05:29 +05:30
atvanguard
ba70b74fb7 fetch events from [lastSync, (block-sprint).Time) 2020-05-19 09:47:54 +05:30
atvanguard
0e8b5ca4b7 minor: separate path, query params with FetchWithRetry 2020-05-18 23:36:16 +05:30
atvanguard
e6c1cec452 merge develop 2020-05-18 19:37:42 +05:30
atvanguard
8f47b3945e test: Handle 204 and add test for new deposit mechanism 2020-05-18 19:26:42 +05:30
atvanguard
fa0266a347 merge develop into mew-deposits 2020-05-18 18:51:29 +05:30
Jaynti Kanani
cdf49567ee
Merge pull request #65 from maticnetwork/revert-active-seal
fix: revert cancel active seal / remove errRecentlySigned
2020-05-18 16:58:57 +05:30
atvanguard
1be0c4894a dev: provide previous block number to UnauthorizedSignerError 2020-05-18 14:17:13 +05:30
atvanguard
c7ea09a019 dev: Change wording for UnauthorizedSignerError, remove errRecentlySigned 2020-05-18 13:33:27 +05:30
atvanguard
767fe584b5 fix: revert cancel active seal logic 2020-05-18 12:37:20 +05:30
Jaynti Kanani
7ee88de5ab
Merge pull request #61 from maticnetwork/fix-heimdall-url
Use heimdall url flag while importing
2020-05-18 11:59:42 +05:30
atvanguard
bda638d974 Merge branch 'develop' into mew-deposits 2020-05-18 11:03:13 +05:30
Jaynti Kanani
c5a015a8a4 fix: make data fetch more robust 2020-05-18 11:02:43 +05:30
atvanguard
8dea9114e8 dev: update changes in StateReceiver contract 2020-05-17 17:44:44 +05:30
atvanguard
9a56de6d84 dev: cleanup isValidatorAction logic 2020-05-17 17:33:59 +05:30
atvanguard
4be5477f64 dev: cleanup comments 2020-05-17 17:28:55 +05:30
atvanguard
868dc81c8a new: New fetch State sync logic 2020-05-17 17:24:09 +05:30
Jaynti Kanani
9ad02c9a57
fix: heimdall url flag 2020-05-15 23:09:44 +05:30
dependabot[bot]
0f9e189a25 Bump https-proxy-agent from 2.2.1 to 2.2.4 in /dashboard/assets
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-14 22:52:14 +05:30
Felix Lange
3666da8a4b
console: fix unlockAccount argument count check (#21081) 2020-05-14 14:12:52 +03:00
atvanguard
71c3bf757c refactor: Tests + add test for OutOfTurnSign 2020-05-14 16:28:45 +05:30
atvanguard
c27b8b7801 new: Add wiggle to block time 2020-05-14 16:28:45 +05:30
Jaynti Kanani
4f850edec2
Merge pull request #58 from maticnetwork/bor-params
Change tx pool params and gaslimit
2020-05-14 13:13:19 +05:30
Jaynti Kanani
a2983189a9
chg: change tx pool params and gaslimit 2020-05-14 13:10:39 +05:30
Jaynti Kanani
f76491d53b
new: add new flags for bor service file 2020-05-14 12:03:33 +05:30
Marius van der Wijden
f3f1e59eea
accounts/abi: simplify reflection logic (#21058)
* accounts/abi: simplified reflection logic

* accounts/abi: simplified reflection logic

* accounts/abi: removed unpack

* accounts/abi: removed comments

* accounts/abi: removed uneccessary complications

* accounts/abi: minor changes in error messages

* accounts/abi: removed unnused code

* accounts/abi: fixed indexed argument unpacking

* accounts/abi: removed superfluous test cases

This commit removes two test cases. The first one is trivially invalid as we have the same
test cases as passing in packing_test.go L375. The second one passes now,
because we don't need the mapArgNamesToStructFields in unpack_atomic anymore.
Checking for purely underscored arg names generally should not be something we do
as the abi/contract is generally out of the control of the user.

* accounts/abi: removed comments, debug println

* accounts/abi: added commented out code

* accounts/abi: addressed comments

* accounts/abi: remove unnecessary dst.CanSet check

* accounts/abi: added dst.CanSet checks
2020-05-13 17:50:18 +02:00
Satpal
677724af0c
cmd: fix log contexts (#21077) 2020-05-13 18:34:24 +03:00
atvanguard
9f6df9ade0 dev: Remove concurrent seal check 2020-05-13 20:11:13 +05:30
Péter Szilágyi
46698d7931
params: begin v1.9.15 release cycle 2020-05-13 12:33:58 +03:00
Péter Szilágyi
6d74d1e5f7
params: release go-ethereum v1.9.14 2020-05-13 12:31:35 +03:00
Hao Duan
a188a1e150
ethstats: stop report ticker in each loop cycle #21070 (#21071)
Co-authored-by: Hao Duan <duan.hao@hyperchain.cn>
2020-05-13 12:06:19 +03:00