PAI News - November 18, 2020
PAI Coin 2.1.0 is here! UPDATE TODAY.
If you are running a full node, solo staking, and/or solo mining, you must immediately update to 2.1.0.
To update, execute the following commands in the paicoin directory of your full node.
paicoin-cli stop # stop the node from currently running git pull # pull the latest changes from the paicoin repo git checkout 2.1.0 # switch to the latest release make clean # uninstall your previous build make # compile the new release sudo make install # install at the system level paicoind # restart your node
For ALL solo stakers: Make sure your node is online and voting!
Execute this script on your staking node.
Download the script from here.
Upload the script to the full node you use for staking, or;
Copy and paste its contents into a new file on the full node named voter_check.py
Run the following commands to execute the script with the correct dependencies (these commands assume that voter_check.py and your paicoin directory are both located in your user home directory (~), and that your user home directory is your present working directory, pwd):
sudo apt install python3 cd paicoin sudo make install cd ‥ python3 voter_check.py
PAI Up iOS is now available in the Apple App Store (not available in Mainland China due to local laws ).
- Download PAI Up iOS here: https://apps.apple.com/us/app/pai-up/id1533457193
PAI Up Android is now available in the Google Play Store.
- Download PAI Up Android here: https://play.google.com/store/apps/details?id=ai.lanier.paiup
You can also download the Android APK version and follow the mobile wallet links on paiup.com
A demo version of the The PAI Data Protocol is now available to test, enabling users to try to encrypt and store data using the PDP2 protocol specification. It’s currently used for services such as PAI Pass.
- Test out the PAI Data Protocol here today: PAI Data Storage Demo
Check out this information about the recent transition to Hybrid Consensus:
- How to setup and maintain a PAI Coin Full Node: Building and Maintaining a PAI Coin Full Node
- How mining and staking on PAI Coin Pool will change after the Hybrid Fork: PAI Coin Pool and Hybrid PoW/PoS
- How to solo stake: PAI Solo Staking Guide
- How to solo mine: PAI Coin Solo Mining Guide
PAI Countdown has been updated to countdown to the first block reward halving. Check it out!
- Set up a full node and earn a PAI Coin Pool bonus of 666 PAI! Set up a full node according to these instructions, then email firstname.lastname@example.org from the email address associated with your PCP account. In the email, include the IP address or URL of your full node. We will reply with further instructions on how to claim your reward.
Staking on PAI Coin Pool
Staking on PAI Coin Pool works via a mechanism called Staking By Proxy. Staking By Proxy functions by pooling together all staked user funds in order to purchase more and higher-valued stake vouchers on the PAI Blockchain. Rewards are then distributed among stakers proportional to the amount their stake contributed to the pool. This mechanism is particularly beneficial for users who may not own enough PAI to purchase at least one stake voucher on their own, e.g., because the stake voucher price is too high. On the other hand, when the stake voucher price is low, there is little advantage to having a large pool of funds, since, by rule, the total number of stake vouchers that can be purchased across the entire network is limited to 20. So, as the stake voucher price increases, the advantages (and reward amounts) associated with PCP staking will increase substantially. Let’s take a deeper look by example.
Some PAI Coin HODLers
Imagine that the following individuals have decided to either solo stake or stake their PAI Coin on PCP in the specified amounts.
|Name||Amount Staked||Type of Stake|
|Erin||20,000,000 PAI||PAI Coin Pool|
|Ted||20,000,000 PAI||PAI Coin Pool|
|Victor||20,000,000 PAI||PAI Coin Pool|
|Walter||20,000,000 PAI||PAI Coin Pool|
|Wendy||20,000,000 PAI||PAI Coin Pool|
Note that this is equivalent to the following table, because all of the stakers on PAI Coin Pool effectively form one single PCP staker.
|Name||Amount||Type of Stake|
|PAI Coin Pool||100,000,000 PAI||PAI Coin Pool|
Initial Stake Voucher Price
When the hybrid consensus fork was first executed, the initial stake voucher price was set to only 2 PAI Coin. It was set this low to encourage rapid purchasing of stake vouchers at a low price to build up the number of live stake vouchers and ensure smooth functionality of the blockchain. The goal is to maintain 40,960 live stake vouchers at any given time. If the number of stake vouchers being purchased will cause the total number to exceed 40,960, the price of an SV will automatically increase; inversely, if the number of SVs being purchased causes the total number to drop below 40,960, then the price of an SV will automatically decrease.
So, at an SV price point of 2 PAI, what happens in the above scenario of the 5 HODLers: Alice, Bob, Carol, Charlie, and PCP? First, let’s remember, the price of one SV is 2 PAI Coin, and as always, the total number of SVs that can be purchased by anyone and everyone combined across the entire network is 20. This means that:
- The minimum amount any one individual can solo stake is always equal to the price of a single stake voucher, in this case, 2 PAI Coin.
- The total amount of PAI Coin that can be staked per block by anyone and everyone combined is 20 times the price of a single stake voucher, in this case, 40 PAI Coin.
It follows then, that at this low of a price per SV, there is little advantage to owning a substantial amount of PAI Coin, because the maximum amount the network will allow you to stake in this scenario is very low. While it may be counterintuitive, in this case, the 20 available stake vouchers per block will be split evenly among the 5 stakeholders, Alice, Bob, Carol, Charlie, and PCP; and this is despite the fact that PCP holds 200 times the amount of PAI Coin as the next richest staker. This situation, however, is very temporary.
Current Stake Voucher Price
Since the launch of Hybrid Consensus, the stake voucher price has increased from the initial 2 PAI to its current price (as of writing) of approximately 12,684 PAI per SV. As shown in the charts below, the SV price began to exponentially increase around block height 158,000, when the number of live stake vouchers approached the target of 40,960. At the current price of 12,684 PAI per SV, then, the minimum amount of PAI Coin that any one individual can stake per block is 12,684 PAI, and the total amount of PAI Coin that can be staked per block by anyone and everyone combined is 253,680 PAI. Reconsidering our HODLers, we see that Alice, Bob, and Carol are all now unable to afford solo staking, so the 20 SVs available per block would be split between Charlie and PAI Coin Pool only.
Future Stake Voucher Price
As time goes on, and PAI Coin Pool is able to accumulate more and more stake vouchers relative to other participants (helped in large part by the increasing price of a voucher), the corresponding magnitude of the rewards distributed among PCP stakers will increase. The timing of when and by how much the rewards will increase is difficult to predict, but as you can see by the chart above, the price of a single stake voucher is now increasing exponentially.
In the hypothetical scenario above, once the SV price exceeds 100,000 PAI, no network participants other than PCP will be able to afford to purchase stake vouchers, and all 20 of them, per block, would be allocated to PCP. Further, with a purchasing power of 100 million PAI, PCP could continue to purchase stake vouchers of increasingly higher value, rendering it more and more difficult for other stakers to be able to afford to participate independently. It is at this point that the advantages and profitability of PCP staking will be realized.
How to connect PAI Up Mobile to a specific node
Follow these instructions if you are unable to sync PAI Up or if your PAI Wallet still displays incorrect data after a sync.
Traditional apps, like WeChat, connect to a central server to retrieve and upload new data like incoming and outgoing messages, or new Moments from other users. PAI Up doesn’t work like that. Since the PAI Blockchain is a decentralized peer-to-peer network, there is no central server. But every PAI Coin Full Node acts like a central server, and when you launch PAI Up, the app has to choose—basically, at random—which Full Node to connect to.
If your connection to the node is poor (for example, because it’s physically far away), or there happens to be something wrong with that node (for example, because its owner is not properly maintaining it), PAI Up might not work well. In this case, you should manually reconnect to a different node. Here’s how.
From the main screen of PAI Up → Menu → Preferences → PAI Coin Settings → PAI Coin Nodes.
Now, take note of the “Current Primary Node,” then choose “Switch to Manual Mode.” From there, enter one of the following nodes (one that doesn’t match the Current Primary Node from the previous screen) in the top field and choose “OK.” You can enter either the URL or the IP address directly. Then, make sure the “Node Connection Status” shows “Connected.” If it doesn’t, or if it oscillates between “Connected” and “Connecting,” choose a different node from the list below and repeat the process.
Official PAI Coin Seed Nodes
|seoul-seed.projectpai.com||22.214.171.124||Seoul, South Korea|
|relay.j1149.com||126.96.36.199||New York, USA|
If these tips still don’t work, try uninstalling and reinstalling PAI Up.
PAI Developer Updates
Here’s a snapshot of development work the team has been focused on:
- [PAI Coin Core] Tested updates to getblocktemplate in production;
- [PAI Coin Core] Ongoing resolution of outstanding issues with getblocktemplate in preparation for the upcoming 2.1.0 release;
- [PAI Up Mobile] Work on mobile wallet compatibility with latest paicoin developments including, for example, transaction expiry and mempool filtering;
- [PAI Up Mobile] Updates to ordering of transactions
Questions? Comments? Feedback?
Sound off on PAI Forum!
Thank you for your support!