spanchk

command module
v0.0.0-...-ab65402 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: MIT Imports: 13 Imported by: 0

README

spanchk

Tiny utility to check whether a validator is in a heimdall span

Build

go build
mv spanchk /usr/bin

Usage

spanchk serve -v "0x8800000c1459d224383d000000cedd1fcee20000"

Options:

Serve queries

Usage:
  spanchk serve [flags]

Flags:
  -h, --help                   help for serve
  -a, --hmdaddr string         Heimdall endpoint to query for span (default "127.0.0.1:1317")
  -l, --listenaddr string      Endpoint to serve queries (default "127.0.0.1:13180")
  -v, --validatoraddr string   Validator to inform about (default "0x0")

Request for span info

Request

curl http://127.0.0.1:13180

Response

[24774666]

Documentation

Overview

Copyright © 2020 MARLIN TEAM <info@marlin.pro> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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