Skip to content

Releases: HathorNetwork/hathor-core

v0.40.2

21 Jul 19:07
df973a7
Compare
Choose a tag to compare

Fixes

  • sync-v2: wrongly included sync-v2 capability #272
  • tx-resource: token data in input dict was getting info from the tx being spent #264
  • websocket: bytes is not JSON serializable on 'first_block' field #269

Chores

  • ci: lower min coverage, CI check wasn't actually running before #271
  • nginx: allow disabling rate-limits in 'generate_nginx_config' command #263
  • p2p: update latest checkpoints #268

v0.40.1

13 Jul 20:54
0ee4f84
Compare
Choose a tag to compare

This is a bugfix release. Although it includes a new API, it's isolated from any of the fixes. It's highly recommended to use this version instead of v0.40.0 because of the fixes included.

Fixes

  • init: remove voided tx tips from indexes #253
  • nginx: import correct resource, also improve Makefile #246
  • tests: pytest warnings when collecting tests #255
  • tx: fix duplicate entries in metadata.conflict_with #250

Chores

  • ci: dropping pypy-3.6 because image is no longe provided #261
  • ci: run tests on Windows, do not continue on error #256
  • ci: use docker cache from master instead of dev #259

Features

  • api: add API for mempool #241
  • profile: add reset option to profiler #252

v0.40.0

29 Jun 02:58
v0.40.0
386476d
Compare
Choose a tag to compare

This release contains a some fixes and new features, most notably an improved rocksdb database format in preparation for sync-v2, migration is seamless, old database is untouched so rolling back will at most only need to re-sync the rolled back period.

Features

  • api: add block at height API #240
  • cli: option to log in plain JSON #231
  • cli: param to enable non-standard transaction and higher max-size #229
  • p2p: only say the peer is "blocked" when explicitly configured #230
  • sync-v2: add needed storage indexes #226
  • sync-v2: automatic database migration for backwards compatibility #227

Fixes

  • metrics: protocol_state=None case not accounted for #223
  • p2p: trying to parse None on timeouts/ctrl-c's updating whitelist #237
  • storage: remove unused async/remote/subprocess methods/storages #228

Chores

  • ci: use codecov for minimum coverage check #234

v0.39.1

05 Jun 00:45
v0.39.1
5e811b7
Compare
Choose a tag to compare

This is a small release that contains some fixes and other changes. However #219 is an important p2p stability fix and this release is recommended over v0.39.0.

Fixes

  • p2p: stop calling sync_manager.stop() twice #219
  • ws: fix exception raised when a connection is closed before finishing handshake #218

Refactors

  • daa: split from HathorManager into separate module #214
  • logs: better logs and other small changes #216

Features

  • graphviz: allow custom labels for nodes #215

v0.39.0

25 May 21:21
v0.39.0
97e1f48
Compare
Choose a tag to compare

This release contains several features for better debugging and improved stability, some fixes (like ws could stop broadcasting updates in some cases, which affected the dashboard), and some maintenance changes mostly related to running tests and building docker images. For more details check the merged PRs list:

Features

  • api: allow only standard scripts in /push-tx #203
  • api: increase default limit of max number of empty subscribed addresses #200
  • cli: set process name #204
  • cli: show hostname, network, version, alias, and CPU meter in top command #197
  • p2p: improve p2p connection policies and tools. #202
  • profiler: add a basic CPU profiler #195
  • simulator: add a network simulator #206
  • tx: add verbose mode to tx.verify() #192

Fixes

  • api: when the input spends a HTR utxo, the token_data should always be 0 #181
  • metrics: using loopingcall in metrics and prometheus classes for periodic calls #201
  • tx: raise InvalidOutputValue instead of failing an assert when value is out of range in TxOutput #176
  • websocket: dashboard metrics can stop until node is restarted #198

Chores

  • ci: fix images for Python 3.8/3.9, and nginx config real-ip #196
  • ci: remove poetry cache, which was causing tests to crash #180
  • ci: use GITHUB_TOKEN for ghcr login #199
  • deps: update dependencies #175
  • docker: disable poetry cache on docker build #185
  • docker: fix build, broke due to recent updates #182
  • p2p: improve p2p logging #193

v0.38.4

07 Jan 04:49
736cf76
Compare
Choose a tag to compare

This release contains a few minor changes:

  • generated nginx config improvements
  • fix error 500 from /v1a/validate_address
  • re-run discovery when no peers are connected

v0.38.3

24 Dec 04:03
ad43d23
Compare
Choose a tag to compare

Features

  • Add POST for AddressHistory resource to allow more addresses in the request.

v0.38.2

17 Dec 03:59
1350f21
Compare
Choose a tag to compare

Features

  • Build system changed from Pipenv to Poetry
  • Support for Python 3.7 and 3.8
  • Partial support for Windows
  • Docker images now built on Github Workflow and include arm64 support
  • More type annotations and small refactors
  • Small cleanup of unused files

v0.37.3

07 Oct 22:28
0444d46
Compare
Choose a tag to compare

Features

  • Add improved WebSocket mining API
  • Revamp README with improved usage instructions and badges
  • Use longpoll on bitcoin.getblocktemplate
  • Add sighash cache on tx

v0.37.2

10 Sep 21:26
66c155a
Compare
Choose a tag to compare

Feature

  • Improve performance on wallet index access when subscribing to an address on the websocket;
  • Add POST endpoint for push tx (GET endpoint will be deprecated soon);
  • Remove grafana scripts.