Martin Holst Swende
cc606be74c
all: define London+baikal, undefine yolov3, add london override flag ( #22822 )
...
* all: define London+baikal, undefine yolov3, add london override flag
* cmd, core, params: add baikal genesis definition
4 years ago
lightclient
ad983b300b
cmd/puppeth: add support for authentication via ssh agent ( #22634 )
4 years ago
Marius van der Wijden
24588bacfd
cmd/puppeth: specify working directory for nodejs 15 ( #22549 )
4 years ago
Péter Szilágyi
0928562670
all: define Berlin hard fork spec
4 years ago
rene
8e547eecd5
cmd/utils: remove deprecated command line flags ( #22263 )
...
This removes support for all deprecated flags except --rpc*.
4 years ago
Alex Prut
ef84da8481
all: remove unneeded parentheses ( #21921 )
...
* remove uneeded convertion type
* remove redundant type in composite literal
* omit explicit type where implicit
* remove unused redundant parenthesis
* remove redundant import alias duktape
4 years ago
Sina Mahmoodi
eb21c652c0
cmd,core,eth,params,tests: define yolov3 + enable EIP-2565 ( #22213 )
...
Removes the yolov2 definition, adds yolov3, including EIP-2565. This PR also disables some of the erroneously generated blockchain and statetests, and adds the new genesis hash + alloc for yolov3.
This PR disables the CLI switches for yolo, since it's not complete until we merge support for 2930.
4 years ago
Péter Szilágyi
e4571d8c12
cmd: support v1.1 Twitter API in faucet, fix puppeth
4 years ago
Mudit Gupta
b47f4ca5cf
cmd/faucet: use Twitter API instead of scraping webpage ( #21850 )
...
This PR adds support for using Twitter API to query the tweet and author details. There are two reasons behind this change:
- Twitter will be deprecating the legacy website on 15th December. The current method is expected to stop working then.
- More importantly, the current system uses Twitter handle for spam protection but the Twitter handle can be changed via automated calls. This allows bots to use the same tweet to withdraw funds infinite times as long as they keep changing their handle between every request. The Rinkeby as well as the Goerli faucet are being actively drained via this method. This PR changes the spam protection to be based on Twitter IDs instead of usernames. A user can not change their Twitter ID.
4 years ago
Alex Prut
810f9e057d
all: remove redundant conversions and import names ( #21903 )
4 years ago
Martin Holst Swende
6487c002f6
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
...
* core/vm, core/state: implement EIP-2929 + YOLOv2
* core/state, core/vm: fix some review concerns
* core/state, core/vm: address review concerns
* core/vm: address review concerns
* core/vm: better documentation
* core/vm: unify sload cost as fully dynamic
* core/vm: fix typo
* core/vm/runtime: fix compilation flaw
* core/vm/runtime: fix renaming-err leftovers
* core/vm: renaming
* params/config: use correct yolov2 chainid for config
* core, params: use a proper new genesis for yolov2
* core/state/tests: golinter nitpicks
4 years ago
rene
beabf95ad7
cmd/geth, cmd/puppeth: replace deprecated rpc and ws flags in tests and docs ( #21317 )
4 years ago
Martin Holst Swende
890757f03a
cmd, core, params: inital support for yolo-v1 testnet ( #21154 )
...
* core,params,puppeth: inital support for yolo-v1 testnet
* cmd/geth, core: add yolov1 console flag
* cmd, core, params: YoloV1 bakein fixups
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
4 years ago
Martin Michlmayr
4f2784b38f
all: fix typos in comments ( #21118 )
5 years ago
Satpal
677724af0c
cmd: fix log contexts ( #21077 )
5 years ago
Felix Lange
c8e9a91672
build: upgrade to golangci-lint 1.24.0 ( #20901 )
...
* accounts/scwallet: remove unnecessary uses of fmt.Sprintf
* cmd/puppeth: remove unnecessary uses of fmt.Sprintf
* p2p/discv5: remove unnecessary use of fmt.Sprintf
* whisper/mailserver: remove unnecessary uses of fmt.Sprintf
* core: goimports -w tx_pool_test.go
* eth/downloader: goimports -w downloader_test.go
* build: upgrade to golangci-lint 1.24.0
5 years ago
Kumar Anirudha
35f95aef6f
cmd/puppeth: change dashboard title to not use "testnet" ( #20513 )
5 years ago
Martin Holst Swende
216ff5a952
cmd/puppeth: make ssh prompt more user-friendly
5 years ago
meows
59177bc8c0
cmd/puppeth: x-spec nonce data type, use types.BlockNonce
...
Refactors to use existing BlockNonce type instead of
hand-rolled bytes logic.
5 years ago
gary rong
b7ba944e88
cmd/puppeth: update chain spec of parity ( #20241 )
5 years ago
gary rong
7a6d5d0cce
cmd/puppeth: integrate istanbul into puppeth ( #19926 )
...
* cmd/puppeth: integrate istanbul into puppeth
* cmd/puppeth: address comment
* cmd/puppeth: use hexutil.Big for fork indicator
* cmd/puppeth: finalize istanbul fork
* cmd/puppeth: fix 2200 for parity, rename is to eip1283ReenableTransition
* cmd/puppeth: fix eip1108
* cmd/puppeth: add blake2f for parity
* cmd/puppeth: add aleth istanbul precompiled
* cmd/puppeth: use hexutil.Big
* cmd/puppeth: fix unit tests
* cmd/puppeth: update testdata
5 years ago
SjonHortensius
36994e4e0b
all: replace passPHRASE with passWORD in user interactions ( #19932 )
...
* Ref #19906 - replace passPHRASE with passWORD in any user interactions
this skips doccomments and variablenames to minimize impact. It does
however include a rename of the `ethkey` `changepassphrase` parameter
* console: fix JavaScript error capitalization
5 years ago
大彬
4ac04ae0fe
all: replace fmt.Print* calls with t.Log* in tests ( #19670 )
5 years ago
gary rong
16e313699f
cmd/puppeth: integrate blockscout ( #18261 )
...
* cmd/puppeth: integrate blockscout
* cmd/puppeth: expose debug namespace for blockscout
* cmd/puppeth: fix dbdir
* cmd/puppeth: run explorer in archive mode
* cmd/puppeth: ensure node is synced
* cmd/puppeth: fix explorer docker alignment + drop unneeded exec
* cmd/puppeth: polish up config saving and reloading
* cmd/puppeth: check both web and p2p port for explorer service
5 years ago
gary rong
f7cdea2bdc
all: on-chain oracle checkpoint syncing ( #19543 )
...
* all: implement simple checkpoint syncing
cmd, les, node: remove callback mechanism
cmd, node: remove callback definition
les: simplify the registrar
les: expose checkpoint rpc services in the light client
les, light: don't store untrusted receipt
cmd, contracts, les: discard stale checkpoint
cmd, contracts/registrar: loose restriction of registeration
cmd, contracts: add replay-protection
all: off-chain multi-signature contract
params: deploy checkpoint contract for rinkeby
cmd/registrar: add raw signing mode for registrar
cmd/registrar, contracts/registrar, les: fixed messages
* cmd/registrar, contracts/registrar: fix lints
* accounts/abi/bind, les: address comments
* cmd, contracts, les, light, params: minor checkpoint sync cleanups
* cmd, eth, les, light: move checkpoint config to config file
* cmd, eth, les, params: address comments
* eth, les, params: address comments
* cmd: polish up the checkpoint admin CLI
* cmd, contracts, params: deploy new version contract
* cmd/checkpoint-admin: add another flag for clef mode signing
* cmd, contracts, les: rename and regen checkpoint oracle with abigen
5 years ago
Péter Szilágyi
9747df295e
cmd/puppeth: handle pre-set Petersburg number, save changed fork rules
6 years ago
Martin Holst Swende
ecb781297b
core, cmd/puppeth: implement constantinople fix, disable EIP-1283 ( #18486 )
...
This PR adds a new fork which disables EIP-1283. Internally it's called Petersburg,
but the genesis/config field is ConstantinopleFix.
The block numbers are:
7280000 for Constantinople on Mainnet
7280000 for ConstantinopleFix on Mainnet
4939394 for ConstantinopleFix on Ropsten
9999999 for ConstantinopleFix on Rinkeby (real number decided later)
This PR also defaults to using the same ConstantinopleFix number as whatever
Constantinople is set to. That is, it will default to mainnet behaviour if ConstantinopleFix
is not set.This means that for private networks which have already transitioned
to Constantinople, this PR will break the network unless ConstantinopleFix is
explicitly set!
6 years ago
Ha ĐANG
3f421aca54
cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses ( #18344 )
...
* cmd/puppeth: fix panic error when export aleth genesis wo/ precompile-addresses
* cmd/puppeth: don't need to handle duplicate set
6 years ago
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP
6 years ago
Javier Peletier
c1d462ee5d
cmd/puppeth: fix rogue quote in alethGenesisSpec JSON ( #18262 )
6 years ago
Péter Szilágyi
d4415f5e40
cmd/puppeth: chain import/export via wizard, minor polishes
6 years ago
Martin Holst Swende
8698fbabf6
cmd/puppeth: implement chainspec converters
6 years ago
Péter Szilágyi
4825d9c3dd
cmd/puppeth: enforce lowercase network names
6 years ago
Felix Lange
b8a0daf0cc
cmd/puppeth: fix node URL in health check ( #17802 )
...
* cmd/puppeth: fix node URL in health check
* cmd/puppeth: set external IP for geth
* cmd/puppeth: fix enode cast issue
6 years ago
HackyMiner
6975c72981
all: fix various comment typos ( #17591 )
...
* swarm: fixed comment typo
* eth: fixed comment typo
* cmd/puppeth: fixed comment typo
6 years ago
chenyufeng
b8aa5980cf
cmd/puppeth: fix comment typo ( #17690 )
...
* ethdb: unified code comment style.
* puppeth: it is unnecessary to alloc pre-funded to 256 addresses
* Revert "puppeth: it is unnecessary to alloc pre-funded to 256 addresses"
This reverts commit 5e04fbccf0
.
* puppeth: fix comment typo
* Revert "ethdb: unified code comment style."
This reverts commit a581efb3f0
.
* cmd/puppeth: fix comment typo
6 years ago
chenyufeng
c1345b0742
cmd/puppeth: fix comment typo ( #17684 )
...
* ethdb: unified code comment style.
* puppeth: it is unnecessary to alloc pre-funded to 256 addresses
* Revert "puppeth: it is unnecessary to alloc pre-funded to 256 addresses"
This reverts commit 5e04fbccf0
.
* puppeth: fix comment typo
* Revert "ethdb: unified code comment style."
This reverts commit a581efb3f0
.
6 years ago
Péter Szilágyi
e8f229b82e
cmd, core, eth, miner, params: configurable gas floor and ceil
6 years ago
Nilesh Trivedi
7d38d53ae4
cmd/puppeth: accept ssh identity in the server string ( #17407 )
...
* cmd/puppeth: Accept identityfile in the server string with fallback to id_rsa
* cmd/puppeth: code polishes + fix heath check double ports
6 years ago
Péter Szilágyi
b24fb76a3a
cmd/puppeth: fix nil panic on disconnected stats gathering
6 years ago
Péter Szilágyi
2a17fe2561
cmd: polish miner flags, deprecate olds, add upgrade path
6 years ago
Péter Szilágyi
faf0e06ed8
cmd/puppeth: graceful shutdown on redeploys
6 years ago
Péter Szilágyi
54d1111965
cmd/puppeth: force tiny memory for geth attach in id lookup
6 years ago
Péter Szilágyi
f00d0daf33
cmd/puppeth: split banned ethstats addresses over columns
6 years ago
Wenbiao Zheng
574378edb5
cmd: remove faucet/puppeth dead code ( #16991 )
...
* cmd/faucet: authGitHub is not used anymore
* cmd/puppeth: remove not used code
6 years ago
Bruno Škvorc
90b22773e9
cmd/puppeth: fixed a typo in a wizard input query ( #16910 )
7 years ago
kiel barry
cbfb40b0aa
params: fix golint warnings ( #16853 )
...
params: fix golint warnings
7 years ago
Péter Szilágyi
abd881f6d4
Revert "cmd/puppeth: fix node deploys for updated dockerfile user"
7 years ago
Wuxiang
8f8774cf6d
all: fix various typos ( #16533 )
...
* fix typo
* fix typo
* fix typo
7 years ago
Péter Szilágyi
7c1e9a5004
cmd/puppeth: fix node deploys for updated dockerfile user
7 years ago