如在創建Dash創世塊時,會有這命令生成它的hash等數值:
python genesis.py -a X11 -z "Wired 09/Jan/2014 The Grand Experiment Goes Live: Overstock.com Is Now Accepting Bitcoins" -t 1317972665 -p "040184710fa689ad5023690c80f3a49c8f13f8d45b8c857fbcbc8bc4a8e4d3eb4b10f4d4604fa08dce601aaf0f470216fe1b51850b4acf21b179c45070ac7b03a9" -n 28917698 -t 1390095618 -v 5000000000
但我想問這命令中引數P的賦值是怎么來的?后面查百度 估摸這值是通過Openssl來生成:
openssl ecparam -genkey -name secp256k1 -out alertkey.pem
openssl ec -in alertkey.pem -text > alertkey.hex
openssl ecparam -genkey -name secp256k1 -out testnetalert.pem
openssl ec -in testnetalert.pem -text > testnetalert.hex
openssl ecparam -genkey -name secp256k1 -out genesiscoinbase.pem
openssl ec -in genesiscoinbase.pem -text > genesiscoinbase.hex
但現我不確定上面的命令中引數P的賦值是用的這三個檔案中alertkey.hex testnetalert.hex genesiscoinbase.hex哪個檔案中pubkey?請大牛幫忙指點一下,謝謝
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/42004.html
標籤:區塊鏈技術
上一篇:如何低成本地將視頻存盤到區塊鏈?
下一篇:【幣圈小白之】穿越熊市防割指南
