New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/block42-blockchain-company/tendermint-block-parser

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/block42-blockchain-company/tendermint-block-parser

  • v0.0.0-20210311133059-5d1d55c83ab3
  • Source
  • Go
  • Socket score

Version published
Created
Source

Tendermint Block Parser

A Tendermint client fetches blocks from a specified node and stores certain events occurrences in for each block in MongoDB. In the current case these are the Thorchain events bond_rewards and UpdateNodeStatus. Never-the-less, it works for all CosmosSDK projects, since it retrieves ABCI data, which is not business logic specific.

This daemon runs until it catches up with current block height and then alternates between sleeping and fetching. Per default, it will connect to a MongoDB instance behind mongodb://thornode_bot_mongodb:27017. If TM_CLIENT_DEV is passed, it will connect to mongodb://localhost:27017.

This project is part of the Thorchain Telegram Bot. It is provided as a docker image on DockerHub. The Tendermint client used is still on version 0.33.4, which uses the amino protocol (with version 0.34.4 protobuf was introduced).

To build it run go build ./tendermintClient.go.

To run it type ./tendermintClient

FAQs

Package last updated on 11 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc