Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zquestz/pickynode
Some people are picky about the bitcoin nodes they connect to.
https://github.com/zquestz/pickynode
bitcoin bitcoinrpc ruby
Last synced: 9 days ago
JSON representation
Some people are picky about the bitcoin nodes they connect to.
- Host: GitHub
- URL: https://github.com/zquestz/pickynode
- Owner: zquestz
- License: mit
- Created: 2017-05-19T05:09:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T01:21:59.000Z (about 2 months ago)
- Last Synced: 2024-10-31T13:50:44.672Z (16 days ago)
- Topics: bitcoin, bitcoinrpc, ruby
- Language: Ruby
- Homepage:
- Size: 56.6 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Gem Version](https://badge.fury.io/rb/pickynode.svg)](https://badge.fury.io/rb/pickynode) [![Build Status](https://app.travis-ci.com/zquestz/pickynode.svg?branch=master&status=passed)](https://app.travis-ci.com/github/zquestz/pickynode) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# pickynodeSome people are picky about the bitcoin nodes they connect to.
### Requirements:
You need a working full node on your machine. The `bitcoin-cli` command should be functional.
### Installation:
```
gem install pickynode
```### Usage:
Display list of currently connected nodes:
```
pickynode
```Add node type:
```
pickynode --add=USER_AGENT_FILTER
```Ban node type:
```
pickynode --ban=USER_AGENT_FILTER
```Connect to node type:
```
pickynode --connect=USER_AGENT_FILTER
```Disconnect from node type:
```
pickynode --disconnect=USER_AGENT_FILTER
```### Help:
```
pickynode v0.2.1
Options:
-a, --add= Add node type
-c, --connect= Connect to node type
-b, --ban= Ban node type
-d, --debug Debug mode
-i, --info Local node info
-o, --output Output commands
-s, --disconnect= Disconnect from node type
-l, --limit= Limit number of nodes to add/connect
-t, --ticker= Currency ticker symbol (BCH/BTC) (default: BCH)
-v, --version Print version and exit
-h, --help Show this message
```The --add and --connect commands pull data from the Blockchair API.