hashgraph / hedera-block-node

New Block Node services
Apache License 2.0
5 stars 1 forks source link

hedera-block-node

The block node is a new and unique node designed to consume the blocks streams, maintain state and expose additional targeted value adding APIs to the Hedera community. More details to come as this is work in progress

Support

If you have a question on how to use the product, please see our support guide.

Contributing

Contributions are welcome. Please see the contributing guide to see how you can get involved.

Code of Conduct

This project is governed by the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to oss@hedera.com.

License

Apache License 2.0

🔐 Security

Please do not file a public ticket mentioning the vulnerability. Refer to the security policy defined in the SECURITY.md.


Usage

Configuration

Environment Variable Description Default Value
persistence.storage.rootPath The root path for the storage, if not provided will attempt to create a data on the working dir of the app. ./data
consumer.timeoutThresholdMillis Time to wait for subscribers before disconnecting in milliseconds 1500

Starting locally:

./gradlew run

In debug mode, you can attach a debugger to the port 5005.

./gradlew run --debug-jvm

Also you can run on docker locally:

./gradlew startDockerContainer

Running Tests

1) ./gradlew build

Code Coverage

codecov