Categories
Bitcoin Cryptocurrency Mastering Development

What is the math behind a private key BASE58 (P2PKH)

Using this link I can understand something about a private key BASE58 (P2PKH): "such encodings will always yield a 51-character string that starts with ‘5’, or more specifically, either ‘5H’, ‘5J’, or ‘5K’." So let’s say I have this model of private key: 5J1111111111111111111111111111111111110111111222222 I know that is not a valid private key because I […]

Categories
Development

Reorder dataset following Multiple qualitative criteria (Alphabetic Order)

I have a dataset in a list that I called reord composed of 521 vectors. Each vector has 14 elements. Only four columns (elements of each single vector) are important to sort this dataset. I want to create a new dataset that follows the Alphabetic Order of these columns: reord[[i]][10] then reord[[i]][2] then reord[[i]][3] and […]