wavesplatform/Waves
소개
Scala로 구현한 Waves 블록체인 노드(클라이언트) 레퍼런스 구현
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- -3
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalWaves Node
Reference implementation of the Waves blockchain node: transaction validation, block generation, peer-to-peer networking, the REST API, gRPC and the RIDE smart contract language. See the node documentation.
Running a node
The recommended way is the container image published to Docker Hub with every release:
docker run -d --name waves-node \
-v waves-data:/var/lib/waves \
-e WAVES_NETWORK=mainnet \
-e WAVES_WALLET_PASSWORD=<password> \
-p 6868:6868 -p 127.0.0.1:6869:6869 \
wavesplatform/wavesnode:latest
- Tags:
latest(latest stable release) andX.Y.Z(specific version). WAVES_NETWORK:mainnet,testnetorstagenet. The peer-to-peer port is6868on Mainnet,6863on Testnet,6862on Stagenet.6869is the REST API; keep it bound to localhost or behind a proxy.- A custom config can be mounted at
/etc/waves/waves.conf; individual settings can be overridden withJAVA_OPTS="-Dwaves.<path>=<value>".
All image options (environment variables, volumes, extensions, private network image) are described in docker/README.md.
Alternatively, run the waves-all-*.jar from releases on JDK 17 or newer: java -jar waves-all-X.Y.Z.jar waves.conf (start from node/waves-sample.conf). See how to install a node.
A fresh node downloads and verifies the whole chain. To speed this up, see synchronizing the blockchain.
Configuration
- Node configuration and logging.
- Defaults: application.conf, per-network overrides in network-defaults.conf.
- Extensions, such as gRPC server and blockchain updates.
Building
Requires JDK 17 and sbt.
sbt node/assembly # fat jar: target/out/jvm/u/node/waves-all-*.jar
sbt packageAll # jars, deb packages and the docker build context
sbt stageForDocker && docker build -t waves-node docker # local image
Testing
sbt node-tests/testFull # node unit tests
sbt "node-tests/testOnly *SuiteName" # single suite
sbt checkPR # what CI runs: format check, -Werror compile, all unit tests, packaging
Integration tests run nodes in Docker and need the node-it image built first:
sbt node-it/docker
sbt --server -Dwaves.it.max-parallel-suites=2 --batch "node-it/testOnly *SuiteName"
See docs/notes/testing.md for details.
Contributing
Open an issue to discuss major changes first. Pull requests target version-1.6.x and must pass sbt checkPR. Follow the code of conduct.
Links
- Documentation
- Explorer: Mainnet, Testnet, Stagenet
- Ride IDE
License
Acknowledgements
Performance work on the node uses JProfiler, the Java profiler by ej-technologies, provided under their open source license.
관련 프로젝트 살펴보기
불러오는 중…
