Skip to main content

ElectrumSV RegTest node

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

If you're not sure about the file name format, learn more about wheel file names.

electrumsv_node-0.0.1-py3-none-win_amd64.whl (20.2 MB view details)

Uploaded Python 3Windows x86-64

electrumsv_node-0.0.1-py3-none-win32.whl (20.2 MB view details)

Uploaded Python 3Windows x86

File details

Details for the file electrumsv_node-0.0.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: electrumsv_node-0.0.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 20.2 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4rc1

File hashes

Hashes for electrumsv_node-0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bb6a552780d09f8f4a9ddf83880a4a95c5e90f7ec3530484a1eb5496b0d2ce56
MD5 651ab70fd53553d6c4a70822ab823252
BLAKE2b-256 94c13ffd0400ad08b4ed596c0ea212c26e39256c1f2eeb9109c6a7a5596dbc11

See more details on using hashes here.

File details

Details for the file electrumsv_node-0.0.1-py3-none-win32.whl.

File metadata

  • Download URL: electrumsv_node-0.0.1-py3-none-win32.whl
  • Upload date:
  • Size: 20.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4rc1

File hashes

Hashes for electrumsv_node-0.0.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 6dcc0937a7488d15e2ec3879409aa6aec4e8428e622b9a6e5c4d4e89ded6296a
MD5 6d51c04f23cb74d4e74cc8716d2ec317
BLAKE2b-256 2d5e7599f46e6832994f94ad5a9a73b0986db73bb8581d780d947db506157760

See more details on using hashes here.

Supported by

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