Skip to main content

ElectrumSV RegTest node

Reason this release was yanked:

should make this a beta release and start at 0.0.1

Project description

ElectrumSV-Node

A convenient basic wrapper of a (currently unofficial) compiled windows binary for bitcoin-sv-1.0.2-x86-64.

This is purely for RegTest use on windows.

To install:

> pip install electrumsv-node

To use it:

from electrumsv_node import electrumsv_node

# Set logging level to debug mode to see logging information (Optional)
logging.basicConfig(
    format="%(asctime)s %(levelname)s %(message)s",
    level=logging.DEBUG,
    datefmt="%Y-%m-%d %H-%M-%S",
)

electrumsv_node.start()
time.sleep(5)
electrumsv_node.stop()
time.sleep(5)
electrumsv_node.reset()

Console output will look something like this (with directory in site-packages):

2020-07-03 19-35-57 DEBUG starting RegTest bitcoin daemon...
2020-07-03 19-36-02 DEBUG stopping RegTest bitcoin daemon...
2020-07-03 19-36-02 DEBUG bitcoin daemon stopped.
2020-07-03 19-36-07 DEBUG resetting state of RegTest bitcoin daemon...
2020-07-03 19-36-09 DEBUG removed G:\electrumsv-node\electrumsv_node\data successfully
2020-07-03 19-36-09 DEBUG created G:\electrumsv-node\electrumsv_node\data successfully

The idea of this repo is to provide a convenient method for getting a RegTest node running on windows as part of a wider effort to provide a first class RegTest development environment experience with the ElectrumSV stack (which includes ElectrumX).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

electrumsv_node-1.0.2-py3.7.egg (20.2 MB view hashes)

Uploaded Source

electrumsv_node-1.0.2-py3-none-win_amd64.whl (20.2 MB view hashes)

Uploaded Python 3 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page