How to connect to PostgreSQL database using pgAdmin 4?

 How to connect to PostgreSQL database using pgAdmin 4? In order to set up a connection to the PostgreSQL database, run pgAdmin 4, for example, from the Start menu. As a result, pgAdmin 4 will start. Then click the menu "Object->Create->Server" or right-click on the item "Servers" and select "Create->Server". The server connection settings window will open. On the General tab, we invent and enter the name of our server in the Name field. On the Connection tab, enter the server IP address, username, password, and if you want, you can check the “Save password?” to save the password and not to enter it every time you connect. If the standard port (5432) of the PostgreSQL server has been changed, then you also need to change it here. Press the "Save" button. Note! The PostgreSQL server must be installed, configured and running. We considered an example of installing and configuring PostgreSQL DBMS on Linux Debian in the material “Installing ...

How did Proof of Stake come about?


 How did Proof of Stake come about?

This algorithm was first mentioned in 2011. Then the developers S. Nadal and S. King dealt with the issue of reducing energy consumption when mining cryptocurrency. An active discussion was conducted during the forum, which is dedicated to cryptocurrency. Then the functioning of the blockchain cost the community about 15 thousand dollars for 1 day.

The high energy cost of using the Proof of Work algorithm consisted in carrying out a large number of computational operations. Gradually, the load on the system grew, although the calculations did not have any practical value. All expenses did not have any significant justification, which forced the developers to seriously revise the algorithm. For this reason, the development of a different method of proving the correctness of the transaction began, which became Proof of Stake. In the new system, it was easier to predict who would open a new block, as they were large coin holders and investors with rarely moved savings.

The Peercoin cryptocurrency code served as the first implementation of the new algorithm. The practical implementation of high energy efficiency has attracted the attention of electronic coin investors. This was the impetus for the emergence of several more coins on the Proof-of-Stake algorithm. Among them, it is worth noting BlackCoin, ShadoeCoin, NXT and others.

Initially, the logical structure of the algorithm provided protection against the dominance of large coin holders. A large amount of cryptocurrency increases the chance of opening a new block, but the coins are frozen for some time and cannot be used. At first, the owners of 3% of the coins produced 4% of the blocks.