🔧 Under Active Development: This project is actively being developed. Please note that the APIs are subject to change as we continue to improve and expand the project. Your feedback and contributions are highly appreciated. Join us on this exciting journey!
Yaci Store is a modular Java library for developers who are keen on constructing their custom indexer solutions. Its architecture ensures that every component within Yaci Store is accessible both as a standalone Java library and a corresponding Spring Boot starter.
Pre-requisites: Java 17
- Download the latest binary and property file from release page
- You need to download
yaci-store-all-<version>.jar
andapplication.properties
files - Create a sub folder
config
and copyapplication.properties
file toconfig
directory - Edit
application.properties
file to configure your datasource and network details - Run
java -jar yaci-store-all-<version>.jar
from the directory where you have copied the jar file.
Pre-requisites: Java 17
$> git clone https://github.com/bloxbean/yaci-store
$> cd yaci-store
$> ./gradlew clean build
$> cd yaci-store
$> edit config/application.properties //datasource, network details
$> java -jar applications/all/build/libs/yaci-store-all-<version>.jar
1. Overview
2. Design
- Currently, epoch aggregation metrics such as total transactions and total fees in an epoch are calculated at specific intervals. This process takes some time on the mainnet due to the current implementation. Since this process is executed synchronously within the main flow, you may experience some lag in the sync process during aggregation. However, once the aggregation is completed, the sync process should quickly catch up with the latest data.
The current implementation of epoch aggregation will be replaced by a more efficient approach in a future release. Nonetheless, you have control over the epoch aggregation interval by adjusting the following flag in application.properties, which is currently set to 14400 (4 hours):
store.blocks.epoch-calculation-interval=14400
- Create a Github Discussion
- Create a Github Issue
- Discord Server
YourKit has generously granted the BloxBean projects an Open Source licence to use their excellent Java Profiler.
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor