Commit graph

11785 commits

Author SHA1 Message Date
Felix Lange
c0746461b5 p2p/enr: updates for discovery v4 compatibility (#16679)
This applies spec changes from ethereum/EIPs#1049 and adds support for
pluggable identity schemes.

Some care has been taken to make the "v4" scheme standalone. It uses
public APIs only and could be moved out of package enr at any time.

A couple of minor changes were needed to make identity schemes work:

- The sequence number is now updated in Set instead of when signing.
- Record is now copy-safe, i.e. calling Set on a shallow copy doesn't
  modify the record it was copied from.
2024-06-28 11:30:16 +04:00
Daniel Liu
bf289e89ea
Merge pull request #563 from gzliudan/fix-issue-377
fix issue #377 and a bug in queue
2024-06-27 14:10:51 +08:00
Daniel Liu
76ab0b5115 eth/downloader: fix issue #277 2024-06-27 12:51:47 +08:00
Guillaume Ballet
b3e0f70a33 eth/downloader: minor typo fixes in comments (#21035) 2024-06-27 11:28:40 +08:00
Boqin Qin
0673fa1176 eth/downloader: fix possible data race by inconsistent field protection (#20690) 2024-06-27 11:23:49 +08:00
Daniel Liu
73308897d4
Merge pull request #559 from gzliudan/eip1559-1
some PR before EIP-1559
2024-06-21 13:32:51 +08:00
Daniel Liu
f445196dcf eth/gasprice: add configurable threshold to gas price oracle (#22752) 2024-06-20 15:52:32 +08:00
Daniel Liu
2b365e8112 eth/gasprice: improve stability of estimated price (#22722) 2024-06-20 15:52:32 +08:00
Daniel Liu
1521b8a663 eth: move eth.Config to a common package (#22205) 2024-06-20 15:52:32 +08:00
Daniel Liu
e72f6dedb3 accounts/abi/bind: allow to specify signer on transactOpts (#21356) 2024-06-20 15:52:32 +08:00
Daniel Liu
2125a1afaa eth/gasprice: offer maxprice flag for overwritting price cap (#21531) 2024-06-20 15:52:32 +08:00
Daniel Liu
3e9bd359df ethclient: serialize negative block number as "pending" (#21177) 2024-06-20 15:52:32 +08:00
Daniel Liu
341ca00b16 internal/ethapi: cap txfee for SignTransaction and Resend (#21231) 2024-06-20 15:52:32 +08:00
Daniel Liu
56591d37e1 eth/gasprice: lighter gas price oracle for light client (#20409) 2024-06-20 15:52:32 +08:00
Daniel Liu
0063c14ed3 cmd, eth, internal, les: add gasprice cap (#21212) 2024-06-20 15:52:32 +08:00
Daniel Liu
aa88078dd1 core/types: convert status type from uint to uint64 (#16784) 2024-06-20 15:52:32 +08:00
Liam
a944232072
Merge pull request #556 from XinFinOrg/rpc-script-update
add step to trigger rpc deployment script update
2024-06-20 15:37:52 +08:00
Liam
242a0473b8
Merge pull request #537 from XinFinOrg/remove-swarm-as-unused-like-eth
remove swarm as unused like eth
2024-06-19 16:50:19 +08:00
Liam Lai
d28c7f659d rebase from dev-upgrade 2024-06-19 16:05:08 +08:00
Daniel Liu
1ca7d76a97
Merge pull request #557 from JukLee0ira/reps-fmtErrorf
WIP: use errrors.New instead of empty fmt.Errorf (ethereum#27329)
2024-06-14 19:26:56 +08:00
JukLee0ira
2d89951e5b all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
wanwiset25
1d18796a6b add step to trigger deployment script update 2024-06-12 14:11:30 +04:00
Daniel Liu
b718f3593c
Merge pull request #553 from JukLee0ira/noString
performance: remove extra conversions and optimize functions
2024-06-11 21:10:05 +08:00
wanwiset25
1b9cb08a0f testnet: adjust enode_id for old bootnodes and add new bootnodes to list 2024-06-11 16:35:55 +04:00
Liam
9eef800b55
Merge pull request #554 from XinFinOrg/remove-admin-for-rpc-and-running-node 2024-06-07 14:21:39 +08:00
Liam Lai
3521fe11aa remove admin for rpc and running node 2024-06-06 20:44:22 +08:00
JukLee0ira
15bbb5d3d5 XDCx,core,XDCxlending,miner: reduce duplicate calls 2024-06-06 19:33:59 +08:00
JukLee0ira
9ffacc595d core: simplify code expression 2024-06-06 19:33:59 +08:00
JukLee0ira
8d1aa25de5 tradingstate,lendingstate: using string variable in log 2024-06-06 19:33:59 +08:00
JukLee0ira
0aab4ced98 common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
JukLee0ira
21c62f9ef0 XDCx,XDCxlending,consensus,core: not compare adresss by String 2024-06-06 19:33:39 +08:00
Daniel Liu
025213fb1e
Merge pull request #551 from JukLee0ira/nil
remove redundant error check in function getValidators
2024-05-31 17:13:32 +08:00
Wanwiset Peerapatanapokin
abb1941acf
increase mainnet rpc volume (#552) 2024-05-30 15:14:10 +04:00
JukLee0ira
08432b8a0f hook: remove redundant error check in function getValidators 2024-05-29 15:11:01 +08:00
Liam
487593bfe6
Merge pull request #549 from XinFinOrg/rebase-master
Rebase master into dev-upgrade
2024-05-24 14:26:55 +08:00
Liam Lai
df78305d5b bump to version 2.3.0-beta1 2024-05-24 14:12:09 +08:00
Liam Lai
20e46d9b23 resolve conflict 2024-05-24 14:03:33 +08:00
wgr523
65d7e6a060
Merge pull request #548 from XinFinOrg/trie-proof
GetTransactionAndReceiptProof API
2024-05-22 15:17:35 +08:00
Daniel Liu
3929f4f6dc
Merge pull request #540 from JukLee0ira/dev-upgrade-juk
Add method: eth_getBlockReceipts
2024-05-22 11:00:01 +08:00
Gerui Wang
2d70c0c3a1 GetTransactionAndReceiptProof API
web3ext.go
2024-05-21 23:06:25 +08:00
JukLee0ira
c928c79d95 ethapi: implement eth_getBlockReceipts (#27702) 2024-05-21 18:03:15 +08:00
wgr523
d6a5095fa1
Merge pull request #545 from XinFinOrg/traceCall2
TraceCall API
2024-05-20 20:59:59 +08:00
Daniel Liu
09eb6124b2
Merge pull request #542 from gzliudan/rlp
upgarde package rlp to 2024-05-15
2024-05-20 12:38:35 +08:00
Wang Gerui
b2605e6ab0 add traceCall in web3ext.go 2024-05-18 21:33:15 +08:00
Gary
0245344338 add TraceCall, backend.StateAtBlock(), RPCGasCap
update gen_config.go by tool `gencodec`
2024-05-17 21:34:34 +08:00
Daniel Liu
f6bddb669f rlp: upgarde package rlp to 2024-05-15 2024-05-17 10:10:15 +08:00
Wanwiset Peerapatanapokin
4c58061d15
release version (#544) 2024-05-16 18:08:27 +04:00
Wanwiset Peerapatanapokin
9c03d01614
change threshold to match current conf (#543) 2024-05-16 12:19:36 +04:00
Daniel Liu
3a28063a77
Merge pull request #526 from gzliudan/eip-2718-and-2930
Implement EIP-2718 and EIP-2930 for EIP-1559
2024-05-16 06:21:50 +08:00
Daniel Liu
fd8811cc9e core, backends: rename callmsg to callMsg 2024-05-14 23:27:23 +08:00