emailtovamos
a40ee2828a
faucet: comments and refactor
2024-07-26 11:18:47 +01:00
emailtovamos
f219c080c7
faucet: lint error fix
2024-07-26 09:04:27 +01:00
emailtovamos
75c18c9817
faucet: remove test for now which cant test it fully
2024-07-26 08:41:49 +01:00
emailtovamos
45c683fc1d
faucet: remove unwanted locks
2024-07-26 08:40:26 +01:00
emailtovamos
c5f157cfad
faucet: delete unwanted test
2024-07-24 11:17:44 +01:00
emailtovamos
e18194720b
faucet: move limiter to another file
2024-07-24 11:15:54 +01:00
emailtovamos
a85215cd70
faucet: check ip length
2024-07-23 17:47:07 +01:00
emailtovamos
cd3539ab18
faucet: use lru cache
2024-07-23 17:44:53 +01:00
emailtovamos
a9893492ba
faucet: goroutine for each connection send operation to prevent blocking the main loop
2024-07-22 12:51:25 +01:00
emailtovamos
8fe7ca0b3b
faucet: log of client
2024-07-22 10:56:06 +01:00
emailtovamos
d98b22ba75
faucet: rate limit initial implementation
2024-07-22 10:51:22 +01:00
stellrust
d35b57ae36
chore: fix some comments ( #2581 )
...
Signed-off-by: stellrust <gohunter@foxmail.com>
2024-07-16 17:10:45 +08:00
TechVest
fe1fff8c77
chore: fix some typos in comments ( #2399 )
2024-04-18 15:43:57 +08:00
buddh0
a1c2491aab
Merge tag 'v1.13.11' from go-ethereum
2024-02-02 15:55:18 +08:00
Matus Kysel
ad09930bdf
faucet: new faucet client ( #2074 )
2023-12-26 11:32:04 +08:00
Marius van der Wijden
bdf5e388ca
cmd, les, tests: remove light client code ( #28586 )
...
* cmd, les, tests: remove light client code
This commit removes the light client (LES) code.
Since the merge the light client has been broken and
it is hard to maintain it alongside the normal client.
We decided it would be best to remove it for now and
maybe rework and reintroduce it in the future.
* cmd, eth: remove some more mentions of light mode
* cmd: re-add flags and mark as deprecated
* cmd: warn the user about deprecated flags
* eth: better error message
2023-11-23 16:28:26 +02:00
Håvard Anda Estensen
460cc1673e
cmd: run tests in parallel ( #28546 )
2023-11-20 10:52:14 +01:00
Zoro
2814ee0547
accounts,cmd,console,les,metrics: refactor some errors checked by (ST1005) go-staticcheck ( #28532 )
...
fix: fix some (ST1005)go-staticcheck
2023-11-15 14:36:57 +02:00
NathanBSC
0f622f3829
lint: fix all golang lint after big merge ( #1861 )
2023-09-08 16:36:16 +08:00
NathanBSC
872d22ed2d
upstream: Merge tag 'v1.12.2' into develop
2023-08-23 17:46:08 +08:00
Sanghee Choi
acc2a2ac61
node: remove unused error return from Attach ( #27450 )
...
node: Delete the unused error from return parameters of Node.Attach() func
2023-06-14 08:24:47 -04:00
Péter Szilágyi
c7c84ca16c
all: remove the Rinkeby testnet ( #27406 )
2023-06-02 14:03:21 +03:00
Delweng
e9c3183c52
cmd: use errrors.New instead of empty fmt.Errorf ( #27329 )
...
Signed-off-by: jsvisa <delweng@gmail.com>
2023-05-24 12:21:29 +02:00
Leon
e4b6ab9ba3
cmd/faucet: clear reqs list when reorg to lower nonce ( #1458 )
2023-04-14 09:52:15 +08:00
Leon
f9f5cc2157
cmd/faucet: merge ipfaucet2 branch to develop ( #1361 )
...
* add ip ratelimit
* update
* update
* update explorer adddress
* updae recapcha
* remove binance
* cmd/faucet: fix conn to wrapped wsconn
* cmd/faucet: keystore updated to save and load one same addres once
* clean: remove btcd v0.20.1-beta and avoid to ambiguous import (#1 )
* ci: fix truffle test (#1384 )
---------
Co-authored-by: fudongbai <296179868@qq.com>
Co-authored-by: Nathan <galaxystroller@gmail.com>
2023-04-06 11:17:53 +08:00
blxdyx
a956064629
clean: Remove support for Ethereum testnet ( #1337 )
2023-03-06 19:53:13 +08:00
Shude Li
163e996d0e
all: use http package to replace http method names ( #26535 )
2023-01-24 11:12:25 +02:00
omahs
a3c6d1d9b6
cmd/faucet: fix readme typos ( #25867 )
...
* Fix: typos
Fix: typos
* Undo change
Undo change
2022-09-26 11:30:50 +02:00
Felix Lange
65f3c1b46f
internal/version: use gitCommit injection in version handling code ( #25851 )
...
This changes the CI build to store the git commit and date into package
internal/version instead of package main. Doing this essentially merges our
two ways of tracking the go-ethereum version into a single place, achieving
two objectives:
- Bad block reports, which use version.Info(), will now have the git commit
information even when geth is built in an environment such as
launchpad.net where git access is unavailable.
- For geth builds created by `go build ./cmd/geth` (i.e. not using `go run
build/ci.go install`), git information stored by the go tool is now used
in the p2p node name as well as in `geth version` and `geth
version-check`.
2022-09-23 14:08:25 +02:00
Justin Traglia
2c5648d891
all: fix some typos ( #25551 )
...
* Fix some typos
* Fix some mistakes
* Revert 4byte.json
* Fix an incorrect fix
* Change files to fails
2022-08-19 09:00:21 +03:00
rjl493456442
a41ea8a97c
all: cleanup the APIs for initializing genesis ( #25473 )
...
* all: polish tests
* core: apply feedback from Guillaume
* core: fix comment
2022-08-09 12:44:39 +03:00
j75689
79bd42836c
fix: code compatibility fixes
2022-07-05 11:14:21 +08:00
Zachinquarantine
ad15050c7f
cmd/faucet: add sepolia network support ( #25128 )
...
cmd/faucet: Add Sepolia network support to faucet
2022-06-20 10:40:06 +02:00
Zachinquarantine
c776029c6c
cmd/faucet: more verbose message about private posts ( #25129 )
...
* cmd/faucet: Add error message for private posts
Fixes #22631
* grammar
2022-06-20 10:20:32 +02:00
Håvard Anda Estensen
07508ac0e9
all: replace uses of ioutil with io and os ( #24869 )
2022-05-16 11:59:35 +02:00
s7v7nislands
7ab15490e9
all: use 'embed' instead of go-bindata ( #24744 )
2022-04-25 11:15:14 +02:00
s7v7nislands
9e0a10004e
cmd/faucet: fix genesis flag and improve documentation ( #24735 )
2022-04-23 16:53:21 +02:00
ucwong
d4d288e3f1
build: add imports for go generate tools ( #24682 )
...
This adds a tools.go file to import all command packages used for
go:generate. Doing so makes it possible to execute go-based code
generators using 'go run', locking in the tool version using go.mod.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-04-12 20:24:02 +02:00
zjubfd
a50a05d624
merge with go-ethereum 1.1.5
2022-02-10 18:48:16 +08:00
Iskander (Alex) Sharipov
778ff94794
all: fix some go-critic linter warnings ( #23709 )
...
This doesn't fix all go-critic warnings, just the most serious ones.
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2021-10-13 17:31:02 +02:00
Martin Holst Swende
216ed05c6e
cmd/faucet: disable flaky facebook test ( #22988 )
2021-06-03 14:35:40 +02:00
yutianwu
334b6adf14
fix conflicts
2021-05-06 09:26:06 +08:00
yutianwu
7414a95ba5
fix faucet
2021-04-16 14:10:22 +08:00
yutianwu
061cd5030c
upgrade to 1.10.2
2021-04-16 12:45:26 +08:00
Mudit Gupta
72e37942f3
cmd/faucet: support testnet flags in the faucet ( #22545 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2021-04-13 23:51:46 +02: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
gary rong
098a2b6e26
eth: move eth.Config to a common package ( #22205 )
...
This moves the eth config definition into a separate package, eth/ethconfig.
Packages eth and les can now import this common package instead of
importing eth from les, reducing dependencies.
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-02-05 13:51:15 +01:00
Felföldi Zsolt
a72fa88a0d
les: switch to new discv5 ( #21940 )
...
This PR enables running the new discv5 protocol in both LES client
and server mode. In client mode it mixes discv5 and dnsdisc iterators
(if both are enabled) and filters incoming ENRs for "les" tag and fork ID.
The old p2p/discv5 package and all references to it are removed.
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-01-26 21:41:35 +01:00
Péter Szilágyi
12969084d1
cmd/faucet: update the embedded website asset
2021-01-14 12:10:52 +02:00
Martin Holst Swende
6b88ab75bc
cmd/faucet: fix nonce-gap problem ( #22145 )
...
* cmd/faucet: avoid encoding for each client
* cmd/faucet: fix flaw in clearing of txs, avoid sending more than necessary
* cmd/faucet: fix flaw in tx cropping
* cmd/faucet: revert change to not always send tx info
* cmd/faucet: review fixes
* cmd/faucet: revert #22018 , fix order in UI
* cmd/faucet: fix lock error
* cmd/faucet: revert json changes
* squashme
2021-01-08 12:17:15 +02:00