tron-blocks-parser

module
v0.0.0-...-4582ed7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: GPL-3.0

README

TRON Blocks Parser

Tron parser for Kattana, requirements:

  • One block in one moment of time
  • Horizontally scalable
How it works?

Consume messages with block metainformation from kafka feed tron_blocks, parse block, on success send it to parser.sys.parsed, on failure - send to failed_blocks.

Dependencies
  • Redis
  • Docker
  • Golang 1.18
  • Kafka

Configuration

Development:

  1. Copy .env.example -> .env
  2. Setup ENV=development

Production:

  1. Setup ENV variables from .env.example

Run

go build -o ./app ./cmd/main.go
./app

Directories

Path Synopsis
internal
abi

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL