Peerplays – Telegram
Peerplays
75 subscribers
6 photos
55 links
All things related to Peerplays Blockchain!
Download Telegram
55",
"vote_id": "1:45",
"total_votes": "14810233332",
"url": "https://steemit.com/peerplays-witness/@sahkan/royal-flush-witness-proposal-for-peerplays",
"total_missed": 21280,
"last_confirmed_block_num": 46299367
}

locked >>> get_witness 1.6.39
get_witness 1.6.39
{
"id": "1.6.39",
"witness_account": "1.2.8946",
"last_aslot": 47890661,
"signing_key": "PPY8aXWoYbnx3QPYJJa9TDC6uVSPaqngJLMteAHo7YPrHwxtkce1V",
"next_secret_hash": "7d0f8876a6e7fd6e47696f8358e79fdd1e2fbc35",
"previous_secret": "042d094e927a3d3b61570c712af740fb286fc0d0",
"pay_vb": "1.13.57",
"vote_id": "1:46",
"total_votes": "13288483332",
"url": "https://steemit.com/witness-category/@bitcoinsig/peerplays-witness-bitcoinsig",
"total_missed": 41807,
"last_confirmed_block_num": 46299368
}

locked >>> get_witness 1.6.72
get_witness 1.6.72
{
"id": "1.6.72",
"witness_account": "1.2.12103",
"last_aslot": 47890657,
"signing_key": "PPY81HxtiAjR8zePMtCgs8pAzqDVjki3QNJfpnm8D3MfTYQNXaDuZ",
"next_secret_hash": "5dd66e7c1f2c2550ef929a2f418cbf683850e094",
"previous_secret": "576ae8ff1bcf53b874d99061e544a152ed1821fa",
"pay_vb": "1.13.65",
"vote_id": "1:86",
"total_votes": "11376899999",
"url": "https://peerplaysblockchain.info",
"total_missed": 6878,
"last_confirmed_block_num": 46299364
}

locked >>> get_witness 1.6.81
get_witness 1.6.81
{
"id": "1.6.81",
"witness_account": "1.2.13172",
"last_aslot": 48069359,
"signing_key": "PPY793SK26X9TpfNyPTZfVTmGAUnfS3MzjJuTwMasNME1etRrXTdu",
"next_secret_hash": "71691c73708d04acfb131680b96f9464d3ce5618",
"previous_secret": "0f0247197f48fb8443fe6e778ce21b88382cb289",
"pay_vb": "1.13.69",
"vote_id": "1:95",
"total_votes": "12119399999",
"url": "https://payorunvote.me",
"total_missed": 1657,
"last_confirmed_block_num": 46301372
}

locked >>> get_witness 1.6.86
get_witness 1.6.86
{
"id": "1.6.86",
"witness_account": "1.2.14352",
"last_aslot": 48069362,
"signing_key": "PPY6Szcbs43WMc9MLRyth6pxRPRqBwCiG8fSWhfYv4jtnWNGUiL6g",
"next_secret_hash": "5cffbbe3ac6459996f44bf075425b2d68b735f06",
"previous_secret": "09cf122d5061b82e40056af9e078fb2591ae9182",
"pay_vb": "1.13.280",
"vote_id": "1:102",
"total_votes": "16450233332",
"url": "witness.serverpit.com, p2p 9777, rpc 8090",
"total_missed": 5019,
"last_confirmed_block_num": 46301374
}

locked >>> get_witness 1.6.87
get_witness 1.6.87
{
"id": "1.6.87",
"witness_account": "1.2.14356",
"last_aslot": 48069361,
"signing_key": "PPY6SmYxfDrmSR1sELgJ1sPc4WvoQPPXFUjGhE9h5cMJ5scyAcu8Y",
"next_secret_hash": "b1c87463a7846979413287af9713f6bbbee4e160",
"previous_secret": "f7f451a2cb4dff092c88de27452b1b15c5ab22a9",
"pay_vb": "1.13.270",
"vote_id": "1:103",
"total_votes": "16460233332",
"url": "95.216.90.243",
"total_missed": 4109,
"last_confirmed_block_num": 46301373
}

locked >>> get_witness 1.6.89
get_witness 1.6.89
{
"id": "1.6.89",
"witness_account": "1.2.14442",
"last_aslot": 48069354,
"signing_key": "PPY7SDXS3BxNedYbfAxecTQGyo7ir5GBcGJS2GKCcFzbzSruUfsm8",
"next_secret_hash": "e6698d83aba74e876fb6515f3f0485ca9463a351",
"previous_secret": "57bec035c644b7ed6db8f6193bd5b8c0f655084e",
"pay_vb": "1.13.277",
"vote_id": "1:111",
"total_votes": "16450233332",
"url": "https://imagens.i9shops.com.br/about.html",
"total_missed": 7649,
"last_confirmed_block_num": 46301369
}

locked >>> get_witness 1.6.90
get_witness 1.6.90
{
"id": "1.6.90",
"witness_account": "1.2.14451",
"last_aslot": 48069357,
"signing_key": "PPY6rP7UNDEyD99NAzWTm9xTTUDu4wpkPiAugpcHvaogDNbtzeG3H",
"next_secret_hash": "f4170d8ebf9b3d11bb5922cd915c631ee04f4984",
"previous_secret": "7fb83f8810a79c12eaf2f5835667e3750ff38e1e",
"pay_vb": "1.13.279",
"vote_id": "1:113",
"total_votes": "16450233332",
"url": "https://hive.blog/peerplays/@wit-super/peerplays-witness",
"total_missed": 15729,
"last_confirmed_block_num": 46301371
}

