Go implementation of the Ethereum protocol
Find a file
2024-10-28 17:30:53 +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/blsync: add holesky config and update checkpoints (#30671) 2024-10-25 13:20:18 +02:00
build build: document doGoModTidy function in ci.go (#30685) 2024-10-28 11:26:36 +02:00
cmd Merge branch 'ethereum:master' into portal 2024-10-25 22:11:39 +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 console: fix the wrong error msg of datadir testcase (#29183) 2024-03-08 12:15:52 +01:00
core ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02: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 eth/tracers/internal/tracertest: add missing Random to call context (#30652) 2024-10-23 08:33:14 +02:00
ethclient all: implement flat deposit requests encoding (#30425) 2024-10-09 12:24:58 +02:00
ethdb ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +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
graphql all: remove TerminalTotalDifficultyPassed (#30609) 2024-10-23 08:26:18 +02:00
internal Merge branch 'ethereum:master' into portal 2024-10-23 23:59:22 +08:00
log log: remove unused parameter (#30432) 2024-10-08 13:30:07 +02:00
metrics Merge branch 'ethereum:master' into portal 2024-10-17 14:40:34 +08:00
miner consensus/clique, miner: remove clique -> accounts dependency (#30642) 2024-10-21 09:24:28 +03:00
node Merge branch 'ethereum:master' into portal 2024-10-17 14:40:34 +08:00
p2p fix: replace assert to require 2024-10-23 23:59:03 +08:00
params Merge branch 'ethereum:master' into portal 2024-10-23 23:59:22 +08:00
portalnetwork fix: cache id and addr in discv5 2024-10-23 11:29:29 +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 cmd, internal/build, docker: advertise commit date in unstable build versions (#19522) 2019-05-08 16:44:28 +03:00
.gitattributes .gitattributes: enable solidity highlighting on github (#16425) 2018-04-03 15:21:24 +02:00
.gitignore gitignore: get rid of some relics (#30623) 2024-10-18 12:02:32 +03:00
.gitmodules tests: external evm benchmarks (#24050) 2022-01-28 08:47:19 +01:00
.golangci.yml build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
.mailmap .mailmap: remove invalid email address (#29163) 2024-03-04 21:58:25 +01:00
.travis.yml build: use buildx to build multi-platform docker images (#30530) 2024-09-30 15:39:53 +03:00
appveyor.yml fix:fix ci 2024-07-11 13:58:10 +08:00
AUTHORS AUTHORS: remove one more duplicate entry (#24950) 2022-05-24 21:04:21 +02:00
circle.yml circleci: enable docker based hive testing 2016-07-15 16:07:34 +03:00
COPYING COYPING: restore the full text text of GPL (#21568) 2020-09-15 08:27:17 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
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 feat:update go version 2024-03-20 16:02:26 +08:00
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 ethereum, ethclient: add blob transaction fields in CallMsg (#28989) 2024-02-15 10:08:46 +01:00
Makefile exchange of cp to mv in make file 2024-09-25 12:31:15 +08:00
oss-fuzz.sh core/vm: update gascosts for BLS12-381 + use gnark instead of kilic (#29441) 2024-04-16 10:53:43 +02:00
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