Skip to content

bx watch stealth

thecodefactory edited this page Sep 17, 2018 · 5 revisions

Watch the network for transactions by stealth prefix.

$ bx watch-stealth --help
Usage: bx watch-stealth [-h] [--config value] [--duration value] [PREFIX]

Info: Watch the network for transactions by stealth prefix. Requires a
Libbitcoin server connection.

Options (named):

-c [--config]        The path to the configuration settings file.
-d [--duration]      The duration of the watch in seconds, defaults to
                     600.
-h [--help]          Get a description and instructions for this command.

Arguments (positional):

PREFIX               The Base2 stealth prefix to watch. Must be at least 
                     8 bits in length. If not specified the prefix is    
                     read from STDIN.

This command supports configuration settings.

This command requires libbitcoin-server version 3.1.

This command reflects transactions created after the subscription is established.

Type ctrl-c to terminate the watcher.

Example 1

connecting to an Obelisk server (unsupported)

$ bx watch-stealth 01010101
Bad stream

Example 2

monitor a stealth prefix

$ bx watch-stealth 01010101

This message will be written once the subscription is established.

Watching stealth prefix: 01010101...

For each new transaction that may contain a payment pertaining to the prefix a new line will be written to the console.

BX Menu

Clone this wiki locally