Go implementation of the Ethereum protocol
Find a file
Péter Szilágyi e40c5e9362 cmd/utils, eth/ethconfig: remove some ancient leftover flag (#30705)
This is a flag leftover from the swarm era. No need to deprecate it,
it's been useless/dead forever now.
2024-11-02 14:09:32 +08:00
.github Merge branch 'gethmaster' into selfportal 2024-09-30 15:01:29 +08:00
accounts build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
beacon beacon/light: remove unused CommitteeChain.signerThreshold (#30484) 2024-10-30 15:22:10 +01:00
build appveyor, build, internal: ci.go cleanups, add package dep checker (#30696) 2024-10-29 13:21:17 +02:00
cmd cmd/utils, eth/ethconfig: remove some ancient leftover flag (#30705) 2024-11-02 14:09:32 +08:00
common common: drop BigMin and BigMax, they pollute our dep graph (#30645) 2024-10-21 12:45:33 +03:00
consensus all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
console
core core: add code to witness when state object is accessed (#30698) 2024-11-02 14:09:32 +08:00
crypto crypto, tests/fuzzers: add gnark bn254 precompile methods for fuzzing (#30585) 2024-10-23 08:11:25 +02:00
docs doc: update 2021-08-22-split-postmortem (#30351) 2024-08-26 09:29:24 +08:00
eth cmd/utils, eth/ethconfig: remove some ancient leftover flag (#30705) 2024-11-02 14:09:32 +08:00
ethclient all: implement flat deposit requests encoding (#30425) 2024-10-09 12:24:58 +02:00
ethdb ethdb: refactor Database interface (#30693) 2024-10-29 10:32:40 +02:00
ethstats core, eth, ethstats: simplify chain head events (#30601) 2024-10-16 10:32:58 +03:00
event event: fix typo (#29749) 2024-05-10 19:44:07 +02:00
grafana Grafana dashboard and tutorial 2024-11-01 19:19:57 +08:00
graphql all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
internal Merge branch 'gethmaster' into selfportal 2024-10-30 22:39:43 +08:00
log log: remove unused parameter (#30432) 2024-10-08 13:30:07 +02:00
metrics change log levels and extract duplicate logic 2024-10-29 12:08:03 +08:00
miner consensus/clique, miner: remove clique -> accounts dependency (#30642) 2024-10-21 09:24:28 +03:00
node Merge branch 'gethmaster' into selfportal 2024-10-30 22:39:43 +08:00
p2p revert ssz generated file 2024-10-30 22:52:15 +08:00
params Merge branch 'ethereum:master' into portal 2024-10-23 23:59:22 +08:00
portalnetwork revert ssz generated file 2024-10-30 22:52:15 +08:00
rlp all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-10-20 14:41:51 +03:00
rpc all: get rid of custom MaxUint64 and MaxUint64 (#30636) 2024-10-20 14:41:51 +03:00
signer signer/core/apitypes: support fixed size arrays for EIP-712 typed data (#30175) 2024-08-28 14:12:09 +02:00
tests all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
trie Merge branch 'ethereum:master' into portal 2024-10-27 17:02:53 +08:00
triedb core, trie, triedb: minor changes from snapshot integration (#30599) 2024-10-18 17:06:31 +02:00
version build, internal, version: break ci.go/version->common dependency (#30638) 2024-10-20 19:28:39 +03:00
.dockerignore
.gitattributes
.gitignore gitignore: get rid of some relics (#30623) 2024-10-18 12:02:32 +03:00
.gitmodules
.golangci.yml build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
.mailmap
.travis.yml build: use buildx to build multi-platform docker images (#30530) 2024-09-30 15:39:53 +03:00
appveyor.yml appveyor, build, internal: ci.go cleanups, add package dep checker (#30696) 2024-10-29 13:21:17 +02:00
AUTHORS
circle.yml
COPYING
COPYING.LESSER
Dockerfile build: use buildx to build multi-platform docker images (#30530) 2024-09-30 15:39:53 +03:00
Dockerfile.alltools build: use buildx to build multi-platform docker images (#30530) 2024-09-30 15:39:53 +03:00
Dockerfile.portal
go.mod fix: upgrade utp-go 2024-10-23 23:59:03 +08:00
go.sum fix: go.sum updated by go mod tidy 2024-10-23 23:59:03 +08:00
interfaces.go
Makefile exchange of cp to mv in make file 2024-09-25 12:31:15 +08:00
oss-fuzz.sh
README.md docs: update readme 2024-10-16 22:41:08 +08:00
SECURITY.md docs: update security policy (#30606) 2024-10-23 15:12:56 +02:00

Shisui

AppVeyor Build (with branch) Discord

Shisui is an Ethereum portal client written in Go language based on go-ethereum. The name is inspired by Uchiha Shisui from the anime Naruto, who is renowned as "Shisui of the Body Flicker".

Note: Shisui is still under heavy development and is not yet ready for production use.

Building the source

For prerequisites and detailed build instructions please read the Installation Instructions.

Building shisui requires both a Go (version 1.22 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run

make shisui

Also, you can build the docker image by running

make shisui-image

Running shisui

After building shisui, you can start the client by running

# supported options are list below
./build/bin/shisui

Alternatively, you can run the docker image by running

docker run -d -p 8545:8545 -p 9009:9009/udp -e SHISUI_NAT=stun ghcr.io/optimism-java/shisui:latest

# if you know your exiIp, replace by -e SHISUI_NAT=extip:${your ip}

You can use the script below to check if the node has started correctly.

curl -X POST http://127.0.0.1:8545 \
     -H "Content-Type: application/json" \
     -d '{
           "jsonrpc": "2.0",
           "method": "discv5_nodeInfo",
           "params": [],
           "id": 0
         }'

supported options

  • --rpc.addr HTTP-RPC server listening addr
  • --rpc.port HTTP-RPC server listening port(default: 8545)
  • --data.dir data dir of where the data file located(default: ./)
  • --data.capacity the capacity of the data stored, the unit is MB(default: 10GB)
  • --nat p2p address(default none)
    • none, find local address
    • any uses the first auto-detected mechanism
    • extip:77.12.33.4 will assume the local machine is reachable on the given IP
    • upnp uses the Universal Plug and Play protocol
    • pmp uses NAT-PMP with an auto-detected gateway address
    • pmp:192.168.0.1 uses NAT-PMP with the given gateway address
    • stun uses stun server to find extip
  • --udp.addr protocol UDP server listening port(default: 9009)
  • --loglevel loglevel of portal network, 1 to 5, from error to trace(default: 1)
  • --private.key private key of p2p node, hex format without 0x prifix
  • --bootnodes bootnode of p2p network with ENR format, use none to config empty bootnodes
  • --networks portal sub networks: history, beacon, state

all the options above can be set with envs.

the env is prefixed with SHISUI and change the . to _.

eg --rpc.add can be replaced with env SHISUI_RPC_ADDR

Hardware Requirements

Minimum:

  • CPU with 2+ cores
  • 4GB RAM
  • 1TB free storage space to sync the Mainnet
  • 8 MBit/sec download Internet service

Recommended:

  • Fast CPU with 4+ cores
  • 16GB+ RAM
  • High-performance SSD with at least 1TB of free space
  • 25+ MBit/sec download Internet service