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

github.com/metacoin/txcomment-search-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/metacoin/txcomment-search-api

  • v0.0.0-20151019081826-1d2d963cdb4a
  • Source
  • Go
  • Socket score

Version published
Created
Source

#txcomment API

search all tx-comments for a particular string

requires floblockexplorer

setup

open port 5831 in ACL or iptables

$ iptables -A INPUT -p tcp --dport 5831 -j ACCEPT

set environment variables

$ export DB_USER='dbusername'
$ export DB_PASS='reallygoodpassword10020229294#33334$$'

run the program

$ go run main.go

on your web browser or whatever client:

send a POST to the endpoint /searchTxComment to get a response

{
	"search":"Alexandria",
	"page":0,
	"results-per-page":10
}

max results-per-page is 30

FAQs

Package last updated on 19 Oct 2015

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