Skip to content
This repository has been archived by the owner on Mar 15, 2019. It is now read-only.

Releases: chappjc/dcrspy

Austin Powers - Balance Improvements and More (v0.8.0)

10 Feb 18:47
v0.8.0
Compare
Choose a tag to compare

This version is compatible with Decred release 0.8.0.

Features

  • compatible with new getrelease RPC (and check dcrwalletjsonrpcapi version)
  • revamped balance reporting, now including immature votes and coinbase
  • ability to disable dcrd/dcrwallet TLS separately
  • improve mempool ticket dump (--dumpallmptix) so it uses a descriptive file name
  • rework mempool triggering so that it doesn't collect on startup, and triggers off of the first vote in a block to get a data point right after a new block comes in
  • Logs use millisecond resolution
  • more fixes and cleanups

v0.7.4...v0.8.0

There may be a patch release shortly after this since Decred 0.8.0 is not officially released as of right now.

Fletch Lives - email queuing and more (v0.7.4)

06 Feb 06:22
v0.7.4
Compare
Choose a tag to compare

Features

  • The main update is email queuing, which allows a rapid succession of detected transactions to be sent together in a single email rather than is many emails.
  • The email subject may be specified.
  • README updates, including more information about compatibility with Decred releases.
  • Updated sample-dcrspy.conf
  • more... v0.7.0...v0.7.4

Fletch - New WebSocket Notification Support

17 Nov 05:45
v0.7.0
Compare
Choose a tag to compare

Following version 0.6.0 of the Decred software suite, dcrd and dcrwallet have changed the notifications used to signal events to clients such as dcrspy. This release of dcrspy has initial support for these changes. Specifically, the "block connected" handler, OnBlockConnected, was changed, OnRecvTx and OnRedeemingTx were removed, and OnRelevantTxAccepted was added. No major capabilities were added or removed as a result, but extensive changes to dcrspy were required for this release.

In addition, since dcrspy v0.2.0 the expired ticket count was added, as was the connected node count.

The code was reorganized and reformatted. A number of functions were moved into several new files: email.go, ntfnhandlers.go, spychans.go, txhelpers.go and rpcclient.go.

v0.2.0...v0.7.0

There will be patch releases, perhaps sub-packages if it makes sense.

This and future releases will require at least Decred version 0.6.1, or a build from at least decred/dcrd@c162fbd and decred/dcrwallet@71b375d.

For compatibility with Decred 0.5.1 and earlier, use the old-ntfns branch or dcrspy v0.6.0.

Millbarge - Legacy Notification Compatibility Release (v0.6.0)

17 Nov 05:24
v0.6.0
Compare
Choose a tag to compare

This is the last version compatible with the notifications in Decred 0.6.0 and earlier (hence the version bump, to match Decred software). After 0.6.0 there are new notifications, which breaks backward compatibility. For later versions of Decred software, use dcrspy 0.7.0 or later.

Features added are the expired ticket count and node connection count.

Fitz-Hume - dcrspy version 0.2.0

15 Sep 07:34
v0.2.0
Compare
Choose a tag to compare

Fitz-Hume

The main features in this release are:

  1. Approximate the number of tickets that the wallet can afford based on current ticket price, spendable balance, and set ticket fee. For example, for a certain spendable balance (not shown), dcrpsy reports:

      Ticket price:      32.720  |    Window progress:  42 / 144
      Wallet's price:     37.00100;  fee:   0.0200 / KiB
          (Approximately 4.7 tickets may be purchased with set fee.)
    
  2. email reasons. Append an optional code to each watched address to indicate when an email is desired (e.g. inserted into mempool, mined, or both).

  3. Nifty startup logo / splash art.

  4. Update glide locks for Decred release 0.4.0.

  5. There is also plenty of documentation and clean-up.

v0.1.2...v0.2.0

Q: What is the maximum number of tickets I can buy at the current price and my set ticket fee?

A: Check dcrspy!

cheater

v0.1.2 Archer

06 Jul 02:36
v0.1.2
Compare
Choose a tag to compare

dcrspy version 0.1.2 is nicknamed Archer

