Commit Graph

11758 Commits

Author SHA1 Message Date
zjubfd
f1d92bef01
Merge pull request #123 from binance-chain/develop
[R4R] Prepare for release v1.0.7
v1.0.7
2021-03-23 15:17:54 +08:00
fudongbai
c30f17c678 prepare for release v1.0.7 2021-03-23 14:19:48 +08:00
zjubfd
205a28f503
add health check endpoint (#120) 2021-03-22 14:57:57 +08:00
zjubfd
7a1262ca14
validator only write database state when enough distance (#116) 2021-03-19 13:42:26 +08:00
zjubfd
f8faf7faaa
[R4R]apply max commit tx time for miner worker (#112)
* apply max commit tx time for miner worker

* update to 200 ms
2021-03-19 13:23:44 +08:00
HaoyangLiu
0e2c471a94
R4R: add batch query methods (#115)
* add batch query method

* GetTransactionDataAndReceipt

* add new rpc to goclient

* fix web3 console

* rename tx_data to txData
2021-03-19 13:23:30 +08:00
yutianwu
f16d8e0dd3
Merge pull request #101 from binance-chain/range
R4R: limit range get log
2021-03-09 17:03:28 +08:00
fudongbai
8e40f21689 limit range get log 2021-03-09 16:38:22 +08:00
zjubfd
7f7d1bb027
add directbroadcast flag (#99) 2021-03-03 17:50:30 +08:00
swift du
b7cff76c9a
add tini for docker image (#90)
Co-authored-by: swift.du <yalin.du@binance.com>
2021-02-25 15:29:33 +08:00
zjubfd
4fc5ab4271
add jq to docker file (#84) 2021-02-22 16:30:18 +08:00
zjubfd
e55e9cdd76
change the fork waring to debug to avoid confusion (#73) 2021-02-09 11:49:53 +08:00
zjubfd
540ac2a1b7
[R4R]appay mirror/sync fork to main-net; release for 1.0.6 (#68)
* appay mirror/sync fork to main-net; release for 1.0.6

* fix upgrade do not work
v1.0.6
2021-02-05 09:51:32 +08:00
zjubfd
0a1e79e2a1
prepare for release v1.0.5 (#64) v1.0.5 2021-01-19 11:46:02 +08:00
HaoyangLiu
e09e48a02f
R4R: apply mirror sync upgrade (#56)
* apply mirror sync upgrade

remove 0x

update rialto genesis hash

update tokenhub code

* update tokenhub code

* update relayer incentive contract code

* update upgrade height and remove mainnet upgrade
2021-01-19 11:35:01 +08:00
zjubfd
b605f1f913
Merge pull request #63 from binance-chain/secure_patch
[R4R] security patch from go-ethereum
2021-01-11 16:43:45 +08:00
zjubfd
9fedf1909d
Merge pull request #53 from binance-chain/elegant_upgrade
[R4R]support fork id in header; elegant upgrade
2021-01-11 14:54:20 +08:00
fudongbai
24dc208170 avoid false warn log 2021-01-11 14:42:06 +08:00
fudongbai
60606d3919 support fork id in header; elegant upgrade 2021-01-11 13:54:35 +08:00
zjubfd
5a1c39da09
Merge pull request #60 from binance-chain/x-forward-for
[R4R] Add `x-forward-for` log message when handle message failed
2021-01-11 13:52:38 +08:00
zjubfd
cfeab77017
Merge pull request #61 from binance-chain/requestGauge
[R4R]add rpc method request gauge
2021-01-11 13:52:21 +08:00
Nishant Das
9e8ee517d7 p2p/discover: fix deadlock in discv5 message dispatch (#21858)
This fixes a deadlock that could occur when a response packet arrived
after a call had already received enough responses and was about to
signal completion to the dispatch loop.

Co-authored-by: Felix Lange <fjl@twurst.com>
2021-01-11 11:27:17 +08:00
Felix Lange
ca1d1cb08d p2p/enode: avoid crashing for invalid IP (#21981)
The database panicked for invalid IPs. This is usually no problem
because all code paths leading to node DB access verify the IP, but it's
dangerous because improper validation can turn this panic into a DoS
vulnerability. The quick fix here is to just turn database accesses
using invalid IP into a noop. This isn't great, but I'm planning to
remove the node DB for discv5 long-term, so it should be fine to have
this quick fix for half a year.

Fixes #21849
2021-01-11 11:26:39 +08:00
Fuyang Deng
670009d1e1 accounts/abi: fix a bug in getTypeSize method (#21501)
* accounts/abi: fix a bug in getTypeSize method

e.g. for "Tuple[2]" type, the element of the array is a tuple type and the size of the tuple may not be 32.

* accounts/abi: add unit test of getTypeSize method
2021-01-11 11:26:29 +08:00
Felix Lange
4608da6c13 rpc: fix issue with null JSON-RPC messages (#21497) 2021-01-11 11:23:44 +08:00
Marius van der Wijden
d1f95d5fd3 internal/ethapi: fix nil deref + fix estimateGas console bindings (#21601)
* tried to fix

* fix for js api

* fix for nil pointer ex

* rev space

* rev space

* input call formatter
2021-01-11 11:23:18 +08:00
Martin Holst Swende
ad3ff6452d core: fix txpool off-by-one error (#21683) 2021-01-11 11:22:52 +08:00
6543
0a64615f1e signer/storage: fix a badly ordered error check (#21379) 2021-01-11 11:22:25 +08:00
Slava Karpenko
2a79ac1622 consensus/ethash: use 64bit indexes for the DAG generation (#21793)
* Bit boundary fix for the DAG generation routine

* Fix unnecessary conversion warnings

Co-authored-by: Sergey Pavlov <spavlov@gmail.com>
2021-01-11 11:20:54 +08:00
fudongbai
0e797c53b7 add x-forward-for message in log 2021-01-11 10:49:34 +08:00
zjubfd
3f3f8d02cf
Merge pull request #59 from binance-chain/issue_58
[R4R]fix potential deadlock of pub/sub module
2021-01-11 10:40:14 +08:00
fudongbai
5bd73320ba add rpc method request gauge 2021-01-10 22:01:20 +08:00
zjubfd
894b1e3c8d
Merge pull request #54 from binance-chain/fixLess
[R4R]les: fix GetProofsV2 bug (#21896)
2021-01-08 16:47:59 +08:00
fudongbai
3d3f9694a4 fix potential deadlock of pub/sub module 2020-12-30 15:13:11 +08:00
zjubfd
f6ec491548
Merge pull request #55 from binance-chain/curl_image
[R4R]add curl in docker image
2020-12-18 14:48:49 +08:00
Felföldi Zsolt
e0205f5983 les: fix GetProofsV2 bug (#21896) 2020-12-15 14:11:44 +08:00
fudongbai
69fe8db258 add curl in docker image 2020-12-14 20:29:44 +08:00
zjubfd
ed10dfa6bf
Merge pull request #50 from binance-chain/p1.0.4
[R4R]add change log for release v1.0.4
v1.0.4
2020-11-23 18:01:10 +08:00
fudongbai
3da36e6a55 add change log for release v1.0.4 2020-11-23 17:57:40 +08:00
zjubfd
c2feabad39
Merge pull request #49 from binance-chain/pr_template
[R4R]Create PULL_REQUEST_TEMPLATE
2020-11-17 17:26:20 +08:00
zjubfd
b0fcc0a663
Create PULL_REQUEST_TEMPLATE 2020-11-17 17:19:00 +08:00
zjubfd
58a91af56c
Merge pull request #38 from hyunsikswap/remove-log
Disable noisy log from consensus engine
2020-11-17 16:51:30 +08:00
zjubfd
cca7667dcd
Merge pull request #47 from binance-chain/golang1.15.5
[R4R]upgrade to golang1.15.5
2020-11-17 16:47:25 +08:00
zjubfd
1a50838431
Merge pull request #35 from binance-chain/fixedGas
[R4R]use fixed gas price when network is idle
2020-11-17 16:46:30 +08:00
fudongbai
d52d8a5f05 use fixed gas price since bsc network is idle 2020-11-17 16:38:20 +08:00
fudongbai
935c9e3c6a upgrade to golang1.15.5 2020-11-16 13:56:57 +08:00
Hyunsik Lee
cb1afd2b14
Hide some smart contract tracing logs from parlia consensus engine 2020-09-30 02:43:10 +09:00
Hyunsik Lee
7bd1c1f23d
Disable noisy log from consensus engine 2020-09-30 02:43:09 +09:00
zjubfd
537c5db510
Merge pull request #41 from binance-chain/branch_1.0.3
[R4R]prepare release 1.0.3
v1.0.3
2020-09-24 14:17:03 +08:00
fudongbai
40620b478c prepare release 1.0.3 2020-09-24 13:59:06 +08:00