Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zquestz/pickynode-bchd

Some people are picky about the bitcoin cash nodes they connect to with bchd.
https://github.com/zquestz/pickynode-bchd

Last synced: about 2 months ago
JSON representation

Some people are picky about the bitcoin cash nodes they connect to with bchd.

Awesome Lists containing this project

README

        

[![Gem Version](https://badge.fury.io/rb/pickynode-bchd.svg)](https://badge.fury.io/rb/pickynode-bchd) [![Build Status](https://app.travis-ci.com/zquestz/pickynode-bchd.svg?token=6MFuGdxALHX597TYtD8j&branch=master)](https://travis-ci.com/zquestz/pickynode-bchd) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# pickynode-bchd

Some people are picky about the bitcoin cash nodes they connect to with bchd.

### Requirements:

You need a working bchd node on your machine. The `bchctl` command should be functional.

### Installation:

```
gem install pickynode-bchd
```

### Usage:

Display list of currently connected nodes:

```
pickynode-bchd
```

Add node type:
```
pickynode-bchd --add=USER_AGENT_FILTER
```

Remove node type:
```
pickynode-bchd --remove=USER_AGENT_FILTER
```

Connect to node type:
```
pickynode-bchd --connect=USER_AGENT_FILTER
```

Disconnect from node type:

```
pickynode-bchd --disconnect=USER_AGENT_FILTER
```

### Help:

```
Options:
-i, --info Local node info
-d, --debug Debug mode
-o, --output Output commands
-a, --add= Add node type
-r, --remove= Remove node type
-c, --connect= Connect to node type
-s, --disconnect= Disconnect from node type
-l, --limit= Limit number of nodes to add/remove/connect/disconnect
-v, --version Print version and exit
-h, --help Show this message
```

The --add and --connect commands pull data from blockchair.