Archer

New features (including unreleased 0.1.1):

  • email notifications for watched addresses.
  • mempool fee details (listing of the actual highest fees). Display a configurable window of fees in mempool to determine what is mineable in upcoming blocks.
  • Lots of code commenting and updated documentation.

Errata

There's a bug when NOT using an email server, causing the error message "missing port in address". If none of the watchaddress flags request email notification with the ",1" suffix, it is safe to use a dummy email server and port like the one on sample-dcrspy.conf. This is fixed in the next version on master.

A2

Binaries

$ gpg --keyserver pgp.mit.edu --recv-keys 746C64D1
$ gpg --verify dcrspy-v0.1.2-linux-amd64.tar.xz.asc 
gpg: assuming signed data in 'dcrspy-v0.1.2-linux-amd64.tar.xz'
gpg: Signature made Tue, Jul  5, 2016  7:11:14 PM PDT using RSA key ID 746C64D1

dcrspy v0.1.0 Dick Steele

18 Jun 01:27
v0.1.0
Compare
Choose a tag to compare

dcrspy version 0.1.0 is nicknamed Dick Steele

New features:

  • mempool monitoring. Live ticket fee information for the tickets in mempool (yet to be mined).
  • Watched addresses. Ability to specify Decred addresses to watch for in transactions inserted into mempool as well as mined into blocks. Receiving is probably OK, sending probably not working yet.
  • Do not get ticket pool value by default since its slow. There is a flag to get this information. Data collection typically takes less than 200ms now, but around 8 seconds with ticket pool value.
  • Updated sample-dcrspy.conf with examples for cmdname, cmdargs, mempool (and related), watchaddress.
  • Start using semantic versioning. This is now major version 0 (alpha), minor version (feature level) 1. Patches and very small features will go in the patch version.

There were also many bug fixes. But new features means new bugs.

Binaries

$ gpg --keyserver pgp.mit.edu --recv-keys 746C64D1
$ gpg --verify dcrspy-v0.1.0-linux-amd64.tar.xz.asc 
gpg: assuming signed data in 'dcrspy-v0.1.0-linux-amd64.tar.xz'
gpg: Signature made Fri 17 Jun 2016 06:24:48 PM PDT using RSA key ID 746C64D1

Dick Steele
Rest in peace, Leslie.

v0.0.3 "Johnny English"

13 Jun 05:17
v0.0.3
Compare
Choose a tag to compare

Version 0.0.3 is nicknamed Johnny English.

Johnny English

New features:

  • Arbitrary command execution. A system command may be executed with the block connected handler.
  • Options cmdname and cmdargs. Substitution of %h for block hash and %n for block number.
  • Document arbitrary command execution in README.md.
  • Add .travis.yml to support Travis CI builds.
  • Display currently connected network.

Fixes / updates:

  • Add spydata folder to .gitignore.
  • Fix reporting wrong error in rare case.
  • Many comments in main.go.
  • Remove some things from TODO text file.

Binaries

$ gpg --keyserver pgp.mit.edu --recv-keys 746C64D1
$ gpg --verify dcrspy-v0.0.3-linux-amd64.tar.xz.asc 
gpg: assuming signed data in 'dcrspy-v0.0.3-linux-amd64.tar.xz'
gpg: Signature made Mon 13 Jun 2016 09:30:22 PM PDT using RSA key ID 746C64D1

v0.0.2_1 "Jack Bauer"

10 Jun 00:29
v0.0.2_1
Compare
Choose a tag to compare

First release – v0.0.2, "Jack Bauer"

Tagged v0.0.2_1

Please see the README.md for details on the current features of dcrspy.

In short, dcrspy is an application to monitor Decred block chain and wallet data using persistent websocket connections to the chain server and your wallet (dcrd and dcrwallet). Either JSON or a plain text summary may be displayed on stdout, and JSON may be written to a file. The Decred JSON-RPC API is used to request and receive data from dcrd and dcrwallet, and to establish notification handlers for various events.

A fair amount of data is collected, and multiple outputs are available. But there is much to be done! Please see the to-do list for more information.