Planetmint

Latest version: v2.5.1

Safety actively analyzes 688178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 14

2.0.0b5

Changed

* Supported version of Tendermint `0.22.3` -> `0.22.8`. [Pull request 2429](https://github.com/planetmint/planetmint/pull/2429).

Fixed

* Stateful validation raises a DoubleSpend exception if there is any other transaction that spends the same output(s) even if it has the same transaction ID. [Pull request 2422](https://github.com/planetmint/planetmint/pull/2422).

2.0.0b4

Added

- Added scripts for creating a configuration to manage processes with Monit. [Pull request 2410](https://github.com/planetmint/planetmint/pull/2410).

Fixed

- Redundant asset and metadata queries were removed. [Pull request 2409](https://github.com/planetmint/planetmint/pull/2409).
- Signal handling was fixed for Planetmint processes. [Pull request 2395](https://github.com/planetmint/planetmint/pull/2395).
- Some of the abruptly closed sockets that used to stay in memory are being cleaned up now. [Pull request 2408](https://github.com/planetmint/planetmint/pull/2408).
- Fixed the bug when WebSockets powering Events API became unresponsive. [Pull request 2413](https://github.com/planetmint/planetmint/pull/2413).

Notes:

* The instructions on how to write a BEP were simplified. [Pull request 2347](https://github.com/planetmint/planetmint/pull/2347).
* A section about troubleshooting was added to the network setup guide. [Pull request 2398](https://github.com/planetmint/planetmint/pull/2398).
* Some of the core code was given a better package structure. [Pull request 2401](https://github.com/planetmint/planetmint/pull/2401).
* Some of the previously disabled unit tests were re-enabled and updated. Pull requests [2404](https://github.com/planetmint/planetmint/pull/2404) and [#2402](https://github.com/planetmint/planetmint/pull/2402).
* Some building blocks for dynamically adding new validators were introduced. [Pull request 2392](https://github.com/planetmint/planetmint/pull/2392).

2.0.0b3

Fixed

Fixed a bug in transaction validation. For some more-complex situations, it would say that a valid transaction was invalid. This bug was actually fixed before; it was [issue 1271](https://github.com/planetmint/planetmint/issues/1271). The unit test for it was turned off while we integrated Tendermint. Then the query implementation code got changed, reintroducing the bug, but the unit test was off so the bug wasn't caught. When we turned the test back on, shortly after releasing Beta 2, it failed, unveiling the bug. [Pull request #2389](https://github.com/planetmint/planetmint/pull/2389)

2.0.0b2

Added

* Added new configuration settings `tendermint.host` and `tendermint.port`. [Pull request 2342](https://github.com/planetmint/planetmint/pull/2342)
* Added tests to ensure that Planetmint gracefully handles "nasty" strings in keys and values. [Pull request 2334](https://github.com/planetmint/planetmint/pull/2334)
* Added a new logging handler to capture benchmark stats to a separate file. [Pull request 2349](https://github.com/planetmint/planetmint/pull/2349)

Changed

* Changed the names of Planetmint processes (Python processes) to include 'planetmint', so they are easier to spot and find. [Pull request 2354](https://github.com/planetmint/planetmint/pull/2354)
* Updated all code to support the latest version of Tendermint. Note that the Planetmint ABCI server now listens to port 26657 instead of 46657. Pull requests [2375](https://github.com/planetmint/planetmint/pull/2375) and [#2380](https://github.com/planetmint/planetmint/pull/2380)

Removed

Removed all support and code for the old backlog_reassign_delay setting. [Pull request 2332](https://github.com/planetmint/planetmint/pull/2332)

Fixed

* Fixed a bug that sometimes arose when using Docker Compose. (Tendermint would freeze.) [Pull request 2341](https://github.com/planetmint/planetmint/pull/2341)
* Fixed a bug in the code that creates a MongoDB index for the "id" in the transactions collection. It works now, and performance is improved. [Pull request 2378](https://github.com/planetmint/planetmint/pull/2378)
* The logging server would keep runnning in some tear-down scenarios. It doesn't do that any more. [Pull request 2304](https://github.com/planetmint/planetmint/pull/2304)

External Contributors

hrntknr - [Pull request 2331](https://github.com/planetmint/planetmint/pull/2331)

Known Issues

The `planetmint upsert-validator` subcommand is not working yet, but a solution ([BEP-21](https://github.com/planetmint/BEPs/tree/master/21)) has been finalized and will be implemented before we release the final Planetmint 2.0.

Notes

* A lot of old/dead code was deleted. Pull requests
[2319](https://github.com/planetmint/planetmint/pull/2319),
[2338](https://github.com/planetmint/planetmint/pull/2338),
[2357](https://github.com/planetmint/planetmint/pull/2357),
[2365](https://github.com/planetmint/planetmint/pull/2365),
[2366](https://github.com/planetmint/planetmint/pull/2366),
[2368](https://github.com/planetmint/planetmint/pull/2368) and
[2374](https://github.com/planetmint/planetmint/pull/2374)
* Improved the documentation page "How to setup a Planetmint Network". [Pull Request 2312](https://github.com/planetmint/planetmint/pull/2312)

2.0.0b1

Fixed

* Fixed a bug that arose with some code that treated transactions-waiting-for-block-inclusion as if they were already stored in MongoDB (i.e. already in a block). [Pull request 2318](https://github.com/planetmint/planetmint/pull/2318)
* If a user asked for a block and it happened to be an empty block, Planetmint returned 404 Not Found, as if the block did not exist. Now it returns a 200 OK with a block containing no transactions, i.e. an empty block. [Pull request 2321](https://github.com/planetmint/planetmint/pull/2321)

Known Issues

* An issue was found with the `planetmint upsert-validator` command. A solution was proposed in [BEP-19](https://github.com/planetmint/BEPs/pull/45) and is being implemented in [pull request #2314](https://github.com/planetmint/planetmint/pull/2314)
* If you run Planetmint locally using `make start` (i.e. using Docker Compose) and then you put the node under heavy write load, Tendermint can become unresponsive and running `make stop` can hang.
* There seems to be one or more issues with Tendermint when it is put under heavy load (i.e. even when Planetmint isn't involved). See Tendermint issues [1394](https://github.com/tendermint/tendermint/issues/1394), [#1642](https://github.com/tendermint/tendermint/issues/1642) and [#1661](https://github.com/tendermint/tendermint/issues/1661)

Notes

* There's a [new docs page](https://docs.planetmint.com/projects/server/en/v2.0.0b1/simple-network-setup.html) about how to set up a network where each node uses a single virtual machine.
* We checked, and Planetmint 2.0 Beta 1 works with MongoDB 3.6 (and 3.4).
* Support for RethinkDB is completely gone.

2.0.0a6

Changed

Upgraded PyMongo to version 3.6 (which is compatible with MongoDB 3.6, 3.4 [and more](https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#python-driver-compatibility)). [Pull request 2298](https://github.com/planetmint/planetmint/pull/2298)

Fixed

When deploying a node using our Docker Compose file, it didn't expose port 46656, which is used by Tendermint for inter-node communications, so the node couldn't communicate with other nodes. We fixed that in [pull request 2299](https://github.com/planetmint/planetmint/pull/2299)

Notes

We ran all our tests using MongoDB 3.6 and they all passed, so it seems safe to use Planetmint with MongoDB 3.6 from now on.

Page 5 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.