locked >>> get_witness 1.6.92
get_witness 1.6.92
{
"id": "1.6.92",
"witness_account": "1.2.14480",
"last_aslot": 48069363,
"signing_key": "PPY8hYvJB2kLdAVEShB8Qj55qSUDEGQjboZMXjW5rXTSzLvA2sKkK",
"next_secret_hash": "28f547c48fd9a01bae5430ebe5986229f165d941",
"previous_secret": "3ad61c9d1d976f42b770ae331829de72f37dc7e2",
"pay_vb": "1.13.307",
"vote_id": "1:118",
"total_votes": "14010233332",
"url": "https://salaheddinekassab.com/salah-witness.html",
"total_missed": 293,
"last_confirmed_block_num": 46301375
}


According to last_confirmed_block_num field of witness objects, the following witnesses did not upgrade:

jogersenjo1
salah8kassab
spacecrypt-witness
bitcoinsig


Similar to previous halts, it was decided to take what we call "supernode" approach for recovery. This involves:

1. Collecting signing keys of all or majority of active witnesses
2. Configuring a single node to run all witnesses who shared their signing keys
3. Trimming the index file to LIB
4. Replaying trimmed index file
5. Taking actions to prevent chain state that lead to halt
6. Replacing signing keys of active witnesess and taking over block signin from supernode

This is pretty standard way to recover halted network, that is previously used, and its well known to the community.

The call for collecting the keys was announced on 2021-12-31.
https://chat.peerplays.live/channel/witness-info?msg=TCow6GjNY4CJsSdDJ

Considering incoming New year celebration, it was not expected to have any response by 3rd Jan.

By January 2nd, 5 signatures were collected
https://chat.peerplays.live/channel/witness-info?msg=uthqrN4Amy9AtMwd9

By January 3nd, 7 signatures were collected and there was an attempt to restore the network for the first time
https://chat.peerplays.live/channel/witness-info?msg=gPa8sZ8EW2YjZ2Gbp

The index file was trimmed using the following command:

truncate -s 1481579840 ./witness_node_data_dir/blockchain/database/block_num_to_block/index

# LIB was 46299370, so 46299370 * 32 = 1481579840


Recovery process was trackable using cli_wallet
https://chat.peerplays.live/channel/witness-info?msg=dJCZPoDAHfKba3LfQ

It is important to mention that the signing keys were provided by two witnesses who did not update their software
earlier. With 7 witnesses who were already running updated software, with these 2 added, 9 out of 11
witnesses were willing to run latest update, which is a significant majority, and it was considered that consensus on running
latest update was reached.

Apparently, 7 witnesses who provided the signing keys were not enough to make LIB moving, and prevent another
network halt. Also, it appears that one of the witnesses provided invalid public/private key pair. At this point
the witnesses decided to outvote uncooperative witnesses:
https://chat.peerplays.live/channel/witness-info?msg=9A5XWaXBMuvvw9WpE

Later during the day, the witness provided valid signing key, and there was a total 7 out of 11 active witnesses
cooperating. Another call for rest of the active witnesses to join is announced:
https://chat.peerplays.live/channel/witness-info?msg=tQ43564kAzXB6qmkM

This is the list of witnesses who did and did not provided their signing keys:

hiltos-witness +
spacecrypt-witness -
royal-flush -
bitcoinsig -
houdini-witness -
eifos-witness +
miss-jana +
jogersenjo1 +
robert-hedler +
wit-super +


On January 5th, recovery process was stopped, due to imminent halt, due to not receiving signing keys from
any of 4 remaining active witnesses.
https://chat.peerplays.live/channel/witness-info?msg=ytYu9ebRedkQWkpjN

Later in the day, the recovery process was restarted, and witnesses who did not responded to our calls for help are voted out
Checkout blocks 46299399, 46299401, 46299402, 46299403, 46299404, 46299422, 46299435, 46299444, 46299584, 46299592

At 2022-01-05T21:00:00, voting results are processed, and new set of active witnesses is selected. Soon, participation
rate increased above threshold, the LIB started moving, and mainnet was restored.

On January 6th, it was announced that mainnet is restored, and provided a sync checkpoints to use
On January 7th 2022, following a successful restart, a bug has been identified that resulted in a fork of the chain. Witnesses and developers working on Peerplays are aware of the issue and actively working on a resolution.

A Root cause analysis needs to be done.. Sofie has contributed a bit to that which is helpful. If there are any other witnesses with information that will help identify the issue and/or a fix, please provide that information. With this information, the devs can figure out what caused it. After that the witnessess will need to determine who will take lead on the restart.
The Peerplays blockchain is only as good as the community that surrounds it.

For this reason, we want to know what the Peerplays community wants to see from the Blockchain, and are soliciting feedback from the community to find out.

There are just a few questions, so it won’t take long, but the input provided will be of paramount importance. Not only will you get your voice heard, but you can help guide the first blockchain that is humanizing the crypto experience.

https://forms.gle/WzernbBREATa1wsS9

Thank you for taking the time to provide your feedback!