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: 3 months 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T20:39:54.000Z (6 months ago)
- Last Synced: 2025-03-26T10:04:07.397Z (3 months ago)
- Topics: bitcoin, bitcoinrpc, ruby
- Language: Ruby
- Homepage:
- Size: 60.5 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/rb/pickynode) [](https://app.travis-ci.com/github/zquestz/pickynode) [](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.2
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.