Go implementation of the Ethereum protocol
Find a file
rafaelss 4605c46a53
Merge pull request #185 from r4f4ss/log_trace
Replace log trace strings to easily readable
2024-10-08 23:52:08 -04:00
.github Merge branch 'gethmaster' into selfportal 2024-09-30 15:01:29 +08:00
accounts accounts/abi/bind, ethclient/simulated: check SendTransaction error in tests (#30349) 2024-08-27 17:11:50 +02:00
beacon beacon/light: optimize lock usage in HeadTracker (#30485) 2024-10-02 16:00:36 +02:00
build build: upgrade -dlgo version to Go 1.23.2 (#30544) 2024-10-04 13:53:06 +03:00
cmd Merge branch 'gethmaster' into selfportal 2024-10-09 10:36:11 +08:00
common common: using ParseUint instead of ParseInt (#30020) 2024-06-19 11:06:52 +02:00
consensus all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
console console: fix the wrong error msg of datadir testcase (#29183) 2024-03-08 12:15:52 +01:00
core core/vm, cmd/evm: implement eof validation (#30418) 2024-10-02 15:05:50 +02:00
crypto go.mod: upgrade to btcsuite/btcd/btcec v2.3.4 (#30181) 2024-07-18 12:38:42 +02:00
docs doc: update 2021-08-22-split-postmortem (#30351) 2024-08-26 09:29:24 +08:00
eth internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
ethclient eth/catalyst: use setcanonical instead of sethead in simulated fork (#30465) 2024-09-30 14:46:39 +02:00
ethdb ethdb/pebble: handle errors (#30367) 2024-09-19 09:41:10 +02: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 internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
internal Merge branch 'gethmaster' into selfportal 2024-10-09 10:36:11 +08:00
log log: remove unused parameter (#30432) 2024-10-08 13:30:07 +02:00
metrics implementation of metrics influx, influxV2 and local web server 2024-10-05 11:50:15 +08:00
miner beacon, core, eth, miner: integrate witnesses into production Geth (#30069) 2024-09-20 16:43:42 +03:00
node Merge branch 'gethmaster' into selfportal 2024-09-30 15:01:29 +08:00
p2p Merge pull request #185 from r4f4ss/log_trace 2024-10-08 23:52:08 -04:00
params Merge branch 'gethmaster' into selfportal 2024-10-09 10:36:11 +08:00
portalnetwork fix: offer test failed in hive state interop 2024-09-26 09:12:43 +08:00
rlp fix:merge geth p2p change 2024-06-17 20:28:49 +08:00
rpc rpc: add timeout to rpc client Unsubscribe (#30318) 2024-08-20 15:54:28 +02:00
signer signer/core/apitypes: support fixed size arrays for EIP-712 typed data (#30175) 2024-08-28 14:12:09 +02:00
swarm swarm: fix outdated link (#26501) 2023-01-16 11:00:55 +01:00
tests beacon, core, eth, miner: integrate witnesses into production Geth (#30069) 2024-09-20 16:43:42 +03:00
trie Merge branch 'gethmaster' into selfportal 2024-09-30 15:01:29 +08:00
triedb core/rawdb: freezer index repair (#29792) 2024-10-01 18:16:16 +02: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: ignore build signatures (#30346) 2024-08-23 16:48:20 +02:00
.gitmodules tests: external evm benchmarks (#24050) 2022-01-28 08:47:19 +01:00
.golangci.yml eth/ethconfig: remove LES server config (#30298) 2024-08-15 11:42:39 +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 add stun server for ip discovery and flag stun 2024-10-03 23:44:13 -03:00
go.sum add stun server for ip discovery and flag stun 2024-10-03 23:44:13 -03: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 Merge branch 'gethmaster' into selfportal 2024-09-30 15:01:29 +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.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

./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