Go implementation of the Ethereum protocol
Find a file
2024-07-27 18:51:29 +08:00
.github Merge branch 'ethereum:master' into portal 2024-06-29 20:20:18 +08:00
accounts all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
beacon beacon/types, cmd/devp2p, p2p/enr: clean up uses of fmt.Errorf (#30182) 2024-07-25 00:32:58 +02:00
build build: upgrade -dlgo version to Go 1.22.5 (#30112) 2024-07-03 12:11:43 +02:00
cmd Merge branch 'ethereum:master' into portal 2024-07-25 13:23:02 +08:00
common common: using ParseUint instead of ParseInt (#30020) 2024-06-19 11:06:52 +02:00
consensus all: replace division with right shift if possible (#29911) 2024-06-28 18:08:31 +02:00
console console: fix the wrong error msg of datadir testcase (#29183) 2024-03-08 12:15:52 +01:00
core core/state: fix SetStorage override behavior (#30185) 2024-07-23 14:54:35 +02:00
crypto go.mod: upgrade to btcsuite/btcd/btcec v2.3.4 (#30181) 2024-07-18 12:38:42 +02:00
docs docs/postmortems: fix outdated link (#28893) 2024-01-29 16:40:57 +01:00
eth eth/tracers, internal/ethapi: remove unnecessary map pointer in state override (#30094) 2024-07-25 01:01:59 +02:00
ethclient eth/catalyst: fix (*SimulatedBeacon).AdjustTime() conversion (#30138) 2024-07-16 11:47:11 +02:00
ethdb ethdb: remove snapshot (#30189) 2024-07-22 11:40:14 +08:00
ethstats all: use timer instead of time.After in loops, to avoid memleaks (#29241) 2024-04-09 08:51:54 +02:00
event event: fix typo (#29749) 2024-05-10 19:44:07 +02:00
graphql eth/downloader, graphql: fix typos (#29243) 2024-03-15 10:07:47 +01:00
internal Merge branch 'ethereum:master' into portal 2024-07-26 13:45:19 +08:00
log fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
metrics fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
miner fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
node fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
p2p Merge branch 'ethereum:master' into portal 2024-07-27 18:51:29 +08:00
params Merge branch 'ethereum:master' into portal 2024-07-11 22:55:02 +08:00
portalnetwork feat: add state content key 2024-06-22 19:29:56 +08:00
rlp fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
rpc rpc: show more error detail for invalidMessageError (#30191) 2024-07-23 11:55:56 +02:00
signer fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
swarm swarm: fix outdated link (#26501) 2023-01-16 11:00:55 +01:00
tests all: stateless witness builder and (self-)cross validator (#29719) 2024-06-25 14:48:08 +03:00
trie ethdb: remove snapshot (#30189) 2024-07-22 11:40:14 +08:00
triedb triedb/pathdb: print out all trie owner and hash information (#30200) 2024-07-24 20:32:28 +08: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 git: ignore tests/spec-tests folder (#28254) 2023-10-10 10:56:50 +02:00
.gitmodules tests: external evm benchmarks (#24050) 2022-01-28 08:47:19 +01:00
.golangci.yml fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
.mailmap .mailmap: remove invalid email address (#29163) 2024-03-04 21:58:25 +01:00
.travis.yml .travis.yml: disable normal unit tests in cron job (#29746) 2024-05-09 16:05:42 +02: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 all: fix typos (#29288) 2024-03-20 08:49:38 +01:00
Dockerfile.alltools all: fix typos (#29288) 2024-03-20 08:49:38 +01:00
Dockerfile.portal feat:update go version 2024-03-20 16:02:26 +08:00
go.mod Merge branch 'ethereum:master' into portal 2024-07-18 23:47:59 +08:00
go.sum Merge branch 'ethereum:master' into portal 2024-07-18 23:47:59 +08:00
interfaces.go ethereum, ethclient: add blob transaction fields in CallMsg (#28989) 2024-02-15 10:08:46 +01:00
Makefile Merge branch 'gethmaster' into selfportal 2024-06-17 20:48:41 +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 feat:add default bootnodes 2024-06-18 19:51:30 +08:00
SECURITY.md SECURITY.md: correct PGP key block formatting (#30123) 2024-07-15 14:29:13 +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.19 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

./build/bin/shisui

Alternatively, you can run the docker image by running

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

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
  • --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